you probably want to edit EVENT_COMBAT in plugins\default-actions.pl
any npc that has EVENT_COMBAT defined in their individual script won't use the default, so you'll have to edit all of them individually.
i don't know what you are trying to do with the call to setnexthpevent(), as it is unrelated to what you mentioned wanting to do.
$event_combat is set to 0 when an npc leaves combat.
using $npc->Heal() should set the npc's health to 100%.
|