Skip to content

Commit

Permalink
[fix] Fix Spell Hit from Mage "Elemental Precision" talent
Browse files Browse the repository at this point in the history
  • Loading branch information
BreakBB committed Nov 26, 2022
1 parent 12a09f2 commit af91036
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/Data/SpellHit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ function _SpellHit:GetTalentSpellHitBonus()
end

if classId == Data.MAGE then
local _, _, _, _, points, _, _, _ = GetTalentInfo(3, 3)
if ECS.IsWotlk then
local _, _, _, _, points, _, _, _ = GetTalentInfo(3, 17)
bonus = points * 1 -- 0-3% from Elemental Precision
else
local _, _, _, _, points, _, _, _ = GetTalentInfo(3, 3)
bonus = points * 2 -- 0-6% from Elemental Precision
end
end
Expand Down

0 comments on commit af91036

Please sign in to comment.