mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Changeling Arm only functions as crowbar with help intent active (#7481)
Fixes #7477 I tested this with attacking a robot and a regular wall with help intent on/off. It seems there's something custom with walls for changeling so please consider any side effects of changing the iscrowbar logic. One thing is, even with help intent you will attack humans when clicking them. While this fix allows robots to be attacked by the changeling arm, it can not do so on help, which may seem inconsistent.
This commit is contained in:
@@ -48,7 +48,8 @@
|
||||
QDEL_IN(src, 1)
|
||||
|
||||
/obj/item/melee/arm_blade/iscrowbar()
|
||||
return TRUE
|
||||
if(creator.a_intent == I_HELP) return TRUE
|
||||
return FALSE
|
||||
|
||||
/obj/item/melee/arm_blade/resolve_attackby(atom/A, mob/living/user, var/click_parameters)
|
||||
if(istype(A,/turf/simulated/floor) && user.a_intent != I_HELP)
|
||||
|
||||
Reference in New Issue
Block a user