コード例 #1
0
        // Token: 0x06000061 RID: 97 RVA: 0x00005EB0 File Offset: 0x000040B0
        public static void DoMSCondom(Pawn p, ThingDef t)
        {
            HediffDef named = DefDatabase <HediffDef> .GetNamed("MSCondom_High", false);

            float SeverityToApply = 0.5f;

            MSHediffEffecter.HediffEffect(named, SeverityToApply, p, null, out _);
        }
コード例 #2
0
        // Token: 0x0600005A RID: 90 RVA: 0x00005ACC File Offset: 0x00003CCC
        public static void DoMSBattleStim(Pawn p, ThingDef t)
        {
            var named = DefDatabase <HediffDef> .GetNamed("MSBattleStim_High", false);

            var SeverityToApply = 0.5f;

            MSHediffEffecter.HediffEffect(named, SeverityToApply, p, null, out _);
        }