mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
fixing the formula.
This commit is contained in:
@@ -367,7 +367,7 @@
|
||||
radiationmin = round((radiation/5),1)
|
||||
for(var/mob/living/M in view(toxrange, src.loc))
|
||||
M.irradiate(rand(radiationmin,radiation))
|
||||
var/toxdamage = (toxpwr - (toxpwr*M.getarmor(null, "rad")))
|
||||
var/toxdamage = toxpwr - toxpwr*(M.getarmor(null, "rad")/100)
|
||||
M.apply_damage(toxdamage, TOX)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user