mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Merge pull request #11227 from phil235/EpilepsyFix
Fixes epilepsy mutation leaving you always at super high jitteriness level.
This commit is contained in:
@@ -214,10 +214,12 @@
|
||||
text_gain_indication = "<span class='danger'>You get a headache.</span>"
|
||||
|
||||
/datum/mutation/human/epilepsy/on_life(mob/living/carbon/human/owner)
|
||||
if ((prob(1) && owner.paralysis < 1))
|
||||
if((prob(1) && owner.paralysis < 1))
|
||||
owner.visible_message("<span class='danger'>[owner] starts having a seizure!</span>", "<span class='userdanger'>You have a seizure!</span>")
|
||||
owner.Paralyse(10)
|
||||
owner.Jitter(1000)
|
||||
spawn(90)
|
||||
owner.jitteriness = 10
|
||||
|
||||
/datum/mutation/human/bad_dna
|
||||
|
||||
|
||||
Reference in New Issue
Block a user