Exemplo n.º 1
0
        public static void PostFix(ref float __result, StatWorker __instance, StatDef ___stat, StatRequest req)
        {
            if (!req.HasThing)
            {
                return;
            }
            Thing thing = req.Thing;

            if (!(thing is Pawn))
            {
                return;
            }
            if (___stat == StatDefOf.MoveSpeed)
            {
                __result += JPUtility.GetSlowBurn(thing as Pawn);
            }
        }