Scripts/DK: Implemented Howling Blast
Port From (https://github.com/TrinityCore/TrinityCore/commit/58cd4e58f7d2f382903c8abe065b697d3a0bcb6b)
This commit is contained in:
@@ -35,6 +35,7 @@ namespace Scripts.Spells.DeathKnight
|
|||||||
public const uint DeathStrikeOffhand = 66188;
|
public const uint DeathStrikeOffhand = 66188;
|
||||||
public const uint FesteringWound = 194310;
|
public const uint FesteringWound = 194310;
|
||||||
public const uint Frost = 137006;
|
public const uint Frost = 137006;
|
||||||
|
public const uint FrostFever = 55095;
|
||||||
public const uint FrostScythe = 207230;
|
public const uint FrostScythe = 207230;
|
||||||
public const uint GlyphOfFoulMenagerie = 58642;
|
public const uint GlyphOfFoulMenagerie = 58642;
|
||||||
public const uint GlyphOfTheGeist = 58640;
|
public const uint GlyphOfTheGeist = 58640;
|
||||||
@@ -577,6 +578,25 @@ namespace Scripts.Spells.DeathKnight
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Script] // 49184 - Howling Blast
|
||||||
|
class spell_dk_howling_blast : SpellScript
|
||||||
|
{
|
||||||
|
public override bool Validate(SpellInfo spellInfo)
|
||||||
|
{
|
||||||
|
return ValidateSpellInfo(SpellIds.FrostFever);
|
||||||
|
}
|
||||||
|
|
||||||
|
void HandleFrostFever(uint effIndex)
|
||||||
|
{
|
||||||
|
GetCaster().CastSpell(GetHitUnit(), SpellIds.FrostFever);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Register()
|
||||||
|
{
|
||||||
|
OnEffectHitTarget.Add(new EffectHandler(HandleFrostFever, 0, SpellEffectName.SchoolDamage));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[Script] // 206940 - Mark of Blood
|
[Script] // 206940 - Mark of Blood
|
||||||
class spell_dk_mark_of_blood : AuraScript
|
class spell_dk_mark_of_blood : AuraScript
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user