Would you like some defines in these trying times?
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
. = ..()
|
||||
var/component_probability = min(50, max(damage_amount*0.1, 1 - obj_integrity/max_integrity))
|
||||
switch(damage_flag)
|
||||
if("bullet")
|
||||
if(BULLET)
|
||||
component_probability = damage_amount * 0.5
|
||||
if("laser")
|
||||
if(LASER)
|
||||
component_probability = damage_amount * 0.66
|
||||
if(component_probability)
|
||||
for(var/I in all_components)
|
||||
|
||||
Reference in New Issue
Block a user