Skip to content

Commit

Permalink
That such lies of mine will become true someday
Browse files Browse the repository at this point in the history
I trust in it
  • Loading branch information
Matt Atlas committed Jul 25, 2023
1 parent 4836e4c commit 446d5f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions code/modules/psionics/abilities/psi_search.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)]."))
4 changes: 2 additions & 2 deletions code/modules/psionics/complexus/complexus_process.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 446d5f9

Please sign in to comment.