mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Made entity spawn room check more intuitive to understand
This commit is contained in:
parent
71ba9b6a54
commit
92973a470c
@ -548,7 +548,7 @@ impl Floor {
|
|||||||
.map(|density| dynamic_rng.gen_range(0..density.recip() as usize) == 0)
|
.map(|density| dynamic_rng.gen_range(0..density.recip() as usize) == 0)
|
||||||
.unwrap_or(false)
|
.unwrap_or(false)
|
||||||
&& !tile_is_pillar
|
&& !tile_is_pillar
|
||||||
&& (!room.boss || room.difficulty != 5)
|
&& !(room.boss && room.difficulty == 5)
|
||||||
{
|
{
|
||||||
// Bad
|
// Bad
|
||||||
let chosen = match room.difficulty {
|
let chosen = match room.difficulty {
|
||||||
|
Loading…
Reference in New Issue
Block a user