Minor fixes

This commit is contained in:
Mr. Stallion 2019-06-29 17:24:44 -05:00
parent 7f903e370d
commit be2e2b0ab5
1 changed files with 6 additions and 3 deletions

View File

@ -217,7 +217,7 @@ export enum Scoring {
MATCH = 1,
WEAK_MATCH = 0.5,
NEUTRAL = 0,
WEAK_MISMATCH = 0.5,
WEAK_MISMATCH = -0.5,
MISMATCH = -1
}
@ -364,7 +364,7 @@ export class Matcher {
return new Score(Scoring.MISMATCH, `No <span>${description}</span>`);
if (score === KinkPreference.Maybe)
return new Score(Scoring.WEAK_MISMATCH, `Undecided on <span>${description}</span>`);
return new Score(Scoring.WEAK_MISMATCH, `Hesitant on <span>${description}</span>`);
if (score === KinkPreference.Yes)
return new Score(Scoring.WEAK_MATCH, `Likes <span>${description}</span>`);
@ -417,7 +417,7 @@ export class Matcher {
break;
case Scoring.WEAK_MISMATCH:
type = 'Undecided on';
type = 'Hesitant on';
break;
case Scoring.WEAK_MATCH:
@ -443,6 +443,9 @@ export class Matcher {
? Matcher.furryLikeabilityScore(you)
: (theyAreHuman ? Matcher.humanLikeabilityScore(you) : Scoring.NEUTRAL);
if (score === Scoring.WEAK_MATCH)
return new Score(score, theyAreAnthro ? 'Would prefer <span>humans</span>, ok with anthros' : 'Would prefer <span>anthros</span>, ok with humans');
return this.formatScoring(score, theyAreAnthro ? 'furry pairings' : theyAreHuman ? 'human pairings' : '');
}