Skip to content

Commit 49b4dd3

Browse files
committed
Decrease item spawn chance
1 parent 819d983 commit 49b4dd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/Prefabs/Destructible.prefab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ MonoBehaviour:
146146
m_Name:
147147
m_EditorClassIdentifier:
148148
destructionTime: 1
149-
itemSpawnChance: 0.25
149+
itemSpawnChance: 0.2
150150
spawnableItems:
151151
- {fileID: 5681734161811793622, guid: f832a23e62e95c4449daa85b028d43d5, type: 3}
152152
- {fileID: 7266525813312433372, guid: 29385601a56e22b4faac44675679793e, type: 3}

Assets/Scripts/Destructible.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class Destructible : MonoBehaviour
55
public float destructionTime = 1f;
66

77
[Range(0f, 1f)]
8-
public float itemSpawnChance = 0.25f;
8+
public float itemSpawnChance = 0.2f;
99
public GameObject[] spawnableItems;
1010

1111
private void Start()

0 commit comments

Comments
 (0)