more fixes to machete but not working yet
This commit is contained in:
@@ -209,6 +209,8 @@ func pickup_spawn(randomized):
|
||||
i_weight = 1.0 - clamp(float(player.ammo_reserve[str(i)]) / float(expected_ammo["shotgun"]),0,1)
|
||||
4:
|
||||
i_weight = 1.0 - clamp(float(player.ammo_reserve[str(i)]) / float(expected_ammo["rocket"]),0,1)
|
||||
5:
|
||||
i_weight = 0
|
||||
if i_weight > ammo_weight:
|
||||
ammo_weight = i_weight
|
||||
ammo_type_weight[i] = i_weight + drop_chance_minimum
|
||||
|
||||
Reference in New Issue
Block a user