try to balance a bit
This commit is contained in:
parent
6cea0e97e9
commit
d35344f910
10 changed files with 141 additions and 48 deletions
|
|
@ -59,6 +59,7 @@ fn spawn(
|
|||
phase: Res<State<BasePhaseState>>,
|
||||
res: Res<CoranthResources>,
|
||||
) {
|
||||
let phase = phase.get().phase_count();
|
||||
for SpawnCoranth { transform } in reader.read() {
|
||||
commands
|
||||
.spawn((
|
||||
|
|
@ -69,8 +70,8 @@ fn spawn(
|
|||
MaxLinearSpeed(25.),
|
||||
Coranth,
|
||||
transform.clone(),
|
||||
Health::new(1.0 + phase.get().phase_count() as f32),
|
||||
ContactDamage::new(5.0),
|
||||
Health::new(1.0 + phase as f32),
|
||||
ContactDamage::new(if phase < 8 { 4.0 } else { 5.0 }),
|
||||
Name::from("Coranth"),
|
||||
Team::Inhabitant.collision_layers(),
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue