Scripts/Paladin: Update Divine Steed for Lightforged Draenei

Port From (https://github.com/TrinityCore/TrinityCore/commit/0f925b545c1513581a5c08fd2a8ad473701f1038)
This commit is contained in:
hondacrx
2023-04-21 19:06:57 -04:00
parent ebb377202d
commit afceddc29a
+5 -2
View File
@@ -40,6 +40,7 @@ namespace Scripts.Spells.Paladin
public const uint DivineSteedBloodelf = 221886;
public const uint DivineSteedTauren = 221885;
public const uint DivineSteedZandalariTroll = 294133;
public const uint DivineSteedLfDraenei = 363608;
public const uint DivineStormDamage = 224239;
public const uint EnduringLight = 40471;
public const uint EnduringJudgement = 40472;
@@ -422,7 +423,7 @@ namespace Scripts.Spells.Paladin
{
public override bool Validate(SpellInfo spellInfo)
{
return ValidateSpellInfo(SpellIds.DivineSteedHuman, SpellIds.DivineSteedDwarf, SpellIds.DivineSteedDraenei, SpellIds.DivineSteedDarkIronDwarf, SpellIds.DivineSteedBloodelf, SpellIds.DivineSteedTauren, SpellIds.DivineSteedZandalariTroll);
return ValidateSpellInfo(SpellIds.DivineSteedHuman, SpellIds.DivineSteedDwarf, SpellIds.DivineSteedDraenei, SpellIds.DivineSteedDarkIronDwarf, SpellIds.DivineSteedBloodelf, SpellIds.DivineSteedTauren, SpellIds.DivineSteedZandalariTroll, SpellIds.DivineSteedLfDraenei);
}
void HandleOnCast()
@@ -439,9 +440,11 @@ namespace Scripts.Spells.Paladin
spellId = SpellIds.DivineSteedDwarf;
break;
case Race.Draenei:
case Race.LightforgedDraenei:
spellId = SpellIds.DivineSteedDraenei;
break;
case Race.LightforgedDraenei:
spellId = SpellIds.DivineSteedLfDraenei;
break;
case Race.DarkIronDwarf:
spellId = SpellIds.DivineSteedDarkIronDwarf;
break;