add difficulty settings, increase drops

This commit is contained in:
Jim 2025-09-02 17:51:16 -04:00
parent d35344f910
commit dccd6d319e
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
9 changed files with 57 additions and 17 deletions

View file

@ -11,6 +11,7 @@ state = { path = "../state" }
combat = { path = "../combat" }
building = { path = "../building" }
inhabitant = { path = "../inhabitant" }
resources = { path = "../resources" }
combat_damagers = { path = "../combat_damagers" }
ui_health_bar = { path = "../ui_health_bar" }
inhabitant_simbert = { path = "../inhabitant_simbert" }

View file

@ -9,6 +9,7 @@ use combat::{Defense, Health, Team};
use combat_damagers::ContactDamage;
use inhabitant::Inhabitant;
use inhabitant_simbert::SpawnSimbert;
use resources::{Drops, Quantity};
use state::{BasePhaseState, GameSystemSet};
use ui_health_bar::BarSettings;
@ -83,6 +84,10 @@ fn spawn(
spawn_timer: Timer::from_seconds(2.0, TimerMode::Repeating),
spawn_count: 10,
},
Drops(Quantity {
souls: 50,
bones: 25,
}),
transform.clone(),
Health::new(2000.0 + 100. * phase.get().phase_count() as f32),
Defense::new(5.),