mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user