DB/World: DBErrors Fixes
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
-- ==============
|
||||
-- DBErrors Fixes
|
||||
-- ==============
|
||||
|
||||
-- GO Sunstrider Omnium (660125)
|
||||
DELETE FROM `page_text` WHERE `ID`=10749;
|
||||
INSERT INTO `page_text` (`ID`, `Text`, `NextPageID`, `PlayerConditionID`, `Flags`, `VerifiedBuild`) VALUES
|
||||
(10749, 'Magic is our birthright. Our people have plumbed the secrets of the arcane since the dawn of our race.$B$BAnd yet, in the wake of our empires collapse, at a time when magical knowledge and understanding should be our only way to prevent such calamity from happening again... our kin shuns this sacred responsibility.$B$BSo it falls to us, to discover, learn and safeguard ourselves against the magical powers of this world.$B$BMay we understand and wield what we find with mastery and responsibility.$B$B- Dath\'remar Sunstrider, revealing the Omnium to his people.', 0, 0, 0, 69587);
|
||||
|
||||
|
||||
|
||||
-- Add Missing Creature Template Model
|
||||
DELETE FROM `creature_template_model` WHERE `CreatureID` IN (246781,249349,249350,250989,250993,250996,250997,250998,251004,251708,251739,251740,251741,251742,258482,259702,259936,259937,261532,261533,262889);
|
||||
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES
|
||||
(246781, 0, 1126, 1, 1, 69587),
|
||||
(249349, 0, 1126, 1, 1, 69587),
|
||||
(249350, 0, 1126, 1, 1, 69587),
|
||||
(250989, 0, 1126, 1, 1, 69587),
|
||||
(250993, 0, 1126, 1, 1, 69587),
|
||||
(250996, 0, 1126, 1, 1, 69587),
|
||||
(250997, 0, 1126, 1, 1, 69587),
|
||||
(250998, 0, 1126, 1, 1, 69587),
|
||||
(251004, 0, 1126, 1, 1, 69587),
|
||||
(251708, 0, 1126, 1, 1, 69587),
|
||||
(251739, 0, 1126, 1, 1, 69587),
|
||||
(251740, 0, 1126, 1, 1, 69587),
|
||||
(251741, 0, 1126, 1, 1, 69587),
|
||||
(251742, 0, 1126, 1, 1, 69587),
|
||||
(258482, 0, 1126, 1, 1, 69587),
|
||||
(259702, 0, 1126, 1, 1, 69587),
|
||||
(259936, 0, 1126, 1, 1, 69587),
|
||||
(259937, 0, 1126, 1, 1, 69587),
|
||||
(261532, 0, 1126, 1, 1, 69587),
|
||||
(261533, 0, 1126, 1, 1, 69587),
|
||||
(262889, 0, 1126, 1, 1, 69587);
|
||||
|
||||
|
||||
|
||||
-- Updates Creature
|
||||
UPDATE `creature` SET `curHealthPct`=NULL WHERE `guid`=730673;
|
||||
|
||||
|
||||
|
||||
-- Updates Vehicle Template Accessory
|
||||
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (244889,245146);
|
||||
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
|
||||
(244889, 46598, 0, 0),
|
||||
(245146, 46598, 0, 0);
|
||||
|
||||
|
||||
|
||||
-- Add Missing Gameobject Template
|
||||
DELETE FROM `gameobject_template` WHERE `entry` IN (568256,568428,581621,581647,613830,652056,659962,660565,661396,661830,679038,679039,679040);
|
||||
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `RequiredLevel`, `AIName`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
|
||||
(568256, 9, 111113, 'Iridescent Mana Silk', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Iridescent Mana Silk
|
||||
(568428, 9, 111154, 'Sky''s Hope', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Sky's Hope
|
||||
(581621, 5, 433, 'Unknown Gameobject', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Objects
|
||||
(581647, 5, 433, 'Unknown Gameobject', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Objects
|
||||
(613830, 9, 21962, 'The Shadow Shard', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- The Shadow Shard
|
||||
(652056, 9, 75048, 'Black-Venom Grouper', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Black-Venom Grouper
|
||||
(659962, 9, 74635, 'Wood Debris Pile', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Wood Debris Pile
|
||||
(660565, 9, 104096, 'Weapons Crate', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Weapons Crate
|
||||
(661396, 0, 433, 'Venomfall Font', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Venomfall Font
|
||||
(661830, 9, 110539, 'Supply Crate', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Supply Crate
|
||||
(679038, 9, 121234, 'Mural', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Mural
|
||||
(679039, 9, 121235, 'Mural', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587), -- Mural
|
||||
(679040, 9, 121233, 'Mural', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', NULL, 69587); -- Mural
|
||||
|
||||
|
||||
|
||||
-- Updates Gameobject Template
|
||||
UPDATE `gameobject_template` SET `Data1`=549042 WHERE `entry`=549042;
|
||||
UPDATE `gameobject_template` SET `Data1`=516935 WHERE `entry`=516935;
|
||||
UPDATE `gameobject_template` SET `Data1`=540485 WHERE `entry`=540485;
|
||||
UPDATE `gameobject_template` SET `Data1`=540501 WHERE `entry`=540501;
|
||||
UPDATE `gameobject_template` SET `Data1`=584540, `Data30`=0, `Data33`=0 WHERE `entry`=584540;
|
||||
UPDATE `gameobject_template` SET `Data1`=558199 WHERE `entry`=558199;
|
||||
UPDATE `gameobject_template` SET `Data1`=547481 WHERE `entry`=547481;
|
||||
UPDATE `gameobject_template` SET `Data1`=523281 WHERE `entry`=523281;
|
||||
UPDATE `gameobject_template` SET `Data1`=548681 WHERE `entry`=548681;
|
||||
UPDATE `gameobject_template` SET `Data1`=516937 WHERE `entry`=516937;
|
||||
UPDATE `gameobject_template` SET `Data1`=516932 WHERE `entry`=516932;
|
||||
|
||||
|
||||
|
||||
-- NPC Brother Paxton (951)
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=951 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(951, 0, 0, 1, '', 60, 0, 100, 0, 30, 40, 12000, 14000, 0, '', 11, 13864, 2, 0, 0, 0, 0, 0, NULL, 26, 40, 0, 0, 0, NULL, 0, 0, 0, 0, 'Brother Paxton - Friendly At 30 Health - Cast \'Power Word: Fortitude\''),
|
||||
(951, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 1, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Brother Paxton - Say Line 0'),
|
||||
(951, 0, 2, 3, '', 60, 0, 100, 0, 40, 80, 3000, 6000, 0, '', 11, 93094, 2, 0, 0, 0, 0, 0, NULL, 26, 40, 0, 0, 0, NULL, 0, 0, 0, 0, 'Brother Paxton - Friendly At 80 Health - Cast \'Renew\''),
|
||||
(951, 0, 3, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 1, 1, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Brother Paxton - Say Line 1'),
|
||||
(951, 0, 4, 5, '', 60, 0, 100, 0, 40, 70, 8000, 10000, 0, '', 11, 93091, 2, 0, 0, 0, 0, 0, NULL, 26, 40, 0, 0, 0, NULL, 0, 0, 0, 0, 'Brother Paxton - Friendly At 70 Health - Cast \'Prayer of Healing\''),
|
||||
(951, 0, 5, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 1, 2, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Brother Paxton - Say Line 2');
|
||||
|
||||
Reference in New Issue
Block a user