]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Skeletons are now affected by Holy damage (#41757)
authorHitlinemoss <209321380+Hitlinemoss@users.noreply.github.com>
Sun, 14 Dec 2025 20:20:55 +0000 (15:20 -0500)
committerGitHub <noreply@github.com>
Sun, 14 Dec 2025 20:20:55 +0000 (20:20 +0000)
Resources/Prototypes/Damage/modifier_sets.yml
Resources/Prototypes/Entities/Mobs/Species/skeleton.yml

index ffd7bb66a94453357222fbc168e250ce7ac1aa96..1a19bfdcc207f33c1193c3f588e52882f4a1d348 100644 (file)
   id: Card
   coefficients:
     Slash: 2.0
-    Piercing: 0.1 # Holes easily poked through, but do little to structural integrity 
+    Piercing: 0.1 # Holes easily poked through, but do little to structural integrity
     Heat: 3.0
 
 - type: damageModifierSet
     Poison: 0.0
     Radiation: 0.0
 
-# immune to everything except physical and heat damage
+# immune to everything except physical and heat damage; vulnerable to holy damage because they're undead, but not as vulnerable as a ghost or demon would be
 - type: damageModifierSet
   id: Skeleton
   coefficients:
     Asphyxiation: 0.0
     Bloodloss: 0.0
     Cellular: 0.0
+    Holy: 0.5
   flatReductions:
     Blunt: 5
 
index fb4dd0cdd6adf4d4a41e9f61f686c77ca8523674..a03a5476e26bb763d8edf2df24387a8878daeec0 100644 (file)
@@ -17,8 +17,8 @@
     requiredLegs: 2
     gibSound: /Audio/Effects/bone_rattle.ogg
   - type: Damageable
-    damageContainer: Biological
-    damageModifierSet: Skeleton
+    damageContainer: BiologicalMetaphysical # Allows them to take Holy damage
+    damageModifierSet: Skeleton # If we get non-Holy metaphysical damage types in the future, the Skeleton set might need to be adjusted to provide immunity to them (depends on what exactly the new types are)
   - type: DamageVisuals
     damageOverlayGroups:
       Brute:
       effects: # TODO: when magic is around - make a milk transformation to a skeleton monster
       - !type:HealthChange
         damage:
-          groups:
-            Burn: -1 # healing obviously up to discussion
-            Brute: -0.75 # these groups are the only 2 possible ways to damage a skeleton
+          groups: # these groups are the only 3 possible ways to damage a skeleton. numerical values obviously up to discussion
+            Burn: -1
+            Brute: -0.75
+            Metaphysical: -2 # Gameplay: skeletons need some way to heal holy damage. Lore: milk is an unholy liquid that shuns the light of god. (/j)
       - !type:PopupMessage
         type: Local
         visualType: Large