mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Loot/Difficulty
* fixed encoding Dungeon Difficulty in source * resolve difficulty dummy loot sources to base creature if able * added listview note for difficulty source on item detail page * misc: fixed parsing color UI escape sequence
This commit is contained in:
@@ -29,9 +29,9 @@ SqlGen::register(new class extends SetupScript
|
||||
/*********************************/
|
||||
|
||||
$this->dummyNPCs = DB::Aowow()->select(
|
||||
'SELECT difficultyEntry1 AS ARRAY_KEY, 2 AS "0", `id` AS "1" FROM ?_creature WHERE difficultyEntry1 > 0 UNION
|
||||
SELECT difficultyEntry2 AS ARRAY_KEY, 4 AS "0", `id` AS "1" FROM ?_creature WHERE difficultyEntry2 > 0 UNION
|
||||
SELECT difficultyEntry3 AS ARRAY_KEY, 8 AS "0", `id` AS "1" FROM ?_creature WHERE difficultyEntry3 > 0'
|
||||
'SELECT difficultyEntry1 AS ARRAY_KEY, 2 AS "0", `id` AS "1" FROM ?_creature WHERE difficultyEntry1 > 0 UNION
|
||||
SELECT difficultyEntry2 AS ARRAY_KEY, 4 AS "0", `id` AS "1" FROM ?_creature WHERE difficultyEntry2 > 0 UNION
|
||||
SELECT difficultyEntry3 AS ARRAY_KEY, 8 AS "0", `id` AS "1" FROM ?_creature WHERE difficultyEntry3 > 0'
|
||||
);
|
||||
// todo: do the same for GOs
|
||||
|
||||
|
||||
1
setup/updates/1702576294_01.sql
Normal file
1
setup/updates/1702576294_01.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' source');
|
||||
Reference in New Issue
Block a user