Skip to content

Perl [NPC]

EVENT_AGGRO

sub EVENT_AGGRO {
}

EVENT_AGGRO_SAY

sub EVENT_AGGRO_SAY {
    quest::debug("data " . $data);
    quest::debug("text " . $text);
    quest::debug("langid " . $langid);
}

EVENT_ATTACK

sub EVENT_ATTACK {
}

EVENT_CAST

sub EVENT_CAST {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("caster_level " . $caster_level);
}

EVENT_CAST_BEGIN

sub EVENT_CAST_BEGIN {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("caster_level " . $caster_level);
}

EVENT_CAST_ON

sub EVENT_CAST_ON {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("caster_level " . $caster_level);
}

EVENT_COMBAT

sub EVENT_COMBAT {
    quest::debug("combat_state " . $combat_state);
}

EVENT_DEATH

sub EVENT_DEATH {
    quest::debug("killer_id " . $killer_id);
    quest::debug("killer_damage " . $killer_damage);
    quest::debug("killer_spell " . $killer_spell);
    quest::debug("killer_skill " . $killer_skill);
}

EVENT_DEATH_COMPLETE

sub EVENT_DEATH_COMPLETE {
    quest::debug("killer_id " . $killer_id);
    quest::debug("killer_damage " . $killer_damage);
    quest::debug("killer_spell " . $killer_spell);
    quest::debug("killer_skill " . $killer_skill);
}

EVENT_DEATH_ZONE

sub EVENT_DEATH_ZONE {
    quest::debug("killer_id " . $killer_id);
    quest::debug("killer_damage " . $killer_damage);
    quest::debug("killer_spell " . $killer_spell);
    quest::debug("killer_skill " . $killer_skill);
    quest::debug("killed_npc_id " . $killed_npc_id);
    quest::debug("killed_x " . $killed_x);
    quest::debug("killed_y " . $killed_y);
    quest::debug("killed_z " . $killed_z);
    quest::debug("killed_h " . $killed_h);
}

EVENT_FEIGN_DEATH

sub EVENT_FEIGN_DEATH {
}

EVENT_HATE_LIST

sub EVENT_HATE_LIST {
    quest::debug("hate_state " . $hate_state);
}

EVENT_HP

sub EVENT_HP {
    quest::debug("hpevent " . $hpevent);
    quest::debug("inchpevent " . $inchpevent);
    quest::debug("hpevent " . $hpevent);
    quest::debug("inchpevent " . $inchpevent);
}

EVENT_ITEM

sub EVENT_ITEM {
    quest::debug("copper " . $copper);
    quest::debug("silver " . $silver);
    quest::debug("gold " . $gold);
    quest::debug("platinum " . $platinum);
}

EVENT_KILLED_MERIT

sub EVENT_KILLED_MERIT {
}

EVENT_LOOT_ZONE

sub EVENT_LOOT_ZONE {
    quest::debug("looted_id " . $looted_id);
    quest::debug("looted_charges " . $looted_charges);
    quest::debug("corpse " . $corpse);
    quest::debug("corpse_id " . $corpse_id);
}

EVENT_NPC_SLAY

sub EVENT_NPC_SLAY {
    quest::debug("killed " . $killed);
}

EVENT_POPUPRESPONSE

sub EVENT_POPUPRESPONSE {
    quest::debug("popupid " . $popupid);
}

EVENT_POPUP_RESPONSE

sub EVENT_POPUP_RESPONSE {
}

EVENT_PROXIMITY_SAY

sub EVENT_PROXIMITY_SAY {
    quest::debug("data " . $data);
    quest::debug("text " . $text);
    quest::debug("langid " . $langid);
}

EVENT_SAY

sub EVENT_SAY {
    quest::debug("data " . $data);
    quest::debug("text " . $text);
    quest::debug("langid " . $langid);
}

EVENT_SIGNAL

sub EVENT_SIGNAL {
    quest::debug("signal " . $signal);
}

EVENT_SLAY

sub EVENT_SLAY {
}

EVENT_SPAWN

sub EVENT_SPAWN {
}

EVENT_SPAWN_ZONE

sub EVENT_SPAWN_ZONE {
    quest::debug("spawned_entity_id " . $spawned_entity_id);
    quest::debug("spawned_npc_id " . $spawned_npc_id);
}

EVENT_TARGET_CHANGE

sub EVENT_TARGET_CHANGE {
}

EVENT_TASKACCEPTED

sub EVENT_TASKACCEPTED {
    quest::debug("task_id " . $task_id);
}

EVENT_TASK_ACCEPTED

sub EVENT_TASK_ACCEPTED {
}

EVENT_TICK

sub EVENT_TICK {
}

EVENT_TIMER

sub EVENT_TIMER {
    quest::debug("timer " . $timer);
}

EVENT_TRADE

sub EVENT_TRADE {
}

EVENT_WAYPOINT_ARRIVE

sub EVENT_WAYPOINT_ARRIVE {
    quest::debug("wp " . $wp);
}

EVENT_WAYPOINT_DEPART

sub EVENT_WAYPOINT_DEPART {
    quest::debug("wp " . $wp);
}
Back to top