diff --git a/src/js/utilJS.js b/src/js/utilJS.js index d1512eda8cef64a953cd31cac80f711bd01af5b6..f98250df90e7c2fd9f16c6688726e66b4ee8ed6c 100644 --- a/src/js/utilJS.js +++ b/src/js/utilJS.js @@ -1589,6 +1589,7 @@ window.SkillIncrease = (function() { /** @param {App.Entity.SlaveState} slave */ function OralSkillIncrease(slave, skillIncrease) { const He = capFirstChar(slave.pronoun); + const his = slave.possessivePronoun; let r; skillIncrease = skillIncrease || State.variables.skillIncrease || 1; @@ -1598,7 +1599,7 @@ window.SkillIncrease = (function() { } } else if (slave.oralSkill <= 30) { if (slave.oralSkill + skillIncrease > 30) { - r = `<span class="green">${He} now has some oral skills,</span> and can reliably bring dicks and pussies to climax with $his mouth.`; + r = `<span class="green">${He} now has some oral skills,</span> and can reliably bring dicks and pussies to climax with ${his} mouth.`; } } else if (slave.oralSkill <= 60) { if (slave.oralSkill + skillIncrease > 60) { @@ -1643,12 +1644,13 @@ window.SkillIncrease = (function() { /** @param {App.Entity.SlaveState} slave */ function AnalSkillIncrease(slave, skillIncrease) { const He = capFirstChar(slave.pronoun); + const his = slave.possessivePronoun; let r; skillIncrease = skillIncrease || State.variables.skillIncrease || 1; if (slave.analSkill <= 10) { if (slave.analSkill + skillIncrease > 10) { - r = `<span class="green">${He} now has basic knowledge about anal sex,</span> and can accept penetration of $his anus without danger.`; + r = `<span class="green">${He} now has basic knowledge about anal sex,</span> and can accept penetration of ${his} anus without danger.`; } } else if (slave.analSkill <= 30) { if (slave.analSkill + skillIncrease > 30) { @@ -1656,7 +1658,7 @@ window.SkillIncrease = (function() { } } else if (slave.analSkill <= 60) { if (slave.analSkill + skillIncrease > 60) { - r = `<span class="green">${He} is now an anal sex expert,</span> and knows how to use $his sphincter to please.`; + r = `<span class="green">${He} is now an anal sex expert,</span> and knows how to use ${his} sphincter to please.`; } } else if (slave.analSkill < 100) { if (slave.analSkill + skillIncrease >= 100) { @@ -1670,6 +1672,7 @@ window.SkillIncrease = (function() { /** @param {App.Entity.SlaveState} slave */ function WhoreSkillIncrease(slave, skillIncrease) { const He = capFirstChar(slave.pronoun); + const his = slave.possessivePronoun; let r; skillIncrease = skillIncrease || State.variables.skillIncrease || 1; @@ -1679,7 +1682,7 @@ window.SkillIncrease = (function() { } } else if (slave.whoreSkill <= 30) { if (slave.whoreSkill + skillIncrease > 30) { - r = `<span class="green">${He} now has some skill as a whore,</span> and knows how to sell $his body at a good price.`; + r = `<span class="green">${He} now has some skill as a whore,</span> and knows how to sell ${his} body at a good price.`; } } else if (slave.whoreSkill <= 60) { if (slave.whoreSkill + skillIncrease > 60) {