feat: the rebuild gamemode of "Gauntlet"
This commit is contained in:
@@ -558,6 +558,10 @@ func spawn_powerups_around(center: Vector2i, force_powerups: bool = true, only_c
|
||||
if only_common or LobbyManager.is_game_mode(GameMode.Mode.STOP_N_GO):
|
||||
# Spawn ONLY common tiles (7-10) in Stop n Go mode (User Request)
|
||||
item_id = rng.randi_range(7, 10)
|
||||
elif LobbyManager.is_game_mode(GameMode.Mode.GAUNTLET):
|
||||
# Gauntlet mode: No power-up tile spawns from world.
|
||||
# Only common tiles (7-10) spawn; Smack/Cleanser are handled separately.
|
||||
item_id = rng.randi_range(7, 10)
|
||||
else:
|
||||
# Other modes: 80% Chance for Common Tile (7-10), 20% for PowerUp
|
||||
if rng.randf() < 0.8:
|
||||
|
||||
Reference in New Issue
Block a user