Skip to content

Commit

Permalink
[lua] Fix missing "xi.mod" on Special Attack Evasion
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterSolstice8 committed May 20, 2022
1 parent 377dfe1 commit 89e95cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/globals/mobskills.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ xi.mobskills.mobPhysicalMove = function(mob, target, skill, numberofhits, accmod
local lvluser = mob:getMainLvl()
local lvltarget = target:getMainLvl()
local acc = mob:getACC()
local eva = target:getEVA() + target:getMod(SPECIAL_ATTACK_EVASION)
local eva = target:getEVA() + target:getMod(xi.mod.SPECIAL_ATTACK_EVASION)

if target:hasStatusEffect(xi.effect.YONIN) and mob:isFacing(target, 23) then -- Yonin evasion boost if mob is facing target
eva = eva + target:getStatusEffect(xi.effect.YONIN):getPower()
Expand Down

0 comments on commit 89e95cb

Please sign in to comment.