Позволяет таланту паладина http://ru.wowhead.com/?spell=31869 работать корреткно т.е. давать общий 3% бонус дэмага от всех аур а не только с ретро
Code
diff -r 40f029b1fd05 -r a671916ed90c src/game/SpellAuras.cpp
--- a/src/game/SpellAuras.cpp Tue Aug 25 02:40:10 2009 -0500
+++ b/src/game/SpellAuras.cpp Tue Aug 25 20:08:42 2009 +0400
@@ -1078,6 +1081,49 @@
}
}
+ //Pally Auras MassEffects
+ SpellSpecific spellSpec = GetSpellSpecific(GetId());
+
+ // spellSpec == SPELL_NORMAL
+ if(!spellSpec)
+ return;
+
+ uint32 spellId = 0;
+ uint32 spellId2 = 0;
+ uint32 spellId3 = 0;
+
+ switch(spellSpec)
+ {
+ case SPELL_AURA:
+ // Only process on player casting paladin aura
+ if(GetCasterGUID() != m_target->GetGUID() || !IS_PLAYER_GUID(GetCasterGUID()))
+ return;
+ // Sanctified Retribution and Swift Retribution (they share one aura), but not Retribution Aura (already gets modded)
+ if(m_spellProto->Id != 54043 && m_spellProto->Id != 27150
+ && m_spellProto->Id != 10301 && m_spellProto->Id != 10300
+ && m_spellProto->Id != 10299 && m_spellProto->Id != 10298
+ && m_spellProto->Id != 7294)
+ spellId = 63531;
+ // Improved Concentration Aura
+ spellId2 = 63510;
+ // Improved Devotion Aura
+ spellId3 = 63514;
+ break;
+ }
+if (apply)
+ {
+ if (spellId) m_target->CastSpell(m_target, spellId, true);
+ if (spellId2) m_target->CastSpell(m_target, spellId2, true);
+ if (spellId3) m_target->CastSpell(m_target, spellId3, true);
+ }
+ else
+ {
+ m_target->RemoveAura(spellId, GetCasterGUID());
+ m_target->RemoveAura(spellId2, GetCasterGUID());
+ m_target->RemoveAura(spellId3, GetCasterGUID());
+ }
+//
+
if (GetSpellSpecific(m_spellProto->Id) == SPELL_PRESENCE)
{
AuraEffect *bloodPresenceAura=0; // healing by damage done