deal damage now returns the damage amount dealt

change repercuted in server.py attack tool
This commit is contained in:
2026-01-30 18:40:21 +01:00
parent 62fea062a4
commit def1a4be3e
2 changed files with 4 additions and 2 deletions

View File

@@ -174,6 +174,7 @@ class Game(Serializable):
self.turn_idx += 1
if turn_finished:
self.update_turn_order()
return int(dmg_amount)
def modifying_stat(self, src:str, value:int, stat:int, description:str):
if not self.is_turn_coherent(src):