mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 19:13:49 +00:00
restructured repository based on following standards:
https://github.com/HW-Core/directory-structure
This commit is contained in:
140
data/sql/world fixes/instances/Battlegrounds/arathi_basin.sql
Normal file
140
data/sql/world fixes/instances/Battlegrounds/arathi_basin.sql
Normal file
File diff suppressed because one or more lines are too long
433
data/sql/world fixes/instances/Battlegrounds/battlegrounds.sql
Normal file
433
data/sql/world fixes/instances/Battlegrounds/battlegrounds.sql
Normal file
@@ -0,0 +1,433 @@
|
||||
UPDATE battleground_template SET MinPlayersPerTeam=0, MaxPlayersPerTeam=5, MinLvl=10, MaxLvl=80 WHERE id IN(4, 5, 6, 8, 10, 11); -- arenas
|
||||
UPDATE battleground_template SET MinLvl=80, MaxLvl=80 WHERE id=32; -- random bg
|
||||
UPDATE battleground_template SET Weight=1; -- not used anymore
|
||||
|
||||
-- Arena Ready Marker
|
||||
DELETE FROM gameobject_template WHERE entry=301337 AND name='Ready Marker';
|
||||
INSERT INTO gameobject_template VALUES(301337, 10, 327, 'Ready Marker', 'PVP', '', '', 0, 32, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 'go_arena_ready_marker', 1);
|
||||
DELETE FROM gameobject WHERE id=301337;
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 562, 1, 1, 6189.47, 235.54, 5.52, 0, 0, 0, 0, 0, 300, 0, 1); -- BE
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 562, 1, 1, 6287.19, 288.25, 5.33, 0, 0, 0, 0, 0, 300, 0, 1); -- BE
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 617, 1, 1, 1229.44, 759.35, 17.89, 0, 0, 0, 0, 0, 300, 0, 1); -- DA
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 617, 1, 1, 1352.90, 822.77, 17.96, 0, 0, 0, 0, 0, 300, 0, 1); -- DA
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 559, 1, 1, 4090.46, 2875.43, 12.16, 0, 0, 0, 0, 0, 300, 0, 1); -- NA
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 559, 1, 1, 4022.82, 2966.61, 12.17, 0, 0, 0, 0, 0, 300, 0, 1); -- NA
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 618, 1, 1, 769.93, -301.04, 2.80, 0, 0, 0, 0, 0, 300, 0, 1); -- RoV
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 618, 1, 1, 757.02, -267.30, 2.80, 0, 0, 0, 0, 0, 300, 0, 1); -- RoV
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 572, 1, 1, 1298.61, 1598.59, 31.62, 0, 0, 0, 0, 0, 300, 0, 1); -- RL
|
||||
-- INSERT INTO gameobject VALUES(NULL, 301337, 572, 1, 1, 1273.71, 1734.05, 31.61, 0, 0, 0, 0, 0, 300, 0, 1); -- RL
|
||||
|
||||
-- shared BG bug, fix mechanic immune mask
|
||||
UPDATE creature_template SET mechanic_immune_mask=344407930 WHERE mechanic_immune_mask=344276858; -- added banish immunity
|
||||
|
||||
-- ------------------------
|
||||
-- Alterac Valley
|
||||
-- ------------------------
|
||||
UPDATE creature_template SET minlevel=63, maxlevel=63, exp=0, speed_walk=1.78, AIName='' WHERE entry IN(11946, 11948); -- Vanilla stats
|
||||
UPDATE creature_template SET minlevel=73, maxlevel=73, exp=1 WHERE entry=22641; -- Drek'Thar
|
||||
UPDATE creature_template SET minlevel=73, maxlevel=73, exp=1 WHERE entry=22644; -- Vanndar Stormpike
|
||||
UPDATE creature_template SET minlevel=83, maxlevel=83, exp=2 WHERE entry=31819; -- Drek'Thar
|
||||
UPDATE creature_template SET minlevel=83, maxlevel=83, exp=2 WHERE entry=31818; -- Vanndar Stormpike
|
||||
|
||||
-- Irondeep Skullthumper (11602, 22748, 32019, 37338)
|
||||
UPDATE creature_template SET difficulty_entry_3=37338 WHERE entry=11602;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37338;
|
||||
|
||||
-- Whitewhisker Overseer (11605, 22780, 32141, 37471)
|
||||
UPDATE creature_template SET difficulty_entry_3=37471 WHERE entry=11605;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37471;
|
||||
|
||||
-- Irondeep Raider (13081, 22746, 32017, 37336)
|
||||
UPDATE creature_template SET difficulty_entry_3=37336 WHERE entry=13081;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37336;
|
||||
|
||||
-- Coldmine Invader (13087, 22731, 31948, 37266)
|
||||
UPDATE creature_template SET difficulty_entry_3=37266 WHERE entry=13087;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37266;
|
||||
|
||||
-- Coldmine Guard (13089, 22730, 31947, 37265)
|
||||
UPDATE creature_template SET difficulty_entry_3=37265 WHERE entry=13089;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37265;
|
||||
|
||||
-- Irondeep Surveyor (13098, 22749, 32020, 37339)
|
||||
UPDATE creature_template SET difficulty_entry_3=37339 WHERE entry=13098;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37339;
|
||||
|
||||
-- Herald (14848, 22557, 32003, 37322)
|
||||
UPDATE creature_template SET difficulty_entry_2=32003, difficulty_entry_3=37322 WHERE entry=14848;
|
||||
UPDATE creature_template SET minlevel=75, maxlevel=75, faction=1334, npcflag=3, mindmg=332, maxdmg=485, attackpower=411, unit_flags=33559296, flags_extra=2, exp=0, dmg_multiplier=1 WHERE entry=32003;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=2, dmg_multiplier=1.2 WHERE entry=37322;
|
||||
|
||||
-- Aggi Rumblestomp (with faction 32, alliance players can attack him)
|
||||
UPDATE creature_template SET faction=11 WHERE entry IN(13086, 22670, 31918, 37234);
|
||||
|
||||
-- Seasoned Defender (13326, 22714, 32062, 37383), some TC retard gave them hostile faction (AV npcs)
|
||||
UPDATE creature_template SET faction=1216 WHERE entry IN(13326, 22714, 32062, 37383);
|
||||
|
||||
UPDATE creature_template tb LEFT JOIN creature_template td1 ON tb.difficulty_entry_1=td1.entry LEFT JOIN creature_template td2 ON tb.difficulty_entry_2=td2.entry LEFT JOIN creature_template td3 ON tb.difficulty_entry_3=td3.entry SET
|
||||
td3.KillCredit1 = tb.KillCredit1,
|
||||
td3.KillCredit2 = tb.KillCredit2,
|
||||
td3.modelid1 = tb.modelid1,
|
||||
td3.modelid2 = tb.modelid2,
|
||||
td3.modelid3 = tb.modelid3,
|
||||
td3.modelid4 = tb.modelid4,
|
||||
td3.gossip_menu_id = tb.gossip_menu_id,
|
||||
td3.faction = tb.faction,
|
||||
td3.npcflag = tb.npcflag,
|
||||
td3.speed_walk = td2.speed_walk,
|
||||
td3.speed_run = td2.speed_run,
|
||||
td3.scale = tb.scale,
|
||||
td3.rank = tb.rank,
|
||||
td3.mindmg = td1.mindmg,
|
||||
td3.maxdmg = td1.maxdmg,
|
||||
td3.dmgschool = td1.dmgschool,
|
||||
td3.attackpower = td1.attackpower,
|
||||
td3.baseattacktime = td2.baseattacktime,
|
||||
td3.rangeattacktime = td2.rangeattacktime,
|
||||
td3.unit_class = tb.unit_class,
|
||||
td3.unit_flags = tb.unit_flags,
|
||||
td3.unit_flags2 = tb.unit_flags2,
|
||||
td3.dynamicflags = tb.dynamicflags,
|
||||
td3.family = tb.family,
|
||||
td3.trainer_type = tb.trainer_type,
|
||||
td3.trainer_spell = tb.trainer_spell,
|
||||
td3.trainer_class = tb.trainer_class,
|
||||
td3.trainer_race = tb.trainer_race,
|
||||
td3.minrangedmg = td1.minrangedmg,
|
||||
td3.maxrangedmg = td1.maxrangedmg,
|
||||
td3.rangedattackpower = tb.rangedattackpower,
|
||||
td3.type = tb.type,
|
||||
td3.type_flags = tb.type_flags,
|
||||
td3.lootid = tb.lootid,
|
||||
td3.pickpocketloot = tb.pickpocketloot,
|
||||
td3.skinloot = tb.skinloot,
|
||||
td3.resistance1 = tb.resistance1,
|
||||
td3.resistance2 = tb.resistance2,
|
||||
td3.resistance3 = tb.resistance3,
|
||||
td3.resistance4 = tb.resistance4,
|
||||
td3.resistance5 = tb.resistance5,
|
||||
td3.resistance6 = tb.resistance6,
|
||||
td3.spell1 = tb.spell1,
|
||||
td3.spell2 = tb.spell2,
|
||||
td3.spell3 = tb.spell3,
|
||||
td3.spell4 = tb.spell4,
|
||||
td3.spell5 = tb.spell5,
|
||||
td3.spell6 = tb.spell6,
|
||||
td3.spell7 = tb.spell7,
|
||||
td3.spell8 = tb.spell8,
|
||||
td3.PetSpellDataId = tb.PetSpellDataId,
|
||||
td3.VehicleId = tb.VehicleId,
|
||||
td3.MovementType = tb.MovementType,
|
||||
td3.InhabitType = tb.InhabitType,
|
||||
td3.HoverHeight = tb.HoverHeight,
|
||||
td3.RacialLeader = tb.RacialLeader,
|
||||
td3.questItem1 = tb.questItem1,
|
||||
td3.questItem2 = tb.questItem2,
|
||||
td3.questItem3 = tb.questItem3,
|
||||
td3.questItem4 = tb.questItem4,
|
||||
td3.questItem5 = tb.questItem5,
|
||||
td3.questItem6 = tb.questItem6,
|
||||
td3.movementId = tb.movementId,
|
||||
td3.RegenHealth = tb.RegenHealth,
|
||||
td3.mechanic_immune_mask = tb.mechanic_immune_mask,
|
||||
td3.flags_extra = tb.flags_extra,
|
||||
|
||||
td2.lootid = tb.lootid,
|
||||
td2.pickpocketloot = tb.pickpocketloot,
|
||||
td2.skinloot = tb.skinloot,
|
||||
|
||||
td1.lootid = tb.lootid,
|
||||
td1.pickpocketloot = tb.pickpocketloot,
|
||||
td1.skinloot = tb.skinloot
|
||||
|
||||
WHERE tb.entry IN(15103,12050,13326,13331,13422,13358,11949,11948,12053,13328,13332,13421,13359,11947,11946,14763,14762,14764,14765,14773,14776,14772,14777,10987,11600,11602,11657,13396,13080,13098,13078,13397,13099,13081
|
||||
,13079,11603,11604,11605,11677,10982,13317,13096,13087,13086,13316,13097,13089,13088,14848,2225,3343,3625,4255,4257,5134,5135,5139,10364,10367,10981,10986,10990,11675,11678,11839,11947,11948,11949,11997,12051,12096
|
||||
,12097,12127,13176,13179,13216,13218,13236,13257,13284,13438,13442,13443,13447,13577,13617,13797,13798,13816,14185,14186,14187,14188,14282,14283,14284,11946,11948,11947,11949);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- ------------------------
|
||||
-- Strand of the Ancients
|
||||
-- ------------------------
|
||||
-- Add missing texts
|
||||
REPLACE INTO trinity_string VALUES(1225, "Alliance", "", "", "", "", "", "", "", "");
|
||||
REPLACE INTO trinity_string VALUES(1226, "Horde", "", "", "", "", "", "", "", "");
|
||||
|
||||
-- Demolisher speed
|
||||
UPDATE creature_template SET speed_walk=1, speed_run=1, RegenHealth=0 WHERE entry IN(28781, 32796);
|
||||
-- immunities
|
||||
UPDATE creature_template SET mechanic_immune_mask=344407930 WHERE entry IN(27894, 28781, 32795, 32796);
|
||||
|
||||
-- ------------------------
|
||||
-- Isle of Conquest
|
||||
-- ------------------------
|
||||
DELETE FROM disables WHERE entry=30 AND sourceType=3;
|
||||
|
||||
-- transports
|
||||
UPDATE gameobject_template SET flags=6553640 WHERE entry IN(195121, 195276); -- MAKE_PAIR(0x28, 0x64);
|
||||
|
||||
-- Remake templates...
|
||||
-- High Commander Halford Wyrmbane (34924, 35403)
|
||||
UPDATE creature_template SET difficulty_entry_1=35403, exp=0, rank=1, minlevel=73, maxlevel=73, baseattacktime=2000, AIName="", ScriptName="boss_isle_of_conquest", mechanic_immune_mask=344407930 WHERE entry=34924;
|
||||
UPDATE creature_template SET minlevel=81, maxlevel=81, exp=0, rank=1, faction=84, mindmg=299, maxdmg=426, attackpower=308, dmg_multiplier=13, baseattacktime=2000, unit_flags=0, unit_class=1, dynamicflags=8, mechanic_immune_mask=344407930 WHERE entry=35403;
|
||||
|
||||
-- Overlord Agmar (34922, 35405)
|
||||
UPDATE creature_template SET difficulty_entry_1=35405, exp=0, rank=1, minlevel=73, maxlevel=73, baseattacktime=2000, AIName="", ScriptName="boss_isle_of_conquest", mechanic_immune_mask=344407930 WHERE entry=34922;
|
||||
UPDATE creature_template SET minlevel=81, maxlevel=81, exp=0, rank=1, faction=83, mindmg=299, maxdmg=426, attackpower=308, dmg_multiplier=13, baseattacktime=2000, unit_flags=0, unit_class=1, type_flags=4168, dynamicflags=8, mechanic_immune_mask=344407930 WHERE entry=35405;
|
||||
|
||||
-- Kor'kron Guard (34918, 35407)
|
||||
UPDATE creature_template SET difficulty_entry_1=35407, exp=0, minlevel=71, maxlevel=71, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, AIName="", ScriptName="" WHERE entry=34918;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=83, mindmg=422, maxdmg=586, attackpower=642, dmg_multiplier=1, baseattacktime=2000, unit_flags=0, unit_class=1, type_flags=4096, dynamicflags=8 WHERE entry=35407;
|
||||
|
||||
-- 7th Legion Infantry (34919, 35401)
|
||||
UPDATE creature_template SET difficulty_entry_1=35401, exp=0, minlevel=71, maxlevel=71, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, AIName="", ScriptName="" WHERE entry=34919;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=84, mindmg=422, maxdmg=586, attackpower=642, dmg_multiplier=1, baseattacktime=2000, unit_flags=0, unit_class=1, type_flags=4096, dynamicflags=8 WHERE entry=35401;
|
||||
|
||||
-- Keep Cannon (34944, 35429)
|
||||
-- Broken Keep Cannon (35819)
|
||||
UPDATE creature_template SET difficulty_entry_1=35429, exp=0, npcflag=16777216, unit_flags=16384|4, AIName="", ScriptName="npc_isle_of_conquest_turret" WHERE entry=34944;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, npcflag=16777216, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=13, unit_flags=16384|4, unit_class=1, dynamicflags=8, spell1=67452, spell2=68169, VehicleId=510, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35429;
|
||||
UPDATE creature_template SET exp=0, npcflag=16777216, unit_flags=unit_flags|4, vehicleId=0, RegenHealth=0, mechanic_immune_mask=344407930, AIName="", ScriptName="npc_isle_of_conquest_turret" WHERE entry=35819;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(35819, 35429);
|
||||
INSERT INTO npc_spellclick_spells VALUES(35819, 68077, 1, 1);
|
||||
INSERT INTO npc_spellclick_spells VALUES(35429, 68458, 1, 0);
|
||||
DELETE FROM spell_script_names WHERE spell_id=68077;
|
||||
INSERT INTO spell_script_names VALUES(68077, "spell_ioc_repair_turret");
|
||||
|
||||
-- Alliance Gunship Cannon (34929, 35410)
|
||||
UPDATE creature_template SET difficulty_entry_1=35410, exp=0, faction=1732, npcflag=16777216, unit_flags=16384|4, spell1=66518, AIName="", ScriptName="" WHERE entry=34929;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=1732, npcflag=16777216, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=13, unit_flags=16384|4, unit_class=1, dynamicflags=8, spell1=66518, VehicleId=452, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35410;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry=35410;
|
||||
INSERT INTO npc_spellclick_spells VALUES (35410, 43671, 1, 0);
|
||||
|
||||
-- Horde Gunship Cannon (34935, 35427)
|
||||
UPDATE creature_template SET difficulty_entry_1=35427, exp=0, faction=1735, npcflag=16777216, unit_flags=16384|4, AIName="", ScriptName="" WHERE entry=34935;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=1735, npcflag=16777216, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=13, unit_flags=16384|4, unit_class=1, dynamicflags=8, spell1=68825, VehicleId=453, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35427;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry=35427;
|
||||
INSERT INTO npc_spellclick_spells VALUES (35427, 43671, 1, 0);
|
||||
|
||||
-- Demolisher (34775, 35415)
|
||||
UPDATE creature_template SET difficulty_entry_1=35415, exp=0, npcflag=16777216, speed_walk=1.2, speed_run=0.98571, unit_flags=16384, AIName="", ScriptName="npc_four_car_garage" WHERE entry=34775;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, npcflag=16777216, speed_walk=1.2, speed_run=0.98571, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=16384, unit_class=1, dynamicflags=8, spell1=67442, spell2=68068, VehicleId=509, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35415;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry=35415;
|
||||
INSERT INTO npc_spellclick_spells VALUES (35415, 66245, 1, 0);
|
||||
|
||||
-- Catapult (34793, 35413)
|
||||
UPDATE creature_template SET difficulty_entry_1=35413, exp=0, npcflag=16777216, speed_walk=2.8, speed_run=2.42857, unit_flags=16384, AIName="", ScriptName="npc_four_car_garage" WHERE entry=34793;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, npcflag=16777216, speed_walk=2.8, speed_run=2.42857, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=16384, unit_class=4, dynamicflags=8, spell1=66218, spell2=66296, spell8=68362, VehicleId=438, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35413;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry=35413;
|
||||
INSERT INTO npc_spellclick_spells VALUES (35413, 66245, 1, 0);
|
||||
|
||||
-- Glaive Thrower A (34802, 35419)
|
||||
UPDATE creature_template SET difficulty_entry_1=35419, exp=0, faction=1732, npcflag=16777216, speed_walk=3.2, speed_run=1.14286, unit_flags=16384, AIName="", ScriptName="npc_four_car_garage" WHERE entry=34802;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=1732, npcflag=16777216, speed_walk=3.2, speed_run=1.14286, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=16384, unit_class=1, dynamicflags=8, spell1=68827, spell2=69515, VehicleId=447, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35419;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry=35419;
|
||||
INSERT INTO npc_spellclick_spells VALUES (35419, 68503, 1, 0);
|
||||
|
||||
-- Glaive Thrower H (35273, 35421)
|
||||
UPDATE creature_template SET difficulty_entry_1=35421, exp=0, faction=1735, npcflag=16777216, speed_walk=3.2, speed_run=1.14286, unit_flags=16384, AIName="", ScriptName="npc_four_car_garage" WHERE entry=35273;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=1735, npcflag=16777216, speed_walk=3.2, speed_run=1.14286, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=16384, unit_class=1, dynamicflags=8, spell1=68827, spell2=69515, VehicleId=447, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35421;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry=35421;
|
||||
INSERT INTO npc_spellclick_spells VALUES (35421, 68503, 1, 0);
|
||||
|
||||
-- Siege Engine A (34776, 35431)
|
||||
UPDATE creature_template SET difficulty_entry_1=35431, exp=0, faction=1732, npcflag=16777216, speed_walk=1.2, speed_run=1, unit_flags=16384, AIName="", ScriptName="npc_four_car_garage" WHERE entry=34776;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=1732, npcflag=16777216, speed_walk=1.2, speed_run=1, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=16384, unit_class=4, dynamicflags=8, spell1=67816, spell2=69502, VehicleId=435, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35431;
|
||||
DELETE FROM vehicle_template_accessory WHERE entry=34776;
|
||||
INSERT INTO vehicle_template_accessory VALUES (34776, 34777, 7, 1, 'Isle of Conquest Siege Engine - main turret (ally)', 6, 30000);
|
||||
INSERT INTO vehicle_template_accessory VALUES (34776, 34778, 1, 1, 'Isle of Conquest Siege Engine - flame turret 1 (ally)', 6, 30000);
|
||||
INSERT INTO vehicle_template_accessory VALUES (34776, 34778, 2, 1, 'Isle of Conquest Siege Engine - flame turret 2 (ally)', 6, 30000);
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(34776, 35431);
|
||||
INSERT INTO npc_spellclick_spells VALUES (34776, 66245, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (34776, 46598, 1, 0); -- accessorys
|
||||
INSERT INTO npc_spellclick_spells VALUES (35431, 66245, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (35431, 46598, 1, 0); -- accessorys
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=18 AND SourceGroup IN (34776, 35431);
|
||||
INSERT INTO conditions VALUES (18, 34776, 66245, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Require player for spellclick');
|
||||
INSERT INTO conditions VALUES (18, 34776, 46598, 0, 0, 31, 0, 3, 0, 0, 0, 0, 0, '', 'Require unit for spellclick');
|
||||
INSERT INTO conditions VALUES (18, 35431, 66245, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Require player for spellclick');
|
||||
INSERT INTO conditions VALUES (18, 35431, 46598, 0, 0, 31, 0, 3, 0, 0, 0, 0, 0, '', 'Require unit for spellclick');
|
||||
|
||||
-- Siege Engine H (35069, 35433)
|
||||
UPDATE creature_template SET difficulty_entry_1=35433, exp=0, faction=1735, npcflag=16777216, speed_walk=1.2, speed_run=1, unit_flags=16384, AIName="", ScriptName="npc_four_car_garage" WHERE entry=35069;
|
||||
UPDATE creature_template SET minlevel=80, maxlevel=80, exp=0, faction=1735, npcflag=16777216, speed_walk=1.2, speed_run=1, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=16384, unit_class=4, dynamicflags=8, spell1=67816, spell2=69502, VehicleId=435, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35433;
|
||||
DELETE FROM vehicle_template_accessory WHERE entry=35069;
|
||||
INSERT INTO vehicle_template_accessory VALUES (35069, 36355, 7, 1, 'Isle of Conquest Siege Engine - main turret (horde)', 6, 30000);
|
||||
INSERT INTO vehicle_template_accessory VALUES (35069, 36356, 1, 1, 'Isle of Conquest Siege Engine - flame turret 1 (horde)', 6, 30000);
|
||||
INSERT INTO vehicle_template_accessory VALUES (35069, 36356, 2, 1, 'Isle of Conquest Siege Engine - flame turret 2 (horde)', 6, 30000);
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(35069, 35433);
|
||||
INSERT INTO npc_spellclick_spells VALUES (35069, 66245, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (35069, 46598, 1, 0); -- accessorys
|
||||
INSERT INTO npc_spellclick_spells VALUES (35433, 66245, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (35433, 46598, 1, 0); -- accessorys
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=18 AND SourceGroup IN (35069, 35433);
|
||||
INSERT INTO conditions VALUES (18, 35069, 66245, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Require player for spellclick');
|
||||
INSERT INTO conditions VALUES (18, 35069, 46598, 0, 0, 31, 0, 3, 0, 0, 0, 0, 0, '', 'Require unit for spellclick');
|
||||
INSERT INTO conditions VALUES (18, 35433, 66245, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Require player for spellclick');
|
||||
INSERT INTO conditions VALUES (18, 35433, 46598, 0, 0, 31, 0, 3, 0, 0, 0, 0, 0, '', 'Require unit for spellclick');
|
||||
|
||||
-- Flame Turret A (34778, 35417)
|
||||
UPDATE creature_template SET difficulty_entry_1=35417, exp=0, faction=1732, minlevel=70, maxlevel=70, npcflag=16777216, unit_flags=2, unit_class=1, spell1=66183, spell2=66186, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=34778;
|
||||
UPDATE creature_template SET exp=0, faction=1732, npcflag=16777216, minlevel=80, maxlevel=80, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=2, unit_class=1, spell1=66183, spell2=68832, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35417;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(34778, 35417);
|
||||
INSERT INTO npc_spellclick_spells VALUES (34778, 67830, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (35417, 67830, 1, 0);
|
||||
|
||||
-- Flame Turret H (36356, 36358)
|
||||
UPDATE creature_template SET difficulty_entry_1=36358, exp=0, faction=1735, minlevel=70, maxlevel=70, npcflag=16777216, unit_flags=2, unit_class=1, spell1=66183, spell2=66186, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=36356;
|
||||
UPDATE creature_template SET exp=0, faction=1735, npcflag=16777216, minlevel=80, maxlevel=80, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=2, unit_class=1, spell1=66183, spell2=68832, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=36358;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(36356, 36358);
|
||||
INSERT INTO npc_spellclick_spells VALUES (36356, 67830, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (36358, 67830, 1, 0);
|
||||
|
||||
-- Siege Turret A (34777, 35436)
|
||||
UPDATE creature_template SET difficulty_entry_1=35436, exp=0, faction=1732, minlevel=70, maxlevel=70, npcflag=16777216, unit_flags=2, unit_class=1, spell1=67461, spell2=67462, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=34777;
|
||||
UPDATE creature_template SET exp=0, faction=1732, npcflag=16777216, minlevel=80, maxlevel=80, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=2, unit_class=1, spell1=67461, spell2=67462, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=35436;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(34777, 35436);
|
||||
INSERT INTO npc_spellclick_spells VALUES (34777, 67830, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (35436, 67830, 1, 0);
|
||||
|
||||
-- Siege Turret H (36355, 36357)
|
||||
UPDATE creature_template SET difficulty_entry_1=36357, exp=0, faction=1735, minlevel=70, maxlevel=70, npcflag=16777216, unit_flags=2, unit_class=1, spell1=67461, spell2=67462, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=36355;
|
||||
UPDATE creature_template SET exp=0, faction=1735, npcflag=16777216, minlevel=80, maxlevel=80, mindmg=252, maxdmg=357, attackpower=304, baseattacktime=2000, dmg_multiplier=1, unit_flags=2, unit_class=1, spell1=67461, spell2=67462, VehicleId=436, RegenHealth=0, mechanic_immune_mask=344407930 WHERE entry=36357;
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(36355, 36357);
|
||||
INSERT INTO npc_spellclick_spells VALUES (36355, 67830, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (36357, 67830, 1, 0);
|
||||
|
||||
-- Fix Teleports
|
||||
DELETE FROM spell_linked_spell WHERE spell_trigger IN (66548,66549,66550,66551);
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=13 AND SourceEntry IN (66550, 66551);
|
||||
INSERT INTO conditions VALUES (13, 1, 66550, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, '', 'Isle of Conquest - Teleport Fortress Out');
|
||||
INSERT INTO conditions VALUES (13, 1, 66550, 0, 0, 35, 0, 1, 10, 1, 0, 0, 0, '', 'Isle of Conquest - Teleport Fortress Out');
|
||||
INSERT INTO conditions VALUES (13, 1, 66551, 0, 0, 31, 0, 3, 22515, 0, 0, 0, 0, '', 'Isle of Conquest - Teleport Fortress In');
|
||||
INSERT INTO conditions VALUES (13, 1, 66551, 0, 0, 35, 0, 1, 10, 1, 0, 0, 0, '', 'Isle of Conquest - Teleport Fortress In');
|
||||
|
||||
SET @CGUID := 90179;
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+13;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(@CGUID+0, 22515, 628, 3, 1, 392.4965, -859.4583, 48.99871, 3.036873, 7200, 0, 0), -- A IN
|
||||
(@CGUID+1, 22515, 628, 3, 1, 313.2344, -918.0452, 48.85597, 4.869469, 7200, 0, 0), -- A OUT
|
||||
(@CGUID+2, 22515, 628, 3, 1, 279.8698, -832.8073, 51.55094, 0, 7200, 0, 0), -- A CENTER
|
||||
(@CGUID+3, 22515, 628, 3, 1, 323.4965, -883.8021, 48.99959, 1.466077, 7200, 0, 0), -- A IN
|
||||
(@CGUID+4, 22515, 628, 3, 1, 430.6007, -857.0052, 48.31177, 0.1396263, 7200, 0, 0), -- A OUT
|
||||
(@CGUID+5, 22515, 628, 3, 1, 325.9167, -781.8993, 49.00521, 4.590216, 7200, 0, 0), -- A IN
|
||||
(@CGUID+6, 22515, 628, 3, 1, 326.2135, -744.0243, 49.43576, 1.308997, 7200, 0, 0), -- A OUT
|
||||
(@CGUID+7, 22515, 628, 3, 1, 1139.498, -779.4739, 48.73496, 3.001966, 7200, 0, 0), -- H OUT
|
||||
(@CGUID+8, 22515, 628, 3, 1, 1162.913, -745.908, 48.71506, 0.1396263, 7200, 0, 0), -- H IN
|
||||
(@CGUID+9, 22515, 628, 3, 1, 1234.304, -688.2986, 49.22296, 4.677482, 7200, 0, 0), -- H IN
|
||||
(@CGUID+10, 22515, 628, 3, 1, 1232.524, -666.3246, 48.13402, 2.303835, 7200, 0, 0), -- H OUT
|
||||
(@CGUID+11, 22515, 628, 3, 1, 1233.106, -838.316, 48.99958, 1.466077, 7200, 0, 0), -- H IN
|
||||
(@CGUID+12, 22515, 628, 3, 1, 1232.387, -861.0243, 48.99959, 3.560472, 7200, 0, 0), -- H OUT
|
||||
(@CGUID+13, 22515, 628, 3, 1, 1296.526, -766.1823, 50.70293, 3.089233, 7200, 0, 0); -- H CENTER
|
||||
|
||||
-- Fix Transport Vehicles
|
||||
UPDATE creature SET spawnMask=3, curhealth=50000 WHERE map IN(641, 642); -- Transport NPCs
|
||||
|
||||
-- Huge Seaforium Bomb (195332)
|
||||
-- Huge Seaforium Bomb (195333)
|
||||
UPDATE gameobject_template SET data3=1 WHERE entry IN(195332, 195333);
|
||||
|
||||
|
||||
-- -------------
|
||||
-- ACHIEVEMENTS
|
||||
-- -------------
|
||||
-- A-bomb-inable (3848)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(12066);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(12066);
|
||||
INSERT INTO achievement_criteria_data VALUES(12066, 0, 0, 0, "");
|
||||
DELETE FROM spell_script_names WHERE spell_id=66676;
|
||||
INSERT INTO spell_script_names VALUES(66676, "spell_ioc_bomb_blast_criteria");
|
||||
|
||||
-- A-bomb-ination (3849)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(12067);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(12067);
|
||||
INSERT INTO achievement_criteria_data VALUES(12067, 0, 0, 0, "");
|
||||
DELETE FROM spell_script_names WHERE spell_id=66672;
|
||||
INSERT INTO spell_script_names VALUES(66672, "spell_ioc_bomb_blast_criteria");
|
||||
|
||||
-- Cut the Blue Wire... No the Red Wire! (3852)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(12132);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(12132);
|
||||
INSERT INTO achievement_criteria_data VALUES(12132, 20, 628, 0, "");
|
||||
|
||||
-- Back Door Job (3854)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(12163);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(12163);
|
||||
INSERT INTO achievement_criteria_data VALUES(12163, 0, 0, 0, "");
|
||||
|
||||
-- Isle of Conquest All-Star (3845)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(12059, 11487, 11488, 11491);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(12059, 11487, 11488, 11491);
|
||||
INSERT INTO achievement_criteria_data VALUES(12059, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(11487, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(11488, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(11491, 0, 0, 0, "");
|
||||
|
||||
|
||||
-- ------------------------
|
||||
-- Dalaran Sewers
|
||||
-- ------------------------
|
||||
DELETE FROM disables WHERE entry = 10 AND sourceType=3;
|
||||
-- Water sprout trigger
|
||||
UPDATE creature_template SET modelid1=11686, modelid2=0 WHERE entry=28567;
|
||||
|
||||
-- ------------------------
|
||||
-- Outdoor PVP
|
||||
-- ------------------------
|
||||
-- Eastern Plaguelands
|
||||
UPDATE gameobject_template SET AIName="SmartGameObjectAI" WHERE entry=181682;
|
||||
DELETE FROM smart_scripts WHERE entryorguid=181682 AND source_type=1;
|
||||
INSERT INTO smart_scripts VALUES (181682, 1, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 85, 30238, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Cast spell on click');
|
||||
|
||||
-- Zangarmarsh
|
||||
DELETE FROM gossip_menu_option WHERE menu_id IN(7722, 7724) AND option_id=19;
|
||||
INSERT INTO gossip_menu_option VALUES(7722, 2, 0, 'Give me the flag!', 19, 1, 0, 0, 0, 0, '');
|
||||
INSERT INTO gossip_menu_option VALUES(7724, 2, 0, 'Give me the flag!', 19, 1, 0, 0, 0, 0, '');
|
||||
DELETE FROM gameobject WHERE id IN(182527, 182528, 182529);
|
||||
|
||||
-- -------------------------------------
|
||||
-- Venture Bay
|
||||
-- -------------------------------------
|
||||
REPLACE INTO outdoorpvp_template VALUES(7, 'outdoorpvp_gh', 'Grizzly Hills');
|
||||
DELETE FROM gameobject WHERE id=189310;
|
||||
DELETE FROM game_event WHERE eventEntry IN (65, 66);
|
||||
INSERT INTO game_event VALUES (65, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 5184000, 2592000, 0, 'Venture Bay Alliance Defence', 5);
|
||||
INSERT INTO game_event VALUES (66, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 5184000, 2592000, 0, 'Venture Bay Horde Defence', 5);
|
||||
-- Add Game event spawns for Venture Bay
|
||||
DELETE FROM game_event_creature WHERE eventEntry IN (65, 66);
|
||||
DELETE FROM game_event_gameobject WHERE eventEntry IN (65, 66);
|
||||
INSERT INTO game_event_creature VALUES
|
||||
-- Alliance
|
||||
(65, 106209), -- Commander Howser
|
||||
(65, 106275), -- "Grizzly" D. Adams
|
||||
(65, 102110), -- Tim Street <Stable Master>
|
||||
(65, 102293), -- Jason Riggins <Blacksmithing Supplies>
|
||||
(65, 106139), (65, 106140), (65, 106141), (65, 106142), (65, 106168), (65, 106169), (65, 106170), (65, 106171), (65, 106172), (65, 106173), (65, 106174), (65, 106175), (65, 106176), -- Westfall Brigade Defender
|
||||
(65, 107711), (65, 107712), (65, 107713), (65, 107714), -- Horse
|
||||
-- Horde
|
||||
(66, 85483), -- General Gorlok
|
||||
(66, 107018), -- Purkom
|
||||
(66, 85484), -- Kor <Stable Master>
|
||||
(66, 102366), -- Koloth <Blacksmithing Supplies>
|
||||
(66, 86565), (66, 86566), (66, 86567), (66, 86568), (66, 86569), (66, 86570), (66, 86571), (66, 86572), (66, 86573), (66, 86574), (66, 86575), (66, 86651), (66, 86652), (66, 86654), -- Conquest Hold Defender
|
||||
(66, 108972), (66, 108973), (66, 108974), (66, 108975); -- Riding Wolf
|
||||
INSERT INTO game_event_gameobject VALUES
|
||||
-- Alliance
|
||||
(65, 59043), -- Forge
|
||||
(65, 59616), -- Blacksmith's Anvil
|
||||
-- Horde
|
||||
(66, 59624), -- Forge
|
||||
(66, 59029); -- Blacksmith's Anvil
|
||||
-- -------------------------------------
|
||||
|
||||
|
||||
-- ------------------------
|
||||
-- Ring of Valor
|
||||
-- ------------------------
|
||||
|
||||
DELETE FROM disables WHERE sourceType=3 AND entry=11;
|
||||
429
data/sql/world fixes/instances/Battlegrounds/wg.sql
Normal file
429
data/sql/world fixes/instances/Battlegrounds/wg.sql
Normal file
@@ -0,0 +1,429 @@
|
||||
|
||||
-- ----------------------------------------
|
||||
-- OURS FIXES, contains self and corrected TC fixes
|
||||
-- ----------------------------------------
|
||||
|
||||
-- Missile Spells, reduce damage by distance
|
||||
DELETE FROM spell_script_names WHERE spell_id IN(57610, 57607, 50999, 51422);
|
||||
INSERT INTO spell_script_names VALUES (57610, 'spell_wg_reduce_damage_by_distance');
|
||||
INSERT INTO spell_script_names VALUES (57607, 'spell_wg_reduce_damage_by_distance');
|
||||
INSERT INTO spell_script_names VALUES (50999, 'spell_wg_reduce_damage_by_distance');
|
||||
INSERT INTO spell_script_names VALUES (51422, 'spell_wg_reduce_damage_by_distance');
|
||||
|
||||
|
||||
-- Add Trinity String for Spirit Guide and wintergrasp battle mage
|
||||
DELETE FROM trinity_string WHERE entry IN (20071, 20072, 20074, 20073, 20070, 20075, 20076, 20077, 20078);
|
||||
INSERT INTO trinity_string(`entry`,`content_default`) VALUES
|
||||
(20071, 'Guide me to the Sunken Ring Graveyard.'),
|
||||
(20072, 'Guide me to the Broken Temple Graveyard.'),
|
||||
(20074, 'Guide me to the Eastspark Graveyard.'),
|
||||
(20073, 'Guide me to the Westspark Graveyard.'),
|
||||
(20070, 'Guide me to the Fortress Graveyard.'),
|
||||
(20075, 'Guide me back to the Horde landing camp.'),
|
||||
(20076, 'Guide me back to the Alliance landing camp.'),
|
||||
(20077, 'Queue for Wintergrasp.'),
|
||||
(20078, '|cffff0000[Wintergrasp]:|r Battle started!|r');
|
||||
|
||||
-- Correct Alliance Fueling The Demolishers quest data
|
||||
UPDATE creature_template SET AIName='', ScriptName='npc_wg_quest_giver' WHERE entry=31108;
|
||||
UPDATE quest_template SET RequiredRaces=1101, ExclusiveGroup=13153 WHERE Id=236;
|
||||
DELETE FROM creature_queststarter WHERE quest IN(13197, 236);
|
||||
DELETE FROM creature_questender WHERE quest IN(13197, 236);
|
||||
INSERT INTO creature_queststarter VALUES (31108, 236),(31108, 13197);
|
||||
INSERT INTO creature_questender VALUES (31108, 236),(31108, 13197);
|
||||
|
||||
-- Senior Demolitionist Legoso (31109)
|
||||
UPDATE creature_template SET AIName='', ScriptName='npc_wg_quest_giver' WHERE entry=31109;
|
||||
|
||||
|
||||
-- Quest Pools, Wintergrasp weeklies (pool defender verion only)
|
||||
-- Alliance
|
||||
DELETE FROM pool_quest WHERE entry IN(13154, 13196, 13156, 13195, 236, 13197, 13153, 13198);
|
||||
INSERT INTO pool_quest VALUES(13154, 385, "Bones and Arrows");
|
||||
-- INSERT INTO pool_quest VALUES(13196, 385, "Bones and Arrows");
|
||||
INSERT INTO pool_quest VALUES(13156, 385, "A Rare Herb");
|
||||
-- INSERT INTO pool_quest VALUES(13195, 385, "A Rare Herb");
|
||||
INSERT INTO pool_quest VALUES(236, 385, "Fueling the Demolishers");
|
||||
-- INSERT INTO pool_quest VALUES(13197, 385, "Fueling the Demolishers");
|
||||
INSERT INTO pool_quest VALUES(13153, 385, "Warding the Warriors");
|
||||
-- INSERT INTO pool_quest VALUES(13198, 385, "Warding the Warriors");
|
||||
DELETE FROM pool_template WHERE description="Wintergrasp Alliance Weeklies";
|
||||
INSERT INTO pool_template VALUES(385, 1, "Wintergrasp Alliance Weeklies");
|
||||
-- Horde
|
||||
DELETE FROM pool_quest WHERE entry IN(13193, 13199, 13191, 13200, 13194, 13201, 13192, 13202);
|
||||
INSERT INTO pool_quest VALUES(13193, 384, "Bones and Arrows");
|
||||
-- INSERT INTO pool_quest VALUES(13199, 384, "Bones and Arrows");
|
||||
INSERT INTO pool_quest VALUES(13191, 384, "Fueling the Demolishers");
|
||||
-- INSERT INTO pool_quest VALUES(13200, 384, "Fueling the Demolishers");
|
||||
INSERT INTO pool_quest VALUES(13194, 384, "Healing with Roses");
|
||||
-- INSERT INTO pool_quest VALUES(13201, 384, "Healing with Roses");
|
||||
INSERT INTO pool_quest VALUES(13192, 384, "Warding the Walls");
|
||||
-- INSERT INTO pool_quest VALUES(13202, 384, "Jinxing the Walls");
|
||||
DELETE FROM pool_template WHERE description="Wintergrasp Horde Weeklies";
|
||||
INSERT INTO pool_template VALUES(384, 1, "Wintergrasp Horde Weeklies");
|
||||
|
||||
-- TC, remove some unused scripts
|
||||
DELETE FROM spell_script_names WHERE ScriptName IN('spell_wintergrasp_defender_teleport', 'spell_wintergrasp_defender_teleport_trigger', 'spell_wintergrasp_grab_passenger');
|
||||
|
||||
-- Fix teleporters
|
||||
DELETE FROM spell_linked_spell WHERE spell_trigger=54640;
|
||||
INSERT INTO spell_linked_spell VALUES (54640, 54643, 0, 'WG teleporter');
|
||||
|
||||
-- Correct Queue npcs
|
||||
UPDATE creature_template SET npcflag=npcflag|1 WHERE ScriptName='npc_wg_queue';
|
||||
|
||||
-- Arcanist Braedin <Wintergrasp Battle-Mage> (32169)
|
||||
DELETE FROM creature_text WHERE entry=32169;
|
||||
INSERT INTO creature_text VALUES(32169, 0, 0, 'Reinforcements are needed on the Wintergrasp battlefield! I have opened a portal for quick travel to the battle at The Silver Enclave.', 14, 0, 100, 0, 0, 0, 2, 'Arcanist Braedin');
|
||||
|
||||
-- Magister Surdiel <Wintergrasp Battle-Mage> (32170)
|
||||
DELETE FROM creature_text WHERE entry=32170;
|
||||
INSERT INTO creature_text VALUES(32170, 0, 0, 'The battle for control of Wintergrasp will begin in 5 minutes! Prepare yourselves for battle!', 14, 0, 100, 0, 0, 0, 2, 'Magister Surdiel');
|
||||
|
||||
-- Wrong Gossip
|
||||
REPLACE INTO gossip_menu_option VALUES (10662, 0, 19, 'Queue for Wintergrasp.', 12, 1, 0, 0, 0, 0, '');
|
||||
REPLACE INTO gossip_menu_option VALUES (10666, 0, 19, 'Queue for Wintergrasp.', 12, 1, 0, 0, 0, 0, '');
|
||||
|
||||
-- Hide small elementals during battle
|
||||
DELETE FROM creature_addon WHERE guid IN(SELECT guid FROM creature WHERE id IN(30842, 30845, 30846, 30847, 30849));
|
||||
REPLACE INTO creature_template_addon VALUES(30842, 0, 0, 0, 1, 0, '52107');
|
||||
REPLACE INTO creature_template_addon VALUES(30845, 0, 0, 0, 1, 0, '52107');
|
||||
REPLACE INTO creature_template_addon VALUES(30846, 0, 0, 0, 1, 0, '52107');
|
||||
REPLACE INTO creature_template_addon VALUES(30847, 0, 0, 0, 1, 0, '52107');
|
||||
REPLACE INTO creature_template_addon VALUES(30849, 0, 0, 0, 1, 0, '42617 52107');
|
||||
DELETE FROM spell_script_names WHERE spell_id=52107;
|
||||
INSERT INTO spell_script_names VALUES(52107, 'spell_wintergrasp_hide_small_elementals');
|
||||
|
||||
-- add vendor entries, wg mark of honor -> wg commendation
|
||||
REPLACE INTO npc_vendor VALUES(32296, 0, 44115, 0, 0, 2576);
|
||||
REPLACE INTO npc_vendor VALUES(32294, 0, 44115, 0, 0, 2576);
|
||||
|
||||
-- fix turrets orientation
|
||||
UPDATE creature_template SET unit_flags=unit_flags|4, ScriptName="" WHERE entry=28366;
|
||||
|
||||
-- Remove unused KillCredit1
|
||||
UPDATE creature_template SET KillCredit1=0 WHERE KillCredit1=31093;
|
||||
|
||||
-- Horde Guard - Fix faction
|
||||
UPDATE creature_template SET faction=2132 WHERE entry=30739;
|
||||
|
||||
-- Add Player Loot for WG quests
|
||||
DELETE FROM creature_loot_template WHERE entry=1 AND item IN(43314, 43322, 43323, 43324, 44808, 44809);
|
||||
INSERT INTO creature_loot_template VALUES(1, 43314, -100, 1, 0, 5, 5);
|
||||
INSERT INTO creature_loot_template VALUES(1, 43322, -100, 1, 0, 5, 5);
|
||||
INSERT INTO creature_loot_template VALUES(1, 43323, -100, 1, 0, 5, 5);
|
||||
INSERT INTO creature_loot_template VALUES(1, 43324, -100, 1, 0, 5, 5);
|
||||
INSERT INTO creature_loot_template VALUES(1, 44808, -100, 1, 0, 5, 5);
|
||||
INSERT INTO creature_loot_template VALUES(1, 44809, -100, 1, 0, 5, 5);
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=1 AND SourceGroup=1 AND SourceEntry IN(43314, 43322, 43323, 43324, 44808, 44809);
|
||||
INSERT INTO conditions VALUES(1, 1, 44808, 0, 0, 23, 0, 4585, 0, 0, 0, 0, 0, '', 'Requires Glacial Falls area');
|
||||
INSERT INTO conditions VALUES(1, 1, 43322, 0, 0, 23, 0, 4585, 0, 0, 0, 0, 0, '', 'Requires Glacial Falls area');
|
||||
INSERT INTO conditions VALUES(1, 1, 43314, 0, 0, 23, 0, 4584, 0, 0, 0, 0, 0, '', 'Requires Cauldron of Flames area');
|
||||
INSERT INTO conditions VALUES(1, 1, 43323, 0, 0, 23, 0, 4587, 0, 0, 0, 0, 0, '', 'Requires Forest of Shadows area');
|
||||
INSERT INTO conditions VALUES(1, 1, 43324, 0, 0, 23, 0, 4590, 0, 0, 0, 0, 0, '', 'Requires Steppe of Life area');
|
||||
INSERT INTO conditions VALUES(1, 1, 44809, 0, 0, 23, 0, 4590, 0, 0, 0, 0, 0, '', 'Requires Steppe of Life area');
|
||||
|
||||
-- Update spellclicks for vehicles (gear scaling)
|
||||
DELETE FROM npc_spellclick_spells WHERE npc_entry IN(27881, 28094, 28312, 32627);
|
||||
INSERT INTO npc_spellclick_spells VALUES (27881, 60968, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (28094, 60968, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (28312, 60968, 1, 0);
|
||||
INSERT INTO npc_spellclick_spells VALUES (32627, 60968, 1, 0);
|
||||
UPDATE creature_template SET AIName='', ScriptName='npc_wg_siege_machine' WHERE entry IN(27881, 28094, 28312, 32627);
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=18 AND SourceGroup IN(27881, 28094, 28312, 32627);
|
||||
|
||||
-- fix visual arms control targetting
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=13 AND SourceEntry=49899;
|
||||
INSERT INTO conditions VALUES (13, 1, 49899, 0, 0, 31, 0, 3, 27852, 0, 0, 0, 0, '', 'Target entry 27852');
|
||||
INSERT INTO conditions VALUES (13, 1, 49899, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, '', 'Target must be alive');
|
||||
DELETE FROM spell_scripts WHERE id=49899;
|
||||
INSERT INTO spell_scripts VALUES(49899, 0, 0, 1, 416, 0, 0, 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`,`NegativeCondition`) VALUES
|
||||
(14,9904,13759,0,1,33280, 0), -- Must have Rank 1: Corporal
|
||||
(14,9904,13759,1,1,55629, 0), -- Or must have Rank 2: First Lieutenant
|
||||
(14,9904,13761,0,1,33280, 1), -- Must not have Rank 1: Corporal
|
||||
(14,9904,13761,0,1,55629, 1), -- Must not have Rank 2: First Lieutenant
|
||||
-- Add gossip_menu condition for 9923 Alliance
|
||||
(14,9923,13798,0,1,33280, 0), -- Must have Rank 1: Corporal
|
||||
(14,9923,13798,1,1,55629, 0), -- Or must have Rank 2: First Lieutenant
|
||||
(14,9923,14172,0,1,33280, 1), -- Must not have Rank 1: Corporal
|
||||
(14,9923,14172,0,1,55629, 1), -- Must not have Rank 2: First Lieutenant
|
||||
-- Add conditions to gossip options horde
|
||||
(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
|
||||
-- Add conditions to gossip options alliance
|
||||
(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
|
||||
|
||||
-- Spell area for filight zone and essence of Wintergrasp
|
||||
DELETE FROM `spell_area` WHERE `spell` IN (58730,57940,58045);
|
||||
INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`) VALUES
|
||||
(58730,4581,0,0,0,0,2,1), -- Restricted Flight Area (Wintergrasp Eject)
|
||||
(58730,4539,0,0,0,0,2,1),(58730,4197,0,0,0,0,2,1),(58730,4585,0,0,0,0,2,1),(58730,4612,0,0,0,0,2,1),(58730,4582,0,0,0,0,2,1),
|
||||
(58730,4583,0,0,0,0,2,1),(58730,4589,0,0,0,0,2,1),(58730,4575,0,0,0,0,2,1),(58730,4538,0,0,0,0,2,1),(58730,4577,0,0,0,0,2,1),
|
||||
(57940,65,0,0,0,0,2,1), -- Essence of Wintergrasp OUTSIDE wintergrasp
|
||||
(57940,66,0,0,0,0,2,1),(57940,67,0,0,0,0,2,1),(57940,206,0,0,0,0,2,1),(57940,210,0,0,0,0,2,1),(57940,394,0,0,0,0,2,1),
|
||||
(57940,395,0,0,0,0,2,1),(57940,1196,0,0,0,0,2,1),(57940,2817,0,0,0,0,2,1),(57940,3456,0,0,0,0,2,1),(57940,3477,0,0,0,0,2,1),
|
||||
(57940,3537,0,0,0,0,2,1),(57940,3711,0,0,0,0,2,1),(57940,4100,0,0,0,0,2,1),(57940,4196,0,0,0,0,2,1),(57940,4228,0,0,0,0,2,1),
|
||||
(57940,4264,0,0,0,0,2,1),(57940,4265,0,0,0,0,2,1),(57940,4272,0,0,0,0,2,1),(57940,4273,0,0,0,0,2,1),(57940,4395,0,0,0,0,2,1),
|
||||
(57940,4415,0,0,0,0,2,1),(57940,4436,0,0,0,0,2,1),(57940,4493,0,0,0,0,2,1),(57940,4494,0,0,0,0,2,1),(57940,4603,0,0,0,0,2,1),
|
||||
(57940,4277,0,0,0,0,2,1),(57940,4723,0,0,0,0,2,1),(57940,4416,0,0,0,0,2,1),(57940,480,0,0,0,0,2,1),(57940,4813,0,0,0,0,2,1),
|
||||
(58045,4197,0,0,0,0,2,1); -- Essence of Wintergrasp INSIDE wintergrasp
|
||||
|
||||
SET @SPELL_HORDE := 56618;
|
||||
SET @SPELL_ALLIANCE := 56617;
|
||||
|
||||
SET @AREA_SUNKEN_RING := 4538;
|
||||
SET @AREA_BROKEN_TEMPLE := 4539;
|
||||
SET @AREA_CHILLED_QUAGMIRE := 4589; -- chilled quagmire
|
||||
SET @AREA_W_WORKSHOP := 4611;
|
||||
SET @AREA_E_WORKSHOP := 4612;
|
||||
|
||||
DELETE FROM `spell_area` WHERE `spell` IN (@SPELL_HORDE, @SPELL_ALLIANCE);
|
||||
INSERT INTO `spell_area` (`spell`,`area`,`autocast`) VALUES
|
||||
(@SPELL_HORDE, @AREA_SUNKEN_RING, 1),(@SPELL_ALLIANCE, @AREA_SUNKEN_RING, 1),
|
||||
(@SPELL_HORDE, @AREA_BROKEN_TEMPLE, 1),(@SPELL_ALLIANCE, @AREA_BROKEN_TEMPLE, 1),
|
||||
(@SPELL_HORDE, @AREA_CHILLED_QUAGMIRE, 1),(@SPELL_ALLIANCE, @AREA_CHILLED_QUAGMIRE, 1),
|
||||
(@SPELL_HORDE, @AREA_W_WORKSHOP, 1),(@SPELL_ALLIANCE, @AREA_W_WORKSHOP, 1),
|
||||
(@SPELL_HORDE, @AREA_E_WORKSHOP, 1),(@SPELL_ALLIANCE, @AREA_E_WORKSHOP, 1);
|
||||
|
||||
-- fix NE flight in WG
|
||||
REPLACE INTO spell_area VALUES(55173, 4197, 0, 0, 8326, 8, 2, 1, 64, 11);
|
||||
|
||||
-- fix spirit guids phasemask!
|
||||
UPDATE creature SET phaseMask=16 WHERE id=31841;
|
||||
UPDATE creature SET phaseMask=32 WHERE id=31842;
|
||||
UPDATE creature SET phaseMask=64 WHERE guid=88314; -- fortress - needs horde control
|
||||
UPDATE creature SET phaseMask=128+64 WHERE guid=88315; -- Horde outside
|
||||
UPDATE creature SET phaseMask=128 WHERE guid=88320; -- fortress - needs alliance control
|
||||
UPDATE creature SET phaseMask=64+128 WHERE guid=88321; -- Ally outside
|
||||
|
||||
-- Delete invalid trigger
|
||||
DELETE FROM creature_addon WHERE guid=131724;
|
||||
DELETE FROM creature WHERE guid=131724;
|
||||
|
||||
-- Fix trash phasemask :)
|
||||
-- only controlling faction can see them
|
||||
UPDATE creature SET phaseMask=256 WHERE id IN(30877, 30876, 30875, 30873, 34300, 30872);
|
||||
UPDATE creature SET phaseMask=1 WHERE id IN(30845, 30849, 30842, 30846, 30848);
|
||||
-- DELETE CREATURES FROM SPAWNS, SPAWNED MANUALLY BY CORE
|
||||
DELETE FROM creature_addon WHERE guid IN(SELECT guid FROM creature WHERE map=571 AND id IN(30739,30740,31102,32296,31101,39173,31091,31151,31106,31053,31107,31052,32294,31051,
|
||||
39172,31036,31153,31108,31054,31109,28312,32627,27881,28094,28366, 32616, 32617, 32618, 32619, 32620, 32621, 32622, 32623, 32624, 32625));
|
||||
DELETE FROM creature WHERE map=571 AND id IN(30739,30740,31102,32296,31101,39173,31091,31151,31106,31053,31107,31052,32294,31051,
|
||||
39172,31036,31153,31108,31054,31109,28312,32627,27881,28094,28366, 32616, 32617, 32618, 32619, 32620, 32621, 32622, 32623, 32624, 32625);
|
||||
DELETE FROM gameobject WHERE map=571 AND id IN(190763, 192951, 190356, 190357, 190358, 191810, 190375, 191797, 191798, 191805, 190221, 190373, 190377,
|
||||
190378, 190219, 190220, 191795, 191796, 191799, 191800, 191801, 191802, 191803, 191804, 191806, 191807, 191808, 191809, 190369, 190370, 190371, 190372,
|
||||
190374, 190376, 194162, 194323);
|
||||
|
||||
-- Fix battlemaster portals
|
||||
DELETE FROM battlemaster_entry WHERE entry BETWEEN 32616 AND 32625;
|
||||
INSERT INTO battlemaster_entry VALUES (32616, 1),(32617, 1),(32618, 3),(32619, 3),(32620, 7),(32621, 7),(32622, 9),(32623, 9),(32624, 2),(32625, 2);
|
||||
REPLACE INTO creature_template VALUES (32616, 0, 0, 0, 0, 0, 26484, 0, 0, 0, 'Alterac Valley Portal', '', 'Interact', 0, 80, 80, 2, 534, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32617, 0, 0, 0, 0, 0, 26494, 0, 0, 0, 'Alterac Valley Portal', '', 'Interact', 0, 80, 80, 2, 714, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32618, 0, 0, 0, 0, 0, 26495, 0, 0, 0, 'Arathi Basin Portal', '', 'Interact', 0, 80, 80, 2, 534, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32619, 0, 0, 0, 0, 0, 26496, 0, 0, 0, 'Arathi Basin Portal', '', 'Interact', 0, 80, 80, 2, 714, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32620, 0, 0, 0, 0, 0, 26501, 0, 0, 0, 'Eye of the Storm Portal', '', 'Interact', 0, 80, 80, 2, 714, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32621, 0, 0, 0, 0, 0, 26499, 0, 0, 0, 'Eye of the Storm Portal', '', 'Interact', 0, 80, 80, 2, 534, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32622, 0, 0, 0, 0, 0, 26504, 0, 0, 0, 'Strand of the Ancients Portal', '', 'Interact', 0, 80, 80, 2, 534, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32623, 0, 0, 0, 0, 0, 26505, 0, 0, 0, 'Strand of the Ancients Portal', '', 'Interact', 0, 80, 80, 2, 714, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32624, 0, 0, 0, 0, 0, 26502, 0, 0, 0, 'Warsong Gulch Portal', '', 'Interact', 0, 80, 80, 2, 534, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
REPLACE INTO creature_template VALUES (32625, 0, 0, 0, 0, 0, 26503, 0, 0, 0, 'Warsong Gulch Portal', '', 'Interact', 0, 80, 80, 2, 714, 1048577, 1, 1, 1, 0, 422, 586, 0, 642, 1, 2000, 0, 1, 2147746560, 2048, 8, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, '', 12340);
|
||||
|
||||
|
||||
DELETE FROM creature_addon WHERE guid=131839;
|
||||
DELETE FROM creature WHERE guid=131839;
|
||||
|
||||
-- Add script names for build vehicle spells
|
||||
-- triggered cast (creature->player)
|
||||
DELETE FROM spell_script_names WHERE spell_id IN (61409, 56662, 56664, 56659, 49899);
|
||||
INSERT INTO spell_script_names VALUES (61409, 'spell_wintergrasp_force_building');
|
||||
INSERT INTO spell_script_names VALUES (56659, 'spell_wintergrasp_force_building');
|
||||
INSERT INTO spell_script_names VALUES (56662, 'spell_wintergrasp_force_building');
|
||||
INSERT INTO spell_script_names VALUES (56664, 'spell_wintergrasp_force_building');
|
||||
DELETE FROM spell_script_names WHERE spell_id IN (56575, 56661, 56663, 61408);
|
||||
INSERT INTO spell_script_names VALUES (56575, 'spell_wintergrasp_create_vehicle');
|
||||
INSERT INTO spell_script_names VALUES (56661, 'spell_wintergrasp_create_vehicle');
|
||||
INSERT INTO spell_script_names VALUES (56663, 'spell_wintergrasp_create_vehicle');
|
||||
INSERT INTO spell_script_names VALUES (61408, 'spell_wintergrasp_create_vehicle');
|
||||
|
||||
-- RP-GG script
|
||||
-- tracking spell
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=13 AND SourceEntry IN(49761);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 0, 31, 0, 3, 28312, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 0, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 1, 31, 0, 3, 32627, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 1, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 1, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 2, 31, 0, 3, 28094, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 2, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 2, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 3, 31, 0, 3, 27881, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 3, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 1, 49761, 0, 3, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
-- damage spell
|
||||
DELETE FROM conditions WHERE SourceTypeOrReferenceId=13 AND SourceEntry IN(49760);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 0, 31, 0, 3, 28312, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 0, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 1, 31, 0, 3, 32627, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 1, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 1, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 2, 31, 0, 3, 28094, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 2, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 2, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 3, 31, 0, 3, 27881, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 3, 36, 0, 0, 0, 0, 0, 0, 0, '', NULL);
|
||||
REPLACE INTO `conditions` VALUES (13, 2, 49760, 0, 3, 34, 0, 1, 7, 0, 0, 0, 0, '', NULL);
|
||||
|
||||
-- Wintergrasp water
|
||||
DELETE FROM spell_script_names WHERE spell_id IN (36444);
|
||||
INSERT INTO spell_script_names VALUES(36444, 'spell_wintergrasp_water');
|
||||
|
||||
-- RP-GG script :)
|
||||
DELETE FROM spell_script_names WHERE spell_id IN (49761);
|
||||
INSERT INTO spell_script_names VALUES(49761, 'spell_wintergrasp_rp_gg');
|
||||
|
||||
-- Portal to Wintergrasp (193772)
|
||||
DELETE FROM gameobject WHERE id=193772;
|
||||
INSERT INTO gameobject VALUES (61496, 193772, 571, 1, 1, 5686.8, 773.175, 647.752, 1.83259, 0, 0, 0, 1, 180, 255, 1, 0); -- TDB guid
|
||||
INSERT INTO gameobject VALUES (NULL, 193772, 571, 1, 1, 5923.99, 570.509, 661.087, 5.89636, 0, 0, 0.192208, -0.981354, 300, 0, 1, 0);
|
||||
DELETE FROM spell_script_names WHERE spell_id IN (58622);
|
||||
INSERT INTO spell_script_names VALUES(58622, 'spell_wintergrasp_portal');
|
||||
REPLACE INTO spell_target_position VALUES(59096, 0, 571, 5336.94, 2843.58, 409.24, 0);
|
||||
|
||||
-- NPC talk text insert from sniff
|
||||
DELETE FROM `creature_text` WHERE `entry`=15214 AND `groupid` BETWEEN 0 AND 41;
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (31036,31091) AND `groupid` BETWEEN 0 AND 3;
|
||||
DELETE FROM `creature_text` WHERE `entry` IN (31108,31109,34924) AND `groupid`=0;
|
||||
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
|
||||
(15214,0,0, 'Let the battle begin!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,1,0, 'The Winter\'s Edge Tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,2,0, 'The Winter\'s Edge Tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,3,0, 'The Flamewatch Tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,4,0, 'The Flamewatch Tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,5,0, 'The Shadowsight Tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,6,0, 'The Shadowsight Tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,11,0, 'The Broken Temple siege workshop has been attacked by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,12,0, 'The Broken Temple siege workshop has been captured by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,13,0, 'The Broken Temple siege workshop has been attacked by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,14,0, 'The Broken Temple siege workshop has been captured by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,15,0, 'The Eastspark siege workshop has been attacked by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,16,0, 'The Eastspark siege workshop has been captured by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,17,0, 'The Eastspark siege workshop has been attacked by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,18,0, 'The Eastspark siege workshop has been captured by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,19,0, 'The Sunken Ring siege workshop has been attacked by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,20,0, 'The Sunken Ring siege workshop has been captured by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,21,0, 'The Sunken Ring siege workshop has been attacked by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,22,0, 'The Sunken Ring siege workshop has been captured by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,23,0, 'The Westspark siege workshop has been attacked by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,24,0, 'The Westspark siege workshop has been captured by the Alliance!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,25,0, 'The Westspark siege workshop has been attacked by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,26,0, 'The Westspark siege workshop has been captured by the Horde!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,27,0, 'The Alliance has defended Wintergrasp Fortress!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,28,0, 'The Alliance has captured Wintergrasp Fortress!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,29,0, 'The Horde has defended Wintergrasp Fortress!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,30,0, 'The Horde has captured Wintergrasp Fortress!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,31,0, 'The battle for Wintergrasp is about to begin!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,32,0, 'You have reached Rank 1: Corporal',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,33,0, 'You have reached Rank 2: First Lieutenant',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,34,0, 'The north-western keep tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,35,0, 'The north-western keep tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,36,0, 'The north-eastern keep tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,37,0, 'The north-eastern keep tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,38,0, 'The south-western keep tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,39,0, 'The south-western keep tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,40,0, 'The south-eastern keep tower has been damaged!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
(15214,41,0, 'The south-eastern keep tower has been destroyed!',41,0,0,0,0,0, 'Invisible Stalker'),
|
||||
-- Not sure if all Alliance text is here, need horde text
|
||||
(31036,0,0, 'The first of the Horde towers has fallen! Destroy all three and we will hasten their retreat!',1,7,100,0,0,0, 'Commander Zanneth'),
|
||||
(31036,1,0, 'The second tower has fallen! Destroy the final tower and we will hasten their retreat!',1,7,100,0,0,0, 'Commander Zanneth'),
|
||||
(31036,2,0, 'The Horde towers have fallen! We have forced their hand. Finish off the remaining forces!',1,7,100,0,0,0, 'Commander Zanneth'),
|
||||
(31036,3,0, 'Show those animals no mercy, $n!',0,7,100,0,0,0, 'Commander Zanneth'),
|
||||
(31091,0,0, 'The first of the Alliance towers has fallen! Destroy all three and we will hasten their retreat!',1,7,100,0,0,0, 'Commander Dardosh'),
|
||||
(31091,1,0, 'Lok''tar! The second tower falls! Destroy the final tower and we will hasten their retreat!',1,7,100,0,0,0, 'Commander Dardosh'),
|
||||
(31091,2,0, 'The Alliance towers have fallen! We have forced their hand. Finish off the remaining forces!',1,7,100,0,0,0, 'Commander Dardosh'),
|
||||
(31091,3,0, 'Show those animals no mercy, $n!',0,7,100,0,0,0, 'Commander Dardosh'), -- ???
|
||||
(31108,0,0, 'Stop the Horde from retrieving the embers, $n. We cannot risk them having the advantage when the battle resumes!',0,7,100,0,0,0, 'Siege Master Stouthandle'),
|
||||
(31109,0,0, 'Destroy their foul machines of war, $n!',0,7,100,0,0,0, 'Senior Demolitionist Legoso'),
|
||||
(34924,0,0, 'The gates have been breached! Defend the keep!',1,0,100,0,0,0, 'High Commander Halford Wyrmbane');
|
||||
|
||||
-- ----------------------------------------
|
||||
-- ACHIEVEMENTS
|
||||
-- ----------------------------------------
|
||||
-- Destruction Derby (1737)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(6440, 6441, 6444, 6445);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(6440, 6441, 6444, 6445);
|
||||
INSERT INTO achievement_criteria_data VALUES(6440, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(6441, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(6444, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(6445, 0, 0, 0, "");
|
||||
|
||||
-- Destruction Derby (2476)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(9178, 9179, 9180, 9181);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(9178, 9179, 9180, 9181);
|
||||
INSERT INTO achievement_criteria_data VALUES(9178, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(9179, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(9180, 0, 0, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(9181, 0, 0, 0, "");
|
||||
|
||||
-- Didn't Stand a Chance (1751)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(7703);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(7703);
|
||||
INSERT INTO achievement_criteria_data VALUES(7703, 6, 4197, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7703, 11, 0, 0, "achievement_wg_didnt_stand_a_chance");
|
||||
|
||||
-- Vehicular Gnomeslaughter (1723)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(7704, 7705, 7706, 7707, 7708);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(7704, 7705, 7706, 7707, 7708);
|
||||
INSERT INTO achievement_criteria_data VALUES(7704, 6, 4197, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7704, 11, 0, 0, "achievement_wg_vehicular_gnomeslaughter");
|
||||
INSERT INTO achievement_criteria_data VALUES(7705, 6, 4197, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7705, 11, 0, 0, "achievement_wg_vehicular_gnomeslaughter");
|
||||
INSERT INTO achievement_criteria_data VALUES(7706, 6, 4197, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7706, 11, 0, 0, "achievement_wg_vehicular_gnomeslaughter");
|
||||
INSERT INTO achievement_criteria_data VALUES(7707, 6, 4197, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7707, 11, 0, 0, "achievement_wg_vehicular_gnomeslaughter");
|
||||
INSERT INTO achievement_criteria_data VALUES(7708, 6, 4197, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7708, 11, 0, 0, "achievement_wg_vehicular_gnomeslaughter");
|
||||
|
||||
-- Wintergrasp Ranger (2199)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(7709, 7710, 7711, 7712, 7713, 7714, 7715, 7716, 7717, 7718, 7719);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(7709, 7710, 7711, 7712, 7713, 7714, 7715, 7716, 7717, 7718, 7719);
|
||||
INSERT INTO achievement_criteria_data VALUES(7709, 6, 4575, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7710, 6, 4612, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7711, 6, 4539, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7712, 6, 4538, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7713, 6, 4611, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7714, 6, 4581, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7715, 6, 4583, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7716, 6, 4582, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7718, 6, 4584, 0, "");
|
||||
INSERT INTO achievement_criteria_data VALUES(7719, 6, 4589, 0, "");
|
||||
|
||||
-- Wintergrasp Veteran (1718)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(7365);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(7365);
|
||||
INSERT INTO achievement_criteria_data VALUES(7365, 0, 0, 0, "");
|
||||
|
||||
-- Wintergrasp Victory (1717)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(6436);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(6436);
|
||||
INSERT INTO achievement_criteria_data VALUES(6436, 0, 0, 0, "");
|
||||
|
||||
-- Within Our Grasp (1755)
|
||||
DELETE FROM disables WHERE sourceType=4 AND entry IN(7666);
|
||||
DELETE FROM achievement_criteria_data WHERE criteria_id IN(7666);
|
||||
INSERT INTO achievement_criteria_data VALUES(7666, 11, 0, 0, "achievement_wg_within_our_grasp");
|
||||
Reference in New Issue
Block a user