From bd248a82d0b0dd821a0482f2f5d6cee23593d8a3 Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Fri, 1 Apr 2022 12:01:21 +0200 Subject: [PATCH] fix(Core/Spells): Ghost Wolf Speed from PvP 58 vl set. (#11096) Fixes #9479 --- src/server/game/Spells/Auras/SpellAuras.cpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 4d0f89c8d..528b67ab7 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1508,6 +1508,16 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b if (target->HasAura(58039)) // Glyph of Blurred Speed target->CastSpell(target, 61922, true); // Sprint (waterwalk) break; + case SPELLFAMILY_SHAMAN: + { + // Ghost Wolf Speed (PvP 58 lvl set) + if (GetSpellInfo()->SpellFamilyFlags[0] & 0x00000800 && target->HasAura(22801) && target->getLevel() <= 60) + { + int32 bp0 = 15; + target->CastCustomSpell(target, 47017, &bp0, 0, 0, true); + } + break; + } case SPELLFAMILY_DEATHKNIGHT: if (!caster) break; @@ -1812,7 +1822,15 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b } break; } - + case SPELLFAMILY_SHAMAN: + { + // Ghost Wolf Speed (PvP 58 lvl set) + if (GetSpellInfo()->SpellFamilyFlags[0] & 0x00000800) + { + target->RemoveAurasDueToSpell(47017); + } + break; + } case SPELLFAMILY_DEATHKNIGHT: // Blood of the North // Reaping