DB/Misc: 3.3.5a fixes

This commit is contained in:
Aokromes
2016-05-26 20:02:04 +02:00
parent 3eb9cd9104
commit 6512f3d5fa
10 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
-- Localized name for gameobject entry 1638 and 2035 (English name "Deathknell")
DELETE FROM `gameobject_template_locale` WHERE `entry` IN (1638,2035);
INSERT INTO `gameobject_template_locale` (`entry`,`locale`,`name`,`castBarCaption`,`VerifiedBuild`) VALUES
(1638,'deDE','Todesend','',0),
(1638,'esES','Camposanto','',0),
(1638,'esMX','Camposanto','',0),
(1638,'frFR','Le Glas','',0),
(1638,'koKR','죽음의 종소리 마을','',0),
(1638,'ruRU','Похоронный Звон','',0),
(1638,'zhCN','丧钟镇','',0),
(1638,'zhTW','喪鐘鎮','',0),
(2035,'deDE','Todesend','',0),
(2035,'esES','Camposanto','',0),
(2035,'esMX','Camposanto','',0),
(2035,'frFR','Le Glas','',0),
(2035,'koKR','죽음의 종소리 마을','',0),
(2035,'ruRU','Похоронный Звон','',0),
(2035,'zhCN','丧钟镇','',0),
(2035,'zhTW','喪鐘鎮','',0);

View File

