aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authorNitair <peter.stein94@gmail.com>2019-05-31 08:26:42 +0200
committerGiacomo Pozzoni <giacomopoz@gmail.com>2019-05-31 08:26:42 +0200
commitee5101fbf74b0fa924a8467ee766b39c1d06875b (patch)
tree5b9b79d7a474824c4398f46a3e45745d085ff717 /src/server/game/Spells/SpellMgr.cpp
parentd333cd0ccfdaaab822eae4a6f5cc0d47ce521875 (diff)
Scripts/Stratholme: Baron Rivendare rewrite (#22572)
* Adding last state of rivendare rewrite * Fix aura beeing removed on reset, fix death pact * Not needed * SQL: Changed remove/inset into update, fixed delete at conditions part * Typo * Remove link spell, fix blank lines, change magic numbers to enum * Test changes with SpellScript and DoCastSelf * Revert SpellScript and moved DoCastSelf for the aura into UpdateAI part * Damn, copyright. * Fix Unholy Aura * Fix again (does attack now / does cast if encounter resets) * Adding handling of the aura to the db * Rename 2018_99_99_99_world_335.sql to 2019_05_31_02_world_335.sql
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 624f0754739..c91cbcfccc9 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -4874,6 +4874,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_1].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_3_YARDS); // 3yd
});
+ // Baron Rivendare (Stratholme) - Unholy Aura
+ ApplySpellFix({ 17466, 17467 }, [](SpellInfo* spellInfo)
+ {
+ spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_INITIAL_AGGRO;
+ });
+
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];