diff options
author | QAston <none@none> | 2009-08-14 15:30:47 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-14 15:30:47 +0200 |
commit | a60600b717889bacbe531cfd6a18f49633e99a77 (patch) | |
tree | 0d42b34532ef357031ce1bb31cbf2b4132a3d402 /src/game/SpellEffects.cpp | |
parent | 759721bb5fec5b2cffa277e29dae2ec3b1a87cb8 (diff) |
*Script for Ebon gargoyle - original patch by thenecromancer.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c826c70900a..154357c76f8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1909,20 +1909,12 @@ void Spell::EffectDummy(uint32 i) { // No power, dismiss Gargoyle if (m_caster->GetPower(POWER_RUNIC_POWER)<30) - m_caster->CastSpell((Unit*)NULL,50515,true); + m_caster->RemoveAurasDueToSpell(50514, m_caster->GetGUID()); else m_caster->ModifyPower(POWER_RUNIC_POWER,-30); return; } - // Dismiss Gargoyle - else if (m_spellInfo->Id == 50515) - { - // FIXME: gargoyle should fly away - unitTarget->setDeathState(JUST_DIED); - m_caster->RemoveAurasDueToSpell(50514); - return; - } break; } |