mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8165] Correctly add quest talent points count for characters on lvl 55.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
04a5a674d2
commit
5b209bced4
2 changed files with 3 additions and 2 deletions
|
|
@ -19585,7 +19585,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue