DoAfter fixes (#15127)

This commit is contained in:
Leon Friedrich
2023-04-04 18:28:55 +12:00
committed by GitHub
parent 463bf869e6
commit df3dae9093
4 changed files with 14 additions and 9 deletions

View File

@@ -88,6 +88,7 @@ public sealed partial class RevenantSystem
var searchDoAfter = new DoAfterArgs(uid, revenant.SoulSearchDuration, new SoulEvent(), uid, target: target)
{
BreakOnUserMove = true,
BreakOnDamage = true,
DistanceThreshold = 2
};
@@ -142,6 +143,7 @@ public sealed partial class RevenantSystem
{
DistanceThreshold = 2,
BreakOnUserMove = true,
BreakOnDamage = true,
RequireCanInteract = false, // stuns itself
};