???
This commit is contained in:
parent
526f350ecf
commit
2f1f748ddd
13
main.php
13
main.php
@ -321,7 +321,7 @@ function dressitem($id)
|
||||
} else {
|
||||
// просто одеваем предмет в слот
|
||||
}
|
||||
if (in_array($selectedItem->item_type, [9,10,11])) {
|
||||
if (in_array($selectedItem->item_type, [9, 10, 11])) {
|
||||
$wearedRings = db::c()->query('SELECT * FROM `inventory` WHERE owner_id = ?i AND dressed_slot IN (9,10,11)', $_SESSION['uid'])->fetch_object();
|
||||
for ($i = 1; $i <= 3; $i++) {
|
||||
if (!$wearedRings->dressed_slot) {
|
||||
@ -818,7 +818,8 @@ try {
|
||||
<div>
|
||||
<div class="container">
|
||||
|
||||
Сила: <?= ($showUser->free_stat_points ? $showUser->getStrength(1).'('.$getItemsBonuses->getStrengthBonus().')':$getItemsBonuses->getStrengthBonus()) ?><br>
|
||||
Сила: <?= ($showUser->free_stat_points ? $showUser->getStrength(1) . '(' . $getItemsBonuses->getStrengthBonus() . ')' : $showUser->strength+$getItemsBonuses->getStrengthBonus()) ?>
|
||||
<br>
|
||||
Ловкость: <?= $showUser->getDexterity(1) ?> +<?= $getItemsBonuses->getDexterityBonus() ?><br>
|
||||
Интуиция: <?= $showUser->getIntuition(1) ?> +<?= $getItemsBonuses->getIntuitionBonus() ?><br>
|
||||
Выносливость: <?= $showUser->getEndurance(1) ?> +<?= $getItemsBonuses->getEnduranceBonus() ?>
|
||||
@ -826,7 +827,10 @@ try {
|
||||
Интеллект: <?= $showUser->getIntelligence(1) ?> +<?= $getItemsBonuses->getIntelliganceBonus() ?>
|
||||
<br>
|
||||
Мудрость: <?= $showUser->getWisdom(1) ?> +<?= $getItemsBonuses->getWisdomBonus() ?><br>
|
||||
<small style="color: darkgreen;">Возможных увеличений: <?= $showUser->free_stat_points ?></small><br>
|
||||
<?php if ($showUser->free_stat_points): ?>
|
||||
<small style="color: darkgreen;">Возможных
|
||||
увеличений: <?= $showUser->free_stat_points ?></small><br>
|
||||
<?php endif; ?>
|
||||
<br>
|
||||
Здоровье: <?= $showUser->getHealth() ?><br>
|
||||
Уворот: ?? + <?= $getItemsBonuses->getEvasionBonus() ?><br>
|
||||
@ -852,7 +856,8 @@ try {
|
||||
<div class="button-container"> <!--Меню-кнопки-->
|
||||
<FORM METHOD=POST ACTION="?edit=1" name=f1>
|
||||
<?php if ($user['shadow'] == '0.gif' || $user['admin'] == 1): ?>
|
||||
<INPUT class="button primary icon user" TYPE="submit" name="setshadow" value="Образы" title="Образы">
|
||||
<INPUT class="button primary icon user" TYPE="submit" name="setshadow" value="Образы"
|
||||
title="Образы">
|
||||
<?php endif; ?>
|
||||
<div class="button-group">
|
||||
<button class="button primary" onclick="gotohref('zayavka.php')">Поединки</button>
|
||||
|
Loading…
Reference in New Issue
Block a user