mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Shadekin and Xenochimera variable refactor (#10872)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5b1679c8c7
commit
c6b9ab647c
@@ -46,15 +46,14 @@
|
||||
to_chat(L, span_danger("The more you move through this darkness, the more you can feel a throbbing, shooting ache in your bones."))
|
||||
if(prob(5))
|
||||
L.visible_message("[L]'s body gives off a faint, sparking, haze...", "Your body gives off a faint, sparking, haze...", runemessage = "gives off a faint, sparking haze")
|
||||
else if(istype(L.species, /datum/species/shadekin))
|
||||
var/obj/item/organ/internal/brain/shadekin/B = L.internal_organs_by_name["brain"]
|
||||
B.dark_energy += 10
|
||||
var/datum/component/shadekin/comp = L.GetComponent(/datum/component/shadekin)
|
||||
if(comp)
|
||||
comp.dark_energy += 10
|
||||
if(prob(10))
|
||||
to_chat(L, span_notice("You can feel the energy flowing into you!"))
|
||||
else
|
||||
if(prob(0.25))
|
||||
to_chat(L, span_danger("The darkness seethes under your feet..."))
|
||||
L.hallucination += 50
|
||||
else if(prob(0.25))
|
||||
to_chat(L, span_danger("The darkness seethes under your feet..."))
|
||||
L.hallucination += 50
|
||||
|
||||
/obj/effect/dark/proc/light_check()
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
Reference in New Issue
Block a user