Skip to content
Snippets Groups Projects
Commit 55e8e742 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-master' into 'pregmod-master'

Fix #720

Closes #720

See merge request !4451
parents 1f561503 cde0b606
No related branches found
No related tags found
1 merge request!4451Fix #720
......@@ -386,16 +386,14 @@ window.canAchieveErection = function(slave) {
return false;
} else if (slave.aphrodisiacs > 1 || (slave.inflationType == "aphrodisiac" && slave.inflation >= 2)) {
return true;
} else if (slave.balls > 0 ? slave.hormoneBalance < 100 : slave.hormoneBalance <= -100) {
return false;
} else if (slave.ballType !== "sterile") {
} else if (slave.ballType === "sterile") {
return false;
} else if ((slave.balls > 0 ? slave.hormoneBalance < 100 : slave.hormoneBalance <= -100) && slave.drugs !== "hormone blockers") {
return true;
} else if (slave.aphrodisiacs > 0 || slave.inflationType == "aphrodisiac") {
return true;
} else if (slave.drugs === "hormone blockers") {
return false;
}
return true;
return false;
};
/**
......
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