From b897fcbe106cfc126fd91cdf4ffd0cb8d7e8b5cc Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 17 Jul 2009 19:26:53 +0200 Subject: *Use spell instead of function for giing kill credit in Death's Challenge script - by Drethek. --HG-- branch : trunk --- .../scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp b/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp index d0343c9b5a5..2eaf2bc7164 100644 --- a/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp +++ b/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp @@ -891,7 +891,7 @@ struct TRINITY_DLL_DECL npc_death_knight_initiateAI : public SpellAI { if(!me->HasAura(7267)) // beg aura has faded { - CAST_PLR(me->getVictim())->KilledMonster(29025,m_creature->GetGUID()); + me->getVictim()->CastSpell(me->getVictim(), 52994, true); EnterEvadeMode(); } return; -- cgit v1.2.3