Makes adjustment to macro bomb implants and how mobstate trigger handles suicide (#12682)
This commit is contained in:
@@ -11,6 +11,14 @@ public sealed class TriggerOnMobstateChangeComponent : Component
|
||||
/// <summary>
|
||||
/// What state should trigger this?
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("mobState", required: true)]
|
||||
public DamageState MobState = DamageState.Alive;
|
||||
|
||||
/// <summary>
|
||||
/// If true, prevents suicide attempts for the trigger to prevent cheese.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("preventSuicide")]
|
||||
public bool PreventSuicide = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user