Skip to content

Commit

Permalink
fix(Attributes): mana formula shows two decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskate committed Aug 9, 2018
1 parent 06eeb48 commit d3ce3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Hero/Attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const calc = {

return {
mana: Math.round(attributes.StatusMana + intelligence * bonusesPerPoint.int.mana * multiplier),
manaRegen: round(attributes.StatusManaRegen * (1 + bonusesPerPoint.int.manaRegen * intelligence * multiplier)),
manaRegen: round(attributes.StatusManaRegen * (1 + bonusesPerPoint.int.manaRegen * intelligence * multiplier), 100),
spellDamage: 10,
}
},
Expand Down

0 comments on commit d3ce3ca

Please sign in to comment.