Fixes borers being able to give people Limitless psi rank. (#17659)

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-10-23 21:42:49 +00:00
committed by GitHub
co-authored by Matt Atlas
parent 3143a37553
commit 57a31355e7
3 changed files with 42 additions and 3 deletions
@@ -1,6 +1,5 @@
/datum/psi_complexus/proc/check_psionic_trigger(var/trigger_strength = 0, var/source, var/redactive = FALSE)
var/new_rank = rand(2,5)
owner.set_psi_rank(new_rank)
owner.set_psi_rank(PSI_RANK_HARMONIOUS)
to_chat(owner, SPAN_DANGER("You scream internally as your psionics are forced into operancy by [source]!"))
if(!redactive) owner.adjustBrainLoss(rand(trigger_strength * 2, trigger_strength * 4))
return TRUE