Skip to content

Commit

Permalink
Fix cycling of some seals in Wrath Classic
Browse files Browse the repository at this point in the history
  • Loading branch information
EsreverWoW committed Sep 2, 2022
1 parent 0804324 commit 7ace6c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PallyPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3740,15 +3740,15 @@ function PallyPower:SealCycle()
self.opt.seal = 0
end
local cur = self.opt.seal
for test = cur + 1, self.isWrath and 9 or 10 do
for test = cur + 1, self.isWrath and 10 or 11 do
cur = test
if GetSpellInfo(self.Seals[cur]) then
do
break
end
end
end
if (self.isWrath and cur == 9) or (not self.isWrath and cur == 10) then
if (self.isWrath and cur == 10) or (not self.isWrath and cur == 11) then
cur = 0
end
self:SealAssign(cur)
Expand All @@ -3767,7 +3767,7 @@ function PallyPower:SealCycleBackward()
end
local cur = self.opt.seal
if cur == 0 then
cur = self.isWrath and 9 or 10
cur = self.isWrath and 10 or 11
end
for test = cur - 1, 0, -1 do
cur = test
Expand Down

0 comments on commit 7ace6c1

Please sign in to comment.