1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-24 21:57:45 +00:00
project-meteor-server/data/scripts/effects/cleric_stance.lua

14 lines
410 B
Lua
Raw Normal View History

require("modifiers")
require("battleutils")
function onPreAction(caster, target, effect, skill, action, actionContainer)
if skill.commandType == CommandType.Spell then
if action.actionType == ActionType.Heal then
action.amount = action.amount * 0.80;
elseif action.actionType == ActionType.Magic then
action.amount = action.amount * 1.20;
end
end
end;