Update medbot.dm

This commit is contained in:
kevinz000
2019-10-17 12:49:49 -07:00
committed by GitHub
parent 5b5ff67201
commit 7c4e2c6860

View File

@@ -398,13 +398,10 @@
return FALSE
/mob/living/simple_animal/bot/medbot/proc/get_avoidchem_toxin(mob/M)
return toxlover_check(M)? null : treatment_tox_avoid
return HAS_TRAIT(M, TRAIT_TOXINLOVER)? null : treatment_tox_avoid
/mob/living/simple_animal/bot/medbot/proc/get_healchem_toxin(mob/M)
return toxlover_check(M)? treatment_tox_toxlover : treatment_tox
/mob/living/simple_animal/bot/medbot/proc/toxlover_check(mob/M)
return HAS_TRAIT(M, TRAIT_TOXINLOVER)
return HAS_TRAIT(M, TRAIT_TOXINLOVER)? treatment_tox_toxlover : treatment_tox
/mob/living/simple_animal/bot/medbot/UnarmedAttack(atom/A)
if(iscarbon(A))