dev-shop #51

Merged
lopar merged 24 commits from dev-shop into master 2022-01-21 15:11:54 +00:00
Showing only changes of commit c3cfc4ff22 - Show all commits

View File

@ -23,28 +23,28 @@ class ShopItem extends Item
image, weight, price) image, weight, price)
select select
?, ?,
ifnull(name,\'Неизвестный предмет\'), name,
ifnull(item_type,0), item_type,
ifnull(durability, 1), durability,
ifnull(need_strength, 0), need_strength,
ifnull(need_dexterity, 0), need_dexterity,
ifnull(need_intuition, 0), need_intuition,
ifnull(need_endurance, 0), need_endurance,
ifnull(need_intelligence, 0), need_intelligence,
ifnull(need_wisdom, 0), need_wisdom,
ifnull(add_strength, 0), add_strength,
ifnull(add_dexterity, 0), add_dexterity,
ifnull(add_intuition, 0), add_intuition,
ifnull(add_endurance, 0), add_endurance,
ifnull(add_intelligence, 0), add_intelligence,
ifnull(add_wisdom, 0), add_wisdom,
ifnull(add_accuracy, 0), add_accuracy,
ifnull(add_evasion, 0), add_evasion,
ifnull(add_criticals, 0), add_criticals,
ifnull(add_min_physical_damage, 0), add_min_physical_damage,
ifnull(add_max_physical_damage, 0), add_max_physical_damage,
ifnull(image, \'noitem.png\'), image,
ifnull(weight, 1), weight,
greatest( greatest(
( (
(add_strength + add_dexterity + add_intuition + add_endurance + add_intelligence + add_wisdom) * (add_strength + add_dexterity + add_intuition + add_endurance + add_intelligence + add_wisdom) *