Change minibomb to be explosion resistant and start timer on damage (#32429)

* Make minibomb explosion resistant and trigger timer on damage

* Tune damage behaviour and threshold for minibomb
This commit is contained in:
Saphire Lattice
2024-10-08 04:42:42 +06:00
committed by GitHub
parent eecbfb63a0
commit f22f9e39c5
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
namespace Content.Server.Destructible.Thresholds.Behaviors;
[DataDefinition]
public sealed partial class TimerStartBehavior : IThresholdBehavior
{
public void Execute(EntityUid owner, DestructibleSystem system, EntityUid? cause = null)
{
system.TriggerSystem.StartTimer(owner, cause);
}
}