Punctuation in hint
This commit is contained in:
parent
5df128ca38
commit
222eb57de3
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ class Game
|
|||
$exaggerate = ($target->getScore() - $hit->getEmotions()->getEmotionScore($emotion)) > 20 ? "only " : "";
|
||||
$exaggerate = ($target->getScore() - $hit->getEmotions()->getEmotionScore($emotion)) < -20 ? "a whopping " : $only;
|
||||
|
||||
$text = "When you had to feel "
|
||||
$text = "When you had to feel "
|
||||
. $target->getScore() ."% " . $emotion->getName()
|
||||
." you showed " . $exaggerate . round($hit->getEmotions()->getEmotionScore($emotion),3) ."%.";
|
||||
$betterHit = Application::getInstance()->getEm()->getRepository(Hit::class)->getBetterHit($lowest_scoring_hit);
|
||||
|
@ -236,7 +236,7 @@ class Game
|
|||
|
||||
if($diffExpression) {
|
||||
$diffExpressionText = $betterHit->getExpressions()::$EXPRESSIONS_2ND_PERSON[$diffExpression];
|
||||
$text .= " To show your empathy, you have to " . $diffExpressionText ." " . $diff . "% " . $diffText;
|
||||
$text .= " To show your empathy, you have to " . $diffExpressionText ." " . $diff . "% " . $diffText .".";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue