Skip to content

Commit

Permalink
fixed Fire Nova Totem
Browse files Browse the repository at this point in the history
this bug is from the retail version and resulted in a lua error upon
casting a Fire Nova Totem when you've spent points in the "Improved Fire
Totems" talent.
  • Loading branch information
MOUZU committed Dec 25, 2016
1 parent 37545ca commit 5701674
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TotemTimers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,11 @@ function TotemTimers_CreateTotem()
end
elseif TT["totem"] == TT_FIRE_NOVA then
local nameTalent, icon, iconx, icony, currRank, maxRank= GetTalentInfo(1,9);
at.duration = TotemData[TT["totem"]].duration
if ( currRank == 1 ) then
at.duration = at.duration - 1 ;
elseif ( currRank == 2 ) then
at.duration = at.duration - 2 ;
else
at.duration = TotemData[TT["totem"]].duration
end
at.hits = 5
else
Expand Down

0 comments on commit 5701674

Please sign in to comment.