landsandboat/modules/era/lua/effects/weight.lua
2026-06-19 01:16:49 -04:00

23 lines
744 B
Lua

-----------------------------------
-- Module: Magic Adjustments (Seekers of Adoulin era)
-- Desc: Reverts adjustments to spells and their effects that were made during the SoA era
-----------------------------------
require('modules/module_utils')
-----------------------------------
local moduleName = 'soa_magic_adjustments'
if xi.module.isContentEnabled('SOA') then
return { name = moduleName }
end
local m = Module:new(moduleName)
-- Gravity: Revert weight to apply an evasion down penalty
-- Source: https://forum.square-enix.com/ffxi/threads/43135-Jul-8-2014-(JST)-Version-Update
m:addOverride('xi.effects.weight.onEffectGain', function(target, effect)
super(target, effect)
effect:addMod(xi.mod.EVA, -10)
end)
return m