diff options
| author | tobmaps <spambot42@yandex.ru> | 2011-05-28 18:49:21 +0700 |
|---|---|---|
| committer | tobmaps <spambot42@yandex.ru> | 2011-05-28 18:49:21 +0700 |
| commit | 0faeb459325b7d9c80f834a69e0294fd2d666175 (patch) | |
| tree | bf74b59a7903ae683284942f4839180d90b3e438 /src/server/game | |
| parent | 2de87eaaabf26daa5394fbbc2f95e6cf47b416fc (diff) | |
Core/Spells: Cleanup code for Summon Gargoyle
Diffstat (limited to 'src/server/game')
| -rwxr-xr-x | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
