public static void GetManhunterOnDamageChancePostfix(Pawn pawn, Thing instigator, ref float __result) { if (instigator != null) { __result = XenomorphUtil.IsXenomorphPawn(((Pawn)instigator)) ? 0.0f : __result; // Log.Message(string.Format("__result: {0}", __result)); } }