mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
More random for random god.
Effects now start with random chance of firing and multiplier (like forced minormutate() on spawn).
This commit is contained in:
@@ -22,7 +22,8 @@
|
|||||||
if(f.stage == src.stage)
|
if(f.stage == src.stage)
|
||||||
list += f
|
list += f
|
||||||
effect = pick(list)
|
effect = pick(list)
|
||||||
chance = rand(1,6)
|
chance = rand(0,effect.chance_maxm)
|
||||||
|
multiplier = rand(1,effect.maxm)
|
||||||
|
|
||||||
/datum/disease2/effectholder/proc/minormutate()
|
/datum/disease2/effectholder/proc/minormutate()
|
||||||
switch(pick(1,2,3,4,5))
|
switch(pick(1,2,3,4,5))
|
||||||
|
|||||||
Reference in New Issue
Block a user