mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Fix inverted bonus potential check in StarTowerGame
This commit is contained in:
1 parent
57c05c8e32
commit
4baca92455
1 file changed
+1
-1
@@ -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