mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
381 B
381 B
Function: SetMaxHP(spawn, value)
Description: Set's the Max HP of the Spawn (As a Spell Bonus) to the new value.
Parameters:
spawn(Spawn) - Spawn object referencespawn.value(int32) - Integer valuevalue.
Returns: None.
Example:
-- From ItemScripts/devpotion.lua
function examined(Item, Player)
SetMaxHP(Player, GetMaxHP * 3)
end