No categories assigned
LUA:SetMaxHPBase
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: SetMaxHPBase()
Sets the base max HP of the given spawn to the given amount
Syntax
SetMaxHPBase(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (sint32)
- param1 is the spawn we want to modify
- param2 is the value we want to set base max HP to
Usage
function spawn(Spawn)
SetMaxHPBase(Spawn, 1000)
end
When this NPC spawns its base max HP will be set to 1000