From 2750d95a5d644a6d1a7b30001f69c80007e4cfd5 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 12 Jul 2009 18:09:41 +0800 Subject: [8165] Correctly add quest talent points count for characters on lvl 55. Author: ApoC --HG-- branch : trunk --- src/game/Player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/Player.cpp') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 029a2b0f86b..7ea38d6ba0d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -20496,7 +20496,8 @@ uint32 Player::CalculateTalentsPoints() const if(getClass() != CLASS_DEATH_KNIGHT) return uint32(base_talent * sWorld.getRate(RATE_TALENT)); - uint32 talentPointsForLevel = getLevel() < 56 ? 0 : getLevel() - 55 + m_questRewardTalentCount; + uint32 talentPointsForLevel = getLevel() < 56 ? 0 : getLevel() - 55; + talentPointsForLevel += m_questRewardTalentCount; if(talentPointsForLevel > base_talent) talentPointsForLevel = base_talent; -- cgit v1.2.3