Fix stun_champion effect being infinite
release-tag / release-image (push) Successful in 13s

Closes legonzaur/heron-realms-front#54
This commit is contained in:
2024-05-16 23:14:46 +02:00
parent 0356faa813
commit 3cf3bc7e81
+2 -2
View File
@@ -318,7 +318,7 @@ class Turn(Serializable):
continue continue
if not c.guard and self.check_for_guard(p.team): if not c.guard and self.check_for_guard(p.team):
print("You cannot stun this champion if a guard is present") print("You cannot stun this champion if a guard is present")
return return False
await self.player.stun(str(c.uuid)) await self.player.stun(str(c.uuid))
await self.player.game.notify_controller( await self.player.game.notify_controller(
@@ -327,7 +327,7 @@ class Turn(Serializable):
await self.player.game.notify_controller( await self.player.game.notify_controller(
MessageType.UPDATE, p.turn.serialize() MessageType.UPDATE, p.turn.serialize()
) )
return return True
print("card not found") print("card not found")