Skip to content

Commit

Permalink
remove some debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
fusionpit committed Aug 10, 2019
1 parent 58c7cc2 commit 3d0651b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Classes/Paladin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ for _, auras in ipairs({devotionAura, retAura, fireResAura, frostResAura, shadow
end
end
function wt.IsPreviouslyLearnedAura(spellId)
print(spellId)
if (not auraMap[spellId]) then return false end
local spellIndex, knownIndex = 0, 0
for i, otherId in ipairs(auraMap[spellId]) do
if (otherId == spellId) then spellIndex = i end
if (IsSpellKnown(otherId)) then knownIndex = i end
end
print(spellId, spellIndex, knownIndex)
return spellIndex <= knownIndex
end

Expand Down

0 comments on commit 3d0651b

Please sign in to comment.