Esempio n. 1
0
 public override bool StateCanOccur(Pawn pawn)
 {
     return(base.StateCanOccur(pawn) && MurderousRageMentalStateUtility.FindPawnToKill(pawn) != null);
 }
 private bool TryFindNewTarget()
 {
     target = MurderousRageMentalStateUtility.FindPawnToKill(pawn);
     return(target != null);
 }
 public override void PostStart(string reason)
 {
     base.PostStart(reason);
     this.target = MurderousRageMentalStateUtility.FindPawn(base.pawn);
 }