Add pets for tiers 1-3.

This commit is contained in:
Greyson Parrelli
2026-07-23 00:10:17 -04:00
parent 612a4e6227
commit 8d43bbf61e
14 changed files with 1915 additions and 406 deletions
+3 -3
View File
@@ -117,11 +117,11 @@ func (s *Server) apply(r *room, c *client, msg clientMessage) {
switch msg.Type {
case "buy":
err = g.Buy(c.playerID, msg.Row)
case "discard":
case "sell":
if g.Phase == game.PhaseCleanup {
err = g.CleanupDiscard(c.playerID, msg.Cards)
err = g.CleanupSell(c.playerID, msg.Cards)
} else {
err = g.Discard(c.playerID, msg.Cards)
err = g.Sell(c.playerID, msg.Cards)
}
case "trade":
err = g.TradeStart(c.playerID, msg.Cards)