コード例 #1
0
 /// <summary>Get the chance for 2 pawns to be given this relationship</summary>
 /// <param name="generated">The generated.</param>
 /// <param name="other">The other.</param>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public override float GenerationChance(Pawn generated, Pawn other, PawnGenerationRequest request)
 {
     return(LovePartnerRelationUtility.LovePartnerRelationGenerationChance(generated, other, request, ex: true) * BaseGenerationChanceFactor(generated, other, request));
 }