Skip to content

Commit

Permalink
Damage & Protection Buff
Browse files Browse the repository at this point in the history
Added extra damage and armour to the default values of the spear, bone spear, and bone helmet.
  • Loading branch information
Haltell committed Mar 15, 2024
1 parent 33860d5 commit a9f0eeb
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Head/helmets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,9 @@
- type: Construction
graph: BoneHelmet
node: helmet
- type: Armor
modifiers:
coefficients:
Slash: 0.90
Piercing: 0.90
Blunt: 0.90
34 changes: 32 additions & 2 deletions Resources/Prototypes/Entities/Objects/Weapons/Melee/spear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
- type: MeleeWeapon
damage:
types:
Piercing: 10
Piercing: 13
angle: 0
animation: WeaponArcThrust
- type: DamageOtherOnHit
damage:
types:
Piercing: 15
Piercing: 16
- type: Item
size: 40
- type: Clothing
Expand Down Expand Up @@ -88,3 +88,33 @@
sprite: Objects/Weapons/Melee/bone_spear.rsi
- type: Construction
graph: SpearBone
- type: MeleeWeapon
damage:
types:
Piercing: 17
- type: IncreaseDamageOnWield
damage:
types:
Piercing: 7
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 30 #excess damage avoids cost of spawning entities.
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: GlassBreak
- !type:SpawnEntitiesBehavior
spawn:
MaterialBones1:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]

0 comments on commit a9f0eeb

Please sign in to comment.