*Fix a bug that DK does not have full talent points after leaving starting map. Thanks to MaXiMiUS
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -20466,7 +20466,7 @@ uint32 Player::CalculateTalentsPoints() const
|
|||||||
{
|
{
|
||||||
uint32 base_talent = getLevel() < 10 ? 0 : getLevel()-9;
|
uint32 base_talent = getLevel() < 10 ? 0 : getLevel()-9;
|
||||||
|
|
||||||
if(getClass() != CLASS_DEATH_KNIGHT)
|
if(getClass() != CLASS_DEATH_KNIGHT || GetMapId() != 609)
|
||||||
return uint32(base_talent * sWorld.getRate(RATE_TALENT));
|
return uint32(base_talent * sWorld.getRate(RATE_TALENT));
|
||||||
|
|
||||||
uint32 talentPointsForLevel = getLevel() < 56 ? 0 : getLevel() - 55;
|
uint32 talentPointsForLevel = getLevel() < 56 ? 0 : getLevel() - 55;
|
||||||
|
|||||||
Reference in New Issue
Block a user