mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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)
|
if(getClass() != CLASS_DEATH_KNIGHT)
|
||||||
return uint32(base_talent * sWorld.getRate(RATE_TALENT));
|
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)
|
if(talentPointsForLevel > base_talent)
|
||||||
talentPointsForLevel = base_talent;
|
talentPointsForLevel = base_talent;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8164"
|
#define REVISION_NR "8165"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue