From 5f6a8e6f63d33f40c80fe8ecdfe733997a73f630 Mon Sep 17 00:00:00 2001 From: cuberound <122645057+cuberound@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:19:23 +0200 Subject: [PATCH] makes xenos take damage when patting fire on ground (#6484) # About the pull request patting fire on ground now slightly harms the xeno # Explain why it's good for the game fire patting nerfed the area denial aspect of fire greatly, watching xenomorph just extinqish fuel covered ground with few pats and walk thrue it also looks stupid. this adds MINOR damage to patting fire, making use of flames and tacticly patting them more rewarding. being harmed to save fellow sister feels better then just clicking a tile bunch with no risk at all. # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: balance: patting fire on ground harms the xeno, more intense fire means more harm /:cl: --------- Co-authored-by: vincibrv Co-authored-by: kiVts <48099872+kiVts@users.noreply.github.com> Co-authored-by: Drathek <76988376+Drulikar@users.noreply.github.com> --- code/_onclick/xeno.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/_onclick/xeno.dm b/code/_onclick/xeno.dm index 1ef89999eea6..3bb69fe05419 100644 --- a/code/_onclick/xeno.dm +++ b/code/_onclick/xeno.dm @@ -61,6 +61,9 @@ var/turf/target_turf = target for(var/obj/flamer_fire/fire in target_turf) firepatted = TRUE + if(!(caste.fire_immunity & FIRE_IMMUNITY_NO_DAMAGE) || fire.tied_reagent?.fire_penetrating) + var/firedamage = max(fire.burnlevel - check_fire_intensity_resistance(), 0) * 0.5 + apply_damage(firedamage, BURN, fire) if((fire.firelevel > fire_level_to_extinguish) && (!fire.fire_variant)) //If fire_variant = 0, default fire extinguish behavior. fire.firelevel -= fire_level_to_extinguish fire.update_flame()