Skip to content

Commit

Permalink
😡 pls
Browse files Browse the repository at this point in the history
  • Loading branch information
tookender committed Oct 18, 2024
1 parent 4aa1448 commit 56b1433
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ def calculate_damage(selected_ability, armor, helmet, weapon, ring1, ring2, skil
{"name": "Solar Beam (2 ticks)", "multiplier": 126 / 2}
]

ability_multiplier = abilities[selected_ability]["multiplier"]
ability_multiplier = 1

for ability in abilities:
if ability["name"] == selected_ability:
ability_multiplier = ability["multiplier"]

dmg = (weapon + armor + helmet + ring1 + ring2) * skill * ability_multiplier

Expand Down

0 comments on commit 56b1433

Please sign in to comment.