diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index b0c48692cb0e32f945979bdfb45d33bdda203514..160b5675fab69fa93eee83d14ff83d8744b4f905 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -1524,13 +1524,13 @@ window.DefaultRules = (function() { function ProcessPit(slave,rule){ if (rule.pitRules !== undefined && rule.pitRules !== null){ if (V.pit > 0){ - if (rule.pitRules === 0){ + if (rule.pitRules===0){ V.fighterIDs = V.fighterIDs.filter(e => e !== slave.ID); - r += `<br>${slave.slaveName} has been automatically unassigned from the pit.`; + r += `<br>${slave.slaveName} has been removed from the pit.`; }else{ - if ((slave.breedingMark === 1 && State.variables.propOutcome === 1 && State.variables.eugenicsFullControl !== 1 && State.variables.arcologies[0].FSRestart !== "unset") || (slave.indentureRestrictions > 1) || ( (slave.indentureRestrictions > 0) && (V.pitLethal)) ) { + if (App.Entity.facilities.pit.job().checkRequirements(slave).length === 1) { V.fighterIDs = V.fighterIDs.filter(e => e !== slave.ID); - r += `<br>${slave.slaveName} has been automatically unassigned from the pit.`; + r += `<br>${slave.slaveName} is not eligible to fight.`; } else{ V.fighterIDs.push(slave.ID); r += `<br>${slave.slaveName} has been automatically assigned to fight in the pit.`;