* Make minibomb explosion resistant and trigger timer on damage * Tune damage behaviour and threshold for minibomb
11 lines
313 B
C#
11 lines
313 B
C#
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);
|
|
}
|
|
}
|