mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Items/Stats
* fixed stats for random enchanted items with scaling enchantments * don't send unused 'chance' to Summary tool
This commit is contained in:
@@ -86,7 +86,10 @@ class ComparePage extends GenericPage
|
||||
|
||||
if (!empty($data[$itemId]['subitems']))
|
||||
foreach ($data[$itemId]['subitems'] as &$si)
|
||||
{
|
||||
$si['enchantment'] = implode(', ', $si['enchantment']);
|
||||
unset($si['chance']);
|
||||
}
|
||||
|
||||
$this->cmpItems[$itemId] = [
|
||||
'name_'.Lang::getLocale()->json() => $iList->getField('name', true),
|
||||
|
||||
Reference in New Issue
Block a user