mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-31 07:57:47 +01:00
Fixes Chemthrower Fire Burning Mobs That Don't Care About Fire (#31316)
* fire * Update fire_effect.dm
This commit is contained in:
@@ -115,8 +115,9 @@ GLOBAL_LIST_EMPTY(flame_effects)
|
||||
merging_flame.fizzle()
|
||||
|
||||
/obj/effect/fire/proc/damage_mob(mob/living/mob_to_burn)
|
||||
if(!istype(mob_to_burn))
|
||||
if(!istype(mob_to_burn) || HAS_TRAIT(mob_to_burn, TRAIT_RESISTHEAT))
|
||||
return
|
||||
|
||||
var/fire_damage = temperature / 100
|
||||
if(ishuman(mob_to_burn))
|
||||
var/mob/living/carbon/human/human_to_burn = mob_to_burn
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
weather_immunities = list("ash")
|
||||
mob_biotypes = MOB_ROBOTIC
|
||||
flags_2 = RAD_PROTECT_CONTENTS_2 | RAD_NO_CONTAMINATE_2
|
||||
initial_traits = list(TRAIT_RESISTHEAT)
|
||||
|
||||
// You can define armor as a list in datum definition (e.g. `armor = list("fire" = 80, "brute" = 10)`),
|
||||
// which would be converted to armor datum during initialization.
|
||||
|
||||
Reference in New Issue
Block a user