chore(DB): import pending files

Referenced commit(s): 9b63cde7cb
This commit is contained in:
github-actions[bot]
2026-02-06 20:42:20 +00:00
parent 9b63cde7cb
commit f21a447bf1
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
-- DB update 2026_02_06_00 -> 2026_02_06_01
-- Recalculate quaternion rotation from orientation for unverified gameobjects
UPDATE `gameobject` SET `rotation2` = SIN(`orientation` / 2), `rotation3` = COS(`orientation` / 2) WHERE `rotation0` = 0 AND `rotation1` = 0 AND (`VerifiedBuild` IS NULL OR `VerifiedBuild` = 0);

View File

@@ -0,0 +1,68 @@
-- DB update 2026_02_06_01 -> 2026_02_06_02
-- Add transport parent_rotation values (from TrinityCore/UDB)
DELETE FROM `gameobject_addon` WHERE `guid` IN (14139,16760,16761,16871,20505,24055,24074,24075,25138,34057,35693,35694,55230,56744,56937,56954,56961,57132,57133,57140,57141,57799,57992,57993,57994,57995,57996,58299,58304,58305,58306,58310,58782,58824,58935,59160,59328,59336,59343,59350,59386,59762,59763,59764,59765,59766,59779,59780,59781,59782,59783,60421,60463,61053,65435,65436,65438,65439,65520,66717,67873,67874,67875,67876);
INSERT INTO `gameobject_addon` (`guid`,`parent_rotation0`,`parent_rotation1`,`parent_rotation2`,`parent_rotation3`,`invisibilityType`,`invisibilityValue`) VALUES
(14139,0,0,1,-0.0000000437114,0,0),
(16760,0,0,-0.378575,0.92557,0,0),
(16761,0,0,-0.378575,0.92557,0,0),
(16871,0,0,0.694658,0.71934,0,0),
(20505,0,0,-0.694658,0.71934,0,0),
(24055,0,0,-0.526214,0.850352,0,0),
(24074,0,0,-0.526214,0.850352,0,0),
(24075,0,0,-0.526214,0.850352,0,0),
(25138,0,0,0.45399,0.891007,0,0),
(34057,0,0,0.000000325841,1,0,0),
(35693,0,0,0.989651,0.143493,0,0),
(35694,0,0,0.989651,0.143493,0,0),
(55230,0,0,0.999048,0.0436193,0,0),
(56744,0,0,0.951057,0.309017,0,0),
(56937,0,0,0.951057,0.309017,0,0),
(56954,0,0,0.951057,0.309017,0,0),
(56961,0,0,0.999048,0.0436193,0,0),
(57132,-0.00276125,-0.00551835,-0.370553,0.928791,0,0),
(57133,0.00544418,-0.00290476,0.918772,0.394739,0,0),
(57140,-0.00276125,-0.00551835,-0.370553,0.928791,0,0),
(57141,0.00544418,-0.00290476,0.918772,0.394739,0,0),
(57799,0,0,0.999048,0.0436193,0,0),
(57992,0,0,-0.370557,0.92881,0,0),
(57993,0,0,-0.760406,0.649448,0,0),
(57994,0,0,0.915312,0.402747,0,0),
(57995,0,0,-0.748956,0.66262,0,0),
(57996,0,0,0.995805,0.0915015,0,0),
(58299,0,0,0.999048,0.0436193,0,0),
(58304,0,0,-0.263031,0.964787,0,0),
(58305,0,0,0.522499,0.85264,0,0),
(58306,0,0,0.996917,-0.0784592,0,0),
(58310,0,0,0.333807,0.942641,0,0),
(58782,0,0,0.333807,0.942641,0,0),
(58824,0,0,0.333807,0.942641,0,0),
(58935,0,0,0.932008,-0.362438,0,0),
(59160,0,0,0.99999,0.00436324,0,0),
(59328,0,0,0.99999,-0.00436333,0,0),
(59336,0,0,0.99999,-0.00436333,0,0),
(59343,0,0,0.99999,-0.00436333,0,0),
(59350,0,0,0.99999,-0.00436333,0,0),
(59386,0,0,0.99999,-0.00436333,0,0),
(59762,0,0,-0.370557,0.92881,0,0),
(59763,0,0,-0.760406,0.649448,0,0),
(59764,0,0,0.915312,0.402747,0,0),
(59765,0,0,-0.748956,0.66262,0,0),
(59766,0,0,0.995805,0.0915015,0,0),
(59779,0,0,-0.370557,0.92881,0,0),
(59780,0,0,-0.760406,0.649448,0,0),
(59781,0,0,0.915312,0.402747,0,0),
(59782,0,0,-0.748956,0.66262,0,0),
(59783,0,0,0.995805,0.0915015,0,0),
(60421,0,0,0.99999,0.00436324,0,0),
(60463,0,0,0.999048,0.0436193,0,0),
(61053,0,0,0.999048,0.0436193,0,0),
(65435,0,0,0.915312,0.402747,0,0),
(65436,0,0,0.99999,0.00436324,0,0),
(65438,0,0,0.915312,0.402747,0,0),
(65439,0,0,0.915312,0.402747,0,0),
(65520,0,0,0.99999,0.00436324,0,0),
(66717,0,0,0.999657,0.0261769,0,0),
(67873,-0.00276125,-0.00551835,-0.370553,0.928791,0,0),
(67874,0.00544418,-0.00290476,0.918772,0.394739,0,0),
(67875,-0.00276125,-0.00551835,-0.370553,0.928791,0,0),
(67876,0.00544418,-0.00290476,0.918772,0.394739,0,0);