protected override BehaviourStatus Update(TContext context) { var randomValue = _randomProvider.NextRandomDouble(); if (randomValue >= Threshold) { return(Child.Tick(context)); } return(BehaviourStatus.Failed); }