mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
click dem floors as fast as you can boys
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
*/
|
||||
|
||||
var/resolved = A.attackby(W,src)
|
||||
if(ismob(A) || istype(A, /obj/mecha) || isturf(A) || istype(W, /obj/item/weapon/grab))
|
||||
if(ismob(A) || istype(A, /obj/mecha) || istype(W, /obj/item/weapon/grab))
|
||||
changeNext_move(10)
|
||||
if(!resolved && A && W)
|
||||
W.afterattack(A,src,1,params) // 1 indicates adjacency
|
||||
@@ -133,7 +133,7 @@
|
||||
next_move += 5
|
||||
*/
|
||||
// Return 1 in attackby() to prevent afterattack() effects (when safely moving items for example)
|
||||
if(ismob(A) || istype(A, /obj/mecha) || isturf(A) || istype(W, /obj/item/weapon/grab))
|
||||
if(ismob(A) || istype(A, /obj/mecha) || istype(W, /obj/item/weapon/grab))
|
||||
changeNext_move(10)
|
||||
var/resolved = A.attackby(W,src)
|
||||
if(!resolved && A && W)
|
||||
|
||||
Reference in New Issue
Block a user