project-meteor-server/data/scripts/effects/cleric_stance.lua
yogurt c5ce2ec771 Combat additions
Added formulas for base EXP gain and chain experience
Added basic scripts for most player abilities and effects
Added stat gains for some abilities
Changed status flags
Fixed bug with player death
Fixed bug where auto attacks didnt work when not locked on
Added traits
2018-04-18 16:06:41 -05:00

14 lines
410 B
Lua

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;