|
if target:HasModifier("modifier_suns_embrace_ally") then |
|
dmg = dmg * (1-MR) |
|
end |
if target:HasModifier("modifier_suns_embrace_ally") then
dmg = dmg * (1-MR)
end
If magic resist is negative (via Rule Breaker or Tamamo W), then damage is increased instead.
|
if dmg_type == DAMAGE_TYPE_PHYSICAL or dmg_type == DAMAGE_TYPE_PURE then |
|
if target:HasModifier("modifier_suns_embrace_enemy") then |
|
dmg = dmg + dmg*MR |
|
end |
|
end |
if target:HasModifier("modifier_suns_embrace_enemy") then
dmg = dmg + dmg*MR
end
Similarly, if magic resist is negative (with Tamamo W) then damage is decreased.
fateanother/game/dota_addons/fateanother/scripts/vscripts/libraries/util.lua
Lines 1033 to 1035 in bf44cdb
If magic resist is negative (via Rule Breaker or Tamamo W), then damage is increased instead.
fateanother/game/dota_addons/fateanother/scripts/vscripts/libraries/util.lua
Lines 1055 to 1059 in bf44cdb
Similarly, if magic resist is negative (with Tamamo W) then damage is decreased.