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