mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 04:37:47 +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
8 lines
No EOL
312 B
Lua
8 lines
No EOL
312 B
Lua
--Doesn't do flat damage. 20 on Lv 50 Truffle Hog, 11 on Coincounter, 7 on nael hard, 19 on 52 fachan
|
|
function onGain(target, effect)
|
|
owner.AddMod(modifiersGlobal.RegenDown, effect.GetMagnitude());
|
|
end;
|
|
|
|
function onLose(target, effect)
|
|
owner.AddMod(modifiersGlobal.RegenDown, effect.GetMagnitude());
|
|
end; |