mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Found out why alien spit wasn't working right - the check for having a riot shield equipped was backwards.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@271 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -66,10 +66,10 @@ Also perhaps only queens can do that?
|
||||
if (get_dist(A,M) == 0)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
O.show_message(text("\green <B>[src] has spat at [M.name]!</B>"), 1)
|
||||
if (!istype(M:l_hand, /obj/item/weapon/shield/riot) && prob(50))
|
||||
if (istype(M:l_hand, /obj/item/weapon/shield/riot) && prob(50))
|
||||
del(A)
|
||||
return
|
||||
if (!istype(M:r_hand, /obj/item/weapon/shield/riot) && prob(50))
|
||||
if (istype(M:r_hand, /obj/item/weapon/shield/riot) && prob(50))
|
||||
del(A)
|
||||
return
|
||||
M.weakened += 5
|
||||
|
||||
Reference in New Issue
Block a user