mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 12:17:46 +00:00
11 lines
No EOL
250 B
Lua
11 lines
No EOL
250 B
Lua
require("modifiers")
|
|
|
|
function onGain(owner, effect, actionContainer)
|
|
local newMaxHP = owner.GetMaxHP() * 0.75;
|
|
|
|
owner.SetMaxHP(newMaxHP);
|
|
end;
|
|
|
|
function onLose(owner, effect, actionContainer)
|
|
owner.SetMaxHP(owner.GetMaxHP() / 0.75);
|
|
end; |