Additional collision/avoidance changes for monstos
This commit is contained in:
@@ -55,7 +55,6 @@ public class ItemDatabase
|
||||
|
||||
var weights = validItems.Select(x => x.SpawnRate).ToArray();
|
||||
var index = rng.RandWeighted(weights);
|
||||
GD.Print($"Item Spawn Index: {index}, Array Size: {validItems.Length}");
|
||||
var selectedItem = validItems[index];
|
||||
return selectedItem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user