mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-24 13:47:46 +00:00
11 lines
222 B
Lua
11 lines
222 B
Lua
![]() |
require("modifiers")
|
||
|
|
||
|
function onGain(target, effect)
|
||
|
local newMaxHP = target.GetMaxHP() * 0.75;
|
||
|
|
||
|
target.SetMaxHP(newMaxHP);
|
||
|
end;
|
||
|
|
||
|
function onLose(target, effect)
|
||
|
target.SetMaxHP(target.GetMaxHP() / 0.75);
|
||
|
end;
|