From f7fd9b8a7325133c7351331017325b36d1775054 Mon Sep 17 00:00:00 2001 From: Anu <barrychahal@gmail.com> Date: Wed, 31 Mar 2021 07:08:35 +0000 Subject: [PATCH] Account for immortal bodyguard --- src/endWeek/saGuardYou.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endWeek/saGuardYou.js b/src/endWeek/saGuardYou.js index 78f68197345..6cd1bf9433b 100644 --- a/src/endWeek/saGuardYou.js +++ b/src/endWeek/saGuardYou.js @@ -273,7 +273,7 @@ App.SlaveAssignment.guardYou = (function() { successorCandidates = V.slaves.filter(function(s) { return (assignmentVisible(s) || s.assignment === Job.CONCUBINE || s.assignment === Job.WARDEN || s.assignment === Job.HEADGIRL || s.assignment === Job.QUARTER || s.assignment === Job.MASTERSUITE) && bodyguardSuccessorEligible(s); }); combatSkilled = successorCandidates.filter(function(s) { return s.skill.combat > 0; }); - r.push(`${He}'s confident in ${his} martial skills, but smart enough to know that ${he} isn't immortal, and devoted enough to worry about who will protect you should ${he} die.`); + r.push(`${He}'s confident in ${his} martial skills, but smart enough to know that${slave.geneMods.immortality > 0 ? `, while technically immortal, ${he} isn't invincible` : ` ${he} isn't immortal`}, and devoted enough to worry about who will protect you should ${he} die.`); if (combatSkilled.length < 2) { flawedTrainee = 0; if (slave.relationship > 1) { -- GitLab