mirror of
https://github.com/EQEmu/eqemu-docs-v2.git
synced 2026-08-08 17:45:09 -04:00
4.6 KiB
Executable file
4.6 KiB
Executable file
!!! info end
Also see [Spire Quest API Explorer](http://spire.akkadius.com/quest-api-explorer?lang=lua){:target="perl_event"} for latest definitions and Quest examples
EVENT_AGGRO_SAY
function EVENT_AGGRO_SAY(e) {
}
EVENT_CAST
function EVENT_CAST(e) {
eq.debug("spell " .. e.spell);
eq.debug("caster_id " .. e.caster_id);
eq.debug("caster_level " .. e.caster_level);
eq.debug("target_id " .. e.target_id);
eq.debug("target " .. e.target);
}
EVENT_CAST_BEGIN
function EVENT_CAST_BEGIN(e) {
eq.debug("spell " .. e.spell);
eq.debug("caster_id " .. e.caster_id);
eq.debug("caster_level " .. e.caster_level);
eq.debug("target_id " .. e.target_id);
eq.debug("target " .. e.target);
}
EVENT_CAST_ON
function EVENT_CAST_ON(e) {
eq.debug("spell " .. e.spell);
eq.debug("caster_id " .. e.caster_id);
eq.debug("caster_level " .. e.caster_level);
eq.debug("target_id " .. e.target_id);
eq.debug("target " .. e.target);
}
EVENT_COMBAT
function EVENT_COMBAT(e) {
eq.debug("other " .. e.other);
eq.debug("joined " .. e.joined);
}
EVENT_DAMAGE_GIVEN
function EVENT_DAMAGE_GIVEN(e) {
eq.debug("entity_id " .. e.entity_id);
eq.debug("damage " .. e.damage);
eq.debug("spell_id " .. e.spell_id);
eq.debug("skill_id " .. e.skill_id);
eq.debug("is_damage_shield " .. e.is_damage_shield);
eq.debug("is_avoidable " .. e.is_avoidable);
eq.debug("buff_slot " .. e.buff_slot);
eq.debug("is_buff_tic " .. e.is_buff_tic);
eq.debug("special_attack " .. e.special_attack);
eq.debug("other " .. e.other);
}
EVENT_DAMAGE_TAKEN
function EVENT_DAMAGE_TAKEN(e) {
eq.debug("entity_id " .. e.entity_id);
eq.debug("damage " .. e.damage);
eq.debug("spell_id " .. e.spell_id);
eq.debug("skill_id " .. e.skill_id);
eq.debug("is_damage_shield " .. e.is_damage_shield);
eq.debug("is_avoidable " .. e.is_avoidable);
eq.debug("buff_slot " .. e.buff_slot);
eq.debug("is_buff_tic " .. e.is_buff_tic);
eq.debug("special_attack " .. e.special_attack);
eq.debug("other " .. e.other);
}
EVENT_DEATH
function EVENT_DEATH(e) {
eq.debug("other " .. e.other);
eq.debug("killer_id " .. e.killer_id);
eq.debug("damage " .. e.damage);
eq.debug("spell " .. e.spell);
eq.debug("skill " .. e.skill);
eq.debug("killed_entity_id " .. e.killed_entity_id);
}
EVENT_DEATH_COMPLETE
function EVENT_DEATH_COMPLETE(e) {
eq.debug("other " .. e.other);
eq.debug("killer_id " .. e.killer_id);
eq.debug("damage " .. e.damage);
eq.debug("spell " .. e.spell);
eq.debug("skill " .. e.skill);
eq.debug("killed_entity_id " .. e.killed_entity_id);
}
EVENT_DESPAWN
function EVENT_DESPAWN(e) {
}
EVENT_EQUIP_ITEM_BOT
function EVENT_EQUIP_ITEM_BOT(e) {
eq.debug("item_id " .. e.item_id);
eq.debug("item_quantity " .. e.item_quantity);
eq.debug("slot_id " .. e.slot_id);
eq.debug("item " .. e.item);
}
EVENT_LEVEL_DOWN
function EVENT_LEVEL_DOWN(e) {
}
EVENT_LEVEL_UP
function EVENT_LEVEL_UP(e) {
eq.debug("levels_gained " .. e.levels_gained);
}
EVENT_PAYLOAD
function EVENT_PAYLOAD(e) {
eq.debug("payload_id " .. e.payload_id);
eq.debug("payload_value " .. e.payload_value);
}
EVENT_POPUP_RESPONSE
function EVENT_POPUP_RESPONSE(e) {
eq.debug("other " .. e.other);
eq.debug("popup_id " .. e.popup_id);
}
EVENT_SAY
function EVENT_SAY(e) {
eq.debug("other " .. e.other);
eq.debug("message " .. e.message);
eq.debug("language " .. e.language);
}
EVENT_SIGNAL
function EVENT_SIGNAL(e) {
eq.debug("signal " .. e.signal);
}
EVENT_SLAY
function EVENT_SLAY(e) {
eq.debug("other " .. e.other);
}
EVENT_SPAWN
function EVENT_SPAWN(e) {
}
EVENT_TARGET_CHANGE
function EVENT_TARGET_CHANGE(e) {
eq.debug("other " .. e.other);
}
EVENT_TIMER
function EVENT_TIMER(e) {
eq.debug("timer " .. e.timer);
}
EVENT_TRADE
function EVENT_TRADE(e) {
eq.debug("other " .. e.other);
eq.debug("platinum " .. e.platinum);
eq.debug("gold " .. e.gold);
eq.debug("silver " .. e.silver);
eq.debug("copper " .. e.copper);
eq.debug("trade " .. e.trade);
}
EVENT_UNEQUIP_ITEM_BOT
function EVENT_UNEQUIP_ITEM_BOT(e) {
eq.debug("item_id " .. e.item_id);
eq.debug("item_quantity " .. e.item_quantity);
eq.debug("slot_id " .. e.slot_id);
eq.debug("item " .. e.item);
}
EVENT_USE_SKILL
function EVENT_USE_SKILL(e) {
eq.debug("skill_id " .. e.skill_id);
eq.debug("skill_level " .. e.skill_level);
}