mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 03:56:27 +01:00
Virology fixes; nerfs viruses significantly (~33% power), but reactivates broken effects that were multiplying their effects by null
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
infectionchance = rand(10,20)
|
||||
else
|
||||
infectionchance = rand(60,90)
|
||||
|
||||
|
||||
antigen |= text2num(pick(ANTIGENS))
|
||||
antigen |= text2num(pick(ANTIGENS))
|
||||
spreadtype = prob(70) ? "Airborne" : "Contact"
|
||||
@@ -88,7 +88,8 @@
|
||||
clicks = 0
|
||||
//Do nasty effects
|
||||
for(var/datum/disease2/effectholder/e in effects)
|
||||
e.runeffect(mob,stage)
|
||||
if(prob(33))
|
||||
e.runeffect(mob,stage)
|
||||
|
||||
//Short airborne spread
|
||||
if(src.spreadtype == "Airborne")
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
/datum/disease2/effectholder/proc/runeffect(var/mob/living/carbon/human/mob,var/stage)
|
||||
if(happensonce > -1 && effect.stage <= stage && prob(chance))
|
||||
effect.activate(mob)
|
||||
effect.activate(mob, multiplier)
|
||||
if(happensonce == 1)
|
||||
happensonce = -1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user