diff options
author | Nitair <peter.stein94@gmail.com> | 2019-05-31 08:26:42 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-09 00:24:26 +0100 |
commit | f6048aca9a4f4ab0e8f4429a6f9e2a06a6732c25 (patch) | |
tree | 290419d0df9d62054e98a09e7bac3e370903f4dd /src/server/game/Spells/SpellMgr.cpp | |
parent | c77a4e62811ce64eca83060db7a8f18d643dbc6a (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
(cherry picked from commit ee5101fbf74b0fa924a8467ee766b39c1d06875b)
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index b207cee2cc2..c0ebeec251b 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -4576,6 +4576,12 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->ProcChance = 10; }); + // Baron Rivendare (Stratholme) - Unholy Aura + ApplySpellFix({ 17466, 17467 }, [](SpellInfo* spellInfo) + { + spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_INITIAL_AGGRO; + }); + // // FIRELANDS SPELLS // |