This commit is contained in:
Igor Barkov (iwork) 2020-07-22 17:24:06 +03:00
parent ac0adef844
commit 819147f223

View File

@ -818,17 +818,17 @@ try {
<div> <div>
<div class="container"> <div class="container">
Сила: <?= ($showUser->free_stat_points ? $showUser->getStrength(1) . '(' . $showUser->strength + $getItemsBonuses->getStrengthBonus() . ')' : $showUser->strength + $getItemsBonuses->getStrengthBonus()) ?> Сила: <?= ($showUser->free_stat_points ? $showUser->getStrength(1) . '(' . strval($showUser->strength + $getItemsBonuses->getStrengthBonus()) . ')' : $showUser->strength + $getItemsBonuses->getStrengthBonus()) ?>
<br> <br>
Ловкость: <?= ($showUser->free_stat_points ? $showUser->getDexterity(1) . '(' . $showUser->dexterity + $getItemsBonuses->getDexterityBonus() . ')' : $showUser->dexterity + $getItemsBonuses->getDexterityBonus()) ?> Ловкость: <?= ($showUser->free_stat_points ? $showUser->getDexterity(1) . '(' . strval($showUser->dexterity + $getItemsBonuses->getDexterityBonus()) . ')' : $showUser->dexterity + $getItemsBonuses->getDexterityBonus()) ?>
<br> <br>
Интуиция: <?= ($showUser->free_stat_points ? $showUser->getIntuition(1) . '(' . $showUser->intuition + $getItemsBonuses->getIntuitionBonus() . ')' : $showUser->intuition + $getItemsBonuses->getIntuitionBonus()) ?> Интуиция: <?= ($showUser->free_stat_points ? $showUser->getIntuition(1) . '(' . strval($showUser->intuition + $getItemsBonuses->getIntuitionBonus()) . ')' : $showUser->intuition + $getItemsBonuses->getIntuitionBonus()) ?>
<br> <br>
Выносливость: <?= ($showUser->free_stat_points ? $showUser->getEndurance(1) . '(' . $showUser->endurance + $getItemsBonuses->getEnduranceBonus() . ')' : $showUser->endurance + $getItemsBonuses->getEnduranceBonus()) ?> Выносливость: <?= ($showUser->free_stat_points ? $showUser->getEndurance(1) . '(' . strval($showUser->endurance + $getItemsBonuses->getEnduranceBonus()) . ')' : $showUser->endurance + $getItemsBonuses->getEnduranceBonus()) ?>
<br> <br>
Интеллект: <?= ($showUser->free_stat_points ? $showUser->getIntelligence(1) . '(' . $showUser->intelligence + $getItemsBonuses->getIntelliganceBonus() . ')' : $showUser->intelligence + $getItemsBonuses->getIntelliganceBonus()) ?> Интеллект: <?= ($showUser->free_stat_points ? $showUser->getIntelligence(1) . '(' . strval($showUser->intelligence + $getItemsBonuses->getIntelliganceBonus()) . ')' : $showUser->intelligence + $getItemsBonuses->getIntelliganceBonus()) ?>
<br> <br>
Мудрость: <?= ($showUser->free_stat_points ? $showUser->getWisdom(1) . '(' . $showUser->wisdom + $getItemsBonuses->getWisdomBonus() . ')' : $showUser->wisdom + $getItemsBonuses->getWisdomBonus()) ?> Мудрость: <?= ($showUser->free_stat_points ? $showUser->getWisdom(1) . '(' . strval($showUser->wisdom + $getItemsBonuses->getWisdomBonus()) . ')' : $showUser->wisdom + $getItemsBonuses->getWisdomBonus()) ?>
<?php if ($showUser->free_stat_points): ?> <?php if ($showUser->free_stat_points): ?>
<small style="color: darkgreen;">Возможных <small style="color: darkgreen;">Возможных
увеличений: <?= $showUser->free_stat_points ?></small><br> увеличений: <?= $showUser->free_stat_points ?></small><br>