mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added haniwa sentries to level 3 dungeons.
This commit is contained in:
parent
58e5b1fdf5
commit
9bbdc26089
@ -606,6 +606,7 @@ impl Body {
|
||||
BuffKind::Burning => match self {
|
||||
Body::Golem(g) => matches!(g.species, golem::Species::ClayGolem),
|
||||
Body::BipedSmall(b) => matches!(b.species, biped_small::Species::Haniwa),
|
||||
Body::Object(object::Body::HaniwaSentry) => true,
|
||||
_ => false,
|
||||
},
|
||||
_ => false,
|
||||
|
@ -671,7 +671,14 @@ impl Floor {
|
||||
},
|
||||
},
|
||||
)),
|
||||
3 => entity
|
||||
3 => match dynamic_rng.gen_range(0..4) {
|
||||
0 => entity
|
||||
.with_body(comp::Body::Object(comp::object::Body::HaniwaSentry))
|
||||
.with_name("Haniwa Sentry".to_string())
|
||||
.with_loot_drop(comp::Item::new_from_asset_expect(
|
||||
"common.items.crafting_ing.stones",
|
||||
)),
|
||||
_ => entity
|
||||
.with_body(comp::Body::BipedSmall(
|
||||
comp::biped_small::Body::random_with(
|
||||
dynamic_rng,
|
||||
@ -687,7 +694,8 @@ impl Floor {
|
||||
.with_main_tool(comp::Item::new_from_asset_expect(
|
||||
match dynamic_rng.gen_range(0..5) {
|
||||
0 => {
|
||||
"common.items.npc_weapons.biped_small.haniwa.adlet_bow"
|
||||
"common.items.npc_weapons.biped_small.haniwa.\
|
||||
adlet_bow"
|
||||
},
|
||||
1 => {
|
||||
"common.items.npc_weapons.biped_small.haniwa.\
|
||||
@ -699,6 +707,7 @@ impl Floor {
|
||||
},
|
||||
},
|
||||
)),
|
||||
},
|
||||
4 => entity
|
||||
.with_body(comp::Body::BipedSmall(
|
||||
comp::biped_small::Body::random_with(
|
||||
|
Loading…
Reference in New Issue
Block a user