mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-16 02:17:19 +01:00
Merge pull request #1017 from DragonTrance/flags
Mob biotype optimization
This commit is contained in:
@@ -792,7 +792,7 @@
|
||||
..()
|
||||
if(!istype(H))
|
||||
return
|
||||
if(!H.dna || !H.dna.species || !(MOB_ORGANIC in H.mob_biotypes))
|
||||
if(!H.dna || !H.dna.species || !(MOB_ORGANIC & H.mob_biotypes))
|
||||
return
|
||||
|
||||
if(isjellyperson(H))
|
||||
|
||||
@@ -244,7 +244,7 @@
|
||||
|
||||
/datum/reagent/toxin/pestkiller/reaction_mob(mob/living/M, method=TOUCH, reac_volume)
|
||||
..()
|
||||
if(MOB_BUG in M.mob_biotypes)
|
||||
if((MOB_BUG & M.mob_biotypes))
|
||||
var/damage = min(round(0.4*reac_volume, 0.1),10)
|
||||
M.adjustToxLoss(damage)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user