Changes all instances of pick(list(....)) to pick(....) (#25017)

* That's a lot of files

* More changes

* Removes mention

* Thanks to Funny for helping with the text
This commit is contained in:
DGamerL
2024-04-12 11:54:33 +00:00
committed by GitHub
parent bb469c41ab
commit b2275d1ce8
18 changed files with 212 additions and 195 deletions
+1 -1
View File
@@ -264,7 +264,7 @@
if(get_dist(A, original) <= 1)
def_zone = ran_zone(def_zone, max(100 - (7 * distance), 5)) //Lower accurancy/longer range tradeoff. 7 is a balanced number to use.
else
def_zone = pick(list("head", "chest", "l_arm", "r_arm", "l_leg", "r_leg")) // If we were aiming at one target but another one got hit, no accuracy is applied
def_zone = pick("head", "chest", "l_arm", "r_arm", "l_leg", "r_leg") // If we were aiming at one target but another one got hit, no accuracy is applied
if(isturf(A) && hitsound_wall)
var/volume = clamp(vol_by_damage() + 20, 0, 100)