Prevented natural spawn of vines
This commit is contained in:
parent
b75e6be470
commit
b4dbd50a8f
1 changed files with 1 additions and 2 deletions
|
|
@ -25,9 +25,8 @@ func choose_pool() -> Array[PackedScene]:
|
||||||
|
|
||||||
var random = randf()
|
var random = randf()
|
||||||
if random < unique_chance && item_pool.unique.size() > 0:
|
if random < unique_chance && item_pool.unique.size() > 0:
|
||||||
# Unique items are removed from the pool when picked and spawn a petal
|
# Unique items are removed from the pool when picked
|
||||||
remove_after_spawn = true
|
remove_after_spawn = true
|
||||||
spawn_petal = true
|
|
||||||
return item_pool.unique
|
return item_pool.unique
|
||||||
elif random < unique_chance + rare_chance || guarantee_rare:
|
elif random < unique_chance + rare_chance || guarantee_rare:
|
||||||
return item_pool.rare
|
return item_pool.rare
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue