// Token: 0x06000083 RID: 131 RVA: 0x00007294 File Offset: 0x00005494 public static int GetPainState(Pawn pawn) { float painTotal = MSPainUtility.GetPainAmount(pawn); if (painTotal < 0.01f) { return(0); } if (painTotal < 0.15f) { return(1); } if (painTotal < 0.4f) { return(2); } if (painTotal < 0.8f) { return(3); } return(4); }
// Token: 0x06000084 RID: 132 RVA: 0x000072D1 File Offset: 0x000054D1 public static bool IsInPain(Pawn pawn) { return(MSPainUtility.GetPainAmount(pawn) > 0.01f); }