diff --git a/card.py b/card.py index f43a1ed..2f8e04a 100644 --- a/card.py +++ b/card.py @@ -113,8 +113,6 @@ def surprise(wscur,wsene): cur.status = Room.NOTHING ene.life -= cur.damage - drop = random.choice(ene.hand) - ene.remove_card(drop) cur.surprise = False cur.damage = 0 # reset diff --git a/room.py b/room.py index 524f259..2a65ab4 100644 --- a/room.py +++ b/room.py @@ -241,6 +241,7 @@ class Room: cur.hand.remove(choice) cur.hand.append(ene.trading) + message_to_send.append(((wscur, wsene), dumps({"msg": "tradeChoose", "data": [cur.name, choice]}))) else: message_to_send.append(( (wsene,wscur), dumps( {"msg": "tradeNoCard", "data": [cur.name]})))