Replaces ex_act and emp_act numbers with defines
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
if(distance < 0)
|
||||
distance = 0
|
||||
if(distance < heavy_range)
|
||||
T.emp_act(1)
|
||||
T.emp_act(EMP_HEAVY)
|
||||
else if(distance == heavy_range)
|
||||
if(prob(50))
|
||||
T.emp_act(1)
|
||||
T.emp_act(EMP_HEAVY)
|
||||
else
|
||||
T.emp_act(2)
|
||||
T.emp_act(EMP_LIGHT)
|
||||
else if(distance <= light_range)
|
||||
T.emp_act(2)
|
||||
T.emp_act(EMP_LIGHT)
|
||||
return 1
|
||||
Reference in New Issue
Block a user