Skip to content

Commit

Permalink
attempt to fix damage miscalc
Browse files Browse the repository at this point in the history
  • Loading branch information
1kuceraj committed Sep 23, 2024
1 parent b849d08 commit 9b8cf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion combat_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def attempt_spell_cast(caster: Dict, spell_types: Dict) -> Optional[Dict]:
if random.random() > 1 or not caster.get('spells'): # 10% chance to cast a spell
if random.random() > 0.1 or not caster.get('spells'): # 10% chance to cast a spell
return None

if 'spell_queue' not in caster or not caster['spell_queue']:
Expand Down

0 comments on commit 9b8cf7d

Please sign in to comment.