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;
|
int level = 1;
|
||||||
|
|
||||||
// Check for bonuses
|
// Check for bonuses
|
||||||
if (this.getItemCount(id) > 0) {
|
if (this.getItemCount(id) == 0) {
|
||||||
// New potential
|
// New potential
|
||||||
if (Utils.randomChance(this.getModifiers().getBonusPotentialChance())) {
|
if (Utils.randomChance(this.getModifiers().getBonusPotentialChance())) {
|
||||||
level += this.getModifiers().getBonusPotentialLevel();
|
level += this.getModifiers().getBonusPotentialLevel();
|
||||||
|
|||||||
Reference in New Issue
Block a user