Replaces ex_act and emp_act numbers with defines

This commit is contained in:
CitadelStationBot
2017-07-13 17:46:41 -05:00
parent da324257fe
commit 55462ed7d1
38 changed files with 74 additions and 66 deletions
+4 -4
View File
@@ -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