Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Core/Misc: Minor change to racial wisp handling to make custom easier…
Browse files Browse the repository at this point in the history
… (or so i heard) (#22954)

(cherry picked from commit 7d60b9a)
  • Loading branch information
KobeSagami authored and funjoker committed Oct 18, 2023
1 parent b7a9e6d commit cbb0274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4052,7 +4052,8 @@ void Player::BuildPlayerRepop()
data << GetPackGUID();
SendDirectMessage(&data);

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);

Expand Down

0 comments on commit cbb0274

Please sign in to comment.