aboutsummaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorRat <>2010-01-10 16:27:47 +0100
committerRat <>2010-01-10 16:27:47 +0100
commit5b6079ea677a38707d854151fb9f094c3815be66 (patch)
tree8ac8028d2278ca9f1b11b8824366d29b8b363af7 /src/bindings
parent74bd8084a0df58cbf5fcd1852272664fe9b37ad5 (diff)
*cleaned up SharedDefines
--HG-- branch : trunk
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp
index a12647a9252..7f6ecc6ab77 100644
--- a/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp
+++ b/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp
@@ -20,6 +20,7 @@
#include "Vehicle.h"
#include "ObjectMgr.h"
#include "escort_ai.h"
+#include "SpellId.h"
/*######
##Quest 12848
@@ -387,7 +388,7 @@ struct TRINITY_DLL_DECL npc_death_knight_initiateAI : public CombatAI
pDoneBy->AttackStop();
me->CastSpell(pDoneBy, SPELL_DUEL_VICTORY, true);
lose = true;
- me->CastSpell(me, SPELL_ID_DUEL_BEG, true);
+ me->CastSpell(me, SPELL_GROVEL_7267, true);
me->RestoreFaction();
}
}
@@ -417,14 +418,14 @@ struct TRINITY_DLL_DECL npc_death_knight_initiateAI : public CombatAI
{
if (lose)
{
- if (!me->HasAura(SPELL_ID_DUEL_BEG))
+ if (!me->HasAura(SPELL_GROVEL_7267))
EnterEvadeMode();
return;
}
else if (me->getVictim()->GetTypeId() == TYPEID_PLAYER
&& me->getVictim()->GetHealth() * 10 < me->getVictim()->GetMaxHealth())
{
- me->getVictim()->CastSpell(me->getVictim(), SPELL_ID_DUEL_BEG, true); // beg
+ me->getVictim()->CastSpell(me->getVictim(), SPELL_GROVEL_7267, true); // beg
me->getVictim()->RemoveGameObject(SPELL_DUEL_FLAG, true);
EnterEvadeMode();
return;