mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fixes radium not producing cures for virus2.
This commit is contained in:
@@ -927,6 +927,13 @@ datum
|
|||||||
on_mob_life(var/mob/living/M as mob)
|
on_mob_life(var/mob/living/M as mob)
|
||||||
if(!M) M = holder.my_atom
|
if(!M) M = holder.my_atom
|
||||||
M.apply_effect(2*REM,IRRADIATE,0)
|
M.apply_effect(2*REM,IRRADIATE,0)
|
||||||
|
// radium may increase your chances to cure a disease
|
||||||
|
if(istype(M,/mob/living/carbon)) // make sure to only use it on carbon mobs
|
||||||
|
if(M:virus2 && prob(5))
|
||||||
|
if(prob(50))
|
||||||
|
M.radiation += 50 // curing it that way may kill you instead
|
||||||
|
M.adjustToxLoss(100)
|
||||||
|
M:antibodies |= M:virus2.antigen
|
||||||
..()
|
..()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user