コード例 #1
0
        public override float GenerationChance(Pawn generated, Pawn other, PawnGenerationRequest request)
        {
            float num = 1f;

            num *= this.GetOldAgeFactor(generated);
            num *= this.GetOldAgeFactor(other);
            return(LovePartnerRelationUtility.LovePartnerRelationGenerationChance(generated, other, request, false) * base.BaseGenerationChanceFactor(generated, other, request) * num);
        }
コード例 #2
0
 public override float GenerationChance(Pawn generated, Pawn other, PawnGenerationRequest request)
 {
     return(LovePartnerRelationUtility.LovePartnerRelationGenerationChance(generated, other, request, true) * base.BaseGenerationChanceFactor(generated, other, request));
 }