Core/Misc: Minor change to racial wisp handling to make custom easier (or so i heard) (#22954)

This commit is contained in:
KobeSagami
2019-08-17 09:07:16 -06:00
committed by Shauren
parent 9bd8d90728
commit 7d60b9a289

View File

@@ -4235,7 +4235,8 @@ void Player::BuildPlayerRepop()
packet.PlayerGUID = GetGUID();
GetSession()->SendPacket(packet.Write());
if (getRace() == RACE_NIGHTELF)
// If the player has the Wisp racial then cast the Wisp aura on them
if (HasSpell(20585))
CastSpell(this, 20584, true);
CastSpell(this, 8326, true);