Skip to content

Perl [Spell]

Info

Also see Spire Quest API Explorer for latest definitions and Quest examples

EVENT_SPELL_EFFECT_BOT

sub EVENT_SPELL_EFFECT_BOT {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}

EVENT_SPELL_EFFECT_BUFF_TIC_BOT

sub EVENT_SPELL_EFFECT_BUFF_TIC_BOT {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}

EVENT_SPELL_EFFECT_BUFF_TIC_CLIENT

sub EVENT_SPELL_EFFECT_BUFF_TIC_CLIENT {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}

EVENT_SPELL_EFFECT_BUFF_TIC_NPC

sub EVENT_SPELL_EFFECT_BUFF_TIC_NPC {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}

EVENT_SPELL_EFFECT_CLIENT

sub EVENT_SPELL_EFFECT_CLIENT {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}

EVENT_SPELL_EFFECT_NPC

sub EVENT_SPELL_EFFECT_NPC {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}

EVENT_SPELL_EFFECT_TRANSLOCATE_COMPLETE

sub EVENT_SPELL_EFFECT_TRANSLOCATE_COMPLETE {
}

EVENT_SPELL_FADE

sub EVENT_SPELL_FADE {
    quest::debug("spell_id " . $spell_id);
    quest::debug("caster_id " . $caster_id);
    quest::debug("tics_remaining " . $tics_remaining);
    quest::debug("caster_level " . $caster_level);
    quest::debug("buff_slot " . $buff_slot);
    quest::debug("spell " . $spell);
}