Skip to content

Commit 849a176

Browse files
author
Github Actions
committed
Merge 3.3.5 to 3.3.5-base_patch
2 parents 35c045f + afd6900 commit 849a176

37 files changed

+2083
-1879
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
-- Column of Fire
2+
UPDATE `creature_template` SET `minlevel` = 70, `maxlevel` = 70, `unit_flags` = 33587200, `AIName` = 'SmartAI' WHERE `entry` = 24187;
3+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 24187 AND `source_type` = 0;
4+
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
5+
(24187,0,0,0,37,0,100,0,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Column of Fire - On AI Initialize - Set Reactstate Passive"),
6+
(24187,0,1,0,11,0,100,0,0,0,0,0,0,11,43218,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Column of Fire - On Spawn - Cast 'Pillar of Fire'"),
7+
(24187,0,2,0,11,0,100,0,0,0,0,0,0,11,40031,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Column of Fire - On Spawn - Cast 'Birth - No Visual (Instant Spawn)'");
8+
9+
-- Spirits
10+
UPDATE `creature_template_addon` SET `auras` = '42466' WHERE `entry` IN (23877,23878,23879,23880);
11+
UPDATE `creature_template` SET `ScriptName` = 'npc_zuljin_spirit' WHERE `entry` IN (23877,23878,23879,23880);
12+
13+
DELETE FROM `creature` WHERE `guid` IN (142227,142228,142229,142230) AND `id` IN (23877,23878,23879,23880);
14+
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
15+
(142227,23877,568,0,0,1,1,0,0,149.657440185546875,705.75,45.19477462768554687,3.106686115264892578,300,0,0,0,0,0,0,0,0,'',NULL,12340),
16+
(142228,23878,568,0,0,1,1,0,0,134.599822998046875,724.3408203125,45.19470596313476562,4.066617012023925781,300,0,0,0,0,0,0,0,0,'',NULL,12340),
17+
(142229,23879,568,0,0,1,1,0,0,91.13303375244140625,705.7529296875,45.19470977783203125,0.01745329238474369,300,0,0,0,0,0,0,0,0,'',NULL,12340),
18+
(142230,23880,568,0,0,1,1,0,0,105.5264663696289062,724.92620849609375,45.19470596313476562,5.358160972595214843,300,0,0,0,0,0,0,0,0,'',NULL,12340);
19+
20+
DELETE FROM `creature_text` WHERE `CreatureID` = 23863 AND `GroupID` > 9;
21+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
22+
(23863,10,0,"%s absorbs the essence of the bear spirit!",16,0,100,0,0,0,22410,0,"Zul'jin EMOTE_BEAR_SPIRIT"),
23+
(23863,11,0,"%s absorbs the essence of the eagle spirit!",16,0,100,0,0,0,22432,0,"Zul'jin EMOTE_EAGLE_SPIRIT"),
24+
(23863,12,0,"%s absorbs the essence of the lynx spirit!",16,0,100,0,0,0,22433,0,"Zul'jin EMOTE_LYNX_SPIRIT"),
25+
(23863,13,0,"%s absorbs the essence of the dragonhawk spirit!",16,0,100,0,0,0,22435,0,"Zul'jin EMOTE_DRAGONHAWK_SPIRIT");
26+
27+
DELETE FROM `creature_text` WHERE `CreatureID` IN (23877,23878,23879,23880);
28+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
29+
(23877,0,0,"%s shimmers and begins to fade away...",16,0,100,0,0,0,23604,0,"Amani Lynx Spirit"),
30+
(23878,0,0,"%s shimmers and begins to fade away...",16,0,100,0,0,0,23604,0,"Amani Bear Spirit"),
31+
(23879,0,0,"%s shimmers and begins to fade away...",16,0,100,0,0,0,23604,0,"Amani Dragonhawk Spirit"),
32+
(23880,0,0,"%s shimmers and begins to fade away...",16,0,100,0,0,0,23604,0,"Amani Eagle Spirit");
33+
34+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (42542,42567);
35+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
36+
(13,1,42542,0,0,31,0,3,23863,0,0,0,0,"","Group 0: Spell 'Cosmetic - Zul'Aman Spirit Drain' (Effect 0) targets creature 'Zul'jin'"),
37+
(13,1,42567,0,0,31,0,3,23877,0,0,0,0,"","Group 0: Spell 'Cosmetic - Incinerate Blue' (Effect 0) targets creature 'Amani Lynx Spirit'"),
38+
(13,1,42567,0,1,31,0,3,23878,0,0,0,0,"","Group 1: Spell 'Cosmetic - Incinerate Blue' (Effect 0) targets creature 'Amani Bear Spirit'"),
39+
(13,1,42567,0,2,31,0,3,23879,0,0,0,0,"","Group 2: Spell 'Cosmetic - Incinerate Blue' (Effect 0) targets creature 'Amani Dragonhawk Spirit'"),
40+
(13,1,42567,0,3,31,0,3,23880,0,0,0,0,"","Group 3: Spell 'Cosmetic - Incinerate Blue' (Effect 0) targets creature 'Amani Eagle Spirit'");
41+
42+
DELETE FROM `spell_script_names` WHERE `spell_id` = 42520 AND `ScriptName` = 'spell_gen_feign_death_all_flags';
43+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
44+
(42520, 'spell_gen_feign_death_all_flags');
45+
46+
-- Spell scripts
47+
DELETE FROM `spell_script_names` WHERE `ScriptName` IN (
48+
'spell_zuljin_zap',
49+
'spell_zuljin_claw_rage',
50+
'spell_zuljin_claw_rage_periodic',
51+
'spell_zuljin_lynx_rush');
52+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
53+
(42577, 'spell_zuljin_zap'),
54+
(42583, 'spell_zuljin_claw_rage'),
55+
(43149, 'spell_zuljin_claw_rage_periodic'),
56+
(43152, 'spell_zuljin_lynx_rush');
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
-- Dathrohan
2+
DELETE FROM `creature_text` WHERE `CreatureID` IN (10812,10813);
3+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
4+
(10812,0,0,"Today you have unmade what took me years to create! For this you shall all die by my hand!",14,0,100,0,0,0,6441,0,"Grand Crusader Dathrohan SAY_AGGRO"),
5+
(10813,0,0,"You fools think you can defeat me so easily? Face the true might of the Nathrezim!",14,0,100,0,0,0,6447,0,"Balnazzar SAY_TRANSFORM"),
6+
(10813,1,0,"Damn you mortals! All my plans of revenge, all my hate...I will be avenged...",12,0,100,0,0,0,6442,0,"Balnazzar SAY_DEATH");
7+
8+
DELETE FROM `creature_summon_groups` WHERE `summonerId` = 10813 AND `summonerType` = 0;
9+
INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`,`Comment`) VALUES
10+
(10813,0,0,10391,3460.35595703125,-3070.571533203125,135.086151123046875,0.331612557172775268,8,0,"Balnazzar - Group 0 - Skeletal Berserker"),
11+
(10813,0,0,10391,3465.2890625,-3069.987060546875,135.085845947265625,5.480333805084228515,8,0,"Balnazzar - Group 0 - Skeletal Berserker"),
12+
(10813,0,0,10391,3463.61572265625,-3074.91162109375,135.085845947265625,5.009094715118408203,8,0,"Balnazzar - Group 0 - Skeletal Berserker"),
13+
(10813,0,0,10390,3460.01220703125,-3076.04052734375,135.0858306884765625,1.186823844909667968,8,0,"Balnazzar - Group 0 - Skeletal Guardian"),
14+
(10813,0,0,10390,3467.909423828125,-3076.40087890625,135.085662841796875,3.769911050796508789,8,0,"Balnazzar - Group 0 - Skeletal Guardian"),
15+
(10813,0,0,10391,3509.2685546875,-3066.473876953125,135.08038330078125,4.817108631134033203,8,0,"Balnazzar - Group 0 - Skeletal Berserker"),
16+
(10813,0,0,10391,3510.966064453125,-3069.011474609375,135.08038330078125,3.490658521652221679,8,0,"Balnazzar - Group 0 - Skeletal Berserker"),
17+
(10813,0,0,10391,3516.04248046875,-3066.873046875,135.08038330078125,3.996803998947143554,8,0,"Balnazzar - Group 0 - Skeletal Berserker"),
18+
(10813,0,0,10390,3513.560791015625,-3063.026611328125,135.08038330078125,2.356194496154785156,8,0,"Balnazzar - Group 0 - Skeletal Guardian"),
19+
(10813,0,0,10390,3518.825439453125,-3060.92578125,135.08038330078125,3.944444179534912109,8,0,"Balnazzar - Group 0 - Skeletal Guardian");
20+
21+
UPDATE `creature_template` SET `unit_class` = 2 WHERE `entry` = 10813;
22+
23+
-- Postmaster Malown
24+
DELETE FROM `creature_text` WHERE `CreatureID` = 11143;
25+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
26+
(11143,0,0,"Prepare to be Malowned!",12,0,100,0,0,0,6504,0,"Postmaster Malown SAY_AGGRO"),
27+
(11143,1,0,"You've been MALOWNED!",12,0,100,0,0,0,6530,0,"Postmaster Malown SAY_SLAY");
28+
29+
-- Ramstein the Gorger
30+
DELETE FROM `creature_summon_groups` WHERE `summonerId` = 10439 AND `summonerType` = 0;
31+
INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`,`Comment`) VALUES
32+
(10439,0,0,10394,4032.51220703125,-3375.840087890625,119.834259033203125,4.694935798645019531,8,0,"Ramstein the Gorger - Group 0 - Black Guard Sentry"),
33+
(10439,0,0,10394,4035.098876953125,-3376.0771484375,119.8341827392578125,4.380776405334472656,8,0,"Ramstein the Gorger - Group 0 - Black Guard Sentry"),
34+
(10439,0,0,10394,4036.68359375,-3377.730224609375,119.834228515625,4.433136463165283203,8,0,"Ramstein the Gorger - Group 0 - Black Guard Sentry"),
35+
(10439,0,0,10394,4029.888916015625,-3377.631103515625,119.834442138671875,4.660028934478759765,8,0,"Ramstein the Gorger - Group 0 - Black Guard Sentry"),
36+
(10439,0,0,10394,4033.248291015625,-3377.55615234375,119.8343276977539062,4.380776405334472656,8,0,"Ramstein the Gorger - Group 0 - Black Guard Sentry"),
37+
38+
(10439,0,1,11030,3931.286376953125,-3381.27099609375,119.763946533203125,4.86946868896484375,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
39+
(10439,0,1,11030,3929.6494140625,-3386.864501953125,119.7804946899414062,5.393067359924316406,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
40+
(10439,0,1,11030,3933.6337890625,-3388.093994140625,119.783355712890625,5.305800914764404296,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
41+
(10439,0,1,11030,3931.753173828125,-3383.35888671875,119.770294189453125,4.886921882629394531,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
42+
(10439,0,1,11030,3930.00830078125,-3383.300048828125,119.7698440551757812,5.131268024444580078,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
43+
(10439,0,1,11030,3929.09326171875,-3388.217041015625,119.783355712890625,5.445427417755126953,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
44+
(10439,0,1,11030,3930.91796875,-3382.405517578125,119.7672958374023437,4.97418832778930664,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
45+
(10439,0,1,11030,3933.635009765625,-3385.118408203125,119.7757720947265625,4.817108631134033203,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
46+
(10439,0,1,11030,3933.1171875,-3381.52880859375,119.7643890380859375,4.642575740814208984,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
47+
(10439,0,1,11030,3930.132080078125,-3384.76220703125,119.7742538452148437,5.201081275939941406,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
48+
(10439,0,1,11030,3930.72314453125,-3387.157470703125,119.7815322875976562,5.305800914764404296,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
49+
(10439,0,1,11030,3932.75439453125,-3383.357666015625,119.7704391479492187,4.729842185974121093,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
50+
(10439,0,1,11030,3930.82470703125,-3383.27490234375,119.7698974609375,5.026548385620117187,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
51+
(10439,0,1,11030,3932.278564453125,-3381.40576171875,119.764312744140625,4.764749050140380859,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
52+
(10439,0,1,11030,3933.45654296875,-3387.333251953125,119.7825088500976562,4.886921882629394531,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
53+
(10439,0,1,11030,3933.560791015625,-3381.559814453125,119.7642974853515625,4.590215682983398437,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
54+
(10439,0,1,11030,3932.07373046875,-3384.960693359375,119.775146484375,5.009094715118408203,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
55+
(10439,0,1,11030,3932.382080078125,-3387.284423828125,119.7821731567382812,5.078907966613769531,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
56+
(10439,0,1,11030,3933.690185546875,-3383.302490234375,119.7698822021484375,4.555309295654296875,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
57+
(10439,0,1,11030,3933.503662109375,-3392.61962890625,119.70001220703125,5.649033069610595703,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
58+
(10439,0,1,11030,3933.49658203125,-3389.21875,119.6870956420898437,5.617430686950683593,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
59+
(10439,0,1,11030,3945.834228515625,-3393.9228515625,119.6992721557617187,6.250233650207519531,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
60+
(10439,0,1,11030,3931.498046875,-3391.091796875,119.6890487670898437,6.044087409973144531,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
61+
(10439,0,1,11030,3959.78857421875,-3396.4404296875,119.6981277465820312,6.078636646270751953,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
62+
(10439,0,1,11030,3958.38818359375,-3396.561279296875,119.6981887817382812,6.175701141357421875,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
63+
(10439,0,1,11030,3931.83349609375,-3390.5341796875,119.6877059936523437,4.882398128509521484,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
64+
(10439,0,1,11030,3957.708251953125,-3396.381591796875,119.6982421875,6.153931140899658203,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
65+
(10439,0,1,11030,3959.053955078125,-3396.48779296875,119.698150634765625,6.134456634521484375,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
66+
(10439,0,1,11030,3929.69287109375,-3393.99462890625,119.6960067749023437,5.02886056900024414,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
67+
(10439,0,1,11030,3931.53271484375,-3391.615234375,119.690277099609375,4.975285530090332031,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
68+
(10439,0,1,11030,3929.46875,-3392.318115234375,119.6920928955078125,4.994153976440429687,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
69+
(10439,0,1,11030,3970.814453125,-3399.48828125,119.0560226440429687,5.892495155334472656,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
70+
(10439,0,1,11030,3968.68017578125,-3398.609130859375,119.1448135375976562,5.892423152923583984,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead"),
71+
(10439,0,1,11030,3944.25390625,-3393.5615234375,119.69940185546875,6.096739768981933593,8,0,"Ramstein the Gorger - Group 1 - Mindless Undead");
72+
73+
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11030;
74+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 11030 AND `source_type` = 0;
75+
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
76+
(11030,0,0,0,11,0,100,0,0,0,0,0,0,38,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Mindless Undead - On Spawn - Set In Combat With Zone");
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
-- Magmadar
2+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_magmadar_lava_bomb';
3+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
4+
(19411, 'spell_magmadar_lava_bomb'),
5+
(20474, 'spell_magmadar_lava_bomb');
6+
7+
DELETE FROM `creature_text` WHERE `CreatureID` = 11982 AND `GroupID` = 1;
8+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
9+
(11982,1,0,"%s becomes exhausted!",16,0,100,0,0,0,8252,0,"magmadar EMOTE_EXHAUSTED");
10+
11+
UPDATE `creature_text` SET `BroadcastTextId` = 7797 WHERE `CreatureID` = 11982 AND `GroupID` = 0;
12+
13+
-- Golemagg
14+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 20553;
15+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
16+
(13,7,20553,0,0,31,0,3,11672,0,0,0,0,"","Group 0: Spell 'Golemagg's Trust' (Effect 0, 1, 2) targets creature 'Core Rager'");
17+
18+
-- Garr
19+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (20482,19515,23487);
20+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
21+
(13,3,20482,0,0,31,0,3,12099,0,0,0,0,"","Group 0: Spell 'Firesworn Eruption Trigger' (Effect 0, 1) targets creature 'Firesworn'"),
22+
(13,1,19515,0,0,31,0,3,12057,0,0,0,0,"","Group 0: Spell 'Frenzy' (Effect 0) targets creature 'Garr'"),
23+
(13,1,23487,0,0,31,0,3,12099,0,0,0,0,"","Group 0: Spell 'Separation Anxiety' (Effect 0) targets creature 'Firesworn'");
24+
25+
DELETE FROM `creature_text` WHERE `CreatureID` = 12057;
26+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
27+
(12057,0,0,"%s forces one of his Firesworn minions to erupt!",16,0,100,0,0,0,8254,0,"Garr EMOTE_MASSIVE_ERUPTION");
28+
29+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_garr_separation_anxiety';
30+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
31+
(23487, 'spell_garr_separation_anxiety');

src/server/database/Database/Implementation/WorldDatabase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ void WorldDatabaseConnection::DoPrepareStatements()
8080
PrepareStatement(WORLD_SEL_CREATURE_TEMPLATE, "SELECT entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction, npcflag, speed_walk, speed_run, scale, `rank`, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, dynamicflags, family, type, type_flags, lootid, pickpocketloot, skinloot, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, ctm.Ground, ctm.Swim, ctm.Flight, ctm.Rooted, ctm.Chase, ctm.Random, ctm.InteractionPauseTimer, HoverHeight, HealthModifier, ManaModifier, ArmorModifier, DamageModifier, ExperienceModifier, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, spell_school_immune_mask, flags_extra, ScriptName, StringId FROM creature_template ct LEFT JOIN creature_template_movement ctm ON ct.entry = ctm.CreatureId WHERE entry = ?", CONNECTION_SYNCH);
8181
PrepareStatement(WORLD_SEL_WAYPOINT_SCRIPT_BY_ID, "SELECT guid, delay, command, datalong, datalong2, dataint, x, y, z, o FROM waypoint_scripts WHERE id = ?", CONNECTION_SYNCH);
8282
PrepareStatement(WORLD_SEL_ITEM_TEMPLATE_BY_NAME, "SELECT entry FROM item_template WHERE name = ?", CONNECTION_SYNCH);
83+
PrepareStatement(WORLD_SEL_ITEM_TEMPLATE_LOCALE_BY_NAME, "SELECT ID FROM item_template_locale WHERE Name = ?", CONNECTION_SYNCH);
8384
PrepareStatement(WORLD_SEL_CREATURE_BY_ID, "SELECT guid FROM creature WHERE id = ?", CONNECTION_SYNCH);
8485
PrepareStatement(WORLD_SEL_GAMEOBJECT_NEAREST, "SELECT guid, id, position_x, position_y, position_z, map, (POW(position_x - ?, 2) + POW(position_y - ?, 2) + POW(position_z - ?, 2)) AS order_ FROM gameobject WHERE map = ? AND (POW(position_x - ?, 2) + POW(position_y - ?, 2) + POW(position_z - ?, 2)) <= ? ORDER BY order_", CONNECTION_SYNCH);
8586
PrepareStatement(WORLD_SEL_CREATURE_NEAREST, "SELECT guid, id, position_x, position_y, position_z, map, (POW(position_x - ?, 2) + POW(position_y - ?, 2) + POW(position_z - ?, 2)) AS order_ FROM creature WHERE map = ? AND (POW(position_x - ?, 2) + POW(position_y - ?, 2) + POW(position_z - ?, 2)) <= ? ORDER BY order_", CONNECTION_SYNCH);

src/server/database/Database/Implementation/WorldDatabase.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ enum WorldDatabaseStatements : uint32
8585
WORLD_SEL_CREATURE_TEMPLATE,
8686
WORLD_SEL_WAYPOINT_SCRIPT_BY_ID,
8787
WORLD_SEL_ITEM_TEMPLATE_BY_NAME,
88+
WORLD_SEL_ITEM_TEMPLATE_LOCALE_BY_NAME,
8889
WORLD_SEL_CREATURE_BY_ID,
8990
WORLD_SEL_GAMEOBJECT_NEAREST,
9091
WORLD_SEL_CREATURE_NEAREST,

0 commit comments

Comments
 (0)