aboutsummaryrefslogtreecommitdiff
path: root/game/scheduler
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-10 14:07:30 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2025-01-10 14:07:30 +0100
commitd7c8cc30e1d37526cf142f950038500b96760514 (patch)
tree4f8d6c60f33855eda9833c3a24e9ef810014b44d /game/scheduler
parent22d77b99d700e6317a7432e475330e4bb3c9745d (diff)
balance changes
Diffstat (limited to 'game/scheduler')
-rw-r--r--game/scheduler/ObjectsScheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/scheduler/ObjectsScheduler.cpp b/game/scheduler/ObjectsScheduler.cpp
index 816e1ee..c33c707 100644
--- a/game/scheduler/ObjectsScheduler.cpp
+++ b/game/scheduler/ObjectsScheduler.cpp
@@ -16,7 +16,7 @@ void ObjectsScheduler::preset_0() {
trigger_event<MissileSpawnEvent>(MissileSpawnEvent {});
trigger_event<MissileSpawnEvent>(MissileSpawnEvent {});
this->trigger_event<BattleStartEvent>(BattleStartEvent {
- .num_enemies = Random::i(2, 1),
+ .num_enemies = Random::i(2, 0),
.battle = false,
});
}
@@ -40,7 +40,7 @@ void ObjectsScheduler::boss_fight_1() {
this->get_components_by_name<Rigidbody>("camera").front().get().data.linear_velocity.x = 0;
this->get_components_by_name<Rigidbody>("player").front().get().data.linear_velocity.x = 0;
this->trigger_event<BattleStartEvent>(BattleStartEvent {
- .num_enemies = 7,
+ .num_enemies = 5,
.battle = true,
});