mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Fix constructs being unable to hit things (#1639)
Pretty much settle over any issues with constructs and attacking things, also, the juggernaut proc is pretty much useless and snowflake code, since, they can just break and pry open airlocks just fine without it.
This commit is contained in:
@@ -85,7 +85,6 @@
|
||||
user << msg
|
||||
|
||||
/mob/living/simple_animal/construct/UnarmedAttack(var/atom/A, var/proximity)
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
if(istype(A, /obj/effect/rune))
|
||||
var/obj/effect/rune/R = A
|
||||
do_attack_animation(R)
|
||||
@@ -145,19 +144,6 @@
|
||||
|
||||
return (..(P))
|
||||
|
||||
/mob/living/simple_animal/construct/armoured/UnarmedAttack(var/atom/A, var/proximity)
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
if(istype(A, /obj/machinery))
|
||||
// Destroy machines instead of opening their UI
|
||||
var/obj/machinery/M = A
|
||||
do_attack_animation(M)
|
||||
playsound(loc, attack_sound, 50, 1, 1)
|
||||
M.ex_act(3.0)
|
||||
else
|
||||
..()
|
||||
|
||||
|
||||
|
||||
////////////////////////Wraith/////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user