fixes syndicate sensory being emp weak (#24625)

* fixes syndicate sensory being emp weak

* Update code/modules/surgery/organs/augments_internal.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* fixes it

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
Qwertytoforty
2024-03-20 15:55:49 -04:00
committed by GitHub
parent 39e9041c12
commit 588cec7193
@@ -363,11 +363,16 @@
return our_MA
/obj/item/organ/internal/cyberimp/brain/sensory_enhancer/emp_act(severity)
if(COOLDOWN_FINISHED(src, sensory_enhancer_cooldown)) //Not on cooldown? Drug them up. Heavily. We don't want people self emping to bypass cooldown.
if(prob(100 / severity) && owner)
for(var/datum/action/item_action/organ_action/toggle/sensory_enhancer/SE in owner.actions)
SE.Trigger(FALSE, TRUE, TRUE)
. = ..()
if(!.)
return
if(!COOLDOWN_FINISHED(src, sensory_enhancer_cooldown)) //Not on cooldown? Drug them up. Heavily. We don't want people self emping to bypass cooldown.
return
if(!prob(100 / severity) || !owner)
return
for(var/datum/action/item_action/organ_action/toggle/sensory_enhancer/SE in owner.actions)
SE.Trigger(FALSE, TRUE, TRUE)
/datum/action/item_action/organ_action/toggle/sensory_enhancer
name = "Activate Qani-Laaca System"