mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-20 01:29:54 +02:00
Fix potential count when giving up a Monolith run
This commit is contained in:
@@ -215,6 +215,10 @@ public class StarTowerGame {
|
||||
return this.getRarePotentialCount().get(charId);
|
||||
}
|
||||
|
||||
public int getTotalPotentialCount() {
|
||||
return this.getItems().values().intStream().reduce(0, Integer::sum);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the team element, if the team has 2+ or more elements, then returns null
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user