mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Trying to fix dodgeball
This commit is contained in:
+3
-3
@@ -387,9 +387,9 @@ var/global/list/PDA_Manifest = list()
|
||||
throw_speed = 1
|
||||
throw_range = 20
|
||||
flags = FPRINT | TABLEPASS | CONDUCT
|
||||
afterattack(atom/target as mob|obj|turf|area, mob/user as mob)
|
||||
user.drop_item()
|
||||
src.throw_at(target, throw_range, throw_speed)
|
||||
// afterattack(atom/target as mob|obj|turf|area, mob/user as mob)
|
||||
// user.drop_item()
|
||||
// src.throw_at(target, throw_range, throw_speed)
|
||||
|
||||
/obj/effect/stop
|
||||
var/victim = null
|
||||
|
||||
@@ -70,6 +70,8 @@
|
||||
..()
|
||||
if((ishuman(hit_atom)))
|
||||
var/mob/living/carbon/human/H = hit_atom
|
||||
if(src in H.r_hand) return
|
||||
if(src in H.l_hand) return
|
||||
var/mob/A = H.LAssailant
|
||||
if((H in team_alpha) && (A in team_alpha))
|
||||
A << "\red He's on your team!"
|
||||
|
||||
Reference in New Issue
Block a user