Merge branch 'juliancoffee/fix-sahagin-hakulaq' into 'master'

Sahagin's Hakulaq hotfix

See merge request veloren/veloren!4346
This commit is contained in:
crabman 2024-02-29 16:25:24 +00:00
commit bcd23e6f2a

View File

@ -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,