Добавлены вызовы суммы параметров accuracy, dodge, criticals.

This commit is contained in:
Igor Barkov (iwork) 2020-07-20 13:22:29 +03:00
parent 4f54438696
commit 6e73380b82

View File

@ -34,7 +34,10 @@ SELECT SUM(add_strength) as sum_strength,
SUM(add_intuition) as sum_intuition,
SUM(add_endurance) as sum_endurance,
SUM(add_intelligence) as sum_intelligence,
SUM(add_wisdom) as sum_wisdom
SUM(add_wisdom) as sum_wisdom,
SUM(add_accuracy) as sum_accuracy,
SUM(add_dodge) as sum_dodge,
SUM(add_criticals) as sum_criticals
FROM inventory WHERE owner_id = ?i AND dressed_slot > 0'
SQL;
$this->DBSUM = db::c()->query($query, $user_id)->fetch_assoc();