https://github.com/EQEmu/Server/wiki/Lua-Mob
spellfinished
two successive castspell calls have a delay between casts, and the script doesn't wait for the first to finish to continue to second
Code:
Boolean SpellFinished(Integer spell_id, Mob target);
Boolean SpellFinished(Integer spell_id, Mob target, Integer slot);
Boolean SpellFinished(Integer spell_id, Mob target, Integer slot, Integer mana_used);
Boolean SpellFinished(Integer spell_id, Mob target, Integer slot, Integer mana_used, Integer inventory_slot);
Boolean SpellFinished(Integer spell_id, Mob target, Integer slot, Integer mana_used, Integer inventory_slot, Integer resist_adjust);
Boolean SpellFinished(Integer spell_id, Mob target, Integer slot, Integer mana_used, Integer inventory_slot, Integer resist_adjust, Boolean proc);