diff --git a/classes/Item.php b/classes/Item.php index dd8a265..b6fc999 100644 --- a/classes/Item.php +++ b/classes/Item.php @@ -79,14 +79,15 @@ abstract class Item case self::ITEM_TYPE_BELT: $this->typename = 'Пояс'; break; - case 9: - case 10: - case 11: + case self::ITEM_TYPE_RING: $this->typename = 'Кольцо'; break; - case 12: + case self::ITEM_TYPE_AMULET: $this->typename = 'Амулет'; break; + case self::ITEM_TYPE_CONSUMABLE: + $this->typename = 'Расходуемый предмет'; + break; default: $this->typename = 'Хлам'; } diff --git a/main.php b/main.php index 89dca64..453f14a 100644 --- a/main.php +++ b/main.php @@ -743,9 +743,9 @@ try {
Здоровье: getHealth() ?>
- Уворот: ?? + getEvasionBonus() ?>
- Точность: ?? + getAccuracyBonus() ?>
- Шанс крита: ?? + getCriticalsBonus() ?>
+ Уворот: getEvasionBonus() ?>
+ Точность: getAccuracyBonus() ?>
+ Шанс крита: getCriticalsBonus() ?>
Урон: minDamage + $getItemsBonuses->getMinPhysDamage() ?> - maxDamage + $getItemsBonuses->getMaxPhysDamage()?>