More random UI fixes.
This commit is contained in:
@@ -723,7 +723,7 @@ func (g *Game) TradeStart(playerID string, cardIDs []string) error {
|
||||
ids[i] = c.ID
|
||||
}
|
||||
g.addLog(LogEntry{Seat: p.Seat, Icon: "🔄", Kind: LogTrade, Cards: ids,
|
||||
Text: fmt.Sprintf("%s traded in %s (%s) for a tier %d pick.",
|
||||
Text: fmt.Sprintf("%s tripled %s (%s) for a tier %d pick.",
|
||||
p.Name, strings.Join(names, ", "), suit, nextTier)})
|
||||
g.Pending = &PendingTrade{
|
||||
PlayerID: playerID,
|
||||
@@ -757,11 +757,11 @@ func (g *Game) TradeChoose(playerID string, pick int) error {
|
||||
// we have to reveal that pet (its effect log names it anyway).
|
||||
if hasBuyEffect(chosen) {
|
||||
g.addLog(LogEntry{Seat: p.Seat, Icon: "🔄", Kind: LogTradePick, CardName: chosen.Name,
|
||||
Text: fmt.Sprintf("%s's trade pick is %s %s — its buy ability triggers.",
|
||||
Text: fmt.Sprintf("%s's Triple pick is %s %s — its buy ability triggers.",
|
||||
p.Name, article(chosen.Name), chosen.Name)})
|
||||
} else {
|
||||
g.addLog(LogEntry{Seat: p.Seat, Icon: "🔄", Kind: LogTradePick,
|
||||
Text: fmt.Sprintf("%s keeps their trade pick hidden.", p.Name)})
|
||||
Text: fmt.Sprintf("%s keeps their Triple pick hidden.", p.Name)})
|
||||
}
|
||||
// Pets obtained via the Triple action trigger their Buy effects.
|
||||
g.applyShopTrigger(p, chosen, TriggerBuy)
|
||||
|
||||
Reference in New Issue
Block a user