Skip to content

Commit

Permalink
Fix Ynda's Stand not working correctly with Trickster's Escape Artist (
Browse files Browse the repository at this point in the history
…#8084)

The Belt mod does not affect the amount of evasion on the body armour for the purpose of Trickster's Escape artist node
This is also verified on the wiki https://www.poewiki.net/wiki/Ynda%27s_Stand

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
LocalIdentity and LocalIdentity authored Aug 6, 2024
1 parent 0f522fe commit 5e71b0a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Modules/CalcDefence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,6 @@ function calcs.defence(env, actor)
if modDB:Flag(nil, "Unbreakable") then
armourBase = armourBase * 2
end
if modDB:Flag(nil, "ConvertBodyArmourArmourEvasionToWard") then
armourBase = armourBase * (1 - ((modDB:Sum("BASE", nil, "BodyArmourArmourEvasionToWardPercent") or 0) / 100))
end
end
output["ArmourOn"..slot] = armourBase
end
Expand All @@ -373,9 +370,6 @@ function calcs.defence(env, actor)
if modDB:Flag(nil, "Unbreakable") and modDB:Flag(nil, "IronReflexes") then
evasionBase = evasionBase * 2
end
if modDB:Flag(nil, "ConvertBodyArmourArmourEvasionToWard") then
evasionBase = evasionBase * (1 - ((modDB:Sum("BASE", nil, "BodyArmourArmourEvasionToWardPercent") or 0) / 100))
end
end
output["EvasionOn"..slot] = evasionBase
end
Expand Down

0 comments on commit 5e71b0a

Please sign in to comment.