@@ -0,0 +1,8 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=18794 AND `id`=34;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(18794,0,34,0,1,0,100,0,0,0,0,0,11,32958,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cabal Ritualist - Out of Combat - Cast 'Crystal Channel'");
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=0 AND `SourceEntry`=32958;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(13,1,32958,0,0,31,0,3,18793,0,0,"","Crystal Channel Effect 0 - Cast only on Invisible Target 18793.");

View File

@@ -0,0 +1,2 @@
-- Fix bounding radius for 'Ice Tomb'
UPDATE `creature_model_info` SET `BoundingRadius`=7.5, `CombatReach`=6 WHERE `DisplayID`=30890;

View File

@@ -0,0 +1,21 @@
-- Pathing for Clam Master K Entry: 25800 'TDB FORMAT'
SET @NPC := 114803;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2342.325,`position_y`=5050.552,`position_z`=-21.01424 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
(@PATH,1,2342.325,5050.552,-21.01424,0,0,0,0,100,0), -- 06:32:15
(@PATH,2,2338.003,5044.308,-22.64446,0,0,0,0,100,0), -- 06:32:22
(@PATH,3,2336.804,5029.821,-26.94789,0,0,0,0,100,0), -- 06:32:27
(@PATH,4,2341.884,5018.865,-30.1459,0,0,0,0,100,0), -- 06:32:33
(@PATH,5,2348.352,5002.221,-30.94783,0,0,0,0,100,0), -- 06:32:40
(@PATH,6,2349.925,4993.154,-32.16956,0,0,0,0,100,0), -- 06:32:45
(@PATH,7,2354.025,4983.295,-33.4639,0,0,0,0,100,0), -- 06:32:50
(@PATH,8,2357.896,4977.057,-33.84595,0,0,0,0,100,0), -- 06:32:53
(@PATH,9,2353.561,4983.914,-33.77616,0,0,0,0,100,0), -- 06:33:00
(@PATH,10,2349.806,4994.94,-31.05927,0,0,0,0,100,0), -- 06:33:04
(@PATH,11,2346.473,5009.516,-31.52969,0,0,0,0,100,0), -- 06:33:08
(@PATH,12,2338.316,5025.714,-28.18582,0,0,0,0,100,0), -- 06:33:13
(@PATH,13,2334.683,5038.239,-23.58451,0,0,0,0,100,0); -- 06:33:20

View File

@@ -0,0 +1,27 @@
-- Pathing for Houndmaster Grebmar Entry: 9319 'TDB FORMAT'
SET @NPC := 46284;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=594.4585,`position_y`=-178.3237,`position_z`=-84.23994 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
(@PATH,1,594.4585,-178.3237,-84.23994,0,0,0,0,100,0),
(@PATH,2,598.2085,-180.3237,-84.23994,0,0,0,0,100,0),
(@PATH,3,601.2085,-182.3237,-84.23994,0,0,0,0,100,0),
(@PATH,4,605.1209,-184.6363,-84.23941,0,0,0,0,100,0),
(@PATH,5,608.8709,-188.1363,-84.23941,0,0,0,0,100,0),
(@PATH,6,612.06,-191.0042,-84.23634,0,0,0,0,100,0),
(@PATH,7,611.81,-184.0042,-84.23634,0,0,0,0,100,0),
(@PATH,8,611.5181,-178.7817,-84.23982,0,0,0,0,100,0),
(@PATH,9,606.7681,-173.7817,-84.23982,0,0,0,0,100,0),
(@PATH,10,601.315,-167.8244,-84.23912,0,0,0,0,100,0),
(@PATH,11,594.565,-168.8244,-84.23912,0,0,0,0,100,0),
(@PATH,12,585.8881,-169.7204,-84.24162,0,0,0,0,100,0),
(@PATH,13,582.8881,-176.2204,-84.24162,0,0,0,0,100,0),
(@PATH,14,579.5485,-182.8368,-84.24379,0,0,0,0,100,0),
(@PATH,15,583.2985,-189.3368,-84.24379,0,0,0,0,100,0),
(@PATH,16,586.8497,-196.4224,-84.24238,0,0,0,0,100,0),
(@PATH,17,587.5997,-187.1724,-84.24238,0,0,0,0,100,0),
(@PATH,18,591.6155,-181.6407,-84.24092,0,0,0,0,100,0),
(@PATH,19,594.4585,-178.3237,-84.23994,0,0,0,0,100,0);

View File

@@ -0,0 +1,3 @@
-- DB/Creature: Add flag guard Deathguard Elite
-- creature is a guard (Will ignore feign death and vanish)
UPDATE `creature_template` SET `flags_extra`=32768 WHERE `entry`=7980;

View File

@@ -0,0 +1,5 @@
-- Anvilrage Overseer SAI (6.x Only)
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=8889;
DELETE FROM `smart_scripts` WHERE `entryorguid`=8889 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(8889, 0, 0, 0, 0, 0, 100, 2, 4000, 6000, 7000, 9000, 11, 87081, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Anvilrage Overseer - In Combat - Cast \'Strike\' (Normal Dungeon)');

View File

@@ -0,0 +1,5 @@
-- DB/Creature: Add missing Ornery Plainstrider SAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=3245;
DELETE FROM `smart_scripts` WHERE `entryorguid`=3245 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(3245, 0, 0, 0, 2, 0, 100, 1, 0, 40, 0, 0, 11, 3019, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Ornery Plainstrider - Between 0-40% Health - Cast \'Frenzy\' (No Repeat)');

View File

@@ -0,0 +1 @@
UPDATE `quest_offer_reward` SET `RewardText`= "I can't believe it! It was the gnome all along... I should have known!" WHERE `id` = 9531;

View File

@@ -0,0 +1,14 @@
-- Mebok Mizzyrix, NPC entry 3446
SET @ENTRY := 3446;
DELETE FROM `creature_text` WHERE `entry`= @ENTRY;
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(@ENTRY,0,0,"Now let's try it...", 12,0,100, 7,0,0,2078,0,'Mebok Mizzyrix on Quest 865 rewarded'),
(@ENTRY,1,0,"Ugh! That's terrible!",12,0,100,33,0,0,2079,0,'Mebok Mizzyrix on Quest 865 rewarded');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`= 0 AND `entryorguid`= @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,1,20,0,100,0,865,0,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Mebok Mizzyrix - on Quest 865 Rewarded - Say Line 0'),
(@ENTRY,0,1,0,61,0,100,0, 0,0,0,0,1,1,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Mebok Mizzyrix - on Quest 865 Rewarded - Say Line 1');