v0.9.3: fixed T4 talents not appearing in rankings
This commit is contained in:
parent
3906837a3a
commit
ff8264a528
|
@ -181,6 +181,7 @@ public class WndRanking extends WndTabbed {
|
|||
int tiers = 1;
|
||||
if (Dungeon.hero.lvl >= 6) tiers++;
|
||||
if (Dungeon.hero.lvl >= 12 && Dungeon.hero.subClass != HeroSubClass.NONE) tiers++;
|
||||
if (Dungeon.hero.lvl >= 20 && Dungeon.hero.armorAbility != null) tiers++;
|
||||
while (Dungeon.hero.talents.size() > tiers){
|
||||
Dungeon.hero.talents.remove(Dungeon.hero.talents.size()-1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user