繁殖、遺傳與每窩幼崽數
首頁 / 繁殖與遺傳
🧬 遺傳系統規格總結
| 參數 | 詳細規範 |
|---|---|
| 最大每窩幼崽數 | 最多 4 隻幼崽 (bd_wolf_litter_max_size) |
| 額外幼崽機率 | 每隻額外幼崽 20% (bd_wolf_litter_extra_chance) |
| 同親本特徵遺傳率 | 80% 機率精確繼承相同個性 (bd_breed_same_chance) |
| 同親本突變機率 | 10% 機率突變為其他個性變體 (bd_breed_same_other_chance) |
| 混合顯性普通率 | 40% 普通型繼承機率 (bd_breed_mixed_dominant_chance) |
| 混合隱性變體率 | 40% 變體個性繼承機率 (bd_breed_mixed_recessive_chance) |
| 稀釋回歸普通率 | 50% 極性繁殖回歸普通型機率 (bd_breed_diluted_normal_chance) |
| 實體體型縮放區間 | 70% (bd_wolf_min_scale_percent) 至 145% (bd_wolf_max_scale_percent) |
| 近親繁殖治癒物 | 金蘋果 (minecraft:golden_apple) (bd_enable_inbred_curing) |
🎲 1. 遺傳繼承機率
當兩隻已馴服的狼透過肉類繁殖時,幼崽的個性由動態加權隨機演算法決定:
$$\text{Offspring Personality} = \begin{cases} \text{Parent Trait} & \text{Prob} = 80% \quad (\text{Matching Parents}) \ \text{Variant Mutation} & \text{Prob} = 10% \quad (\text{Matching Parents}) \ \text{Dominant Normal} & \text{Prob} = 40% \quad (\text{Normal + Variant}) \ \text{Recessive Variant} & \text{Prob} = 40% \quad (\text{Normal + Variant}) \ \text{Diluted Reversion} & \text{Prob} = 50% \quad (\text{Aggressive + Pacifist}) \end{cases}$$
🐕 2. 動態每窩幼崽數
與原版繁殖(必定只產生 1 隻幼崽)不同,Better Dogs 會動態計算 1 到 4 隻幼崽:
第一隻幼崽:100% 必定產生。 第二隻幼崽:20% 機率觸發判定(解鎖 litter_two 進度)。 第三隻幼崽:20% 機率觸發判定(解鎖 litter_three 進度)。 第四隻幼崽:20% 機率觸發判定(解鎖 litter_four 進度)。
🧬 3. 近親繁殖與血統復原
- 近親侏儒懲罰:近親繁殖(同窩兄弟姐妹或父母/子女交配)會將幼崽標記為
is_inbred: 1b。近親侏儒幼崽的最大體型上限被嚴格限制在 80%,並散發微弱的腐肉粒子 (bd_show_runt_particles)。 - 金蘋果治癒:向近親侏儒餵食金蘋果可治癒懲罰,獲得 重新開始 (A Fresh Start) 成就(+100 經驗),並將
is_inbred標籤清除為0b。 - 雜交復原:將近親侏儒與無血緣關係的健康狼交配,可以產下完全健康的幼崽(解鎖
outcross_runt進度)。
