mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Moved dullahan to stone ring
This commit is contained in:
parent
922759a83e
commit
eddbd86f1f
@ -897,10 +897,6 @@ fn apply_entity_spawns<R: Rng>(canvas: &mut Canvas, wpos: Vec3<i32>, biome: &Bio
|
||||
Some("common.entity.wild.aggressive.bat"),
|
||||
(biome.dusty + 0.1) * 0.25,
|
||||
),
|
||||
(
|
||||
Some("common.entity.wild.aggressive.dullahan"),
|
||||
(biome.dusty + 0.1) * 0.025,
|
||||
),
|
||||
// Icy biome
|
||||
(
|
||||
Some("common.entity.wild.aggressive.blue_oni"),
|
||||
|
@ -531,7 +531,7 @@ pub fn apply_spots_to(canvas: &mut Canvas, _dynamic_rng: &mut impl Rng) {
|
||||
// (count_range, spec)
|
||||
// count_range = number of entities, chosen randomly within this range
|
||||
// spec = Manifest spec for the entity kind
|
||||
entities: &'a [(Range<u32>, &'a str)],
|
||||
entities: &'a [(Range<i32>, &'a str)],
|
||||
}
|
||||
|
||||
let spot_config = match spot {
|
||||
@ -576,11 +576,7 @@ pub fn apply_spots_to(canvas: &mut Canvas, _dynamic_rng: &mut impl Rng) {
|
||||
Spot::RockCircle => SpotConfig {
|
||||
base_structures: Some("spots.rock-circle"),
|
||||
entity_radius: 20.0,
|
||||
entities: &[
|
||||
(0..2, "common.entity.wild.aggressive.archaeos"),
|
||||
(0..2, "common.entity.wild.aggressive.ntouka"),
|
||||
(0..2, "common.entity.wild.aggressive.dreadhorn"),
|
||||
],
|
||||
entities: &[(-8..1, "common.entity.wild.aggressive.dullahan")],
|
||||
},
|
||||
Spot::MyrmidonTemple => SpotConfig {
|
||||
base_structures: Some("spots.myrmidon-temple"),
|
||||
@ -751,7 +747,7 @@ pub fn apply_spots_to(canvas: &mut Canvas, _dynamic_rng: &mut impl Rng) {
|
||||
// Spawn entities
|
||||
const PHI: f32 = 1.618;
|
||||
for (spawn_count, spec) in spot_config.entities {
|
||||
let spawn_count = rng.gen_range(spawn_count.clone());
|
||||
let spawn_count = rng.gen_range(spawn_count.clone()).max(0);
|
||||
|
||||
let dir_offset = rng.gen::<f32>();
|
||||
for i in 0..spawn_count {
|
||||
|
Loading…
Reference in New Issue
Block a user