mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Fixes zombie juice turning people into zombies right away (#5386)
I deleted this line by accident, this should make the transformation not instant anymore. Also, it adds an armor check to being infected by the zombie attacks.
This commit is contained in:
@@ -158,7 +158,11 @@
|
||||
return
|
||||
if(target.internal_organs_by_name["zombie"])
|
||||
to_chat(user, "<span class='danger'>You feel that \the [target] has been already infected!</span>")
|
||||
if(prob(25))
|
||||
|
||||
var/infection_chance = 80
|
||||
var/armor = target.run_armor_check(zone,"melee")
|
||||
infection_chance -= armor
|
||||
if(prob(infection_chance))
|
||||
if(target.reagents)
|
||||
target.reagents.add_reagent("trioxin", 10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user