-- Lady Falther'ess made by Manmadedrummer for Araxia Online local NPC_ID = 14686 local SPELL_BANSHEE_CURSE = 17105 local SPELL_BANSHEE_SHRIEK = 16838 local SPELL_DOMINATE_MIND = 7645 local SPELL_RIBBON_OF_SOULS = 22743 local SPELLS = {SPELL_BANSHEE_CURSE, SPELL_BANSHEE_SHRIEK, SPELL_DOMINATE_MIND, SPELL_RIBBON_OF_SOULS} local function CastRandomSpell(eventId, delay, repeats, creature) local target = creature:GetVictim() if target then local spell = SPELLS[math.random(1, #SPELLS)] creature:CastSpell(target, spell, true) end end local function OnEnterCombat(event, creature, target) creature:SendUnitYell("Thank you for becoming my next victim!", 0) creature:RegisterEvent(CastRandomSpell, 3000, 0) end local function OnLeaveCombat(event, creature) creature:RemoveEvents() end local function OnDied(event, creature, killer) creature:RemoveEvents() end RegisterCreatureEvent(NPC_ID, 1, OnEnterCombat) RegisterCreatureEvent(NPC_ID, 2, OnLeaveCombat) RegisterCreatureEvent(NPC_ID, 4, OnDied)