add ramtower
This commit is contained in:
parent
23af12d258
commit
3e42fb6cf1
9 changed files with 356 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
use avian3d::prelude::*;
|
||||
use bevy::prelude::*;
|
||||
use building::Core;
|
||||
use combat::{Health, Team};
|
||||
use combat::{Defense, Health, Team};
|
||||
use combat_damagers::ContactDamage;
|
||||
use inhabitant::Inhabitant;
|
||||
use inhabitant_simbert::SpawnSimbert;
|
||||
|
|
@ -85,6 +85,7 @@ fn spawn(
|
|||
},
|
||||
transform.clone(),
|
||||
Health::new(2000.0 + 100. * phase.get().phase_count() as f32),
|
||||
Defense::new(5.),
|
||||
// todo: change enemy health bar color to differentiate from buildings
|
||||
BarSettings {
|
||||
offset: HEIGHT + 0.5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue