mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Buffs Breach Cleaver (#31576)
This commit is contained in:
@@ -646,13 +646,13 @@
|
||||
return
|
||||
var/mob/living/carbon/human/H = owner
|
||||
H.physiology.armor = H.physiology.armor.attachArmor(cleaving_armor_boost)
|
||||
H.physiology.stamina_mod *= 0.8
|
||||
H.physiology.stamina_mod *= 0.5
|
||||
|
||||
/datum/status_effect/breaching_and_cleaving/on_remove()
|
||||
if(ishuman(owner))
|
||||
var/mob/living/carbon/human/H = owner
|
||||
H.physiology.armor = H.physiology.armor.detachArmor(cleaving_armor_boost)
|
||||
H.physiology.stamina_mod /= 0.8
|
||||
H.physiology.stamina_mod /= 0.5
|
||||
QDEL_NULL(cleaving_armor_boost)
|
||||
|
||||
/datum/status_effect/hope
|
||||
|
||||
@@ -400,7 +400,7 @@
|
||||
/obj/item/melee/breach_cleaver/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/two_handed, force_wielded = force_wield, force_unwielded = force, icon_wielded = "[base_icon_state]1", wield_callback = CALLBACK(src, PROC_REF(wield)), unwield_callback = CALLBACK(src, PROC_REF(unwield)))
|
||||
AddComponent(/datum/component/parry, _stamina_constant = 2, _stamina_coefficient = 0.5, _parryable_attack_types = NON_PROJECTILE_ATTACKS)
|
||||
AddComponent(/datum/component/parry, _stamina_constant = 2, _stamina_coefficient = 0.5, _parryable_attack_types = ALL_ATTACK_TYPES)
|
||||
|
||||
/obj/item/melee/breach_cleaver/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user