diff --git a/code/modules/surgery/organs/internal/heart/heart_anomalock.dm b/code/modules/surgery/organs/internal/heart/heart_anomalock.dm index 843317e2902..78d3d64b715 100644 --- a/code/modules/surgery/organs/internal/heart/heart_anomalock.dm +++ b/code/modules/surgery/organs/internal/heart/heart_anomalock.dm @@ -33,6 +33,10 @@ QDEL_NULL(core) return ..() +/obj/item/organ/heart/cybernetic/anomalock/examine(mob/user) + . = ..() + . += span_info("The voltaic boost will avoid healing toxin damage at all in slime-based humanoids, to prevent harmful side effects.") + /obj/item/organ/heart/cybernetic/anomalock/on_mob_insert(mob/living/carbon/organ_owner, special, movement_flags) . = ..() if(!core) @@ -182,14 +186,19 @@ duration = 30 SECONDS alert_type = /atom/movable/screen/alert/status_effect/anomalock_active show_duration = TRUE + processing_speed = STATUS_EFFECT_PRIORITY /datum/status_effect/voltaic_overdrive/tick(seconds_between_ticks) . = ..() - - if(owner.health <= owner.crit_threshold) - owner.heal_overall_damage(5, 5) - owner.adjust_oxy_loss(-5) - owner.adjust_tox_loss(-5) + if(owner.health > owner.crit_threshold) + return + var/needs_update = FALSE + needs_update += owner.heal_overall_damage(brute = 5, burn = 5, updating_health = FALSE) + needs_update += owner.adjust_oxy_loss(-5, updating_health = FALSE) + if(!HAS_TRAIT(owner, TRAIT_TOXINLOVER)) + needs_update += owner.adjust_tox_loss(-5, updating_health = FALSE) + if(needs_update) + owner.updatehealth() /datum/status_effect/voltaic_overdrive/on_apply() . = ..()