diff options
author | Nay <dnpd.dd@gmail.com> | 2012-07-23 17:35:22 -0700 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-07-23 17:35:22 -0700 |
commit | 67bacdc77d5b2f922766513df6e8d7a8b57b30f7 (patch) | |
tree | 3d301abf2dbcf56c089a233076057aaa6b4d4f90 /src | |
parent | 63d5a90394f5fc441772f4c90ad5a2e5e4aedbea (diff) | |
parent | d5dea1ca4e0f9f14c6d433ca1d97e193c39dd85a (diff) |
Merge pull request #7164 from Geodar/master
[Core\Quest] Fix Quest "The Aspirant's Challenge"
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/icecrown.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/icecrown.cpp b/src/server/scripts/Northrend/icecrown.cpp index fb2e0f6c389..85b34523893 100644 --- a/src/server/scripts/Northrend/icecrown.cpp +++ b/src/server/scripts/Northrend/icecrown.cpp @@ -169,8 +169,7 @@ enum eArgentValiant { SPELL_CHARGE = 63010, SPELL_SHIELD_BREAKER = 65147, - - NPC_ARGENT_VALIANT_CREDIT = 24108 + SPELL_KILL_CREDIT = 63049 }; class npc_argent_valiant : public CreatureScript @@ -208,7 +207,7 @@ public: if (uiDamage > me->GetHealth() && pDoneBy->GetTypeId() == TYPEID_PLAYER) { uiDamage = 0; - CAST_PLR(pDoneBy)->KilledMonsterCredit(NPC_ARGENT_VALIANT_CREDIT, 0); + pDoneBy->CastSpell(pDoneBy, SPELL_KILL_CREDIT, true); me->setFaction(35); me->DespawnOrUnsummon(5000); me->SetHomePosition(me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), me->GetOrientation()); |