示例#1
0
        protected override IEnumerable <Toil> MakeNewToils()
        {
            ToilFailConditions.FailOnDespawnedOrNull(this, TargetIndex.A);
            ToilFailConditions.FailOnDowned(this, TargetIndex.A);
            Pawn target = this.TargetA.Thing as Pawn;

            yield return(JobDriver_Abuse.ReachTarget(target));

            yield return(JobDriver_Abuse.AbuseTarget(target));

            yield break;
        }