Fixed directional window durability (#25259)

shit
This commit is contained in:
Vigers Ray
2024-02-18 16:06:09 +02:00
committed by GitHub
parent 0c8e617572
commit 8542c718c0
2 changed files with 13 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
thresholds: thresholds:
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 150 damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities.
behaviors: behaviors:
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
@@ -103,7 +103,16 @@
thresholds: thresholds:
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 150 damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities.
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WindowShatter
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 50
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:

View File

@@ -46,7 +46,7 @@
thresholds: thresholds:
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 100 damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities.
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound:
@@ -151,7 +151,7 @@
collection: WindowShatter collection: WindowShatter
- trigger: - trigger:
!type:DamageTrigger !type:DamageTrigger
damage: 50 damage: 25
behaviors: behaviors:
- !type:PlaySoundBehavior - !type:PlaySoundBehavior
sound: sound: