Core/Entities: Add player name and ID to GetXPrestBonus calculation-log

(cherry picked from commit 50bbfeebb9e878928a24e0b91d9ddd39cc1d59ff)
This commit is contained in:
click
2015-04-14 01:01:31 +01:00
committed by DDuarte
parent 1126ed97bb
commit 5b3726ade7
+1 -1
View File
@@ -9459,7 +9459,7 @@ uint32 Player::GetXPRestBonus(uint32 xp)
SetRestBonus(GetRestBonus() - rested_bonus);
TC_LOG_DEBUG("entities.player", "Player gain %u xp (+ %u Rested Bonus). Rested points=%f", xp+rested_bonus, rested_bonus, GetRestBonus());
TC_LOG_DEBUG("entities.player", "GetXPRestBonus: Player %s (%u) gain %u xp (+%u Rested Bonus). Rested points=%f", GetName().c_str(), GetGUIDLow(), xp+rested_bonus, rested_bonus, GetRestBonus());
return rested_bonus;
}