Skip to content

Commit aa8faaa

Browse files
wip
1 parent 54a753c commit aa8faaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/Data/SpellDamage.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Data:GetSpellDamageVsCreature(creature)
2626
local itemLink = GetInventoryItemLink("player", i)
2727
if itemLink then
2828
local enchant = DataUtils:GetEnchantFromItemLink(itemLink)
29-
if enchant and enchant == Data.enchantIds.INCREASE_SPELL_DAM_UNDEAD_60 then dmg = dmg + 60 end
29+
if enchant and enchant == Data.enchantIds.INCREASE_SPELL_DAM_UNDEAD_60 then spellDmg = spellDmg + 60 end
3030
end
3131
end
3232
-- auras
@@ -60,7 +60,7 @@ function Data:GetSpellDamageVsCreature(creature)
6060
local itemLink = GetInventoryItemLink("player", i)
6161
if itemLink then
6262
local enchant = DataUtils:GetEnchantFromItemLink(itemLink)
63-
if enchant and enchant == Data.enchantIds.INCREASE_SPELL_DAM_UNDEAD_100 then dmg = dmg + 100 end
63+
if enchant and enchant == Data.enchantIds.INCREASE_SPELL_DAM_UNDEAD_100 then spellDmg = spellDmg + 100 end
6464
end
6565
end
6666
-- auras

0 commit comments

Comments
 (0)