mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'juliancoffee/fix-sahagin-hakulaq' into 'master'
Sahagin's Hakulaq hotfix See merge request veloren/veloren!4346
This commit is contained in:
commit
bcd23e6f2a
@ -823,7 +823,7 @@ fn boss_fallback(dynamic_rng: &mut impl Rng, tile_wcenter: Vec3<i32>) -> Vec<Ent
|
|||||||
|
|
||||||
fn mini_boss_2(dynamic_rng: &mut impl Rng, tile_wcenter: Vec3<i32>) -> Vec<EntityInfo> {
|
fn mini_boss_2(dynamic_rng: &mut impl Rng, tile_wcenter: Vec3<i32>) -> Vec<EntityInfo> {
|
||||||
let mut entities = Vec::new();
|
let mut entities = Vec::new();
|
||||||
entities.resize_with(6, || {
|
entities.resize_with(dynamic_rng.gen_range(1..=2), || {
|
||||||
EntityInfo::at(tile_wcenter.map(|e| e as f32)).with_asset_expect(
|
EntityInfo::at(tile_wcenter.map(|e| e as f32)).with_asset_expect(
|
||||||
"common.entity.dungeon.sahagin.hakulaq",
|
"common.entity.dungeon.sahagin.hakulaq",
|
||||||
dynamic_rng,
|
dynamic_rng,
|
||||||
|
Loading…
Reference in New Issue
Block a user