mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Diona can now have viruses cured by radiation exposure or radium injections. (#8039)
This commit is contained in:
@@ -380,10 +380,13 @@
|
||||
if(!message_shown) // Not to spam message
|
||||
to_chat(M, "<span class='notice'>You feel an extreme energy as your body regenerates faster.</span>")
|
||||
message_shown = TRUE
|
||||
return
|
||||
if(M.virus2.len)
|
||||
for(var/ID in M.virus2)
|
||||
var/datum/disease2/disease/V = M.virus2[ID]
|
||||
if(M.is_diona())
|
||||
if(prob(20))
|
||||
V.cure(M)
|
||||
return
|
||||
if(prob(5))
|
||||
M.antibodies |= V.antigen
|
||||
if(prob(50))
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
return
|
||||
|
||||
if(mob.total_radiation > 50)
|
||||
if(mob.is_diona() && prob(mob.total_radiation/5))
|
||||
cure(mob)
|
||||
return
|
||||
if(prob(1))
|
||||
majormutate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user