mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Don't spawn enemies in boss room
This commit is contained in:
parent
57649a2e90
commit
7bf8c67808
@ -541,7 +541,7 @@ impl Floor {
|
||||
.map(|density| dynamic_rng.gen_range(0..density.recip() as usize) == 0)
|
||||
.unwrap_or(false)
|
||||
&& !tile_is_pillar
|
||||
&& !(room.boss && room.difficulty == 5)
|
||||
&& !room.boss
|
||||
{
|
||||
// Randomly displace them a little
|
||||
let raw_entity = EntityInfo::at(
|
||||
|
Loading…
x
Reference in New Issue
Block a user