Makes Mobs Lazier and Removes Hard References (#13693)

* Makes Mobs Lazier and Removes Hard References

* fluff
This commit is contained in:
Fox McCloud
2020-06-30 19:52:28 -04:00
committed by GitHub
parent 0dea896023
commit e438ff4d36
31 changed files with 99 additions and 171 deletions

View File

@@ -73,9 +73,11 @@
..()
if((ishuman(hit_atom)))
var/mob/living/carbon/human/H = hit_atom
if(H.r_hand == src) return
if(H.l_hand == src) return
var/mob/A = H.LAssailant
if(H.r_hand == src)
return
if(H.l_hand == src)
return
var/mob/A = thrownby
if((H in GLOB.team_alpha) && (A in GLOB.team_alpha))
to_chat(A, "<span class='warning'>He's on your team!</span>")
return
@@ -89,4 +91,3 @@
playsound(src, 'sound/items/dodgeball.ogg', 50, 1)
visible_message("<span class='danger'>[H] HAS BEEN ELIMINATED!</span>")
H.melt()
return