Skip to content

Commit

Permalink
use math
Browse files Browse the repository at this point in the history
(cherry picked from commit 4b75f57)
  • Loading branch information
Ebag333 committed Mar 24, 2017
1 parent 55cd0d5 commit 4a96387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_modules/test_eos/test_modifiedAttributeDict.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_multiply_stacking_penalties(DB, Saveddata, RifterFit):
else:
# Calculate what our next resist should be
# See: http://wiki.eveuniversity.org/Eve_Math#Stacking_Penalties
current_effectiveness = pow(0.5, (pow(0.45 * (_ - 1), 2)))
current_effectiveness = math.pow(0.5, (math.pow(0.45 * (_ - 1), 2)))
new_item_modifier = 1 + ((item_modifer * current_effectiveness) / 100)
calculated_resist = (em_resist * new_item_modifier)

Expand Down

0 comments on commit 4a96387

Please sign in to comment.