diff --git a/src/events/scheduled/pitFight.js b/src/events/scheduled/pitFight.js index 9735e8a1ade4661c564c877ab0a79e827a13041a..3a62fd9c430dcc80a34bcf49dfeb00a9f1c1ff54 100644 --- a/src/events/scheduled/pitFight.js +++ b/src/events/scheduled/pitFight.js @@ -22,6 +22,7 @@ App.Facilities.Pit.fight = function(lethal) { fighters.push(S.Bodyguard.ID); } else { fighters.push(available.pluck()); + fighters.push(available.pluck()); } // second fighter diff --git a/src/js/assayJS.js b/src/js/assayJS.js index 843314ad8e0b45e223841d5e9ea7979e93a3a6c5..5764907752a870d7ef55d19af92fe9b64c94b477 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -1404,14 +1404,10 @@ globalThis.faceIncrease = function(slave, amount) { }; /** - * @param {App.Entity.SlaveState|App.Entity.Animal} slave + * @param {App.Entity.SlaveState} slave * @returns {number} */ globalThis.deadliness = function(slave) { - if (slave instanceof App.Entity.Animal || slave.hasOwnProperty('species')) { // FIXME: temporary workaround - return slave.deadliness; - } - let deadliness = 2; if (slave.skill.combat > 0) {