v0.9.2: fixed unspent T3 talent point warning when no subclass is chosen
This commit is contained in:
parent
a35604ea8a
commit
e8376f3dbc
|
@ -320,7 +320,8 @@ public class Hero extends Char {
|
|||
}
|
||||
|
||||
public int talentPointsAvailable(int tier){
|
||||
if (lvl < Talent.tierLevelThresholds[tier]){
|
||||
if (lvl < Talent.tierLevelThresholds[tier]
|
||||
|| (tier == 3 && subClass == HeroSubClass.NONE)){
|
||||
return 0;
|
||||
} else if (lvl >= Talent.tierLevelThresholds[tier+1]){
|
||||
return Talent.tierLevelThresholds[tier+1] - Talent.tierLevelThresholds[tier] - talentPointsSpent(tier);
|
||||
|
|
Loading…
Reference in New Issue
Block a user