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:
- trigger:
!type:DamageTrigger
damage: 150
damage: 150 #excess damage (nuke?). avoid computational cost of spawning entities.
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
@@ -103,7 +103,16 @@
thresholds:
- trigger:
!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:
- !type:PlaySoundBehavior
sound:

View File

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