Skip to content

Commit

Permalink
Update toxic_biomass.dm (#4801)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdb-is-not-good authored Oct 13, 2023
1 parent 482a0da commit 5c5c1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/biomatter_manipulation/toxic_biomass.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


//toxin attack proc, it's used for attacking people with checking their armor
/proc/toxin_attack(mob/living/victim, var/damage = rand(10, 12))
/proc/toxin_attack(mob/living/carbon/victim, var/damage = rand(10, 12))
if(istype(victim))
var/hazard_protection = 100 - victim.getarmor(null, ARMOR_BIO)
victim.apply_damage(max(0, damage * hazard_protection / 100 * victim.reagent_permeability()), BURN)
Expand Down

0 comments on commit 5c5c1fb

Please sign in to comment.