add difficulty settings, increase drops
This commit is contained in:
parent
d35344f910
commit
dccd6d319e
9 changed files with 57 additions and 17 deletions
|
|
@ -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" }
|
||||
|
|
|
|||
|
|
@ -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.),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue