mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Balancing for genetics side-effects:
- The knockdown is now much shorter, meaning a geneticist may be able to give themselves the cure in time. - Reduced radiation created from syringes, since there are other side-effects now.
This commit is contained in:
@@ -61,13 +61,13 @@
|
||||
H.monkeyize()
|
||||
|
||||
proc/trigger_side_effect(mob/living/carbon/human/H)
|
||||
if(!istype(H)) return
|
||||
if(!istype(H)) returngit a
|
||||
var/tp = pick(typesof(/datum/genetics/side_effect) - /datum/genetics/side_effect)
|
||||
var/datum/genetics/side_effect/S = new tp
|
||||
|
||||
S.start(H)
|
||||
spawn(20)
|
||||
H.Weaken(S.duration)
|
||||
H.Weaken(rand(0, S.duration / 20))
|
||||
sleep(S.duration)
|
||||
H.SetWeakened(0)
|
||||
S.finish(H)
|
||||
Reference in New Issue
Block a user