From 0faeb459325b7d9c80f834a69e0294fd2d666175 Mon Sep 17 00:00:00 2001 From: tobmaps Date: Sat, 28 May 2011 18:49:21 +0700 Subject: Core/Spells: Cleanup code for Summon Gargoyle --- src/server/game/Spells/Auras/SpellAuraEffects.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/game') diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 90a5c3b5636..e402a335985 100755 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -1900,7 +1900,7 @@ void AuraEffect::PeriodicTick(AuraApplication * aurApp, Unit * caster) const case SPELL_AURA_DUMMY: // Haunting Spirits if (GetId() == 7057) - target->CastSpell((Unit*)NULL , GetAmount() , true); + target->CastSpell((Unit*)NULL , GetAmount(), true); break; case SPELL_AURA_PERIODIC_DUMMY: PeriodicDummyTick(target, caster); @@ -6077,9 +6077,9 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo target->SetReducedThreatPercent(0, 0); break; case SPELLFAMILY_DEATHKNIGHT: - // Summon Gargoyle (will start feeding gargoyle) + // Summon Gargoyle (Dismiss Gargoyle at remove) if (GetId() == 61777) - target->CastSpell(target, m_spellProto->EffectTriggerSpell[m_effIndex], true); + target->CastSpell(target, GetAmount(), true); break; default: break; -- cgit v1.2.3