Filter/Dropdowns

* group options for: currency, factions, itemcurrency & zones
 * update faction setup so faction "The Frostorn" are available and it does not rely on factiontemplate.dbc
 * fix broken purchasablewith* localization in locale DE
This commit is contained in:
Sarjuuk 2025-11-30 17:56:56 +01:00
parent 82376f9ead
commit ffffc16d63
10 changed files with 858 additions and 643 deletions

View file

@ -64,10 +64,10 @@ CLISetup::registerSetup("sql", new class extends SetupScript
DB::Aowow()->query(
'UPDATE ?_factions x
JOIN dbc_faction f ON f.`id` = x.`id`
LEFT JOIN dbc_factiontemplate ft ON f.`id` = ft.`factionId`
SET `cuFlags` = `cuFlags` | ?d
WHERE f.`repIdx` < 0 OR ( f.`repIdx` > 0 AND (f.`repFlags1` & 0x8 OR ft.`id` IS NULL) AND (f.`repFlags1` & 0x80) = 0 )',
CUSTOM_EXCLUDE_FOR_LISTVIEW
WHERE f.`repIdx` < 0 OR f.`id` = 952 OR ( (f.`repFlags1` & ?d) > 0 AND f.`id` NOT IN (67, 169, 469, 589, 1085) AND (f.`repFLags1` & ?d) = 0 )',
CUSTOM_EXCLUDE_FOR_LISTVIEW,
FACTION_FLAG_HIDDEN | FACTION_FLAG_INVISIBLE_FORCED, FACTION_FLAG_SPECIAL
);
$pairs = array(