Scripts/Spells: Implement mage talent Fiery Rush

Port From (https://github.com/TrinityCore/TrinityCore/commit/739369fb427670b165a002f8d48c65ebf9e7f1dd)
This commit is contained in:
Hondacrx
2025-12-08 09:28:41 -05:00
parent 6ea0167c48
commit f5fabb8134
+20
View File
@@ -40,6 +40,7 @@ struct SpellIds
public const uint EtherealBlink = 410939;
public const uint EverwarmSocks = 320913;
public const uint FeelTheBurn = 383391;
public const uint FieryRushAura = 383637;
public const uint FingersOfFrost = 44544;
public const uint FireBlast = 108853;
public const uint Firestarter = 205026;
@@ -650,6 +651,25 @@ class spell_mage_feel_the_burn : AuraScript
}
}
[Script] // 383637 - Fiery Rush (attached to 190319 - Combustion)
class spell_mage_fiery_rush_aura : AuraScript
{
public override bool Validate(SpellInfo spellInfo)
{
return ValidateSpellInfo(SpellIds.FieryRushAura);
}
void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
{
GetTarget().RemoveAurasDueToSpell(SpellIds.FieryRushAura);
}
public override void Register()
{
AfterEffectRemove.Add(new(AfterRemove, 2, AuraType.PeriodicDummy, AuraEffectHandleModes.Real));
}
}
[Script] // 112965 - Fingers of Frost
class spell_mage_fingers_of_frost : AuraScript
{