db errors

This commit is contained in:
luis
2026-11-10 15:06:07 -03:00
parent 6b9aca8d21
commit dd438629bf
@@ -0,0 +1,86 @@
UPDATE `delve_template`
SET `entryX`=3560.016, `entryY`=4804.038, `entryZ`=590.544, `entryO`=6.2242,
`exitX`=9177.104, `exitY`=-4445.565, `exitZ`=7.414, `exitO`=1.3638,
`exitMapId`=0
WHERE `mapId`=3003;
UPDATE `delve_template` SET `lfgDungeonsId`=3083 WHERE `id`=44;
UPDATE `creature_template` SET `unit_flags3` = 0 WHERE `entry` IN (252600,
247817,
247934, 260925,
246870,
252146,
252978,
240425,
135238,
221379,
246421,
258497,
258829,
198464,
207283,
212407,
212807,
215364,
225654,
225664,
256042,
255665,
252601,
246573,
259356,
266443,
266445,
269976,
272801);
UPDATE `creature` SET `curHealthPct`=NULL WHERE `curHealthPct`=100;
DELETE FROM `creature_template_model` WHERE `CreatureID`=261205 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261205, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261233 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261233, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261170 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261170, 0, 91909, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=274925 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (274925, 0, 328, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=276206 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (276206, 0, 328, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=263377 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (263377, 0, 90724, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=268619 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (268619, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=275723 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (275723, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261970 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261970, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=275722 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (275722, 0, 52318, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=262389 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (262389, 0, 92757, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=266109 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (266109, 0, 91810, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261235 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261235, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261236 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261236, 0, 64062, 1, 1, 0);
UPDATE `creature_template_model` SET `VerifiedBuild`=70783 WHERE (`Idx`=2 AND `CreatureID` IN (257846,269750,260459,246350,246352,257590,258941,257571,260382,253635,253633)) OR (`Idx`=1 AND `CreatureID` IN (257846,251600,259948,273008,269750,260459,246350,258702,260925,246352,258709,257590,258941,257571,260382,253635,253633)) OR (`Idx`=0 AND `CreatureID` IN (257846,258829,251600,259948,273008,471,462,45367,26483,258929,266176,255665,252600,259356,258925,269750,252102,260459,258724,258713,266751,258712,258715,252146,258723,246350,258702,252601,260925,258497,246352,258709,252595,257590,258941,257571,260382,267919,260875,253635,253633,71529)) OR (`Idx`=3 AND `CreatureID` IN (269750,260459,246350,246352,258941,257571,260382,253635,253633)) OR (`Idx`=19 AND `CreatureID` IN (246350,246352)) OR (`Idx`=18 AND `CreatureID` IN (246350,246352)) OR (`Idx`=17 AND `CreatureID` IN (246350,246352)) OR (`Idx`=16 AND `CreatureID` IN (246350,246352)) OR (`Idx`=15 AND `CreatureID` IN (246350,246352)) OR (`Idx`=14 AND `CreatureID` IN (246350,246352)) OR (`Idx`=13 AND `CreatureID` IN (246350,246352)) OR (`Idx`=12 AND `CreatureID` IN (246350,246352)) OR (`Idx`=11 AND `CreatureID` IN (246350,246352)) OR (`Idx`=10 AND `CreatureID` IN (246350,246352)) OR (`Idx`=9 AND `CreatureID` IN (246350,246352,253635,253633)) OR (`Idx`=8 AND `CreatureID` IN (246350,246352,253635,253633)) OR (`Idx`=7 AND `CreatureID` IN (246350,246352,257571,253635,253633)) OR (`Idx`=6 AND `CreatureID` IN (246350,246352,257571,253635,253633)) OR (`Idx`=5 AND `CreatureID` IN (246350,246352,257571,253635,253633)) OR (`Idx`=4 AND `CreatureID` IN (246350,246352,257571,253635,253633));
UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=70783 WHERE (`CreatureID`=258929 AND `Idx`=1); -- Arcane Line Stalker
UPDATE `creature_template_model` SET `CreatureDisplayID`=27823, `VerifiedBuild`=70783 WHERE (`CreatureID`=255665 AND `Idx`=1); -- Install Trigger Stalker
UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=70783 WHERE (`CreatureID`=258539 AND `Idx`=0); -- Void-Corrupted Ley Line
UPDATE `creature_template_model` SET `CreatureDisplayID`=27823, `VerifiedBuild`=70783 WHERE (`CreatureID`=252146 AND `Idx`=1); -- Ley Line Stalker
DELETE FROM `creature_template_model` WHERE `CreatureID`=261237 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261237, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=266077 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (266077, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=261232 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (261232, 0, 64062, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=276207 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (276207, 0, 328, 1, 1, 0);
DELETE FROM `creature_template_model` WHERE `CreatureID`=269097 AND `Idx`=0;
INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (269097, 0, 52318, 1, 1, 0);
REPLACE INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(259356, 1253762, 1, 1);