Perl [Bot]
Info
Also see Spire Quest API Explorer for latest definitions and Quest examples
¶
sub {
}
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);
quest::debug("target_id " . $target_id);
quest::debug("target " . $target);
quest::debug("spell " . $spell);
}
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);
quest::debug("target_id " . $target_id);
quest::debug("target " . $target);
quest::debug("spell " . $spell);
}
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);
quest::debug("target_id " . $target_id);
quest::debug("target " . $target);
quest::debug("spell " . $spell);
}
EVENT_COMBAT¶
sub EVENT_COMBAT {
quest::debug("combat_state " . $combat_state);
}
EVENT_DAMAGE_GIVEN¶
sub EVENT_DAMAGE_GIVEN {
quest::debug("entity_id " . $entity_id);
quest::debug("damage " . $damage);
quest::debug("spell_id " . $spell_id);
quest::debug("skill_id " . $skill_id);
quest::debug("is_damage_shield " . $is_damage_shield);
quest::debug("is_avoidable " . $is_avoidable);
quest::debug("buff_slot " . $buff_slot);
quest::debug("is_buff_tic " . $is_buff_tic);
quest::debug("special_attack " . $special_attack);
quest::debug("spell " . $spell);
}
EVENT_DAMAGE_TAKEN¶
sub EVENT_DAMAGE_TAKEN {
quest::debug("entity_id " . $entity_id);
quest::debug("damage " . $damage);
quest::debug("spell_id " . $spell_id);
quest::debug("skill_id " . $skill_id);
quest::debug("is_damage_shield " . $is_damage_shield);
quest::debug("is_avoidable " . $is_avoidable);
quest::debug("buff_slot " . $buff_slot);
quest::debug("is_buff_tic " . $is_buff_tic);
quest::debug("special_attack " . $special_attack);
quest::debug("spell " . $spell);
}
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);
quest::debug("killed_entity_id " . $killed_entity_id);
quest::debug("combat_start_time " . $combat_start_time);
quest::debug("combat_end_time " . $combat_end_time);
quest::debug("damage_received " . $damage_received);
quest::debug("healing_received " . $healing_received);
quest::debug("killed_corpse_id " . $killed_corpse_id);
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_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);
quest::debug("killed_entity_id " . $killed_entity_id);
quest::debug("combat_start_time " . $combat_start_time);
quest::debug("combat_end_time " . $combat_end_time);
quest::debug("damage_received " . $damage_received);
quest::debug("healing_received " . $healing_received);
quest::debug("killed_corpse_id " . $killed_corpse_id);
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_DESPAWN¶
sub EVENT_DESPAWN {
quest::debug("despawned_entity_id " . $despawned_entity_id);
quest::debug("despawned_bot_id " . $despawned_bot_id);
quest::debug("despawned_npc_id " . $despawned_npc_id);
}
EVENT_ENTITY_VARIABLE_DELETE¶
sub EVENT_ENTITY_VARIABLE_DELETE {
quest::debug("variable_name " . $variable_name);
quest::debug("variable_value " . $variable_value);
}
EVENT_ITEM¶
sub EVENT_ITEM {
quest::debug("QuestItem " . $QuestItem);
quest::debug("copper " . $copper);
quest::debug("silver " . $silver);
quest::debug("gold " . $gold);
quest::debug("platinum " . $platinum);
}
EVENT_LEVEL_DOWN¶
sub EVENT_LEVEL_DOWN {
quest::debug("levels_lost " . $levels_lost);
}
EVENT_LEVEL_UP¶
sub EVENT_LEVEL_UP {
quest::debug("levels_gained " . $levels_gained);
}
EVENT_NPC_SLAY¶
sub EVENT_NPC_SLAY {
quest::debug("killed " . $killed);
quest::debug("killed_npc " . $killed_npc);
}
EVENT_PAYLOAD¶
sub EVENT_PAYLOAD {
quest::debug("payload_id " . $payload_id);
quest::debug("payload_value " . $payload_value);
}
EVENT_POPUPRESPONSE¶
sub EVENT_POPUPRESPONSE {
quest::debug("popupid " . $popupid);
}
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_TARGET_CHANGE¶
sub EVENT_TARGET_CHANGE {
quest::debug("target " . $target);
}
EVENT_TIMER¶
sub EVENT_TIMER {
quest::debug("timer " . $timer);
}
EVENT_TIMER_PAUSE¶
sub EVENT_TIMER_PAUSE {
quest::debug("timer " . $timer);
quest::debug("duration " . $duration);
}
EVENT_TIMER_RESUME¶
sub EVENT_TIMER_RESUME {
quest::debug("timer " . $timer);
quest::debug("duration " . $duration);
}
EVENT_TIMER_START¶
sub EVENT_TIMER_START {
quest::debug("timer " . $timer);
quest::debug("duration " . $duration);
}
EVENT_TIMER_STOP¶
sub EVENT_TIMER_STOP {
quest::debug("timer " . $timer);
}
EVENT_UNEQUIP_ITEM_BOT¶
sub EVENT_UNEQUIP_ITEM_BOT {
quest::debug("item_id " . $item_id);
quest::debug("item_quantity " . $item_quantity);
quest::debug("slot_id " . $slot_id);
quest::debug("item " . $item);
}
EVENT_USE_SKILL¶
sub EVENT_USE_SKILL {
quest::debug("skill_id " . $skill_id);
quest::debug("skill_level " . $skill_level);
}