mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00: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
No EOL
358 B
Lua
13 lines
No EOL
358 B
Lua
require("modifiers")
|
|
|
|
function onGain(target, effect)
|
|
local speedModifier = 1.25;
|
|
|
|
target.SetMod(modifiersGlobal.Speed, target.GetMod(modifiersGlobal.Speed) * speedModifier);
|
|
end;
|
|
|
|
function onLose(target, effect)
|
|
local speedModifier = 1.25;
|
|
|
|
target.SetMod(modifiersGlobal.Speed, target.GetMod(modifiersGlobal.Speed) / speedModifier);
|
|
end; |