will this make lazyraider stop trying to rest when dead
new Decorator(ret => !StyxWoW.Me.Combat && StyxWoW.Me.IsAlive,
new PrioritySelector(
new PrioritySelector(
new Decorator(ctx => RoutineManager.Current.RestBehavior != null, RoutineManager.Current.RestBehavior),
new Decorator(ctx => RoutineManager.Current.NeedRest,
new Sequence(
new Action(ret => TreeRoot.StatusText = "Resting"),
new Action(ret => RoutineManager.Current.Rest())
)
)
),
new Decorator(ret => !StyxWoW.Me.Combat && StyxWoW.Me.IsAlive,
new PrioritySelector(
new PrioritySelector(
new Decorator(ctx => RoutineManager.Current.RestBehavior != null, RoutineManager.Current.RestBehavior),
new Decorator(ctx => RoutineManager.Current.NeedRest,
new Sequence(
new Action(ret => TreeRoot.StatusText = "Resting"),
new Action(ret => RoutineManager.Current.Rest())
)
)
),