mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
10 lines
326 B
Lua
10 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;
|
||
|
|