mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Summary/Itemsets
* fixed set bonus calculation when using multiple sets in one summary Localization * create more concise error messages when accessing nonexistant locale strings
This commit is contained in:
@@ -54,6 +54,7 @@ if (!CLI)
|
||||
|
||||
$setOut = array(
|
||||
'id' => $set['id'],
|
||||
'idbak' => $set['refSetId'],
|
||||
'name' => (7 - $set['quality']).Util::jsEscape(Util::localizedString($set, 'name')),
|
||||
'pieces' => [],
|
||||
'heroic' => !!$set['heroic'], // should be bool
|
||||
@@ -76,9 +77,6 @@ if (!CLI)
|
||||
if ($set['contentGroup'])
|
||||
$setOut['note'] = $set['contentGroup'];
|
||||
|
||||
if ($set['id'] < 0)
|
||||
$setOut['idbak'] = $set['refSetId'];
|
||||
|
||||
for ($i = 1; $i < 11; $i++)
|
||||
if ($set['item'.$i])
|
||||
$setOut['pieces'][] = $set['item'.$i];
|
||||
|
||||
1
setup/updates/1591451737_01.sql
Normal file
1
setup/updates/1591451737_01.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE aowow_dbversion SET `build` = CONCAT(IFNULL(`build`, ''), ' itemsets');
|
||||
Reference in New Issue
Block a user