mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Fixups (#391)
* lost spell effect/aura declaration changes from0e0116b27* case-sensitivity conflict (ID => id) caused by77f81c1bd
This commit is contained in:
@@ -1120,7 +1120,7 @@ SqlGen::register(new class extends SetupScript
|
||||
CLI::write(' * #4 Quest', CLI::LOG_BLANK, true, true);
|
||||
|
||||
$quests = DB::World()->select(
|
||||
'SELECT RewardTitle AS ARRAY_KEY, id, SUM(qty) AS qty, BIT_OR(side) AS side, IF(COUNT(DISTINCT `zone`) > 1, 0, `zone`) AS "zone"
|
||||
'SELECT RewardTitle AS ARRAY_KEY, id AS id, SUM(qty) AS qty, BIT_OR(side) AS side, IF(COUNT(DISTINCT `zone`) > 1, 0, `zone`) AS "zone"
|
||||
FROM (SELECT RewardTitle, ID, 1 AS qty, IF(AllowableRaces & 0x2B2 AND !(AllowableRaces & 0x44D), 2, IF(AllowableRaces & 0x44D AND !(AllowableRaces & 0x2B2), 1, 3)) AS side, GREATEST(QuestSortID, 0) AS "zone" FROM quest_template WHERE RewardTitle > 0) q
|
||||
GROUP BY RewardTitle'
|
||||
);
|
||||
|
||||
@@ -494,9 +494,9 @@ SqlGen::register(new class extends SetupScript
|
||||
LEFT JOIN dbc_talent t3 ON t3.rank3 = s.id
|
||||
WHERE effect3CreateItemId > 0 AND (effect3Id in (?a) OR effect3AuraId in (?a)) AND t1.id IS NULL AND t2.id IS NULL AND t3.id IS NULL
|
||||
',
|
||||
SpellList::$effects['itemCreate'], SpellList::$auras['itemCreate'],
|
||||
SpellList::$effects['itemCreate'], SpellList::$auras['itemCreate'],
|
||||
SpellList::$effects['itemCreate'], SpellList::$auras['itemCreate']);
|
||||
SpellList::EFFECTS_ITEM_CREATE, SpellList::AURAS_ITEM_CREATE,
|
||||
SpellList::EFFECTS_ITEM_CREATE, SpellList::AURAS_ITEM_CREATE,
|
||||
SpellList::EFFECTS_ITEM_CREATE, SpellList::AURAS_ITEM_CREATE);
|
||||
|
||||
$itemInfo = DB::World()->select('SELECT entry AS ARRAY_KEY, displayId AS d, Quality AS q FROM item_template WHERE entry IN (?a)', $itemSpells);
|
||||
foreach ($itemSpells as $sId => $itemId)
|
||||
|
||||
Reference in New Issue
Block a user