project-meteor-server/Data/scripts/effects/paeon_of_war.lua

10 lines
348 B
Lua

require("modifiers")
function onGain(owner, effect, actionContainer)
--Only one song per bard can be active, need to figure out a good way to do this
owner.AddMod(modifiersGlobal.Regain, effect.GetMagnitude());
end;
function onLose(owner, effect, actionContainer)
owner.SubtractMod(modifiersGlobal.Regain, effect.GetMagnitude());
end;