Skip to content
Snippets Groups Projects
Commit 5364034c authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-dev-preganalize-tweak' into 'pregmod-master'

Superfetation still should respect infertility and contraceptives

See merge request !4583
parents d2ce6752 0c78ea68
No related branches found
No related tags found
1 merge request!4583Superfetation still should respect infertility and contraceptives
......@@ -121,7 +121,7 @@ window.setPregType = function(actor) {
}
}
ovum = Math.clamp(ovum, 0, 8);
} else if (actor.pregType === 0 || actor.geneticQuirks.superfetation > 1) {
} else if (actor.pregType === 0 || (actor.geneticQuirks.superfetation > 1 && actor.pregType >= 0)) {
if (actor.eggType === "horse" || actor.eggType === "cow") {
if (actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm
ovum += jsEither([0, 0, 0, 0, 0, 0, 1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment