Skip to content

Commit

Permalink
fix(effects): fix frenzy effect calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
rudnovd committed Apr 2, 2022
1 parent 56acb74 commit 11fa602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ export const Effects = {
} else if (initiator.hero.skills.fire === 2) {
attack += defense * 1.5
} else if (initiator.hero.skills.fire === 3) {
defense = 0
attack += defense * 2
}

attack += defense * 2
defense = 0

return {
...target,
Expand Down

0 comments on commit 11fa602

Please sign in to comment.