aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
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/game/Spell.cpp
parent74bd8084a0df58cbf5fcd1852272664fe9b37ad5 (diff)
*cleaned up SharedDefines
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 2d04a9ebfdf..9e1f632ad33 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -51,6 +51,7 @@
#include "Vehicle.h"
#include "ScriptCalls.h"
#include "SpellAuraEffects.h"
+#include "SpellId.h"
#define SPELL_CHANNEL_UPDATE_INTERVAL (1 * IN_MILISECONDS)
@@ -5074,8 +5075,8 @@ SpellCastResult Spell::CheckCast(bool strict)
//custom check
switch(m_spellInfo->Id)
{
- case SPELL_ID_TAG_MURLOC:
- if (!m_targets.getUnitTarget() || (m_targets.getUnitTarget() && (m_targets.getUnitTarget()->HasAura(SPELL_ID_TAG_MURLOC) || m_targets.getUnitTarget()->GetTypeId() != TYPEID_UNIT || (m_targets.getUnitTarget()->GetTypeId() == TYPEID_UNIT && ((Creature*)m_targets.getUnitTarget())->GetEntry() != 17326 ))))// Tag Murloc, Blacksilt Scout
+ case SPELL_TAG_MURLOC_30877:
+ if (!m_targets.getUnitTarget() || (m_targets.getUnitTarget() && (m_targets.getUnitTarget()->HasAura(SPELL_TAG_MURLOC_30877) || m_targets.getUnitTarget()->GetTypeId() != TYPEID_UNIT || (m_targets.getUnitTarget()->GetTypeId() == TYPEID_UNIT && ((Creature*)m_targets.getUnitTarget())->GetEntry() != 17326 ))))// Tag Murloc, Blacksilt Scout
return SPELL_FAILED_BAD_TARGETS;
break;
case 61336: