Skip to content

Gawain R increases damage to ally or decreases damage to enemy if target has negative magic resist #82

@gelguy

Description

@gelguy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions