aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-03-13 12:17:33 -0300
committerariel- <ariel-@users.noreply.github.com>2018-03-13 12:17:33 -0300
commit7d118f05baf9c9e4d7c13987e1530988c9a6a921 (patch)
tree41e7a1e6312a2e32042756c2b8808ecf0d82250e /src
parentb978b673a9053bb0d7bd63ed9261117dc7845742 (diff)
Core/Spells: implemented 'Weakened Spirit' mechanic in Valithria Dreamwalker
- Debuff used to prevent multiple priests chaining 40% heal buff (Guardian Spirit)
Diffstat (limited to 'src')
-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 cc3082527bb..4f528415d4c 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3865,6 +3865,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx7 |= SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER;
});
+ // Guardian Spirit
+ ApplySpellFix({ 47788 }, [](SpellInfo* spellInfo)
+ {
+ spellInfo->ExcludeTargetAuraSpell = 72232; // Weakened Spirit
+ });
+
ApplySpellFix({
42490, // Energized!
42492, // Cast Energized