Rework star tower

This commit is contained in:
Melledy
2025-12-02 23:15:31 -08:00
parent 33b1cf55d4
commit 893b23b50d
19 changed files with 880 additions and 537 deletions
@@ -21,8 +21,8 @@ public class StarTowerDef extends BaseDef {
return Id;
}
public int getMaxFloor(int stage) {
int index = stage - 1;
public int getMaxFloor(int stageNum) {
int index = stageNum - 1;
if (index < 0 || index >= this.FloorNum.length) {
return 0;