diff --git a/src/events/scheduled/pitFightLethal.js b/src/events/scheduled/pitFightLethal.js index b4f352e3554e7335a153aef62cb5dbd91de1580d..1a4e7a77a83794ef0bc3ece684cbe795640152ef 100644 --- a/src/events/scheduled/pitFightLethal.js +++ b/src/events/scheduled/pitFightLethal.js @@ -140,12 +140,12 @@ App.Facilities.Pit.fight.lethal = function(fighters) { function age() { if (V.AgePenalty !== 0) { - if (slave.physicalAge >= 100) { - r.push(`${He} seems prepared for death, in a way.`); - } else if (slave.physicalAge >= 85) { - r.push(`${He} tries not to waste ${his} strength before the fight, knowing that ${his} extreme age won't allow ${him} a second wind.`); - } else if (slave.physicalAge >= 70) { - r.push(`${He} steadies ${himself} as well as ${he} can in ${his} advanced age.`); + if (fighter.physicalAge >= 100) { + return `${He} seems prepared for death, in a way.`; + } else if (fighter.physicalAge >= 85) { + return `${He} tries not to waste ${his} strength before the fight, knowing that ${his} extreme age won't allow ${him} a second wind.`; + } else if (fighter.physicalAge >= 70) { + return `${He} steadies ${himself} as well as ${he} can in ${his} advanced age.`; } } } @@ -306,8 +306,8 @@ App.Facilities.Pit.fight.lethal = function(fighters) { function fight() { const fightDiv = document.createElement("div"); - const winnerDeadliness = fighterDeadliness(winner); - const loserDeadliness = fighterDeadliness(loser); + const winnerDeadliness = deadliness(winner); + const loserDeadliness = deadliness(loser); const {he, his, him, himself, girl, He} = getPronouns(winner); const {he: he2, his: his2, him: him2, girl: girl2} = getPronouns(loser); diff --git a/src/events/scheduled/pitFightNonlethal.js b/src/events/scheduled/pitFightNonlethal.js index d11a572c9d0559afdaf150ab3a2295f95e2941bb..ca1cf55f539ce4fa2d7245f60d6f6ba1e0f8d634 100644 --- a/src/events/scheduled/pitFightNonlethal.js +++ b/src/events/scheduled/pitFightNonlethal.js @@ -139,12 +139,12 @@ App.Facilities.Pit.fight.nonlethal = function(fighters) { function age() { if (V.AgePenalty !== 0) { - if (slave.physicalAge >= 100) { - r.push(`${He} seems preoccupied, which is unsurprising given ${his} age and resulting fragility.`); - } else if (slave.physicalAge >= 85) { - r.push(`${He} tries not to waste ${his} strength before the fight, knowing that ${his} extreme age won't allow ${him} a second wind.`); - } else if (slave.physicalAge >= 70) { - r.push(`${He} steadies ${himself} as well as ${he} can in ${his} advanced age.`); + if (fighter.physicalAge >= 100) { + return `${He} seems preoccupied, which is unsurprising given ${his} age and resulting fragility.`; + } else if (fighter.physicalAge >= 85) { + return `${He} tries not to waste ${his} strength before the fight, knowing that ${his} extreme age won't allow ${him} a second wind.`; + } else if (fighter.physicalAge >= 70) { + return `${He} steadies ${himself} as well as ${he} can in ${his} advanced age.`; } } }