Skip to content

Commit

Permalink
player ap update
Browse files Browse the repository at this point in the history
  • Loading branch information
HamidrezaKmK committed Feb 8, 2020
1 parent 251db26 commit dd57645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions world.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def _handle_turn_message(self, msg):

self.player.set_spells([self.get_spell_by_id(spell_id=spell_id) for spell_id in msg["mySpells"]])
self.player_friend.set_spells([self.get_spell_by_id(spell_id=spell_id) for spell_id in msg["friendSpells"]])
self.player.ap = msg["remainingAP"]

self.start_time = self.get_current_time_millis()

Expand Down

0 comments on commit dd57645

Please sign in to comment.