fix(Core/Spells): Ghost Wolf Speed from PvP 58 vl set. (#11096)
Fixes #9479
This commit is contained in:
@@ -1508,6 +1508,16 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
|||||||
if (target->HasAura(58039)) // Glyph of Blurred Speed
|
if (target->HasAura(58039)) // Glyph of Blurred Speed
|
||||||
target->CastSpell(target, 61922, true); // Sprint (waterwalk)
|
target->CastSpell(target, 61922, true); // Sprint (waterwalk)
|
||||||
break;
|
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:
|
case SPELLFAMILY_DEATHKNIGHT:
|
||||||
if (!caster)
|
if (!caster)
|
||||||
break;
|
break;
|
||||||
@@ -1812,7 +1822,15 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SPELLFAMILY_SHAMAN:
|
||||||
|
{
|
||||||
|
// Ghost Wolf Speed (PvP 58 lvl set)
|
||||||
|
if (GetSpellInfo()->SpellFamilyFlags[0] & 0x00000800)
|
||||||
|
{
|
||||||
|
target->RemoveAurasDueToSpell(47017);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case SPELLFAMILY_DEATHKNIGHT:
|
case SPELLFAMILY_DEATHKNIGHT:
|
||||||
// Blood of the North
|
// Blood of the North
|
||||||
// Reaping
|
// Reaping
|
||||||
|
|||||||
Reference in New Issue
Block a user