Quote:
Originally Posted by t0neg0d
Like the title says, this example does nothing.
Code:
function event_hp(e)
-- NPC-event_hp
-- Exported event variables
eq.debug("hp_event " .. e.hp_event);
eq.debug("inc_hp_event " .. e.inc_hp_event);
end
|
Works as expected however you need to set a value threshold for a trigger:
Code:
eq.set_next_hp_event(int hp);
eq.set_next_inc_hp_event(int hp);