diff options
| author | Rat <> | 2010-01-10 16:27:47 +0100 |
|---|---|---|
| committer | Rat <> | 2010-01-10 16:27:47 +0100 |
| commit | 5b6079ea677a38707d854151fb9f094c3815be66 (patch) | |
| tree | 8ac8028d2278ca9f1b11b8824366d29b8b363af7 /src/game/Spell.cpp | |
| parent | 74bd8084a0df58cbf5fcd1852272664fe9b37ad5 (diff) | |
*cleaned up SharedDefines
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 5 |
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: |
