deal damage now returns the damage amount dealt
change repercuted in server.py attack tool
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user