This commit is contained in:
silicons
2020-07-23 08:57:15 -07:00
parent 65898bb7f6
commit 703afec454
7 changed files with 12 additions and 21 deletions
@@ -701,11 +701,10 @@
to_chat(user, "<span class='warning'>You accidentally cut yourself with [src], like a doofus!</span>")
user.take_bodypart_damage(10)
/obj/item/melee/transforming/cleaving_saw/melee_attack_chain(mob/user, atom/target, params)
/obj/item/melee/transforming/cleaving_saw/ApplyAttackCooldown(mob/user, atom/target)
. = ..()
if(!active)
user.SetNextAction(CLICK_CD_MELEE * 0.5) //when closed, it attacks very rapidly
. |= MANUALLY_HANDLE_LAST_ACTION
/obj/item/melee/transforming/cleaving_saw/nemesis_effects(mob/living/user, mob/living/target)
var/datum/status_effect/stacking/saw_bleed/B = target.has_status_effect(STATUS_EFFECT_SAWBLEED)
+3
View File
@@ -11,6 +11,9 @@
blocks_emissive = EMISSIVE_BLOCK_GENERIC
vis_flags = VIS_INHERIT_PLANE //when this be added to vis_contents of something it inherit something.plane, important for visualisation of mob in openspace.
attack_hand_is_action = TRUE
attack_hand_unwieldlyness = CLICK_CD_MELEE
/// What receives our keyboard input. src by default.
var/datum/focus