- Rename scriptnames to keep naming consistent;
- Template updates and spells to WG vehicles; - Cleanup SQL files a bit.
This commit is contained in:
@@ -1,53 +1,54 @@
|
||||
-- Gossip Menu insert from sniff
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=9904 AND `text_id`=13759;
|
||||
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9904,13759);
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=9904 AND `text_id`=13761;
|
||||
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9904,13761);
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=9923 AND `text_id`=14172;
|
||||
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9923,14172);
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=10229 AND `text_id`=14221;
|
||||
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (10229,14221);
|
||||
-- Template gossip updates
|
||||
UPDATE `creature_template` SET `gossip_menu_id`=9904 WHERE `entry`=30400;
|
||||
UPDATE `creature_template` SET `gossip_menu_id`=10229 WHERE `entry`=31091;
|
||||
|
||||
-- Creature Gossip_menu_option Update from sniff
|
||||
DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (9904);
|
||||
-- Gossip Menu
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=9904 AND `text_id`=13759;
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=9904 AND `text_id`=13761;
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=9923 AND `text_id`=14172;
|
||||
DELETE FROM `gossip_menu` WHERE `entry`=10229 AND `text_id`=14221;
|
||||
INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES
|
||||
(9904,13759),
|
||||
(9904,13761),
|
||||
(9923,14172),
|
||||
(10229,14221);
|
||||
|
||||
-- Gossip Menu Option
|
||||
DELETE FROM `gossip_menu_option` WHERE `menu_id`=9904;
|
||||
DELETE FROM `gossip_menu_option` WHERE `menu_id`=10129 AND `id` IN (2,4);
|
||||
INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES
|
||||
(9904,0,0, 'I would like to build a catapult.',1,1,0,0,0,0, ''),
|
||||
(9904,1,0, 'I would like to build a demolisher.',1,1,0,0,0,0, ''),
|
||||
(9904,2,0, 'I would like to build a siege engine.',1,1,0,0,0,0, '');
|
||||
(9904,2,0, 'I would like to build a siege engine.',1,1,0,0,0,0, ''),
|
||||
(10129,2,0, 'Guide me to the Broken Temple Graveyard.',1,1,0,0,0,0, ''),
|
||||
(10129,4,0, 'Guide me to the Eastspark Graveyard.',1,1,0,0,0,0, '');
|
||||
|
||||
-- Conditions
|
||||
-- Add gossip_menu condition for 9904 Horde
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9904;
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9923;
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9904;
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9923;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`) VALUES
|
||||
(14,9904,13759,0,1,33280), -- Must have Rank 1: Corporal
|
||||
(14,9904,13759,1,1,55629), -- Or must have Rank 2: First Lieutenant
|
||||
(14,9904,13761,0,11,33280), -- Must not have Rank 1: Corporal
|
||||
(14,9904,13761,0,11,55629); -- Must not have Rank 2: First Lieutenant
|
||||
(14,9904,13761,0,11,55629), -- Must not have Rank 2: First Lieutenant
|
||||
-- Add gossip_menu condition for 9923 Alliance
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9923;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`) VALUES
|
||||
(14,9923,13798,0,1,33280), -- Must have Rank 1: Corporal
|
||||
(14,9923,13798,1,1,55629), -- Or must have Rank 2: First Lieutenant
|
||||
(14,9923,14172,0,11,33280), -- Must not have Rank 1: Corporal
|
||||
(14,9923,14172,0,11,55629); -- Must not have Rank 2: First Lieutenant
|
||||
(14,9923,14172,0,11,55629), -- Must not have Rank 2: First Lieutenant
|
||||
-- Add conditions to gossip options horde
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9904;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`) VALUES
|
||||
(15,9904,0,0,1,33280,0), -- Must have reached Rank 1: Corporal
|
||||
(15,9904,0,1,1,55629,0), -- Or must have reached Rank 2: First Lieutenant
|
||||
(15,9904,1,0,1,55629,0), -- Must have reached Rank 2: First Lieutenant
|
||||
(15,9904,2,0,1,55629,0); -- Must have reached Rank 2: First Lieutenant
|
||||
(15,9904,0,0,1,33280), -- Must have reached Rank 1: Corporal
|
||||
(15,9904,0,1,1,55629), -- Or must have reached Rank 2: First Lieutenant
|
||||
(15,9904,1,0,1,55629), -- Must have reached Rank 2: First Lieutenant
|
||||
(15,9904,2,0,1,55629), -- Must have reached Rank 2: First Lieutenant
|
||||
-- Add conditions to gossip options alliance
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9923;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`) VALUES
|
||||
(15,9923,0,0,1,33280,0), -- Must have reached Rank 1: Corporal
|
||||
(15,9923,0,1,1,55629,0), -- Or must have reached Rank 2: First Lieutenant
|
||||
(15,9923,1,0,1,55629,0), -- Must have reached Rank 2: First Lieutenant
|
||||
(15,9923,2,0,1,55629,0); -- Must have reached Rank 2: First Lieutenant
|
||||
|
||||
-- Add Missing Horde Spirt Healer options Wintergrasp
|
||||
DELETE FROM `gossip_menu_option` WHERE `menu_id`=10129 AND `id` IN (2,4);
|
||||
INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES
|
||||
(10129,2,0, 'Guide me to the Broken Temple Graveyard.',1,1,0,0,0,0, ''),
|
||||
(10129,4,0, 'Guide me to the Eastspark Graveyard.',1,1,0,0,0,0, '');
|
||||
(15,9923,0,0,1,33280), -- Must have reached Rank 1: Corporal
|
||||
(15,9923,0,1,1,55629), -- Or must have reached Rank 2: First Lieutenant
|
||||
(15,9923,1,0,1,55629), -- Must have reached Rank 2: First Lieutenant
|
||||
(15,9923,2,0,1,55629); -- Must have reached Rank 2: First Lieutenant
|
||||
|
||||
/* -- Add scripts to Wintergrasp spirit guide gossip
|
||||
-- !!!should be scripted by SAI or cpp script!!!
|
||||
@@ -85,4 +86,3 @@ INSERT INTO `gossip_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`) VAL
|
||||
(990402,0,33,0,0),(990402,0,15,61408,1),
|
||||
(990403,0,33,0,0),(990403,0,15,56661,1);
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@ DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=54640;
|
||||
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
|
||||
(54640,54643,0, 'WG teleporter');
|
||||
|
||||
-- 58730 Restricted Flight Area (Wintergrasp Eject)
|
||||
DELETE FROM `spell_area` WHERE `spell`=58730;
|
||||
-- Spell area
|
||||
DELETE FROM `spell_area` WHERE `spell` IN (58730,57940);
|
||||
INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_start_active`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`) VALUES
|
||||
(58730,4581,0,0,0,0,0,2,1),
|
||||
(58730,4581,0,0,0,0,0,2,1), -- Restricted Flight Area (Wintergrasp Eject)
|
||||
(58730,4539,0,0,0,0,0,2,1),
|
||||
(58730,4197,0,0,0,0,0,2,1),
|
||||
(58730,4585,0,0,0,0,0,2,1),
|
||||
@@ -16,12 +16,8 @@ INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_start_active`,`que
|
||||
(58730,4589,0,0,0,0,0,2,1),
|
||||
(58730,4575,0,0,0,0,0,2,1),
|
||||
(58730,4538,0,0,0,0,0,2,1),
|
||||
(58730,4577,0,0,0,0,0,2,1);
|
||||
|
||||
-- 57940 Essence of Wintergrasp
|
||||
DELETE FROM `spell_area` WHERE `spell`=57940;
|
||||
INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_start_active`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`) VALUES
|
||||
(57940,65,0,0,0,0,0,2,1),
|
||||
(58730,4577,0,0,0,0,0,2,1),
|
||||
(57940,65,0,0,0,0,0,2,1), -- Essence of Wintergrasp
|
||||
(57940,66,0,0,0,0,0,2,1),
|
||||
(57940,67,0,0,0,0,0,2,1),
|
||||
(57940,206,0,0,0,0,0,2,1),
|
||||
@@ -48,12 +44,12 @@ INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_start_active`,`que
|
||||
(57940,4494,0,0,0,0,0,2,1),
|
||||
(57940,4603,0,0,0,0,0,2,1);
|
||||
|
||||
-- 49899 Activate Robotic Arms
|
||||
-- Spell scripts
|
||||
DELETE FROM `spell_scripts` WHERE `id`=49899;
|
||||
INSERT INTO `spell_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES
|
||||
(49899,0,1,406,0,0,0,0,0,0);
|
||||
(49899,0,1,406,0,0,0,0,0,0); -- Activate Robotic Arms
|
||||
|
||||
-- Add Spell Target position for Wintergrasp Graveyard spells
|
||||
-- Spell Target position for Wintergrasp Graveyard spells
|
||||
DELETE FROM `spell_target_position` WHERE `id` IN (59760,59762,59763,59765,59766,59767,59769);
|
||||
INSERT INTO `spell_target_position` (`id`,`target_map`,`target_position_x`,`target_position_y`,`target_position_z`,`target_orientation`) VALUES
|
||||
(59760,571,5537.986,2897.493,517.057,4.819249), -- Teleport: Fortress Graveyard
|
||||
@@ -63,7 +59,3 @@ INSERT INTO `spell_target_position` (`id`,`target_map`,`target_position_x`,`targ
|
||||
(59766,571,4331.716,3235.695,390.251,0.008500), -- Teleport: Westspark Factory Graveyard "area 4611"
|
||||
(59767,571,4314.648,2408.522,392.642,6.268125), -- Teleport: Eastspark Factory Graveyard "area 4612"
|
||||
(59769,571,5140.790,2179.120,390.950,1.972220); -- Teleport: Alliance Landing Zone
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+13
-11
@@ -1,14 +1,16 @@
|
||||
-- Wintergrasp Quests - Horde
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13180 WHERE `entry` IN (13180, 13178);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13185 WHERE `entry` IN (13185, 13223);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13192 WHERE `entry` IN (13192, 13202);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13199 WHERE `entry` IN (13193, 13199);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13200 WHERE `entry` IN (13200, 13191);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13201 WHERE `entry` IN (13201, 13194);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13180 WHERE `entry` IN (13180,13178); -- Slay them all!
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13185 WHERE `entry` IN (13185,13223); -- Stop/Defend the Siege
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13201 WHERE `entry` IN (13201,13194); -- Healing with Roses
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13199 WHERE `entry` IN (13193,13199); -- Bones and Arrows
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13192 WHERE `entry` IN (13192,13202); -- Warding/Jinxing the Walls
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13200 WHERE `entry` IN (13200,13191); -- Fueling the Demolishers
|
||||
|
||||
-- Wintergrasp Quests - Alliance
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13179 WHERE `entry` IN (13179, 13177);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13186 WHERE `entry` IN (13186, 13222);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13195 WHERE `entry` IN (13195, 13156);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13196 WHERE `entry` IN (13196, 13154);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13198 WHERE `entry` IN (13198, 13153);
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13179 WHERE `entry` IN (13179,13177); -- No Mercy for the Merciless
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13186 WHERE `entry` IN (13186,13222); -- Stop/Defend the Siege
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13195 WHERE `entry` IN (13195,13156); -- A Rare Herb
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13196 WHERE `entry` IN (13196,13154); -- Bones and Arrows
|
||||
UPDATE `quest_template` SET `ExclusiveGroup`=13198 WHERE `entry` IN (13198,13153); -- Warding the Warriors
|
||||
|
||||
-- Note: The offered quests (they are in pairs) depend on who controls the keep. npc_wg_quest_giver does that already?
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/*
|
||||
These two npcs already have a scriptname assigned (npc_wg_spiritguide). That core script should make these npcs cast the 22011 spell.
|
||||
-- Spirit healers SAI
|
||||
UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN (31841,31842);
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (31841,31842);
|
||||
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
|
||||
(31841,0,0,0,1,0,100,0,0,0,30000,30000,11,22011,0,0,0,0,0,1,0,0,0,0,0,0,0, 'cast Spirit Heal Channel every 30 sec'),
|
||||
(31842,0,0,0,1,0,100,0,0,0,30000,30000,11,22011,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dwarven Spirit Guide - cast Spirit Heal Channel every 30 sec');
|
||||
*/
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
-- Wintergrasp queue template NPCs
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wg_dalaran_queue' WHERE `entry` IN (32169,32170,35599,35596,35600,35601,35598,35603,35602,35597,35612,35611);
|
||||
-- Wintergrasp queue template NPCs script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wg_queue' WHERE `entry` IN (32169,32170,35599,35596,35600,35601,35598,35603,35602,35597,35612,35611); -- <Wintergrasp Battle-Master>
|
||||
|
||||
-- Wintergrasp spiritguide NPC script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wg_spiritguide' WHERE `entry` IN (31841,31842);
|
||||
-- Wintergrasp spirit guide NPCs script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wg_spirit_guide' WHERE `entry` IN (31841,31842); -- Taunka Spirit Guide, Dwarven Spirit Guide
|
||||
|
||||
-- Wintergrasp demolisher engineer NPC script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_demolisher_engineerer' WHERE `entry` IN (30400,30499);
|
||||
-- Wintergrasp demolisher engineer NPCs script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wg_demolisher_engineer' WHERE `entry` IN (30400,30499); -- Goblin Mechanic, Gnomish Engineer
|
||||
|
||||
-- Wintergrasp vehicle teleport
|
||||
UPDATE `gameobject_template` SET `ScriptName`= 'go_wintergrasp_teleporter' WHERE `entry`=192951;
|
||||
-- Wintergrasp Questgiver NPCs script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wg_quest_giver' WHERE `entry` IN (31054,31052,31091,31036,31101,31107,31053,31051,31153,31151,31102,31106);
|
||||
|
||||
-- Wintergrasp Questgiver NPCs - requires binding to Wintergrasp questgiver script
|
||||
UPDATE `creature_template` SET `ScriptName`= 'npc_wintergrasp_quest_giver' WHERE `entry` IN (31054, 31052, 31091, 31036, 31101, 31107, 31053, 31051, 31153, 31151, 31102, 31106);
|
||||
-- Wintergrasp vehicle teleport GO script
|
||||
UPDATE `gameobject_template` SET `ScriptName`= 'go_wg_vehicle_teleporter' WHERE `entry`=192951; -- Vehicle Teleporter
|
||||
|
||||
@@ -20,4 +20,10 @@ Wintergrasp Vehicle On spawn entries: 28312,27881,28094,32627
|
||||
set x,y,z,o to nearest trigger entry: 23472
|
||||
make player cast 60968 on vehicle
|
||||
aura 14267 on self if player is horde
|
||||
aura 14268 on self if player is alliance
|
||||
aura 14268 on self if player is alliance
|
||||
|
||||
Spells cast on vehicle as auras... or something (PET_SPELLS cooldowns):
|
||||
61178 (Grab Passenger) (Catapult, Siege Engine... NOT tower cannons)
|
||||
56866 (-Unknown-) (Catapult, Siege Engine.... NOT tower cannons)
|
||||
14268 (Alliance Flag) (Catapult, Siege Engine... NOT tower cannons)
|
||||
14267 (Horde Flag)
|
||||
@@ -47,15 +47,16 @@ INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`
|
||||
(0, -1850504, 'Guide me to the Eastspark Graveyard.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, ''),
|
||||
(0, -1850505, 'Guide me back to the Horde landing camp.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, ''),
|
||||
(0, -1850506, 'Guide me back to the Alliance landing camp.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, ''),
|
||||
(0, -1850507, 'Se mettre dans la file pour le Joug-d''hiver.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, ''); -- (Needs proper english text)
|
||||
(0, -1850507, 'Se mettre dans la file pour le Joug-d''hiver.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, ''); -- (Needs proper english text, maybe "Get in the queue for Wintergrasp."?)
|
||||
|
||||
-- New support-commands for battlefield class
|
||||
DELETE FROM `command` WHERE name IN ('bf start', 'bf stop', 'bf enable', 'bf switch', 'bf timer');
|
||||
INSERT INTO `command` (`name`,`security`,`help`) VALUES ('bf start',3,'Syntaxe: .bf start #battleid');
|
||||
INSERT INTO `command` (`name`,`security`,`help`) VALUES ('bf stop',3,'Syntaxe: .bf stop #battleid');
|
||||
INSERT INTO `command` (`name`,`security`,`help`) VALUES ('bf enable',3,'Syntaxe: .bf enable #battleid');
|
||||
INSERT INTO `command` (`name`,`security`,`help`) VALUES ('bf switch',3,'Syntaxe: .bf switch #battleid');
|
||||
INSERT INTO `command` (`name`,`security`,`help`) VALUES ('bf timer',3,'Syntaxe: .bf timer #battleid #timer');
|
||||
INSERT INTO `command` (`name`,`security`,`help`) VALUES
|
||||
('bf start',3,'Syntax: .bf start #battleid'),
|
||||
('bf stop',3,'Syntax: .bf stop #battleid'),
|
||||
('bf enable',3,'Syntax: .bf enable #battleid'),
|
||||
('bf switch',3,'Syntax: .bf switch #battleid'),
|
||||
('bf timer',3,'Syntax: .bf timer #battleid #timer');
|
||||
|
||||
-- NPC talk text insert from sniff
|
||||
DELETE FROM `creature_text` WHERE `entry`=15214 AND `groupid` BETWEEN 0 AND 30;
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry` IN (192310,192312,192313,192314,192316,192317,192318,192319,192320,192321,192322,192323,192324,192325,192326,192327,192328,192329,
|
||||
192330,192331,192332,192333,192334,192335,192286,192287,192292,192299,192304,192305,192306,192307,192308,192309); -- Alliance Banner
|
||||
192330,192331,192332,192333,192334,192335,192286,192287,192292,192299,192304,192305,192306,192307,192308,192309); -- Alliance Banner
|
||||
|
||||
|
||||
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry` IN (192269,192284,192285,192338,192339,192349,192350,192351,192352,192353,192354,192355,192356,192357,192358,192359,192360,192361,
|
||||
192362,192363,192364,192366,192367,192368,192369,192370,192371,192372,192373,192374,192375,192376,192377,192378,192379,192254,
|
||||
192255,192336); -- Horde Banner
|
||||
|
||||
192362,192363,192364,192366,192367,192368,192369,192370,192371,192372,192373,192374,192375,192376,192377,192378,192379,192254,
|
||||
192255,192336); -- Horde Banner
|
||||
|
||||
UPDATE `gameobject_template` SET `faction`=114 WHERE `entry` IN (193096,193097,193098,193099,193100,193101,193102,193103,193104,193105,193106,193107,193108,193109,193124,193125,193126,193127,
|
||||
193128,193129,193130,193131,193132,193133,193134,193135,193136,193137,193138,193139,193140,193141,193142,193143,193144,193145,
|
||||
193146,193147,193148,193149,193150,193151,193152,193153,193154,193155,193156,193157,193158,193159,193160,193161,193162,193163,
|
||||
193164,193165); -- nameless GOs
|
||||
193128,193129,193130,193131,193132,193133,193134,193135,193136,193137,193138,193139,193140,193141,193142,193143,193144,193145,
|
||||
193146,193147,193148,193149,193150,193151,193152,193153,193154,193155,193156,193157,193158,193159,193160,193161,193162,193163,
|
||||
193164,193165); -- nameless GOs
|
||||
|
||||
UPDATE `creature_template` SET `exp`=0 WHERE `entry`=31841; -- Taunka Spirit Guide
|
||||
UPDATE `creature_template` SET `exp`=0 WHERE `entry`=31842; -- Dwarven Spirit Guide
|
||||
@@ -21,31 +20,20 @@ UPDATE `creature_template` SET `dynamicflags`=`dynamicflags`|4 WHERE `entry`=311
|
||||
UPDATE `creature_template` SET `baseattacktime`=2000,`unit_flags`=`unit_flags`|768 WHERE `entry`=39173; -- Champion Ros'slai
|
||||
UPDATE `creature_template` SET `unit_flags`=`unit_flags`|16 WHERE `entry`=30740; -- Valiance Expedition Champion (?)
|
||||
UPDATE `creature_template` SET `InhabitType`=7 WHERE `entry`=27852; -- Wintergrasp Control Arms
|
||||
|
||||
/*
|
||||
Sniff check these
|
||||
-- Wintergrasp Cannons (Spell 51421 : Fire Cannon)
|
||||
UPDATE `creature_template` SET `faction_A`=1732,`faction_H`=1735 WHERE `entry`=28366; -- *** WRONG ****
|
||||
UPDATE `creature_template` SET `faction_A`=1732,`faction_H`=1732 WHERE `entry` IN (30499,30740, 28319); -- Alliance
|
||||
UPDATE `creature_template` SET `faction_A`=1735,`faction_H`=1735 WHERE `entry` IN (30400,30739, 32629); -- Horde
|
||||
|
||||
-- Added by Malcrom
|
||||
UPDATE `creature_template` SET `faction_A`=1732,`faction_H`=1732 WHERE `entry` IN (28312); -- Alliance
|
||||
UPDATE `creature_template` SET `faction_A`=1735,`faction_H`=1735 WHERE `entry` IN (32627); -- Horde
|
||||
|
||||
-- Wintergrasp Catapult speed adjustments
|
||||
UPDATE `creature_template` SET `speed_walk`=2.8,`speed_run`=1.71429 WHERE `entry`=27881;
|
||||
|
||||
-- Creature Gossip_menu_id Update from sniff
|
||||
UPDATE `creature_template` SET `gossip_menu_id`=9904 WHERE `entry`=30400;
|
||||
UPDATE `creature_template` SET `gossip_menu_id`=10229 WHERE `entry`=31091;
|
||||
*/
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216 WHERE `entry`=28366; -- Wintergrasp Tower Cannon
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216,`unit_flags`=16384,`unit_class`=4,`speed_walk`=1.2 WHERE `entry`=32629; -- Wintergrasp Siege Turret
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216,`unit_flags`=16384,`unit_class`=4,`speed_walk`=1.2 WHERE `entry`=28319; -- Wintergrasp Siege Turret
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216,`unit_flags`=16384,`unit_class`=4,`speed_walk`=1.2,`speed_run`=1 WHERE `entry`=32627; -- Wintergrasp Siege Engine
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216,`unit_flags`=16384,`unit_class`=4,`speed_walk`=1.2,`speed_run`=1 WHERE `entry`=28312; -- Wintergrasp Siege Engine
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216,`unit_flags`=16384,`speed_walk`=1.2,`speed_run`=1 WHERE `entry`=28094; -- Wintergrasp Demolisher
|
||||
UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`npcflag`=16777216,`unit_flags`=16384,`unit_class`=4,`speed_walk`=2.8,`speed_run`=1.71429 WHERE `entry`=27881; -- Wintergrasp Catapult
|
||||
|
||||
UPDATE `creature_model_info` SET `bounding_radius`=0.3366,`combat_reach`=1.65,`gender`=0 WHERE `modelid`=27894; -- Knight Dameron
|
||||
UPDATE `creature_model_info` SET `bounding_radius`=0.3366,`combat_reach`=1.65,`gender`=0 WHERE `modelid`=31346; -- Marshal Magruder
|
||||
UPDATE `creature_model_info` SET `bounding_radius`=0.3366,`combat_reach`=1.65,`gender`=0 WHERE `modelid`=31347; -- Champion Ros'slai
|
||||
UPDATE `creature_model_info` SET `bounding_radius`=0.305,`combat_reach`=5,`gender`=2 WHERE `modelid`=25301; -- Wintergrasp Siege Turret
|
||||
|
||||
DELETE FROM `creature_template_addon` WHERE `entry` IN (31841,31842,30400,30499,30489,30869,31036,31051,31052,31054,31108,31109,31153,32294,39172,30870,31053,31091,31101,31102,31106,31107,31151,32296,39173,30740);
|
||||
DELETE FROM `creature_template_addon` WHERE `entry` IN (31841,31842,30400,30499,30489,30869,31036,31051,31052,31054,31108,31109,31153,32294,39172,30870,31053,31091,31101,31102,31106,31107,31151,32296,39173,30740,32629,28319,28366,32627,28312,28094,27881,30739);
|
||||
INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
|
||||
(31841,0,0,1,0, '58729'), -- Taunka Spirit Guide (Spiritual Immunity, Spirit Heal Channel) FIX: Do we need the spell that revives players here (22011)? It has a duration (found in sniffs).
|
||||
(31842,0,0,1,0, '58729'), -- Dwarven Spirit Guide This spell (and the spell it triggers, are used in the "ressurect system" in Battleground.cpp
|
||||
@@ -72,5 +60,25 @@ INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`
|
||||
(31151,0,0,257,0, NULL), -- Tactical Officer Kilrath
|
||||
(32296,27245,0,1,0, NULL), -- Stone Guard Mukar
|
||||
(39173,29261,0,1,0, NULL), -- Champion Ros'slai
|
||||
(30740,0,0,257,375, NULL); -- Valiance Expedition Champion
|
||||
(30740,0,0,257,375, NULL), -- Valiance Expedition Champion
|
||||
(32629,0,0,257,0, NULL), -- Wintergrasp Siege Turret
|
||||
(28319,0,0,257,0, NULL), -- Wintergrasp Siege Turret
|
||||
(28366,0,0,257,0, NULL), -- Wintergrasp Tower Cannon
|
||||
(32627,0,0,257,0, NULL), -- Wintergrasp Siege Engine
|
||||
(28312,0,0,257,0, NULL), -- Wintergrasp Siege Engine
|
||||
(28094,0,0,257,0, NULL), -- Wintergrasp Demolisher
|
||||
(27881,0,0,257,0, NULL), -- Wintergrasp Catapult
|
||||
(30739,0,0,257,375, NULL); -- Warsong Champion
|
||||
|
||||
-- Wintergrasp vehicles:
|
||||
UPDATE `creature_template` SET `spell1`=51421, /* Fire Cannon */ `spell2`=0,`spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=28366; -- Wintergrasp Tower Cannon (Both)
|
||||
UPDATE `creature_template` SET `spell1`=57609, /* Fire Cannon */ `spell2`=0,`spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=32629; -- Wintergrasp Siege Turret (H)
|
||||
UPDATE `creature_template` SET `spell1`=57609, /* Fire Cannon */ `spell2`=0,`spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=28319; -- Wintergrasp Siege Turret (A)
|
||||
UPDATE `creature_template` SET `spell1`=54109, /* Ram */ `spell2`=0,`spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=32627; -- Wintergrasp Siege Engine (H)
|
||||
UPDATE `creature_template` SET `spell1`=54109, /* Ram */ `spell2`=0,`spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=28312; -- Wintergrasp Siege Engine (A)
|
||||
UPDATE `creature_template` SET `spell1`=54107, /* Ram */ `spell2`=50896, /* Hurl Boulder */ `spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=28094; -- Wintergrasp Demolisher (H)
|
||||
UPDATE `creature_template` SET `spell1`=57606, /* Plague Barrel */ `spell2`=50989, /* Flame Breath */ `spell3`=0,`spell4`=0,`spell5`=0,`spell6`=0,`spell7`=0,`spell8`=0 WHERE `entry`=27881; -- Wintergrasp Catapult (Both)
|
||||
|
||||
-- Note: Siege Engines, Demolisher faction is guess (vehicles get the faction of his driver)
|
||||
-- Demolisher spell positions is not confirmed
|
||||
-- Wintergrasp Tower Cannon H: 1735 A: 1732
|
||||
|
||||
Reference in New Issue
Block a user