Misc/Fixes

* resolve more spellEffects/Auras
 * fixed item filter with multiple upgrade items
 * localized unknown spellAura/Effects text
 * remove unreferenced error code from image setup
This commit is contained in:
Sarjuuk
2023-03-09 17:13:34 +01:00
parent ca26955ac2
commit ffa4cf5b29
13 changed files with 51 additions and 62 deletions

View File

@@ -165,9 +165,9 @@ class SmartAI
if ($q)
{
$owner = DB::Aowow()->select(sprintf('SELECT `type` AS "0", `typeId` AS "1" FROM ?_spawns WHERE (%s)', implode(') OR (', $q)));
foreach ($owner as [$ty, $id])
$result[$ty][] = $id;
$owner = DB::Aowow()->select(sprintf('SELECT `type`, `typeId` FROM ?_spawns WHERE (%s)', implode(') OR (', $q)));
foreach ($owner as $o)
$result[$o['type']][] = $o['typeId'];
}
}