mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
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
13 lines
371 B
Lua
13 lines
371 B
Lua
require("modifiers")
|
|
require("battleutils")
|
|
|
|
--Forces crit on attacks made with axes
|
|
function onPreAction(caster, target, effect, 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;
|
|
|