Core/Players: Reward XP to dead players inside battlegrounds
(29/05/2010)
This commit is contained in:
@@ -2936,7 +2936,7 @@ void Player::GiveXP(uint32 xp, Unit* victim, float group_rate)
|
||||
if (xp < 1)
|
||||
return;
|
||||
|
||||
if (!isAlive())
|
||||
if (!isAlive() && !GetBattleGroundId())
|
||||
return;
|
||||
|
||||
if (HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_NO_XP_GAIN))
|
||||
|
||||
Reference in New Issue
Block a user