deal damage now returns the damage amount dealt
change repercuted in server.py attack tool
This commit is contained in:
1 parent
62fea062a4
commit
def1a4be3e
2 files changed
+4
-2
No files matched your search
@@ -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