]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Give vox health regen for poison below 20 damage (#33722)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Thu, 5 Dec 2024 21:17:27 +0000 (22:17 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Dec 2024 21:17:27 +0000 (22:17 +0100)
Resources/Prototypes/Entities/Mobs/Species/vox.yml

index 899673d59e907492a0250ad47b17907923182d7f..a4da88adc028c2b5a26437af6d41dabaf67eef78 100644 (file)
   - type: Damageable
     damageContainer: Biological
     damageModifierSet: Vox
+  - type: PassiveDamage
+    # Augment normal health regen to be able to tank some Poison damage
+    # This allows Vox to take their mask off temporarily to eat something without needing a trip to medbay afterwards.
+    allowedStates:
+    - Alive
+    damageCap: 20
+    damage:
+      types:
+        Heat: -0.07
+        Poison: -0.2
+      groups:
+        Brute: -0.07
   - type: DamageVisuals
     damageOverlayGroups:
       Brute: