diff options
| author | Aokromes <aokromes@gmail.com> | 2019-07-15 16:14:05 +0200 |
|---|---|---|
| committer | Aokromes <aokromes@gmail.com> | 2019-07-15 16:14:05 +0200 |
| commit | 3688b32065f9326926595d91c55a449b44df5a30 (patch) | |
| tree | f9e7fb12c6c88972ceff403dd941c0641df724a8 /sql/updates/characters | |
| parent | 75efb5d4312f3a2dbfd2c0eb9fc07b8459011187 (diff) | |
TDB 820.19071 - 2019/07/15TDB820.19071
Diffstat (limited to 'sql/updates/characters')
| -rw-r--r-- | sql/updates/characters/master/2018_03_04_00_characters.sql | 10 | ||||
| -rw-r--r-- | sql/updates/characters/master/2018_04_28_00_characters.sql | 803 | ||||
| -rw-r--r-- | sql/updates/characters/master/2018_07_28_00_characters.sql | 12 | ||||
| -rw-r--r-- | sql/updates/characters/master/2018_07_31_00_characters.sql | 1 | ||||
| -rw-r--r-- | sql/updates/characters/master/2018_12_09_00_characters.sql | 8 | ||||
| -rw-r--r-- | sql/updates/characters/master/2018_12_09_01_characters.sql | 32 | ||||
| -rw-r--r-- | sql/updates/characters/master/2018_12_09_02_characters.sql | 135 | ||||
| -rw-r--r-- | sql/updates/characters/master/2019_06_08_00_characters.sql | 2 | ||||
| -rw-r--r-- | sql/updates/characters/master/2019_06_08_01_characters.sql | 13 | ||||
| -rw-r--r-- | sql/updates/characters/master/2019_06_25_00_characters.sql | 1 | ||||
| -rw-r--r-- | sql/updates/characters/master/2019_07_15_00_characters.sql (renamed from sql/updates/characters/master/2018_02_19_00_characters.sql) | 2 |
11 files changed, 1 insertions, 1018 deletions
diff --git a/sql/updates/characters/master/2018_03_04_00_characters.sql b/sql/updates/characters/master/2018_03_04_00_characters.sql deleted file mode 100644 index 66ce84bad5e..00000000000 --- a/sql/updates/characters/master/2018_03_04_00_characters.sql +++ /dev/null @@ -1,10 +0,0 @@ --- --- Table structure for table `character_pvp_talent` --- -DROP TABLE IF EXISTS `character_pvp_talent`; -CREATE TABLE `character_pvp_talent` ( - `guid` bigint(20) unsigned NOT NULL, - `talentId` mediumint(8) unsigned NOT NULL, - `talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`guid`,`talentId`,`talentGroup`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/sql/updates/characters/master/2018_04_28_00_characters.sql b/sql/updates/characters/master/2018_04_28_00_characters.sql deleted file mode 100644 index a6a61dd3ab2..00000000000 --- a/sql/updates/characters/master/2018_04_28_00_characters.sql +++ /dev/null @@ -1,803 +0,0 @@ --- Setup temporary table with list of fixed-scaling item bonuses, and their scaling limits -DROP TABLE IF EXISTS `tmp_scale_data`; -CREATE TEMPORARY TABLE `tmp_scale_data` ( - `BonusListID` int(10) unsigned NOT NULL, - `MinLevel` int(10) unsigned NOT NULL, - `MaxLevel` int(10) unsigned NOT NULL, - PRIMARY KEY (`BonusListID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - -INSERT INTO `tmp_scale_data` (`BonusListID`, `MinLevel`, `MaxLevel`) VALUES -(615,1,110), -(645,1,110), -(656,1,110), -(664,98,110), -(692,1,110), -(767,98,110), -(768,98,110), -(1723,0,110), -(1724,0,110), -(1725,0,110), -(1729,0,110), -(1730,0,110), -(1731,0,110), -(1732,98,110), -(1733,98,110), -(1734,0,110), -(1735,0,110), -(1736,0,110), -(1737,0,110), -(1738,0,110), -(1739,0,110), -(1740,0,110), -(1741,0,110), -(1788,0,110), -(1789,0,110), -(1790,0,110), -(1791,0,110), -(1792,0,110), -(1793,0,110), -(1794,98,110), -(1795,0,110), -(1796,0,110), -(1812,98,110), -(3342,98,110), -(3380,0,110), -(3387,1,100), -(3388,1,100), -(3389,1,100), -(3398,0,110), -(3448,0,110), -(3502,1,110), -(3578,1,110), -(3585,1,110), -(3589,1,110), -(3590,1,110), -(3596,1,110), -(3621,1,110), -(3622,1,110), -(3623,1,110), -(3624,1,110), -(3625,1,110), -(3626,1,110), -(3627,1,110), -(3628,1,110), -(3631,0,120), -(3633,10,60), -(3634,10,60), -(3635,10,60), -(3636,10,60), -(3637,10,60), -(3638,10,60), -(3639,10,60), -(3640,10,60), -(3641,15,60), -(3642,15,60), -(3643,15,60), -(3644,20,60), -(3645,20,60), -(3646,20,60), -(3647,25,60), -(3648,25,60), -(3649,25,60), -(3650,30,60), -(3651,30,60), -(3652,40,60), -(3653,35,60), -(3654,35,60), -(3655,30,60), -(3656,35,60), -(3657,40,60), -(3658,40,60), -(3659,40,60), -(3660,40,60), -(3661,40,60), -(3662,40,60), -(3663,40,60), -(3664,40,60), -(3665,40,60), -(3666,40,60), -(3667,40,60), -(3668,5,20), -(3669,4,20), -(3670,5,20), -(3671,4,20), -(3672,5,20), -(3673,4,20), -(3674,5,20), -(3675,5,20), -(3676,5,20), -(3677,5,20), -(3678,5,20), -(3679,58,80), -(3680,60,80), -(3681,62,80), -(3682,65,80), -(3683,67,80), -(3684,67,80), -(3685,58,80), -(3686,58,80), -(3687,61,80), -(3688,63,80), -(3689,64,80), -(3690,66,80), -(3691,67,80), -(3692,67,80), -(3693,80,90), -(3694,80,90), -(3695,82,90), -(3696,83,90), -(3697,84,90), -(3698,80,90), -(3699,81,90), -(3700,81,90), -(3701,82,90), -(3702,83,90), -(3703,84,90), -(3704,85,90), -(3705,90,100), -(3706,90,100), -(3707,94,100), -(3708,92,100), -(3709,96,100), -(3710,98,100), -(3711,90,100), -(3712,10,60), -(3713,10,60), -(3714,10,60), -(3715,10,60), -(3716,10,60), -(3717,10,60), -(3718,10,60), -(3719,10,60), -(3720,15,60), -(3721,15,60), -(3722,15,60), -(3723,20,60), -(3724,20,60), -(3725,20,60), -(3726,25,60), -(3727,25,60), -(3728,25,60), -(3729,30,60), -(3730,30,60), -(3731,40,60), -(3732,35,60), -(3733,35,60), -(3734,30,60), -(3735,35,60), -(3736,40,60), -(3737,40,60), -(3738,40,60), -(3739,40,60), -(3740,40,60), -(3741,40,60), -(3742,40,60), -(3743,40,60), -(3744,40,60), -(3745,40,60), -(3746,40,60), -(3747,5,20), -(3748,4,20), -(3749,5,20), -(3750,4,20), -(3751,5,20), -(3752,4,20), -(3753,5,20), -(3754,5,20), -(3755,5,20), -(3756,5,20), -(3757,5,20), -(3758,58,80), -(3759,60,80), -(3760,62,80), -(3761,65,80), -(3762,67,80), -(3763,67,80), -(3764,58,80), -(3765,58,80), -(3766,61,80), -(3767,63,80), -(3768,64,80), -(3769,66,80), -(3770,67,80), -(3771,67,80), -(3772,80,90), -(3773,80,90), -(3774,82,90), -(3775,83,90), -(3776,84,90), -(3777,85,90), -(3778,81,90), -(3779,81,90), -(3780,82,90), -(3781,83,90), -(3782,84,90), -(3783,85,90), -(3784,90,100), -(3785,90,100), -(3786,94,100), -(3787,92,100), -(3788,96,100), -(3789,98,100), -(3790,90,100), -(3791,64,80), -(3792,64,80), -(3793,5,20), -(3794,4,20), -(3795,5,20), -(3796,4,20), -(3797,5,20), -(3798,4,20), -(3799,0,120), -(3800,5,20), -(3801,5,20), -(3802,5,20), -(3803,5,20), -(3804,67,80), -(3805,84,90), -(3806,83,90), -(3807,0,120), -(3808,0,120), -(3809,0,120), -(3810,0,120), -(3811,0,120), -(3812,0,120), -(3813,0,120), -(3814,0,120), -(3815,0,120), -(3816,0,120), -(3817,0,120), -(3818,0,120), -(3819,0,120), -(3820,85,90), -(3821,85,90), -(3823,40,60), -(3828,0,120), -(3829,0,120), -(3830,0,120), -(3831,0,120), -(3832,0,120), -(3833,0,120), -(3834,0,120), -(3835,0,120), -(3836,0,120), -(3837,0,120), -(3838,0,120), -(3839,0,120), -(3840,0,120), -(3841,0,120), -(3842,0,120), -(3843,0,120), -(3844,0,120), -(3845,0,120), -(3846,0,120), -(3847,0,120), -(3848,0,120), -(3849,0,120), -(3850,0,120), -(3851,0,120), -(3852,0,120), -(3853,0,120), -(3854,0,120), -(3855,0,120), -(3856,0,120), -(3857,0,120), -(3858,0,120), -(3859,0,120), -(3860,0,120), -(3861,0,120), -(3862,0,120), -(3863,0,120), -(3864,0,120), -(3865,0,120), -(3866,0,120), -(3867,0,120), -(3868,0,120), -(3869,0,120), -(3870,0,120), -(3871,0,120), -(3872,0,120), -(3873,0,120), -(3874,0,120), -(3875,0,120), -(3876,0,120), -(3877,0,120), -(3878,0,120), -(3879,0,120), -(3880,0,120), -(3881,0,120), -(3882,0,120), -(3883,0,120), -(3884,0,120), -(3885,0,120), -(3886,0,120), -(3887,0,120), -(3888,0,120), -(3889,0,120), -(3890,0,120), -(3891,0,120), -(3892,0,120), -(3893,0,120), -(3894,0,120), -(3895,0,120), -(3896,0,120), -(3897,0,120), -(3898,0,120), -(3899,0,120), -(3900,0,120), -(3901,0,120), -(3902,0,120), -(3903,0,120), -(3904,0,120), -(3905,0,120), -(3906,0,120), -(3907,0,120), -(3908,0,120), -(3909,0,120), -(3910,0,120), -(3911,0,120), -(3912,0,120), -(3913,0,120), -(3914,0,120), -(3915,0,120), -(3916,0,120), -(3917,0,120), -(3918,0,120), -(3919,0,120), -(3920,0,120), -(3921,0,120), -(3922,0,120), -(3923,0,120), -(3924,0,120), -(3925,0,120), -(3926,0,120), -(3927,0,120), -(3928,0,120), -(3929,0,120), -(3930,0,120), -(3931,0,120), -(3932,0,120), -(3933,0,120), -(3934,0,120), -(3935,0,120), -(3936,0,120), -(3937,0,120), -(3938,0,120), -(3939,0,120), -(3940,0,120), -(3941,0,120), -(3942,0,120), -(3943,0,120), -(3944,0,120), -(3945,0,120), -(3946,0,120), -(3947,0,120), -(3948,0,120), -(3949,0,120), -(3950,0,120), -(3951,0,120), -(3952,0,120), -(3953,0,120), -(3954,0,120), -(3955,0,120), -(3956,0,120), -(3957,0,120), -(3958,0,120), -(3959,0,120), -(3960,0,120), -(3961,0,120), -(3962,0,120), -(3963,0,120), -(3964,0,120), -(3965,0,120), -(3966,0,120), -(3967,0,120), -(3968,0,120), -(3969,0,120), -(3970,0,120), -(3971,0,120), -(3972,0,120), -(3973,0,120), -(3974,0,120), -(3975,0,120), -(3976,0,120), -(3977,0,120), -(3978,0,120), -(3979,0,120), -(3980,0,120), -(3981,0,120), -(3982,0,120), -(3998,20,60), -(3999,47,60), -(4000,47,60), -(4001,47,60), -(4002,20,60), -(4003,20,60), -(4004,15,60), -(4005,15,60), -(4006,15,60), -(4007,36,60), -(4008,36,60), -(4009,36,60), -(4010,42,60), -(4011,42,60), -(4012,42,60), -(4013,39,60), -(4014,39,60), -(4015,39,60), -(4016,24,60), -(4017,24,60), -(4018,24,60), -(4019,55,60), -(4020,55,60), -(4021,55,60), -(4022,34,60), -(4023,34,60), -(4024,34,60), -(4025,30,60), -(4026,30,60), -(4027,30,60), -(4028,32,60), -(4029,32,60), -(4030,32,60), -(4031,15,60), -(4032,15,60), -(4033,15,60), -(4034,35,60), -(4035,35,60), -(4036,35,60), -(4037,30,60), -(4038,30,60), -(4039,30,60), -(4040,26,60), -(4041,26,60), -(4042,28,60), -(4043,28,60), -(4044,28,60), -(4045,38,60), -(4046,38,60), -(4047,38,60), -(4048,17,60), -(4049,17,60), -(4050,17,60), -(4051,46,60), -(4052,46,60), -(4053,46,60), -(4054,26,60), -(4055,42,60), -(4056,42,60), -(4057,42,60), -(4058,20,60), -(4059,20,60), -(4060,20,60), -(4061,50,60), -(4062,50,60), -(4063,50,60), -(4064,40,60), -(4065,40,60), -(4066,40,60), -(4067,17,60), -(4068,17,60), -(4069,17,60), -(4070,44,60), -(4071,44,60), -(4072,44,60), -(4074,63,80), -(4075,63,80), -(4076,58,80), -(4077,58,80), -(4079,68,80), -(4080,68,80), -(4082,62,80), -(4083,62,80), -(4085,64,80), -(4086,64,80), -(4088,65,80), -(4089,65,80), -(4090,67,80), -(4091,67,80), -(4092,68,80), -(4093,68,80), -(4094,68,80), -(4095,68,80), -(4096,59,80), -(4097,59,80), -(4098,67,80), -(4099,67,80), -(4100,67,80), -(4101,67,80), -(4102,67,80), -(4103,67,80), -(4104,60,80), -(4105,60,80), -(4106,67,80), -(4107,67,80), -(4108,61,80), -(4109,61,80), -(4110,61,80), -(4111,61,80), -(4112,60,80), -(4113,60,80), -(4114,62,80), -(4115,62,80), -(4116,64,80), -(4117,64,80), -(4118,67,80), -(4119,67,80), -(4120,70,80), -(4121,70,80), -(4122,65,80), -(4123,65,80), -(4124,70,80), -(4125,70,80), -(4126,68,80), -(4127,68,80), -(4128,70,80), -(4129,70,80), -(4130,59,80), -(4131,59,80), -(4132,67,80), -(4133,67,80), -(4134,63,80), -(4135,63,80), -(4136,68,80), -(4137,68,80), -(4138,58,80), -(4139,58,80), -(4140,67,80), -(4141,67,80), -(4142,80,90), -(4143,80,90), -(4144,0,120), -(4145,0,120), -(4146,84,90), -(4147,84,90), -(4148,84,90), -(4149,84,90), -(4150,0,120), -(4151,0,120), -(4152,84,90), -(4153,84,90), -(4154,81,90), -(4155,81,90), -(4156,81,90), -(4157,81,90), -(4158,80,90), -(4159,80,90), -(4160,0,120), -(4161,0,120), -(4162,80,90), -(4163,80,90), -(4164,80,90), -(4165,80,90), -(4166,83,90), -(4167,83,90), -(4168,82,90), -(4169,82,90), -(4170,82,90), -(4171,82,90), -(4172,83,90), -(4173,83,90), -(4174,80,90), -(4175,80,90), -(4176,80,90), -(4177,80,90), -(4178,94,100), -(4179,94,100), -(4180,90,100), -(4181,90,100), -(4182,100,100), -(4183,100,100), -(4184,92,100), -(4185,92,100), -(4186,100,100), -(4187,100,100), -(4188,97,100), -(4189,97,100), -(4190,100,100), -(4191,100,100), -(4192,100,100), -(4193,100,100), -(4194,0,120), -(4195,0,120), -(4196,0,120), -(4197,0,120), -(4198,0,120), -(4199,0,120), -(4200,0,120), -(4201,0,120), -(4202,0,120), -(4204,0,120), -(4205,82,90), -(4206,84,90), -(4207,83,90), -(4208,67,80), -(4209,81,90), -(4210,80,90), -(4211,85,90), -(4212,85,90), -(4214,0,120), -(4215,0,120), -(4216,0,120), -(4217,0,120), -(4218,0,120), -(4219,0,120), -(4220,0,120), -(4221,0,120), -(4222,0,120), -(4223,0,120), -(4224,0,120), -(4225,0,120), -(4226,0,120), -(4227,0,120), -(4228,0,120), -(4229,0,120), -(4233,80,90), -(4234,80,90), -(4235,80,90), -(4236,0,120), -(4237,0,120), -(4238,90,100), -(4239,80,90), -(4240,0,120), -(4241,80,90), -(4242,58,80), -(4243,58,80), -(4244,1,60), -(4246,0,120), -(4247,0,120), -(4248,0,120), -(4249,0,120), -(4250,0,120), -(4251,0,120), -(4252,0,120), -(4253,0,120), -(4254,0,120), -(4255,0,120), -(4256,0,120), -(4257,0,120), -(4258,0,120), -(4259,0,120), -(4260,0,120), -(4261,0,120), -(4262,0,120), -(4263,0,120), -(4264,0,120), -(4265,0,120), -(4266,0,120), -(4267,0,120), -(4268,0,120), -(4269,0,120), -(4270,0,120), -(4271,0,120), -(4272,0,120), -(4273,0,120), -(4274,0,120), -(4275,0,120), -(4276,0,120), -(4277,0,120), -(4278,0,120), -(4279,0,120), -(4280,0,120), -(4281,0,120), -(4282,0,120), -(4283,0,120), -(4284,0,120), -(4285,0,120), -(4286,0,120), -(4287,0,120), -(4288,0,120), -(4289,0,120), -(4290,0,120), -(4291,0,120), -(4292,0,120), -(4293,0,120), -(4294,0,120), -(4295,0,120), -(4296,0,120), -(4297,0,120), -(4298,0,120), -(4299,0,120), -(4300,0,120), -(4301,0,120), -(4302,0,120), -(4303,0,120), -(4304,0,120), -(4305,0,120), -(4306,0,120), -(4307,0,120), -(4308,0,120), -(4309,0,120), -(4310,0,120), -(4311,0,120), -(4312,0,120), -(4313,0,120), -(4314,0,120), -(4315,0,120), -(4316,0,120), -(4317,0,120), -(4318,90,100), -(4319,90,100), -(4320,90,100), -(4321,92,100), -(4322,92,100), -(4323,92,100), -(4324,98,100), -(4325,98,100), -(4326,98,100), -(4327,90,100), -(4328,90,100), -(4329,90,100), -(4330,96,100), -(4331,96,100), -(4332,96,100), -(4333,94,100), -(4334,94,100), -(4335,94,100), -(4336,90,100), -(4337,90,100), -(4338,90,100), -(4493,0,120), -(4503,0,120), -(4738,0,120), -(4739,0,120), -(4740,0,120), -(4741,94,100), -(4742,90,100), -(4743,100,100), -(4744,92,100), -(4745,100,100), -(4746,90,100), -(4747,97,100), -(4748,100,100), -(4749,100,100), -(4750,0,120), -(4751,0,120), -(4752,0,120), -(4753,0,120), -(4754,0,120), -(4755,0,120), -(4756,0,120), -(4757,0,120), -(4758,0,120), -(4759,0,120), -(4760,0,120), -(4761,0,120), -(4762,0,120), -(4763,0,120), -(4764,0,120), -(4765,0,120), -(4766,0,120), -(4767,0,120), -(4768,0,120), -(4769,0,120), -(4770,0,120), -(4771,0,120), -(4772,0,120), -(4773,0,120), -(4774,0,120); - --- Set fixedScalingLevel to current character level, constrained by DB2 limits in tmp_scale_data --- If item has no owner, it defaults character level to 1 --- Items that already have scale data are not modified - -UPDATE character_void_storage vs - INNER JOIN tmp_scale_data s ON FIND_IN_SET(s.BonusListID, REPLACE(vs.bonusListIDs, ' ', ',')) - LEFT JOIN characters c ON c.guid = vs.playerGuid - SET fixedScalingLevel = LEAST(GREATEST(IFNULL(c.level, 1), s.MinLevel), s.MaxLevel) - WHERE fixedScalingLevel = 0; - -UPDATE item_instance_modifiers SET fixedScalingLevel = (SELECT LEAST(GREATEST(IFNULL(c.level, 1), s.MinLevel), s.MaxLevel) - FROM tmp_scale_data s - INNER JOIN item_instance i ON FIND_IN_SET(s.BonusListID, REPLACE(i.bonusListIDs, ' ', ',')) - LEFT JOIN characters c ON c.guid = i.owner_guid - WHERE i.guid = itemGuid) WHERE fixedScalingLevel = 0; - -INSERT IGNORE INTO item_instance_modifiers (itemGuid, fixedScalingLevel) - SELECT i.guid, LEAST(GREATEST(IFNULL(c.level, 1), s.MinLevel), s.MaxLevel) - FROM tmp_scale_data s - INNER JOIN item_instance i ON FIND_IN_SET(s.BonusListID, REPLACE(i.bonusListIDs, ' ', ',')) - LEFT JOIN characters c ON c.guid = i.owner_guid; - -DROP TABLE `tmp_scale_data`; diff --git a/sql/updates/characters/master/2018_07_28_00_characters.sql b/sql/updates/characters/master/2018_07_28_00_characters.sql deleted file mode 100644 index a70985f7627..00000000000 --- a/sql/updates/characters/master/2018_07_28_00_characters.sql +++ /dev/null @@ -1,12 +0,0 @@ -ALTER TABLE `pvpstats_players` - CHANGE `score_killing_blows` `score_killing_blows` int(10) unsigned NOT NULL, - CHANGE `score_deaths` `score_deaths` int(10) unsigned NOT NULL, - CHANGE `score_honorable_kills` `score_honorable_kills` int(10) unsigned NOT NULL, - CHANGE `score_bonus_honor` `score_bonus_honor` int(10) unsigned NOT NULL, - CHANGE `score_damage_done` `score_damage_done` int(10) unsigned NOT NULL, - CHANGE `score_healing_done` `score_healing_done` int(10) unsigned NOT NULL, - CHANGE `attr_1` `attr_1` int(10) unsigned NOT NULL, - CHANGE `attr_2` `attr_2` int(10) unsigned NOT NULL, - CHANGE `attr_3` `attr_3` int(10) unsigned NOT NULL, - CHANGE `attr_4` `attr_4` int(10) unsigned NOT NULL, - CHANGE `attr_5` `attr_5` int(10) unsigned NOT NULL; diff --git a/sql/updates/characters/master/2018_07_31_00_characters.sql b/sql/updates/characters/master/2018_07_31_00_characters.sql deleted file mode 100644 index fed2be26b77..00000000000 --- a/sql/updates/characters/master/2018_07_31_00_characters.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `item_instance_artifact` ADD `artifactTierId` int(10) unsigned NOT NULL DEFAULT '0' AFTER `artifactAppearanceId`; diff --git a/sql/updates/characters/master/2018_12_09_00_characters.sql b/sql/updates/characters/master/2018_12_09_00_characters.sql deleted file mode 100644 index 8a2dc041fe3..00000000000 --- a/sql/updates/characters/master/2018_12_09_00_characters.sql +++ /dev/null @@ -1,8 +0,0 @@ -TRUNCATE `character_pvp_talent`; -ALTER TABLE `character_pvp_talent` - DROP PRIMARY KEY, - CHANGE `talentId` `talentId0` int(10) unsigned NOT NULL AFTER `guid`, - ADD `talentId1` int(10) unsigned NOT NULL AFTER `talentId0`, - ADD `talentId2` int(10) unsigned NOT NULL AFTER `talentId1`, - ADD `talentId3` int(10) unsigned NOT NULL AFTER `talentId2`, - ADD PRIMARY KEY(`guid`,`talentGroup`); diff --git a/sql/updates/characters/master/2018_12_09_01_characters.sql b/sql/updates/characters/master/2018_12_09_01_characters.sql deleted file mode 100644 index 6ccb47f47e3..00000000000 --- a/sql/updates/characters/master/2018_12_09_01_characters.sql +++ /dev/null @@ -1,32 +0,0 @@ -DROP TABLE IF EXISTS `total_honor_at_honor_level`; -CREATE TABLE `total_honor_at_honor_level` ( - `HonorLevel` int(10) UNSIGNED NOT NULL, - `Prestige0` int(10) UNSIGNED NOT NULL, - `Prestige1` int(10) UNSIGNED NOT NULL, - PRIMARY KEY (`HonorLevel`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -INSERT INTO `total_honor_at_honor_level` VALUES -(0,0,0),(1,350,800),(2,700,1600),(3,1050,2400),(4,1400,3200), -(5,1750,4000),(6,2100,4800),(7,2450,5600),(8,2800,6400),(9,3150,7200), -(10,3500,8000),(11,3900,8850),(12,4300,9700),(13,4700,10550),(14,5100,11400), -(15,5500,12250),(16,5900,13100),(17,6300,13950),(18,6700,14800),(19,7100,15650), -(20,7500,16500),(21,7950,17400),(22,8400,18300),(23,8850,19200),(24,9300,20100), -(25,9750,21000),(26,10200,21900),(27,10650,22800),(28,11100,23700),(29,11550,24600), -(30,12000,25500),(31,12500,26450),(32,13000,27400),(33,13500,28350),(34,14000,29300), -(35,14500,30250),(36,15000,31200),(37,15500,32150),(38,16000,33100),(39,16500,34050), -(40,17000,35000),(41,17550,36000),(42,18100,37000),(43,18650,38000),(44,19200,39000), -(45,19750,40000),(46,20300,41000),(47,20850,42000),(48,21400,43000),(49,21950,44000); - --- first compensate for prestige levels above first -UPDATE `characters` SET `honor`=`honor`+44000*(`prestigeLevel`-1) WHERE `prestigeLevel`>0; --- compensate for honor levels in prestige for characters above first prestige -UPDATE `characters` SET `honor`=`honor`+(SELECT th.`Prestige1` FROM `total_honor_at_honor_level` th WHERE th.`HonorLevel`=(`characters`.`honorLevel`-1)) WHERE `prestigeLevel`>0; --- compensate for honor levels in first prestige level -UPDATE `characters` SET `honor`=`honor`+(SELECT th.`Prestige0` FROM `total_honor_at_honor_level` th WHERE th.`HonorLevel`=(`characters`.`honorLevel`-1)) WHERE `prestigeLevel`=0; - --- reset honor levels, will be recalculated from refunded honor at first login (and grant achievements) -UPDATE `characters` SET `honorLevel`=1; - -ALTER TABLE `characters` DROP `prestigeLevel`; -DROP TABLE IF EXISTS `total_honor_at_honor_level`; diff --git a/sql/updates/characters/master/2018_12_09_02_characters.sql b/sql/updates/characters/master/2018_12_09_02_characters.sql deleted file mode 100644 index 6c95b00778d..00000000000 --- a/sql/updates/characters/master/2018_12_09_02_characters.sql +++ /dev/null @@ -1,135 +0,0 @@ --- --- Table structure for table `profession_skill_migration_data` --- -DROP TABLE IF EXISTS `profession_skill_migration_data`; -CREATE TABLE `profession_skill_migration_data` ( - `SkillID` int(10) unsigned, - `ParentSkillLineID` int(10) unsigned, - `MaxValue` int(10) unsigned, - `NewMaxValue` int(10) unsigned, - `SpellID_A` int(10) unsigned, - `SpellID_H` int(10) unsigned, - PRIMARY KEY (`SkillID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --- --- Dumping data for table `profession_skill_migration_data` --- -INSERT INTO `profession_skill_migration_data` VALUES -(2437,164,900,150,264448,265803), -(2454,164,800,100,264446,264446), -(2472,164,700,100,264444,264444), -(2473,164,600,75,264442,264442), -(2474,164,525,75,264440,264440), -(2475,164,450,75,264438,264438), -(2476,164,375,75,264436,264436), -(2477,164,300,300,264434,264434), -(2478,171,900,150,264255,265787), -(2479,171,800,100,264250,264250), -(2480,171,700,100,264247,264247), -(2481,171,600,75,264245,264245), -(2482,171,525,75,264243,264243), -(2483,171,450,75,264220,264220), -(2484,171,375,75,264213,264213), -(2485,171,300,300,264211,264211), -(2486,333,900,150,264473,265805), -(2487,333,800,100,264471,264471), -(2488,333,700,100,264469,264469), -(2489,333,600,75,264467,264467), -(2491,333,525,75,264464,264464), -(2492,333,450,75,264462,264462), -(2493,333,375,75,264460,264460), -(2494,333,300,300,264455,264455), -(2499,202,900,150,264492,265807), -(2500,202,800,100,264490,264490), -(2501,202,700,100,264487,264487), -(2502,202,600,75,264485,264485), -(2503,202,525,75,264483,264483), -(2504,202,450,75,264481,264481), -(2505,202,375,75,264479,264479), -(2506,202,300,300,264475,264475), -(2507,773,900,150,264508,265809), -(2508,773,800,100,264506,264506), -(2509,773,700,100,264504,264504), -(2510,773,600,75,264502,264502), -(2511,773,525,75,264500,264500), -(2512,773,450,75,264498,264498), -(2513,773,375,75,264496,264496), -(2514,773,300,300,264494,264494), -(2517,755,900,150,264548,265811), -(2518,755,800,100,264546,264546), -(2519,755,700,100,264544,264544), -(2520,755,600,75,264542,264542), -(2521,755,525,75,264539,264539), -(2522,755,450,75,264537,264537), -(2523,755,375,75,264534,264534), -(2524,755,300,300,264532,264532), -(2525,165,900,150,264592,265813), -(2526,165,800,100,264590,264590), -(2527,165,700,100,264588,264588), -(2528,165,600,75,264585,264585), -(2529,165,525,75,264583,264583), -(2530,165,450,75,264581,264581), -(2531,165,375,75,264579,264579), -(2532,165,300,300,264577,264577), -(2533,197,900,150,264630,265815), -(2534,197,800,100,264628,264628), -(2535,197,700,100,264626,264626), -(2536,197,600,75,264624,264624), -(2537,197,525,75,264622,264622), -(2538,197,450,75,264620,264620), -(2539,197,375,75,264618,264618), -(2540,197,300,300,264616,264616), -(2541,185,825,150,264646,265817), -(2542,185,750,100,264644,264644), -(2543,185,700,100,264642,264642), -(2544,185,600,75,264640,264640), -(2545,185,525,75,264638,264638), -(2546,185,450,75,264636,264636), -(2547,185,375,75,264634,264634), -(2548,185,300,300,264632,264632), -(2549,182,900,150,265831,265835), -(2550,182,800,100,265834,265834), -(2551,182,700,100,265829,265829), -(2552,182,600,75,265827,265827), -(2553,182,525,75,265825,265825), -(2554,182,450,75,265823,265823), -(2555,182,375,75,265821,265821), -(2556,182,300,300,265819,265819), -(2557,393,900,150,265869,265871), -(2558,393,800,100,265867,265867), -(2559,393,700,100,265865,265865), -(2560,393,600,75,265863,265863), -(2561,393,525,75,265861,265861), -(2562,393,450,75,265859,265859), -(2563,393,375,75,265857,265857), -(2564,393,300,300,265855,265855), -(2565,186,900,150,265851,265853), -(2566,186,800,100,265849,265849), -(2567,186,700,100,265847,265847), -(2568,186,600,75,265845,265845), -(2569,186,525,75,265843,265843), -(2570,186,450,75,265841,265841), -(2571,186,375,75,265839,265839), -(2572,186,300,300,265837,265837), -(2585,356,825,150,271675,271677), -(2586,356,750,100,271672,271672), -(2587,356,700,100,271664,271664), -(2588,356,600,75,271662,271662), -(2589,356,525,75,271660,271660), -(2590,356,450,75,271658,271658), -(2591,356,375,75,271656,271656), -(2592,356,300,300,271616,271616); - -INSERT IGNORE INTO `character_spell` -SELECT cs.`guid`, IF(c.`race` IN (1,3,4,7,11,22,25,29,30,34), psmd.`SpellID_A`, psmd.`SpellID_H`), 1, 0 -FROM `profession_skill_migration_data` psmd -INNER JOIN `character_skills` cs ON psmd.`ParentSkillLineID` = cs.`skill` AND psmd.`MaxValue` <= cs.`max` -INNER JOIN `characters` c ON cs.`guid` = c.`guid`; - -INSERT IGNORE INTO `character_skills` -SELECT cs.`guid`, psmd.`SkillID`, CASE WHEN psmd.`MaxValue` < cs.`value` THEN psmd.`NewMaxValue` WHEN psmd.`MaxValue` - cs.`value` < psmd.`NewMaxValue` THEN psmd.`NewMaxValue` + cs.`value` - psmd.`MaxValue` ELSE 1 END, psmd.`NewMaxValue` -FROM `profession_skill_migration_data` psmd -INNER JOIN `character_skills` cs ON psmd.`ParentSkillLineID` = cs.`skill` AND psmd.`MaxValue` <= cs.`max`; - -DROP TABLE IF EXISTS `profession_skill_migration_data`; diff --git a/sql/updates/characters/master/2019_06_08_00_characters.sql b/sql/updates/characters/master/2019_06_08_00_characters.sql deleted file mode 100644 index c7ef28d4e34..00000000000 --- a/sql/updates/characters/master/2019_06_08_00_characters.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `character_void_storage` DROP `suffixFactor`; -ALTER TABLE `item_loot_items` DROP `rnd_suffix`; diff --git a/sql/updates/characters/master/2019_06_08_01_characters.sql b/sql/updates/characters/master/2019_06_08_01_characters.sql deleted file mode 100644 index fec66d5e025..00000000000 --- a/sql/updates/characters/master/2019_06_08_01_characters.sql +++ /dev/null @@ -1,13 +0,0 @@ -UPDATE `character_void_storage` SET `randomProperty`=0 WHERE `randomPropertyType`!=2; -UPDATE `item_instance` SET `randomPropertyId`=0 WHERE `randomPropertyType`!=2; -UPDATE `item_loot_items` SET `rnd_prop`=0 WHERE `rnd_type`!=2; - -ALTER TABLE `character_void_storage` - DROP `randomPropertyType`, - CHANGE `randomProperty` `randomBonusListId` int(10) unsigned NOT NULL DEFAULT '0'; -ALTER TABLE `item_instance` - DROP `randomPropertyType`, - CHANGE `randomPropertyId` `randomBonusListId` int(10) unsigned NOT NULL DEFAULT '0'; -ALTER TABLE `item_loot_items` - DROP `rnd_type`, - CHANGE `rnd_prop` `rnd_bonus` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'random bonus list added when originally rolled'; diff --git a/sql/updates/characters/master/2019_06_25_00_characters.sql b/sql/updates/characters/master/2019_06_25_00_characters.sql deleted file mode 100644 index e0386fb11a1..00000000000 --- a/sql/updates/characters/master/2019_06_25_00_characters.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `guild` MODIFY COLUMN `motd` varchar(256) NOT NULL DEFAULT '' AFTER `info`; diff --git a/sql/updates/characters/master/2018_02_19_00_characters.sql b/sql/updates/characters/master/2019_07_15_00_characters.sql index b5811a110df..4116c0691cb 100644 --- a/sql/updates/characters/master/2018_02_19_00_characters.sql +++ b/sql/updates/characters/master/2019_07_15_00_characters.sql @@ -1,2 +1,2 @@ --- TDB 735.00 characters +-- TDB 820.19071 characters UPDATE `updates` SET `state`='ARCHIVED'; |
