mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-19 17:19:58 +02:00
Fix inverted bonus potential check in StarTowerGame
This commit is contained in:
@@ -633,7 +633,7 @@ public class StarTowerGame {
|
||||
int level = 1;
|
||||
|
||||
// Check for bonuses
|
||||
if (this.getItemCount(id) > 0) {
|
||||
if (this.getItemCount(id) == 0) {
|
||||
// New potential
|
||||
if (Utils.randomChance(this.getModifiers().getBonusPotentialChance())) {
|
||||
level += this.getModifiers().getBonusPotentialLevel();
|
||||
|
||||
Reference in New Issue
Block a user