(Official) LUA Scripting Documentation
add_npc_health_zone
Add or subtract to/from the health of all NPCs in a zone.
Spec:
add_npc_health_zone(
long points,
string zone,
bool is_temp_zone,
string npc_type,
long millisecs,
long duration)
Parameters
points
: How many hitpoints to add. Use a negative number to subtract from (damage) the NPCs healthzone
:is_temp_zone
:npc_type
: Only apply to these types of NPCs. Omit to apply to all types of NPCsmillisecs
: How often to apply the effect in milliseconds.duration
: How long to apply the effect for in milliseconds.
Incomplete
This documentation is incomplete