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)
select
?,
ifnull(name,\'Неизвестный предмет\'),
ifnull(item_type,0),
ifnull(durability, 1),
ifnull(need_strength, 0),
ifnull(need_dexterity, 0),
ifnull(need_intuition, 0),
ifnull(need_endurance, 0),
ifnull(need_intelligence, 0),
ifnull(need_wisdom, 0),
ifnull(add_strength, 0),
ifnull(add_dexterity, 0),
ifnull(add_intuition, 0),
ifnull(add_endurance, 0),
ifnull(add_intelligence, 0),
ifnull(add_wisdom, 0),
ifnull(add_accuracy, 0),
ifnull(add_evasion, 0),
ifnull(add_criticals, 0),
ifnull(add_min_physical_damage, 0),
ifnull(add_max_physical_damage, 0),
ifnull(image, \'noitem.png\'),
ifnull(weight, 1),
name,
item_type,
durability,
need_strength,
need_dexterity,
need_intuition,
need_endurance,
need_intelligence,
need_wisdom,
add_strength,
add_dexterity,
add_intuition,
add_endurance,
add_intelligence,
add_wisdom,
add_accuracy,
add_evasion,
add_criticals,
add_min_physical_damage,
add_max_physical_damage,
image,
weight,
greatest(
(
(add_strength + add_dexterity + add_intuition + add_endurance + add_intelligence + add_wisdom) *