Skip to content
Snippets Groups Projects
Commit 0799ff11 authored by pregmodfan's avatar pregmodfan
Browse files

superfetation should respect infertility and contraceptives - wrong property fixed 2

parent 720a3ae2
No related branches found
No related tags found
1 merge request!4586preganalize tweak/fix
......@@ -121,7 +121,7 @@ window.setPregType = function(actor) {
}
}
ovum = Math.clamp(ovum, 0, 8);
} else if (actor.pregType === 0 || (actor.geneticQuirks.superfetation > 1 && actor.preg >= 0)) {
} else if (actor.preg === 0 || (actor.geneticQuirks.superfetation > 1 && actor.preg >= 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