Skip to content

Commit 00097bc

Browse files
committed
Add more health to enemies
1 parent 96601c4 commit 00097bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/spaced/spaced/game/enemies/creep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Creep::Creep(bave::Services const& services) : Enemy(services, "Creep") {
1111
m_sprite.set_texture(std::move(texture));
1212
}
1313

14-
health = 1.0f;
14+
health = 2.0f;
1515
speed = 100.0f;
1616
points = 10;
1717
}

src/spaced/spaced/game/enemies/gunner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gunner::Gunner(bave::Services const& services, bave::NotNull<GunKinetic*> gun) :
1111
m_sprite.set_texture(std::move(texture));
1212
}
1313

14-
health = 2.0f;
14+
health = 3.0f;
1515
speed = 120.0f;
1616
points = 20;
1717
}

src/spaced/spaced/game/enemies/trooper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Trooper::Trooper(Services const& services, NotNull<GunKinetic*> gun) : GunnerBas
1818

1919
m_direction = random_in_range(0, 1) == 0 ? 1.0f : -1.0f;
2020

21-
health = 3.0f;
21+
health = 4.0f;
2222
speed = 150.0f;
2323
points = 30;
2424
}

0 commit comments

Comments
 (0)