1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 19:57:46 +00:00
project-meteor-server/Data/scripts/effects/mighty_strikes.lua

9 lines
326 B
Lua

--Forces crit on attacks made with axes
function onPreAction(effect, caster, target, skill, action, actionContainer)
--Assuming "attacks made with axes" means skills specific to MRD/WAR
if (skill.job == 3 or skill.job == 17) then
--Set action's crit rate to 100%
action.critRate = 100.0;
end
end;