1
0

Define player.active_spell_succes; it was (partially) implemented but not defined

This commit is contained in:
2024-01-16 07:16:45 +01:00
parent 8fd6a74bb1
commit bcffdda12b
2 changed files with 1 additions and 3 deletions

View File

@ -9,6 +9,7 @@ class Player:
self.health = MAX_PLAYER_HEALTH
self.wand = wand
self.active_spell = spell_none
self.active_spell_succes = False
self.active_spell_levenshtein_distance = 0 # Penalty => If >0 then damage reduction, 15% per distance
self.stunned_rounds = 0