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

10 lines
326 B
Lua
Raw Normal View History

--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;