File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments