diff --git a/code/modules/psionics/abilities/psi_search.dm b/code/modules/psionics/abilities/psi_search.dm index 3a34d378c28..b8b81f2ad2e 100644 --- a/code/modules/psionics/abilities/psi_search.dm +++ b/code/modules/psionics/abilities/psi_search.dm @@ -28,7 +28,9 @@ var/list/level_humans = list() var/found_apex = FALSE for(var/mob/living/carbon/human/H in human_mob_list) - if(GET_Z(H) == GET_Z(H) && !H.is_psi_blocked()) + if(H == L) + continue + if((GET_Z(H) == GET_Z(L)) && !H.is_psi_blocked()) if(HAS_TRAIT(H, TRAIT_PSIONIC_SUPPRESSION)) continue level_humans |= H @@ -56,10 +58,10 @@ if(H.psi && H.psi.get_rank() == PSI_RANK_HARMONIOUS) harmonious_signatures++ continue - if(length(perceptive_signatures)) + if(perceptive_signatures) signatures += "[perceptive_signatures] weak signature[perceptive_signatures > 1 ? "s" : ""]" - if(length(sensitive_signatures)) + if(sensitive_signatures) signatures += "[sensitive_signatures] robust signature[sensitive_signatures > 1 ? "s" : ""]" - if(length(harmonious_signatures)) + if(harmonious_signatures) signatures += "[harmonious_signatures] very powerful signature[harmonious_signatures > 1 ? "s" : ""]" to_chat(user, SPAN_NOTICE("Reaching out into the Nlom, you sense [english_list(signatures)].")) diff --git a/code/modules/psionics/complexus/complexus_process.dm b/code/modules/psionics/complexus/complexus_process.dm index c5a92c86131..f18bb67e1ef 100644 --- a/code/modules/psionics/complexus/complexus_process.dm +++ b/code/modules/psionics/complexus/complexus_process.dm @@ -95,8 +95,8 @@ if(armor_component) spend_power(1) - var/next_aura_size = max(0.1,((stamina/max_stamina)*min(3,psionic_rank))/5) - var/next_aura_alpha = round(((suppressed ? max(0,psionic_rank - 2) : psionic_rank)/5)*255) + var/next_aura_size = max(0.1, ((stamina / max_stamina)*min(3, psionic_rank)) / 5) + var/next_aura_alpha = round(((suppressed ? max(0, psionic_rank - 2) : psionic_rank) / 5)*255) if(next_aura_alpha != last_aura_alpha || next_aura_size != last_aura_size || aura_color != last_aura_color) last_aura_size = next_aura_size