From 5b6079ea677a38707d854151fb9f094c3815be66 Mon Sep 17 00:00:00 2001 From: Rat <> Date: Sun, 10 Jan 2010 16:27:47 +0100 Subject: *cleaned up SharedDefines --HG-- branch : trunk --- src/game/Spell.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game/Spell.cpp') 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: -- cgit v1.2.3