No categories assigned
LUA:ModifyPower
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: ModifyPower()
Modifies the power of the given spawn
Syntax
ModifyPower(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (sint32)
- param1 is the spawn we want to check
- param2 is the player we want to check
Usage
function hailed(NPC, Spawn)
ModifyPower(Spawn, -10)
end
When hailed the players power will be reduced by 10