// Token: 0x06000015 RID: 21 RVA: 0x00002464 File Offset: 0x00000664 private static void SubMurdurerAI(Human E) { E.BodyParts[1].OriginalRotation = E.ModelRotationY; E.BodyParts[6].OriginalRotation = E.ModelRotationY; bool flag = !E.NoTarget; checked { if (flag) { bool flag2 = E.Target != null && !E.Target.IsDead; if (flag2) { AIs.DoCurrentAITartgetMode(E); } else { E.ReleaseTartget(true); } } else { bool flag3 = !E.InRandomMovement; if (flag3) { E.PickNewRandomMovement(); } else { E.CurrActionLst.Add(E.CRandomMovement); E.CRandomMovementTime++; bool flag4 = E.CRandomMovementTime > E.InRandomMovementTime; if (flag4) { E.InRandomMovement = false; E.PickNewRandomMovement(); } } } E.DoCurrentActions(); } }
// Token: 0x06000017 RID: 23 RVA: 0x0000263C File Offset: 0x0000083C private static void SubWorkersAI(Human E) { E.BodyParts[1].OriginalRotation = E.ModelRotationY; E.BodyParts[6].OriginalRotation = E.ModelRotationY; bool flag = !E.NoTarget; if (flag) { bool flag2 = E.Target != null && !E.Target.IsDead; if (flag2) { AIs.DoCurrentAITartgetMode_DoNotPickNewRndMotion(E); } else { E.ReleaseTartget(true); } } E.DoCurrentActions(); }