From 2d82ba863fd45127805150d6f4a477f37f710dd4 Mon Sep 17 00:00:00 2001 From: Gargarensis Date: Mon, 25 Jul 2016 00:45:37 +0200 Subject: [PATCH] updated archived sqls --- .../sql/new/char/2016_04_20_00_instance.sql | 2 + .../azerothshard/data/sql/new/world/.dummy | 1 + .../world/2016_04_02_azth_trasmorg_spawn.sql | 4 + .../2016_04_13_cyclone_vs_bladestorm.sql | 8 + .../new/world/TriniIRC/World_TrinityChat.sql | 81 ++++++ .../sql/new/world/azth_ashbringer_event.sql | 97 +++++++ .../data/sql/new/world/azth_commands.sql | 9 + .../new/world/azth_custom_world_creature.sql | 44 +++ .../azth_custom_world_creature_template.sql | 25 ++ .../world/azth_custom_world_npc_vendors.sql | 35 +++ .../data/sql/new/world/azth_gm_commands.sql | 253 +++++++++++++++++ .../new/world/azth_immunity_fixes_mik1893.sql | 73 +++++ .../new/world/azth_script_fixes_mik1893.sql | 88 ++++++ .../sql/new/world/azth_spell_fixes_mik183.sql | 72 +++++ .../azth_world_Charscale_Invoker_SAI.sql | 11 + .../world/azth_world_achievement_reward.sql | 2 + ...azth_world_added_interrupt_mask_halion.sql | 18 ++ .../azth_world_battleground_template.sql | 38 +++ .../sql/new/world/azth_world_creature.sql | 0 .../world/azth_world_creature_template.sql | 5 + .../sql/new/world/azth_world_disables.sql | 7 + ...fix_valkyrs_immunities_and_diminishing.sql | 36 +++ .../sql/new/world/azth_world_game_tele.sql | 3 + .../sql/new/world/azth_world_gameobject.sql | 14 + .../world/azth_world_instance_template.sql | 3 + .../sql/new/world/azth_world_nefarian.sql | 18 ++ .../sql/new/world/azth_world_putricide.sql | 11 + .../sql/new/world/azth_world_pvp_vendor.sql | 257 ++++++++++++++++++ .../new/world/azth_world_quest_completer.sql | 45 +++ .../new/world/azth_world_queue_announcer.sql | 2 + .../new/world/azth_world_various_fixes.sql | 6 + .../sql/new/world/azth_world_wintergrasp.sql | 17 ++ 32 files changed, 1285 insertions(+) create mode 100644 modules/azerothshard/data/sql/new/char/2016_04_20_00_instance.sql create mode 100644 modules/azerothshard/data/sql/new/world/.dummy create mode 100644 modules/azerothshard/data/sql/new/world/2016_04_02_azth_trasmorg_spawn.sql create mode 100644 modules/azerothshard/data/sql/new/world/2016_04_13_cyclone_vs_bladestorm.sql create mode 100644 modules/azerothshard/data/sql/new/world/TriniIRC/World_TrinityChat.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_ashbringer_event.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_commands.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_custom_world_creature.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_custom_world_creature_template.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_custom_world_npc_vendors.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_gm_commands.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_immunity_fixes_mik1893.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_script_fixes_mik1893.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_spell_fixes_mik183.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_Charscale_Invoker_SAI.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_achievement_reward.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_added_interrupt_mask_halion.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_battleground_template.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_creature.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_creature_template.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_disables.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_fix_valkyrs_immunities_and_diminishing.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_game_tele.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_gameobject.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_instance_template.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_nefarian.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_putricide.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_pvp_vendor.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_quest_completer.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_queue_announcer.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_various_fixes.sql create mode 100644 modules/azerothshard/data/sql/new/world/azth_world_wintergrasp.sql diff --git a/modules/azerothshard/data/sql/new/char/2016_04_20_00_instance.sql b/modules/azerothshard/data/sql/new/char/2016_04_20_00_instance.sql new file mode 100644 index 0000000000..ed98d491d6 --- /dev/null +++ b/modules/azerothshard/data/sql/new/char/2016_04_20_00_instance.sql @@ -0,0 +1,2 @@ +ALTER TABLE instance ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER data; +ALTER TABLE character_achievement ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER date; \ No newline at end of file diff --git a/modules/azerothshard/data/sql/new/world/.dummy b/modules/azerothshard/data/sql/new/world/.dummy new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/.dummy @@ -0,0 +1 @@ + diff --git a/modules/azerothshard/data/sql/new/world/2016_04_02_azth_trasmorg_spawn.sql b/modules/azerothshard/data/sql/new/world/2016_04_02_azth_trasmorg_spawn.sql new file mode 100644 index 0000000000..4498587032 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/2016_04_02_azth_trasmorg_spawn.sql @@ -0,0 +1,4 @@ +-- spawned transmorg npc in dalaran +DELETE FROM creature WHERE id = 190010; +INSERT INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) +VALUES (NULL, 190010, 571, 1, 1, 0, 0, 5805.05, 658.984, 648.01, 4.79024, 300, 0, 0, 12600, 0, 0, 0, 0, 0) diff --git a/modules/azerothshard/data/sql/new/world/2016_04_13_cyclone_vs_bladestorm.sql b/modules/azerothshard/data/sql/new/world/2016_04_13_cyclone_vs_bladestorm.sql new file mode 100644 index 0000000000..dec960accf --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/2016_04_13_cyclone_vs_bladestorm.sql @@ -0,0 +1,8 @@ +/* +-- Query: select * from spell_script_names where scriptname like 'spell_dru_cyclone_check' +LIMIT 0, 1000 + +-- Date: 2016-04-13 21:28 +*/ +DELETE FROM `spell_script_names` where `ScriptName` = 'spell_dru_cyclone_check'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (33786,'spell_dru_cyclone_check'); diff --git a/modules/azerothshard/data/sql/new/world/TriniIRC/World_TrinityChat.sql b/modules/azerothshard/data/sql/new/world/TriniIRC/World_TrinityChat.sql new file mode 100644 index 0000000000..3ae9286c51 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/TriniIRC/World_TrinityChat.sql @@ -0,0 +1,81 @@ +/** +* Table structure for irc_commands +*/ +DROP TABLE IF EXISTS `irc_commands`; +CREATE TABLE `irc_commands` ( + `Command` varchar(10) NOT NULL default '', + `Description` varchar(350) default NULL, + `gmlevel` tinyint(3) unsigned NOT NULL default '0', + PRIMARY KEY (`Command`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='IRC Module System'; + +/** +* Records +*/ +INSERT INTO `irc_commands` VALUES ('acct', '[acct <(un)lock/email/pass/rename/gmlevel>] : Perform Action To Account.', '3'); +INSERT INTO `irc_commands` VALUES ('ban', '[ban ] : Ban/Unban ', '3'); +INSERT INTO `irc_commands` VALUES ('chan', '[chan <*IRC Nick*>] : Set Mode On Yourself, If Is Specified Then Set mode On Nick.', '3'); +INSERT INTO `irc_commands` VALUES ('char', '[char ] : Perform Action To Character.', '3'); +INSERT INTO `irc_commands` VALUES ('fun', '[fun ] : Do Selected Fun Action To .', '3'); +INSERT INTO `irc_commands` VALUES ('help', '[help Command] : Use No Paramaters For List Of Available Commands.', '3'); +INSERT INTO `irc_commands` VALUES ('inchan', '[inchan ] : Display Users In Selected In Game ', '3'); +INSERT INTO `irc_commands` VALUES ('info', '[info] : Display Server Info. (Number Of Players Online/Max Since Last Restart/Uptime)', '3'); +INSERT INTO `irc_commands` VALUES ('item', '[item ] : Additem To , Use Or <[Exact Item Name]>.', '3'); +INSERT INTO `irc_commands` VALUES ('jail', '[jail ] : Jail Selected For . Using release As Releases Player.', '3'); +INSERT INTO `irc_commands` VALUES ('kick', '[kick ] : Kick For .', '3'); +INSERT INTO `irc_commands` VALUES ('kill', '[kill ] : Kill For .', '3'); +INSERT INTO `irc_commands` VALUES ('level', '[level ] : Level To . *Can Be Done Offline*', '3'); +INSERT INTO `irc_commands` VALUES ('login', '[login ] : Login To TriniChat Admin Mode. (Must Be Done In A PM)', '3'); +INSERT INTO `irc_commands` VALUES ('logout', '[logout] : Logout Of TriniChat Admin Mode.', '3'); +INSERT INTO `irc_commands` VALUES ('lookup', '[lookup ] : ', '3'); +INSERT INTO `irc_commands` VALUES ('money', '[money <(-)Money>] : Give Money To , Use - To Take Money. *Can Be Done Offline*', '3'); +INSERT INTO `irc_commands` VALUES ('mute', '[mute ] : Mute Player For Reason, For . Using release As Time Releases Player. *Can Be Done Offline*', '3'); +INSERT INTO `irc_commands` VALUES ('online', '[online] : Display All Users Logged In Game.', '3'); +INSERT INTO `irc_commands` VALUES ('pm', '[pm ] : Whisper In WoW .', '3'); +INSERT INTO `irc_commands` VALUES ('reload', '[reload] : Reload TriniChat Config Options And Security Level From DataBase.', '3'); +INSERT INTO `irc_commands` VALUES ('restart', '[restart] : Restart TriniChat, NOT Trinity Core World Server Itself. Forces Reconnection To IRC Server.', '3'); +INSERT INTO `irc_commands` VALUES ('revive', '[revive ] : Revive .', '3'); +INSERT INTO `irc_commands` VALUES ('saveall', '[saveall] : Forces Trinity Core To Save All Players.', '3'); +INSERT INTO `irc_commands` VALUES ('server', '[server setmotd []/flusharenapoints]', '3'); +INSERT INTO `irc_commands` VALUES ('shutdown', '[shutdown ] : Shuts The Server Down In , Use 0 For Immediate Shut Down', '3'); +INSERT INTO `irc_commands` VALUES ('spell', '[spell ] : Make Or A Spell, Or A Spell On A .', '3'); +INSERT INTO `irc_commands` VALUES ('sysmsg', '[sysmsg ] : Broadcasts A System Message. (a-Broadcast System Message)(n-Broadcast Notify Message)(e-Event Message)', '3'); +INSERT INTO `irc_commands` VALUES ('tele', '[tele ] : Teleport Player To Location, Coords, Recall Location, Another Player, Creature or Gameobject. (l-Location)(c-Coords)', '3'); +INSERT INTO `irc_commands` VALUES ('top', '[top ] : Display top stats for given option. Only GM Higher Than Config Option Can Use Limit.', '3'); +INSERT INTO `irc_commands` VALUES ('who', '[who] : Displays Users Currently Logged In To TriniChat.', '1'); + +/** +* Table structure for irc_inchan +*/ +/** DROP TABLE IF EXISTS `irc_inchan`; */ +CREATE TABLE IF NOT EXISTS `irc_inchan` ( + `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', + `name` varchar(12) NOT NULL default '', + `channel` varchar(15) NOT NULL default '', + PRIMARY KEY (`guid`,`channel`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='IRC Module System'; + +/** +* Records +*/ + +/** +* Table structure for irc_autoannounce +*/ +DROP TABLE IF EXISTS `irc_autoannounce`; +CREATE TABLE `irc_autoannounce` ( + `id` int(11) NOT NULL auto_increment, + `message` longtext NOT NULL, + `addedby` varchar(12) NOT NULL default '', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='IRC Module System'; + +/** +* Records +*/ +INSERT INTO `irc_autoannounce` VALUES ('1', 'Welcome to IRC Channel', ''); + +DELETE FROM `trinity_string` WHERE entry IN (6610,6611,6612); +INSERT INTO `trinity_string` VALUES ('6610', '|cffff0000[System Message]: %s|r', null, null, null, null, null, null, null, null); +INSERT INTO `trinity_string` VALUES ('6611', '|cffff0000[Server Event]: %s|r', null, null, null, null, null, null, null, null); +INSERT INTO `trinity_string` VALUES ('6612', '|cffff0000[Automatic]: %s|r', null, null, null, null, null, null, null, null); diff --git a/modules/azerothshard/data/sql/new/world/azth_ashbringer_event.sql b/modules/azerothshard/data/sql/new/world/azth_ashbringer_event.sql new file mode 100644 index 0000000000..d369ab9c02 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_ashbringer_event.sql @@ -0,0 +1,97 @@ +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_myrmidon' WHERE `entry`=4295; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_defender' WHERE `entry`=4298; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_centurion' WHERE `entry`=4301; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_sorcerer' WHERE `entry`=4294; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_wizard' WHERE `entry`=4300; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_abbot' WHERE `entry`=4303; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_monk' WHERE `entry`=4540; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_champion' WHERE `entry`=4302; +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_chaplain' WHERE `entry`=4299; + + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN (4301, 4295, 4298, 4300, 4540, 4302, 4299, 4294, 4303); + +-- one +DELETE FROM `creature_text` WHERE `entry`=4298; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4298, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4298, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4298, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4298, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4298, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4298, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); + +-- two +DELETE FROM `creature_text` WHERE `entry`=4295; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4295, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4295, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4295, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4295, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4295, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4295, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''), +(4295, 1, 0, 'There is no escape for you. The Crusade shall destroy all who carry the scourge\'s taint.', 12, 7, 0, 0, 0, 0, 'Scarlet Myrmidon - Talk on low HP'); + +-- three +DELETE FROM `creature_text` WHERE `entry`=4301; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4301, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4301, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4301, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4301, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4301, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4301, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); +-- four +DELETE FROM `creature_text` WHERE `entry`=4294; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4294, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4294, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4294, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4294, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4294, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4294, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); +-- five +DELETE FROM `creature_text` WHERE `entry`=4300; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4300, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4300, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4300, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4300, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4300, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4300, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); +-- six +DELETE FROM `creature_text` WHERE `entry`=4303; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4303, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4303, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4303, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4303, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4303, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4303, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); +-- seven +DELETE FROM `creature_text` WHERE `entry`=4540; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4540, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4540, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4540, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4540, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4540, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4540, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); +-- eight +DELETE FROM `creature_text` WHERE `entry`=4302; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4302, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4302, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4302, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4302, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4302, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4302, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); +-- ninetails +DELETE FROM `creature_text` WHERE `entry`=4299; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(4299, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''), +(4299, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''), +(4299, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''), +(4299, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''), +(4299, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''), +(4299, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''); \ No newline at end of file diff --git a/modules/azerothshard/data/sql/new/world/azth_commands.sql b/modules/azerothshard/data/sql/new/world/azth_commands.sql new file mode 100644 index 0000000000..c33c3a3a62 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_commands.sql @@ -0,0 +1,9 @@ +-- Max Skill +DELETE FROM command WHERE NAME = 'azth maxskill'; +INSERT INTO command VALUES('azth maxskill', 0, 'Max all skill of targeted player'); +DELETE FROM trinity_string WHERE entry = 90001; +INSERT INTO trinity_string(entry, content_default) VALUES(90001, 'The target level must be level %u'); + +-- xp rate +DELETE FROM command WHERE NAME = 'azth xp'; +INSERT INTO command VALUES('azth xp', 0, 'Set a custom xp rate'); diff --git a/modules/azerothshard/data/sql/new/world/azth_custom_world_creature.sql b/modules/azerothshard/data/sql/new/world/azth_custom_world_creature.sql new file mode 100644 index 0000000000..3718740b3a --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_custom_world_creature.sql @@ -0,0 +1,44 @@ +-- low-level PvP vendor spawns +SET @GUID := 900012; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+5; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES +(@GUID+0, 13217, 0, 1, 1, 0, 1, -8767.85, 418.382, 103.921, 3.64665, 300, 0, 0, 57420, 0, 0, 0, 0, 0), +(@GUID+1, 15127, 0, 1, 1, 0, 1, -8765.48, 415.266, 103.921, 3.81863, 300, 0, 0, 52280, 0, 0, 0, 0, 0), +(@GUID+2, 14753, 0, 1, 1, 0, 1, -8770.48, 421.691, 103.921, 3.89481, 300, 0, 0, 52280, 0, 0, 0, 0, 0), +(@GUID+3, 13219, 1, 1, 1, 0, 1, 1646.77, -4219.27, 56.3828, 0.80658, 300, 0, 0, 57420, 0, 0, 0, 0, 0), +(@GUID+4, 15126, 1, 1, 1, 0, 1, 1648.93, -4221.42, 56.3785, 1.00293, 300, 0, 0, 52280, 0, 0, 0, 0, 0), +(@GUID+5, 14754, 1, 1, 1, 0, 1, 1651.95, -4222.54, 56.3789, 1.26211, 300, 0, 0, 52280, 0, 0, 0, 0, 0); + +-- Global auctioneer +SET @GUID := 900030; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+5; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES +(@GUID+0, 8661, 0, 1, 1, 0, 1, -8806.9, 673.122, 96.5989, 4.68813, 300, 0, 0, 6645, 0, 0, 0, 0, 0), +(@GUID+1, 8661, 571, 1, 1, 0, 1, 5913.91, 621.969, 646.49, 1.31721, 300, 0, 0, 6645, 0, 0, 0, 0, 0), +(@GUID+2, 8661, 571, 1, 1, 0, 1, 5698.51, 679.243, 645.816, 4.41722, 300, 0, 0, 6645, 0, 0, 0, 0, 0), +(@GUID+3, 8661, 1, 1, 1, 0, 1, 1662.5, -4450.23, 19.5189, 0.434289, 300, 0, 0, 6645, 0, 0, 0, 0, 0); + +-- custom vendors +SET @GUID := 900040; + +REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+0, 1000001, 571, 1, 1, 0, 0, 5977.19, 669.417, 641.667, 3.10476, 300, 0, 0, 12600, 0, 0, 0, 0, 0); + + +REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+1, 1000002, 571, 1, 1, 0, 0, 5977.07, 672.188, 641.785, 3.24928, 300, 0, 0, 12600, 0, 0, 0, 0, 0); + +-- arena NPCs +SET @GUID := 900100; +-- arena 1v1 +REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+0, 1000000, 571, 1, 1, 0, 0, 5762.94, 602.368, 609.887, 0.365307, 300, 0, 0, 39099, 0, 0, 0, 0, 0); + +-- arena spectator ( Shadow of Sceicco ) +REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+1, 190000, 571, 1, 1, 0, 0, 5758.1, 615.383, 609.158, 5.73193, 300, 0, 0, 42, 0, 0, 0, 0, 0); + +-- +-- various npc +-- +SET @GUID := 901000; +-- dummy npc dalaran +REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+0, 31146, 571, 1, 1, 0, 0, 5838.72, 693.416, 609.158, 4.1539, 300, 0, 0, 24009944, 0, 0, 0, 0, 0); +-- dummy npc dalaran +REPLACE INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (@GUID+1, 31146, 571, 1, 1, 0, 0, 5791.83, 656.546, 609.159, 5.31815, 300, 0, 0, 24009944, 0, 0, 0, 0, 0) diff --git a/modules/azerothshard/data/sql/new/world/azth_custom_world_creature_template.sql b/modules/azerothshard/data/sql/new/world/azth_custom_world_creature_template.sql new file mode 100644 index 0000000000..e81402cc5f --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_custom_world_creature_template.sql @@ -0,0 +1,25 @@ +SET + @entry := 1000001, + @modelid := 28156, + @name := 'Currency Supplier', + @subname := 'AzerothShard Supplies', + @rank := 4, + @unitflags1 := 131078, -- UNIT_FLAG_PACIFIED + UNIT_FLAG_DISABLE_MOVE + UNIT_FLAG_NON_ATTACKABLE + @faction := 1774; + +DELETE FROM creature_template WHERE entry = @entry; +INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, NAME, subname, IconName, gossip_menu_id, minlevel, maxlevel, EXP, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, TYPE, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, Health_mod, Mana_mod, Armor_mod, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES +(@entry, '0', '0', '0', '0', '0', @modelid, '0', '0', '0', @name, @subname, '', '0', '80', '80', '2', @faction, '128', '1', '1.14286', '1', @rank, '0', '2000', '2000', '1', @unitflags1, '0', '0', '0', '0', '0', '0', '0', '7', '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', '1', '0', '0', '', '12340'); + +SET + @entry := 1000002, + @modelid := 28156, + @name := 'Transmogrification Items', + @subname := 'AzerothShard Supplies', + @rank := 4, + @unitflags1 := 131078, -- UNIT_FLAG_PACIFIED + UNIT_FLAG_DISABLE_MOVE + UNIT_FLAG_NON_ATTACKABLE + @faction := 1774; + +DELETE FROM creature_template WHERE entry = @entry; +INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, NAME, subname, IconName, gossip_menu_id, minlevel, maxlevel, EXP, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, TYPE, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, Health_mod, Mana_mod, Armor_mod, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES +(@entry, '0', '0', '0', '0', '0', @modelid, '0', '0', '0', @name, @subname, '', '0', '80', '80', '2', @faction, '128', '1', '1.14286', '1', @rank, '0', '2000', '2000', '1', @unitflags1, '0', '0', '0', '0', '0', '0', '0', '7', '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', '1', '0', '0', '', '12340'); \ No newline at end of file diff --git a/modules/azerothshard/data/sql/new/world/azth_custom_world_npc_vendors.sql b/modules/azerothshard/data/sql/new/world/azth_custom_world_npc_vendors.sql new file mode 100644 index 0000000000..5c578d9ab8 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_custom_world_npc_vendors.sql @@ -0,0 +1,35 @@ +SET + @entry := 1000001; + +DELETE FROM npc_vendor WHERE entry = @entry AND item = 47241; +INSERT INTO npc_vendor (entry, slot, item, maxcount, incrtime, ExtendedCost) +VALUES (@entry, 0, 47241, '0', '0', '2425'); + +SET + @entry := 1000002; + +DELETE FROM npc_vendor WHERE entry = @entry AND item IN (34649, 34651, 34656, 34648, 34650, 34659, 34655, 34652); +-- Hand +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34649, 2707); +-- Waist +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34651, 2707); +-- Legs +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34656, 2707); +-- Feet +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34648, 2707); +-- Chest +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34650, 2707); +-- Back +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34659, 2707); +-- Shoulder +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34655, 2707); +-- Head +INSERT INTO npc_vendor (entry, slot, item, ExtendedCost) +VALUES (@entry, 0, 34652, 2707); diff --git a/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql b/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql new file mode 100644 index 0000000000..f815b66157 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_gm_commands.sql @@ -0,0 +1,253 @@ +# +# AzerothShard RBAC Structure +# +# Current original Roles are: +# 198 Moderator Commands +# 197 GameMaster Commands +# 196 Administrator Commands +# +# 195: Player 0 +# 194: Moderator 1 +# 193: GameMaster 2 +# 192: Administrator 3 +# +# AzerothShard custom roles: 100000+ +# + +# IMPORTANT RULE: do NOT insert duplicate linked permissions for multiple non-custom roles + +# +# EDIT DEFAULT PERMISSIONS +# + +# Move to GM level 3 some dangerous commands +UPDATE command SET `security` = 3 WHERE NAME IN +( +"wp unload", +"wp modify", +"wp load", +"wp event", +"wp add", +"npc move", +"npc set spawntime", +"npc set spawndist", +"npc set phase", +"npc set movetype", +"npc set model", +"npc set link", +"npc set level", +"npc set flag", +"npc set factionid", +"npc set", +"npc add follow stop", +"npc add follow", +"npc add delete item", +"npc add delete", +"npc add temp", +"npc add move", +"npc add item", +"npc add formation", +"npc add", +"gobject turn", +"gobject set state", +"gobject set phase", +"gobject set", +"gobject move", +"gobject delete", +"gobject add temp", +"gobject add", +"event stop", +"event start", +"unmute", +"mute", +"npc say", +"npc texemote", +"npc whisper", +"npc yell" +); +# +### LIVE SERVER ROLES ### +# + +# [100012] Azeroth player +UPDATE command SET `security` = 0 WHERE `name` IN +( +"debug hostil", +"lookup", +"lookup area", +"lookup creature", +"lookup event", +"lookup faction", +"lookup item", +"lookup itemset", +"lookup object", +"lookup quest", +"lookup spell", +"lookup spell id", +"lookup taxinode", +"lookup title", +"lookup map", +"server", +"qc", +"server motd" +); + +# [100000] TIER 0: Interface shared by all GMs + +# +# COMMANDS +# +UPDATE command SET `security` = 1 WHERE `name` IN +( +"gm fly", +"lookup tele", +"npcinfo", +"instance getbossstate", +"pinfo", +"modify phase", +"maxskill", +"respawn", +"revive", +"set skill", +"modify rep", +"lookup player", +"lookup player ip", +"lookup player account", +"lookup player email", +"lookup skill [ can inspect other players skills ]", +"learn", +"learn all", +"learn all my", +"learn all my class", +"learn all my pettalents", +"learn all my spells", +"learn all my talents", +"learn all gm", +"learn all crafts", +"learn all default", +"learn all lang", +"learn all recipes", +"unlearn", +"banlist ip", +"banlist character", +"banlist account", +"banlist", +"baninfo ip", +"baninfo character", +"baninfo account", +"baninfo", +"repairitems", +"reset achievements", +"reset honor", +"reset level", +"reset spells", +"reset stats", +"reset talents", +"reset", +"additem", +"additemset", +"levelup", +"achievement add", +"quest", +"quest add", +"quest complete", +"quest remove", +"quest reward", +"npc follow", +"npc follow stop", +"mailbox", +"character rename", +"character customize", +"character changefaction", +"character changerace", +"instance setbossstate", +"unaura", +"die", +"list object", +"listfreeze", +"cooldown", +"npc add temp", +"reload rbac", +"gps", +"guild rank" +); + +# +# WORLD CHANGE COMMANDS +# + +UPDATE command SET `security` = 3 WHERE `name` IN +( +"wp unload", +"wp modify", +"wp load", +"wp event", +"wp add", +"npc move", +"npc set spawntime", +"npc set spawndist", +"npc set phase", +"npc set movetype", +"npc set model", +"npc set link", +"npc set level", +"npc set flag", +"npc set factionid", +"npc set", +"npc add delete item", +"npc add delete", +"npc add move", +"npc add item", +"npc add formation", +"npc add", +"gobject turn", +"gobject set state", +"gobject set phase", +"gobject set", +"gobject move", +"gobject delete", +"gobject add" +); + + +# [100001] TIER 1: Supporter +UPDATE command SET `security` = 1 WHERE `name` IN +( +"mute", +"ticket assign" +); + +# [100002] TIER 2: Protector - Moderator +UPDATE command SET `security` = 2 WHERE `name` IN +( +"modify money", -- dangerous! +"unban playeraccount", +"unban ip", +"unban character", +"unban account", +"unban", +"ban playeraccount", +"ban ip", +"ban character", +"ban account", +"ban", +"morph", +"demorph", +"unmute" +); + +# [100005] Entertainer +UPDATE command SET `security` = 1 WHERE `name` IN +( +"morph", +"demorph", +"wchange", +"npc say", +"npc playemote", +"npc textemote", +"npc whisper", +"npc yell", +"pet create" +); + + diff --git a/modules/azerothshard/data/sql/new/world/azth_immunity_fixes_mik1893.sql b/modules/azerothshard/data/sql/new/world/azth_immunity_fixes_mik1893.sql new file mode 100644 index 0000000000..572e3ecf46 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_immunity_fixes_mik1893.sql @@ -0,0 +1,73 @@ +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|0x10000000 WHERE `entry` IN (36619, 38233, 38459, 38460, 38711, 38970, 38971, 38972, 38712, 38973, 38974, 38975); +UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29315, 31507); +UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (34780, 35216, 35268, 35269); +UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29305, 30530); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~67108864 WHERE entry in (36897, 38138, 36899, 38123); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~1024 WHERE entry in (36897, 38138, 36899, 38123); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28859, 31734); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15956,29249); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15953,29268); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15952,29278); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15954,29615); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15936,29701); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16011,29718); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16061,29940); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16060,29955); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16064,30603,16065,30601,30549,30600,16063,30602); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16028, 29324); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15931, 29373); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15932, 29417); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15928, 29448); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15989, 29991); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15990, 30061); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (31125, 31722); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33993, 33994); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35013, 35360); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (38433, 38462); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28860, 31311); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30452, 31534); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30451, 31520); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30449, 31535); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (10184, 36538); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39863, 39864, 39944, 39945); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39751, 39920); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39746, 39805); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39747, 39823); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34796, 35438, 35439, 35440); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35144, 35511, 35512, 35513); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34799, 35514, 35515, 35516); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34797, 35447, 35448, 35449); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34780, 35216, 35268, 35269); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34497, 35350, 35351, 35352); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34496, 35347, 35348, 35349); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34564, 34566, 35615, 35616); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33118, 33190); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33186, 33724); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33293, 33885); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32867, 33693); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32927, 33692); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32930, 33909); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32933, 33910); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32934, 33911); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33515, 34175); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32906, 33360); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32845, 32846); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32865, 33147); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33271, 33449); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33288, 33955); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32871, 33070); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36612, 37957, 37958, 37959); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37813, 38402, 38582, 38583); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36626, 37504, 37505, 37506); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36627,38390,38549,38550); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37970,38401,38784,38785); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37972,38399,38769,38770); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37973,38400,38771,38772); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37955,38434,38435,38436); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267); +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267); +UPDATE `creature_template` SET `mechanic_immune_mask`=902512507 WHERE entry IN (29309, 31456, 29308, 31469, 29310, 31465, 29311, 31464, 28684, 31612, 28921, 31611, 29120, 31610, 26630, 31362, 26631, 31350, 27483, 31349, 26632, 31360, 29315, 31507, 29314, 31512, 29316, 31510, 29312, 31509, 29266, 31511, 29313, 31508, 31134, 31506, 29307, 31365, 29304, 31370, 29306, 31368, 28586, 31533, 28587, 31536, 28546, 31537, 28587, 31536, 27975, 31384, 27977, 31381, 27978, 31386, 26529, 31211, 26530, 31212, 26532, 31215, 26533, 31217, 27654, 31558, 27447, 31559, 27655, 31560, 26687, 30774, 26693, 30807, 26861, 30788, 29932, 30258, 31463, 35572, 36089, 35569, 36085, 35571, 36090, 35570, 36091, 35617, 36084, 34703, 36087, 34657, 36086, 34701, 36083, 34702, 36082, 34705, 36088, 35119, 35518, 34928, 35517, 35451, 35490, 29305, 30530, 37126, 38258, 36897, 38138, 36899, 38123, 38494, 38490, 37562, 38602, 38760, 38761, 37697, 38604, 38758, 38759, 37534, 38219, 37533, 38220); \ No newline at end of file diff --git a/modules/azerothshard/data/sql/new/world/azth_script_fixes_mik1893.sql b/modules/azerothshard/data/sql/new/world/azth_script_fixes_mik1893.sql new file mode 100644 index 0000000000..85505b5dae --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_script_fixes_mik1893.sql @@ -0,0 +1,88 @@ +-- ------------------------------------------------------------------------------------ +-- SKADI THE RUTHLESS - ENABLE Achievement GIRL LOVE TO SKADI and grauf - complete boss rework +-- ------------------------------------------------------------------------------------ + +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=26893; +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=30775; +UPDATE `creature_template` SET `ScriptName`='npc_grauf' WHERE `entry`=26893; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=23472; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=19871; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 1 AND `SourceEntry` IN (47593,47594,47563,51368); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47593, 31, 3, 28351); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47594, 31, 3, 28351); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47563, 31, 3, 28351); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51368, 31, 3, 26893); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (47563,47593); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47563, 47574, 0, 'Freezin Trap - Left'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47593, 47594, 0, 'Freezin Trap - Right'); + +DELETE FROM `spell_script_names` WHERE `spell_id` IN ( 47574,47594,50255,59331); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47574, 'spell_freezing_cloud_area_left'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47594, 'spell_freezing_cloud_area_right'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (50255, 'spell_skadi_poisoned_spear'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (59331, 'spell_skadi_poisoned_spear'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=28351; + +DELETE FROM smart_scripts WHERE entryorguid = 28351 AND source_type = 0 AND id IN (0,1); +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 (28351, 0, 0, 0, 8, 0, 100, 0, 47594, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE'); +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 (28351, 0, 1, 0, 8, 0, 100, 0, 47574, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE'); + +DELETE FROM creature_text WHERE entry IN (26893,23472,19871) AND groupid = 0 AND id = 0; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (26893, 0, 0, '%s takes a deep breath!', 41, 0, 100, 0, 0, 0, 'Grauf - Emote'); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (23472, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote'); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES (19871, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote'); + +DELETE FROM smart_scripts WHERE entryorguid IN ( -126150, -126127) AND event_type = 38; +INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126150, 38, 1, 1, 'Skadi Trigger - Emote'); +INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126127, 38, 1, 1, 'Skadi Trigger - Emote'); + +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN ( 49089,49084,49091,50255,50258,50228,47579); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49089, 49089, 59246); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49084, 49084, 59246); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49091, 49091, 59249); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50228, 50228, 59322); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50255, 50255, 59331); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50258, 50258, 59334); +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (47579, 47579, 60020 ); + +UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=1 AND `link`=0; +UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=0 AND `link`=0; + +DELETE FROM `disables` WHERE `sourceType`=4 AND `entry`=7595; +DELETE FROM achievement_criteria_data WHERE criteria_id = 7595; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `ScriptName`) VALUES (7595, 11, 'achievement_girl_love_to_skadi'); +UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192175; +UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192176; +UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192177; + +DELETE FROM spell_target_position WHERE id = 61790; +INSERT INTO `spell_target_position` (`id`, `effIndex`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES (61790, 0, 575, 342.887, -507.782, 104.471, 3.13678); + +-- ------------------------------------------------------------------------------------ +-- OCULUS - INSTANCE REWORK +-- ------------------------------------------------------------------------------------ +DELETE FROM conditions WHERE SourceTypeOrReferenceId = 13 AND SourceGroup = 1 AND SourceEntry IN (50036,51518,50087) AND ConditionValue2 = 27641; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50036, 31, 3, 27641); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51518, 31, 3, 27641); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50087, 31, 3, 27641); + + +DELETE FROM spelldifficulty_dbc WHERE id = 50044 AND spellid0 = 50044 AND spellid1 = 59213; +INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50044, 50044, 59213); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=27641; + +DELETE FROM smart_scripts WHERE entryorguid = 27641 AND id =1; +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 (27641, 0, 1, 0, 1, 0, 100, 1, 0, 0, 0, 0, 11, 50044, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Centrifuge Core - Out of Combat - Cast Empowering Blows'); + +DELETE FROM spell_script_names WHERE spell_id IN (51121,51132,59376); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51121,'spell_urom_time_bomb'); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51132,'spell_urom_time_bomb_detonation'); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (59376,'spell_urom_time_bomb'); + +UPDATE `gameobject_template` SET `ScriptName`='go_call_tram' , faction='35' +WHERE `entry` IN (194437 ,194914 ,194912 ,194937); + diff --git a/modules/azerothshard/data/sql/new/world/azth_spell_fixes_mik183.sql b/modules/azerothshard/data/sql/new/world/azth_spell_fixes_mik183.sql new file mode 100644 index 0000000000..0afb357947 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_spell_fixes_mik183.sql @@ -0,0 +1,72 @@ +-- Rogue: Master Poisoner +DELETE FROM `spell_dbc` WHERE `Id` IN ('45176'); +INSERT INTO `spell_dbc` (`Id`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `Stances`, `StancesNot`, `Targets`, `CastingTimeIndex`, `AuraInterruptFlags`, `ProcFlags`, `ProcChance`, `ProcCharges`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `Effect1`, `Effect2`, `Effect3`, `EffectDieSides1`, `EffectDieSides2`, `EffectDieSides3`, `EffectRealPointsPerLevel1`, `EffectRealPointsPerLevel2`, `EffectRealPointsPerLevel3`, `EffectBasePoints1`, `EffectBasePoints2`, `EffectBasePoints3`, `EffectMechanic1`, `EffectMechanic2`, `EffectMechanic3`, `EffectImplicitTargetA1`, `EffectImplicitTargetA2`, `EffectImplicitTargetA3`, `EffectImplicitTargetB1`, `EffectImplicitTargetB2`, `EffectImplicitTargetB3`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectRadiusIndex3`, `EffectApplyAuraName1`, `EffectApplyAuraName2`, `EffectApplyAuraName3`, `EffectAmplitude1`, `EffectAmplitude2`, `EffectAmplitude3`, `EffectMultipleValue1`, `EffectMultipleValue2`, `EffectMultipleValue3`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectMiscValue3`, `EffectMiscValueB1`, `EffectMiscValueB2`, `EffectMiscValueB3`, `EffectTriggerSpell1`, `EffectTriggerSpell2`, `EffectTriggerSpell3`, `EffectSpellClassMaskA1`, `EffectSpellClassMaskA2`, `EffectSpellClassMaskA3`, `EffectSpellClassMaskB1`, `EffectSpellClassMaskB2`, `EffectSpellClassMaskB3`, `EffectSpellClassMaskC1`, `EffectSpellClassMaskC2`, `EffectSpellClassMaskC3`, `MaxTargetLevel`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `MaxAffectedTargets`, `DmgClass`, `PreventionType`, `DmgMultiplier1`, `DmgMultiplier2`, `DmgMultiplier3`, `AreaGroupId`, `SchoolMask`, `Comment`) VALUES +('45176','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','0','1','1','1','0','1','0','-1','0','0','3','0','0','0','0','0','0','0','0','0','0','0','0','0','0','6','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','0','0','0','0','0','0','8','0','0','0','0','0','0','0','0','0','0','1','Master Poisoner Trigger (SERVERSIDE)'); + +DELETE FROM `spell_proc_event` WHERE `entry` IN ('31226', '31227', '58410'); +INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES +('31226','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 1) +('31227','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 2) +('58410','0','8','0','524288','0','0','0','0','0','0'); -- Master Poisoner (Rank 3) + +-- Shaman: Tidal Force +DELETE FROM `spell_script_names` WHERE `spell_id` = 55198; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (55198,'spell_sha_tidal_force'); + +DELETE FROM `spell_proc_event` WHERE `entry` = 55198; +DELETE FROM `spell_proc_event` WHERE `entry` = 55166; + +INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55166,1,11,448,0,0,16384,2,0,0,0); +INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55198,0,11,448,0,0,16384,2,0,0,0); + +-- Rogue: Shadowmeld +DELETE FROM `spell_script_names` WHERE `spell_id` = 58984; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (58984,'spell_shadowmeld'); + +DELETE FROM `spell_linked_spell` WHERE `spell_effect` = 32747; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (853, 32747, 0, 'Hammer of Justice - Interrupt - Rank 1 '); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5588, 32747, 0, 'Hammer of Justice - Interrupt - Rank 2'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5589, 32747, 0, 'Hammer of Justice - Interrupt - Rank 3'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (10308, 32747, 0, 'Hammer of Justice - Interrupt - Rank 4'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (22570, 32747, 0, 'Maim - Interrupt - Rank 1'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (49802, 32747, 0, 'Maim - Interrupt - Rank 2'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5211, 32747, 0, 'Bash - Interrupt - Rank 1'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (6798, 32747, 0, 'Bash - Interrupt - Rank 2'); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (8983, 32747, 0, 'Bash - Interrupt - Rank 3'); +DELETE FROM `spell_script_names` WHERE `spell_id` = 32747; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (32747,'spell_gen_interrupt'); + +-- DANCING RUNE WEAPON +DELETE FROM spell_proc_event WHERE entry = 49028; +DELETE FROM creature_template WHERE entry = 27893; +INSERT INTO `creature_template` (`entry`,`difficulty_entry_1`,`difficulty_entry_2`,`difficulty_entry_3`,`KillCredit1`,`KillCredit2`,`modelid1`,`modelid2`,`modelid3`,`modelid4`,`name`,`subname`,`IconName`,`gossip_menu_id`,`minlevel`,`maxlevel`,`exp`,`faction`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`rank`,`dmgschool`,`BaseAttackTime`,`RangeAttackTime`,`unit_class`,`unit_flags`,`unit_flags2`,`dynamicflags`,`family`,`trainer_type`,`trainer_spell`,`trainer_class`,`trainer_race`,`type`,`type_flags`,`lootid`,`pickpocketloot`,`skinloot`,`resistance1`,`resistance2`,`resistance3`,`resistance4`,`resistance5`,`resistance6`,`spell1`,`spell2`,`spell3`,`spell4`,`spell5`,`spell6`,`spell7`,`spell8`,`PetSpellDataId`,`VehicleId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`InhabitType`,`HoverHeight`,`Health_mod`,`Mana_mod`,`Armor_mod`,`RacialLeader`,`movementId`,`RegenHealth`,`mechanic_immune_mask`,`flags_extra`,`ScriptName`,`VerifiedBuild`) VALUES (27893,0,0,0,0,0,11686,0,0,0,'Rune Weapon','','',0,1,1,0,14,0,1,1.14286,1,0,0,3500,2000,1,0,2048,0,0,0,0,0,0,10,1096,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,1,0,0,'npc_pet_dk_rune_weapon',12340); +DELETE FROM spell_linked_spell WHERE spell_trigger = 49028; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (49028,81256,0,'Dancing Rune Weapon parry application'); + +-- Glyph of succubus +DELETE FROM `spell_script_names` WHERE `spell_id` = 6358; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (6358,'spell_warl_seduction'); + +-- Fix wrong application of fiery payback rank 1 always even if rank2 learned +DELETE FROM `spell_ranks` WHERE `first_spell_id`=44440; + +-- Blood queen lanathel autocast of frenzy +DELETE FROM spell_linked_spell WHERE spell_trigger = 70923; +DELETE FROM spell_script_names WHERE spell_id = 70923; +INSERT INTO spell_script_names VALUES (70923,'spell_blood_queen_uncontrollable_frenzy'); + +-- Shadow Crash, general Vezax +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=63277; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES ('63277', '65269', '2', 'Shadow Crash'); + +-- Animal Handler +DELETE FROM `spell_ranks` WHERE `first_spell_id`=34453; +INSERT INTO `spell_ranks` (`first_spell_id`, `spell_id`, `rank`) VALUES +(34453, 34453, 1), +(34453, 34454, 2); + +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_paralytic_poison'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(35201, 'spell_gen_paralytic_poison'); + diff --git a/modules/azerothshard/data/sql/new/world/azth_world_Charscale_Invoker_SAI.sql b/modules/azerothshard/data/sql/new/world/azth_world_Charscale_Invoker_SAI.sql new file mode 100644 index 0000000000..385fef3a30 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_Charscale_Invoker_SAI.sql @@ -0,0 +1,11 @@ +-- RUBY SANCTUM + +-- Charscale Invoker SAI +SET @ENTRY := 40417; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,10,2000,6000,8000,12000,11,75412,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"), +(@ENTRY,0,1,0,0,0,100,20,2000,6000,8000,12000,11,75419,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"), +(@ENTRY,0,2,0,9,0,100,0,0,10,9000,14000,11,75413,0,0,0,0,0,1,0,0,0,0,0,0,0,"Charscale Invoker - Within Range 0-10yd - Cast Flame Wave"); + diff --git a/modules/azerothshard/data/sql/new/world/azth_world_achievement_reward.sql b/modules/azerothshard/data/sql/new/world/azth_world_achievement_reward.sql new file mode 100644 index 0000000000..93abd949c5 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_achievement_reward.sql @@ -0,0 +1,2 @@ +-- scarab lord title +REPLACE INTO `achievement_reward` (`entry`, `title_A`, `title_H`) VALUES ('416', '46', '46'); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_added_interrupt_mask_halion.sql b/modules/azerothshard/data/sql/new/world/azth_world_added_interrupt_mask_halion.sql new file mode 100644 index 0000000000..58a3055aae --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_added_interrupt_mask_halion.sql @@ -0,0 +1,18 @@ +/* +SQLyog Community v12.2.1 (64 bit) +MySQL - 5.6.23-log +********************************************************************* +*/ +DELETE FROM `creature_template` WHERE `entry` IN (39863,39864,39944,39945,40142,40143,40144,40145); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES +-- Halion +('39863','39864','39944','39945','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39863','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','0','150','1','650854271','1','boss_halion','12340'), +('39864','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39864','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','0','150','1','650854271','1','','12340'), +('39944','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39944','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','0','150','1','650854271','1','','12340'), +('39945','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','32832','2048','0','0','0','0','0','0','2','108','39945','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','0','150','1','650854271','1','','12340'), + +-- Twilight Halion +('40142','40143','40144','40145','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','0','150','1','650854271','0','boss_twilight_halion','12340'), +('40143','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','0','150','1','650854271','0','','12340'), +('40144','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','0','150','1','650854271','0','','12340'), +('40145','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','0','150','1','650854271','0','','12340'); \ No newline at end of file diff --git a/modules/azerothshard/data/sql/new/world/azth_world_battleground_template.sql b/modules/azerothshard/data/sql/new/world/azth_world_battleground_template.sql new file mode 100644 index 0000000000..61882b6461 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_battleground_template.sql @@ -0,0 +1,38 @@ +-- 1 = Alterac Valley +-- 2 = Warsong Gulch +-- 3 = Arathi Basin +-- 7 = Eye of The Storm +-- 4 = Nagrand Arena +-- 5 = Blades's Edge Arena +-- 6 = All Arena +-- 8 = Ruins of Lordaeron +-- 9 = Strand of the Ancients +-- 10 = Dalaran Sewers +-- 11 = The Ring of Valor +-- 30 = Isle of Conquest +-- 32 = Random battleground + +-- MinPlayersPerTeam +UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 2; -- Warsong Gulch +UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 3; -- Arathi Basin +UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 7; -- Eye of The Storm +UPDATE `battleground_template` SET `MinPlayersPerTeam` = 5 WHERE `ID` = 9; -- Strand of the Ancients +UPDATE `battleground_template` SET `MinPlayersPerTeam` = 10 WHERE `ID` = 1; -- Alterac Valley +UPDATE `battleground_template` SET `MinPlayersPerTeam` = 3 WHERE `ID` = 32; -- RBG + +-- MaxPlayersPerTeam +UPDATE `battleground_template` SET `MaxPlayersPerTeam`=15 WHERE `ID`=32; + +-- Weights +UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 1; -- Alterac Valley +UPDATE `battleground_template` SET `Weight` = 2 WHERE `ID` = 30; -- Isle of Conquest +UPDATE `battleground_template` SET `Weight` = 3 WHERE `ID` = 2; -- Warsong Gulch +UPDATE `battleground_template` SET `Weight` = 0 WHERE `ID` = 9; -- Strand of the Ancients +UPDATE `battleground_template` SET `Weight` = 3 WHERE `ID` IN (3, 7); -- Arathi Basin, Eye of The Storm + +-- Allow 'Dalaran Sewers' and 'The Ring of Valor' for 2v2 and 3v3 too +UPDATE `battleground_template` SET `MinPlayersPerTeam`=0 WHERE `ID`=10; +UPDATE `battleground_template` SET `MinPlayersPerTeam`=0 WHERE `ID`=11; + +-- Enable 'Dalaran Sewers' +DELETE FROM `disables` WHERE `sourceType`=3 AND `entry`=10; diff --git a/modules/azerothshard/data/sql/new/world/azth_world_creature.sql b/modules/azerothshard/data/sql/new/world/azth_world_creature.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/modules/azerothshard/data/sql/new/world/azth_world_creature_template.sql b/modules/azerothshard/data/sql/new/world/azth_world_creature_template.sql new file mode 100644 index 0000000000..b222ee8ae6 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_creature_template.sql @@ -0,0 +1,5 @@ +-- Strand of The Ancients demolisher fix +UPDATE `creature_template` SET `mechanic_immune_mask` = 344407930 WHERE `entry` IN (28781, 32796); + +-- Auctioneer Beardo friendly and immune +UPDATE `creature_template` SET `unit_flags` = 898, `faction` = 1774 WHERE `entry` = 8661; diff --git a/modules/azerothshard/data/sql/new/world/azth_world_disables.sql b/modules/azerothshard/data/sql/new/world/azth_world_disables.sql new file mode 100644 index 0000000000..042dd228af --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_disables.sql @@ -0,0 +1,7 @@ +# fix for TOC and mmaps +REPLACE INTO disables VALUES (7, 650, 0, '', '', 'Mmaps - Trial of the Champion'); +REPLACE INTO disables VALUES (7, 649, 0, '', '', 'Mmaps - Trial of the Crusader'); + +-- disabled sota +-- DELETE FROM disables WHERE sourceType = 3 AND disables.entry = 9; +-- INSERT INTO disables (sourceType, entry, flags, params_0, params_1, comment) VALUES (3, 9, 0, '', '', 'Strand of the Ancients (SOTA) - Battleground'); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_fix_valkyrs_immunities_and_diminishing.sql b/modules/azerothshard/data/sql/new/world/azth_world_fix_valkyrs_immunities_and_diminishing.sql new file mode 100644 index 0000000000..d25e1880a5 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_fix_valkyrs_immunities_and_diminishing.sql @@ -0,0 +1,36 @@ +-- Immunity mask for val'kyr +UPDATE `creature_template` SET `mechanic_immune_mask` = +1 -- MECHANIC_CHARM ++ 2 -- MECHANIC_DISORIENTED ++ 8 -- MECHANIC_DISTRACT ++ 16 -- MECHANIC_FEAR ++ 32 -- MECHANIC_GRIP ++ 64 -- MECHANIC_ROOT ++ 128 -- MECHANIC_PACIFY ++ 256 -- MECHANIC_SILENCE ++ 512 -- MECHANIC_SLEEP +-- 1024 -- MECHANIC_SNARE +-- 2048 -- MECHANIC_STUN +-- 4096 -- MECHANIC_FREEZE ++ 8192 -- MECHANIC_KNOCKOUT ++ 16384 -- MECHANIC_BLEED ++ 32768 -- MECHANIC_BANDAGE ++ 65536 -- MECHANIC_POLYMORPH ++ 131072 -- MECHANIC_BANISH +-- 262144 -- MECHANIC_SHIELD ++ 524288 -- MECHANIC_SHACKLE ++ 1048576 -- MECHANIC_MOUNT +-- 2097152 -- MECHANIC_INFECTED ++ 4194304 -- MECHANIC_TURN ++ 8388608 -- MECHANIC_HORROR +-- 16777216 -- MECHANIC_INVULNERABILITY ++ 33554432 -- MECHANIC_INTERRUPT +-- 67108864 -- MECHANIC_DAZE +-- 134217728 -- MECHANIC_DISCOVERY +-- 268435456 -- MECHANIC_IMMUNE_SHIELD ++ 536870912 -- MECHANIC_SAPPED +-- 1073741824 -- MECHANIC_ENRAGED +where `entry` IN (36609,39120,39121,39122); + +-- Adding diminishing +UPDATE `creature_template` SET `flags_extra`='1048576' WHERE `entry` IN (36609,39120,39121,39122); \ No newline at end of file diff --git a/modules/azerothshard/data/sql/new/world/azth_world_game_tele.sql b/modules/azerothshard/data/sql/new/world/azth_world_game_tele.sql new file mode 100644 index 0000000000..6543cb2959 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_game_tele.sql @@ -0,0 +1,3 @@ +-- Emerald Dream game_tele +DELETE FROM game_tele WHERE id = 1601; +INSERT INTO game_tele (id, position_x, position_y, position_z, orientation, map, name) VALUES ('1601', '-366.091', '3097.86', '92.317', '0.0487625', '169', 'EmeraldDream'); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_gameobject.sql b/modules/azerothshard/data/sql/new/world/azth_world_gameobject.sql new file mode 100644 index 0000000000..76bad0447d --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_gameobject.sql @@ -0,0 +1,14 @@ +-- Dalaran portals +DELETE FROM `gameobject` WHERE `guid` BETWEEN 200000 AND 200008; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(200000, 202079, 1, 1, 1, -964.555, 292.733, 109.7, 4.43777, 0, 0, 0.797239, -0.603663, 300, 0, 1, 0), +(200001, 202079, 1, 1, 1, 9655.71, 2506.69, 1331.59, 1.90512, 0, 0, 0.814902, 0.579599, 300, 0, 1, 0), +(200002, 202079, 530, 1, 1, -1887.49, 5359.28, -12.4277, 1.21883, 0, 0, 0.572386, 0.819984, 300, 0, 1, 0), +(200003, 202079, 0, 1, 1, -8987.01, 847.909, 29.621, 2.22167, 0, 0, 0.89607, 0.443913, 300, 0, 1, 0), +(200004, 202079, 0, 1, 1, 1775.51, 58.62, -46.3214, 2.52786, 0, 0, 0.953285, 0.302073, 300, 0, 1, 0), +(200005, 202079, 530, 1, 1, -4047.07, -11568.6, -138.481, 6.13938, 0, 0, 0.0718431, -0.997416, 300, 0, 1, 0), +(200006, 202079, 0, 1, 1, -4623.88, -906.916, 501.07, 5.76448, 0, 0, 0.256457, -0.966556, 300, 0, 1, 0), +(200007, 202079, 530, 1, 1, 9991.31, -7092.76, 47.7047, 5.07985, 0, 0, 0.566019, -0.824392, 300, 0, 1, 0), +(200008, 202079, 1, 1, 1, 1467.17, -4226.68, 59.221, 1.14415, 0, 0, 0.541378, 0.840779, 300, 0, 1, 0), +(200121, 202079, 1, 1, 1, -7219.52, -3795.9, -1.12415, 4.01808, 0, 0, 0.905497, -0.424352, 300, 0, 1, 0); + diff --git a/modules/azerothshard/data/sql/new/world/azth_world_instance_template.sql b/modules/azerothshard/data/sql/new/world/azth_world_instance_template.sql new file mode 100644 index 0000000000..8b8fa6dc93 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_instance_template.sql @@ -0,0 +1,3 @@ +-- Emerald Dream instance_template +DELETE FROM instance_template WHERE map = 169; +INSERT INTO instance_template (map, parent, script, allowMount) VALUES ('169', '0', 'emerald_dream', '0'); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_nefarian.sql b/modules/azerothshard/data/sql/new/world/azth_world_nefarian.sql new file mode 100644 index 0000000000..62070b16de --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_nefarian.sql @@ -0,0 +1,18 @@ +-- fix https://github.com/TrinityCore/TrinityCore/issues/14845#issuecomment-180266980 +DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-7381 AND type=0; +INSERT INTO spell_linked_spell VALUES (-23397,-7381,0,'Berserk Nefarian - On Remove - Remove Berserker Stance passiv'); +DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29763 AND type=0; +INSERT INTO spell_linked_spell VALUES +(-23397,-29763,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 5'); +DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29762 AND type=0; +INSERT INTO spell_linked_spell VALUES +(-23397,-29762,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 4'); +DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29761 AND type=0; +INSERT INTO spell_linked_spell VALUES +(-23397,-29761,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 3'); +DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29760 AND type=0; +INSERT INTO spell_linked_spell VALUES +(-23397,-29760,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 2'); +DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29759 AND type=0; +INSERT INTO spell_linked_spell VALUES +(-23397,-29759,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 1'); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_putricide.sql b/modules/azerothshard/data/sql/new/world/azth_world_putricide.sql new file mode 100644 index 0000000000..4d6edf3706 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_putricide.sql @@ -0,0 +1,11 @@ +-- hackfix for https://github.com/TrinityCore/TrinityCore/issues/16059 +UPDATE `creature_template` SET `mechanic_immune_mask` = 650854271 WHERE `entry` IN ( + 37697, -- 10N Volatile Ooze + 38604, -- 10H Volatile Ooze + 38758, -- 25N Volatize Ooze + 38759, -- 25H Volatile Ooze + 37562, -- 10N Gas Cloud + 38602, -- 10H Gas Cloud + 38760, -- 25N Gas Cloud + 38761 -- 25H Gas Cloud +); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_pvp_vendor.sql b/modules/azerothshard/data/sql/new/world/azth_world_pvp_vendor.sql new file mode 100644 index 0000000000..36bf6abeb0 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_pvp_vendor.sql @@ -0,0 +1,257 @@ +SET @WEAPON_VENDOR = 90000; +SET @BASIC_VENDOR = 90001; + +DELETE FROM `creature_template` WHERE `entry` IN (@WEAPON_VENDOR, @BASIC_VENDOR); +DELETE FROM `creature_equip_template` WHERE `entry` IN (@WEAPON_VENDOR, @BASIC_VENDOR); +DELETE FROM `creature` WHERE `id` IN (@WEAPON_VENDOR, @BASIC_VENDOR); +DELETE FROM `npc_vendor` WHERE `entry` IN (@WEAPON_VENDOR, @BASIC_VENDOR); + +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES +(@WEAPON_VENDOR, 0, 0, 0, 0, 0, 19654, 0, 0, 0, 'Linus', 'AzerothShard Weapons Vendor', NULL, 0, 80, 80, 1, 35, 128, 1, 1.14286, 1, 0, 0, 2000, 2000, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 1, 5, 3, 1, 0, 0, 1, 0, 2, '', 12340), +(@BASIC_VENDOR, 0, 0, 0, 0, 0, 19654, 0, 0, 0, 'Richard', 'AzerothShard Basic-PvP Vendor', NULL, 0, 80, 80, 1, 35, 128, 1, 1.14286, 1, 0, 0, 2000, 2000, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 1, 5, 3, 1, 0, 0, 1, 0, 2, '', 12340); + +INSERT INTO `creature_equip_template` VALUES +(@WEAPON_VENDOR, 1, 42334, 0, 0, 0), +(@BASIC_VENDOR, 1, 44420, 0, 0, 0); + +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES +(900000, 90000, 571, 1, 1, 0, 1, 5768.09, 595.418, 609.886, 0.923717, 300, 0, 0, 46075, 0, 0, 0, 0, 0), +(900001, 90001, 571, 1, 1, 0, 1, 5764.62, 599.473, 609.886, 0.606416, 300, 0, 0, 46075, 0, 0, 0, 0, 0); + + +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES +-- Relentless Weapons +(@WEAPON_VENDOR, 0, 42210, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42229, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42234, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42244, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42250, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42257, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42262, 0, 0, 2958), +(@WEAPON_VENDOR, 0, 42267, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42272, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42277, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42282, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42287, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42292, 0, 0, 2968), +(@WEAPON_VENDOR, 0, 42319, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42324, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42329, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42334, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42348, 0, 0, 2958), +(@WEAPON_VENDOR, 0, 42354, 0, 0, 2958), +(@WEAPON_VENDOR, 0, 42366, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42386, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42392, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42483, 0, 0, 2967), +(@WEAPON_VENDOR, 0, 42487, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42492, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42498, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 42504, 0, 0, 2967), +(@WEAPON_VENDOR, 0, 42515, 0, 0, 2967), +(@WEAPON_VENDOR, 0, 42521, 0, 0, 2967), +(@WEAPON_VENDOR, 1, 42527, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42533, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42539, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42561, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42566, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42572, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42580, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42585, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42591, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42599, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42604, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42609, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42616, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42622, 0, 0, 2969), +(@WEAPON_VENDOR, 1, 42854, 0, 0, 2969), +(@WEAPON_VENDOR, 0, 44423, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 44424, 0, 0, 2959), +(@WEAPON_VENDOR, 0, 49185, 0, 0, 2967), +(@WEAPON_VENDOR, 1, 49187, 0, 0, 2969), +(@WEAPON_VENDOR, 0, 49189, 0, 0, 2958), +-- Deadly +(@BASIC_VENDOR, 0, 40784, 0, 0, 0), +(@BASIC_VENDOR, 0, 40785, 0, 0, 0), +(@BASIC_VENDOR, 0, 40786, 0, 0, 0), +(@BASIC_VENDOR, 0, 40804, 0, 0, 0), +(@BASIC_VENDOR, 0, 40805, 0, 0, 0), +(@BASIC_VENDOR, 0, 40806, 0, 0, 0), +(@BASIC_VENDOR, 0, 40823, 0, 0, 0), +(@BASIC_VENDOR, 0, 40824, 0, 0, 0), +(@BASIC_VENDOR, 0, 40825, 0, 0, 0), +(@BASIC_VENDOR, 0, 40844, 0, 0, 0), +(@BASIC_VENDOR, 0, 40845, 0, 0, 0), +(@BASIC_VENDOR, 0, 40846, 0, 0, 0), +(@BASIC_VENDOR, 0, 40862, 0, 0, 0), +(@BASIC_VENDOR, 0, 40863, 0, 0, 0), +(@BASIC_VENDOR, 0, 40864, 0, 0, 0), +(@BASIC_VENDOR, 0, 40879, 0, 0, 0), +(@BASIC_VENDOR, 0, 40880, 0, 0, 0), +(@BASIC_VENDOR, 0, 40888, 0, 0, 0), +(@BASIC_VENDOR, 0, 40905, 0, 0, 0), +(@BASIC_VENDOR, 0, 40926, 0, 0, 0), +(@BASIC_VENDOR, 0, 40932, 0, 0, 0), +(@BASIC_VENDOR, 0, 40938, 0, 0, 0), +(@BASIC_VENDOR, 0, 40962, 0, 0, 0), +(@BASIC_VENDOR, 0, 40974, 0, 0, 0), +(@BASIC_VENDOR, 0, 40975, 0, 0, 0), +(@BASIC_VENDOR, 0, 40982, 0, 0, 0), +(@BASIC_VENDOR, 0, 40990, 0, 0, 0), +(@BASIC_VENDOR, 0, 40991, 0, 0, 0), +(@BASIC_VENDOR, 0, 41000, 0, 0, 0), +(@BASIC_VENDOR, 0, 41006, 0, 0, 0), +(@BASIC_VENDOR, 0, 41012, 0, 0, 0), +(@BASIC_VENDOR, 0, 41018, 0, 0, 0), +(@BASIC_VENDOR, 0, 41026, 0, 0, 0), +(@BASIC_VENDOR, 0, 41032, 0, 0, 0), +(@BASIC_VENDOR, 0, 41037, 0, 0, 0), +(@BASIC_VENDOR, 0, 41043, 0, 0, 0), +(@BASIC_VENDOR, 0, 41048, 0, 0, 0), +(@BASIC_VENDOR, 0, 41054, 0, 0, 0), +(@BASIC_VENDOR, 0, 41059, 0, 0, 0), +(@BASIC_VENDOR, 0, 41064, 0, 0, 0), +(@BASIC_VENDOR, 0, 41069, 0, 0, 0), +(@BASIC_VENDOR, 0, 41074, 0, 0, 0), +(@BASIC_VENDOR, 0, 41080, 0, 0, 0), +(@BASIC_VENDOR, 0, 41086, 0, 0, 0), +(@BASIC_VENDOR, 0, 41136, 0, 0, 0), +(@BASIC_VENDOR, 0, 41142, 0, 0, 0), +(@BASIC_VENDOR, 0, 41150, 0, 0, 0), +(@BASIC_VENDOR, 0, 41156, 0, 0, 0), +(@BASIC_VENDOR, 0, 41198, 0, 0, 0), +(@BASIC_VENDOR, 0, 41204, 0, 0, 0), +(@BASIC_VENDOR, 0, 41210, 0, 0, 0), +(@BASIC_VENDOR, 0, 41216, 0, 0, 0), +(@BASIC_VENDOR, 0, 41224, 0, 0, 0), +(@BASIC_VENDOR, 0, 41229, 0, 0, 0), +(@BASIC_VENDOR, 0, 41234, 0, 0, 0), +(@BASIC_VENDOR, 0, 41274, 0, 0, 0), +(@BASIC_VENDOR, 0, 41280, 0, 0, 0), +(@BASIC_VENDOR, 0, 41286, 0, 0, 0), +(@BASIC_VENDOR, 0, 41292, 0, 0, 0), +(@BASIC_VENDOR, 0, 41297, 0, 0, 0), +(@BASIC_VENDOR, 0, 41303, 0, 0, 0), +(@BASIC_VENDOR, 0, 41309, 0, 0, 0), +(@BASIC_VENDOR, 0, 41315, 0, 0, 0), +(@BASIC_VENDOR, 0, 41320, 0, 0, 0), +(@BASIC_VENDOR, 0, 41326, 0, 0, 0), +(@BASIC_VENDOR, 0, 41616, 0, 0, 0), +(@BASIC_VENDOR, 0, 41620, 0, 0, 0), +(@BASIC_VENDOR, 0, 41624, 0, 0, 0), +(@BASIC_VENDOR, 0, 41629, 0, 0, 0), +(@BASIC_VENDOR, 0, 41634, 0, 0, 0), +(@BASIC_VENDOR, 0, 41639, 0, 0, 0), +(@BASIC_VENDOR, 0, 41649, 0, 0, 0), +(@BASIC_VENDOR, 0, 41654, 0, 0, 0), +(@BASIC_VENDOR, 0, 41660, 0, 0, 0), +(@BASIC_VENDOR, 0, 41666, 0, 0, 0), +(@BASIC_VENDOR, 0, 41671, 0, 0, 0), +(@BASIC_VENDOR, 0, 41677, 0, 0, 0), +(@BASIC_VENDOR, 0, 41682, 0, 0, 0), +(@BASIC_VENDOR, 0, 41714, 0, 0, 0), +(@BASIC_VENDOR, 0, 41766, 0, 0, 0), +(@BASIC_VENDOR, 0, 41772, 0, 0, 0), +(@BASIC_VENDOR, 0, 41831, 0, 0, 0), +(@BASIC_VENDOR, 0, 41835, 0, 0, 0), +(@BASIC_VENDOR, 0, 41839, 0, 0, 0), +(@BASIC_VENDOR, 0, 41853, 0, 0, 0), +(@BASIC_VENDOR, 0, 41858, 0, 0, 0), +(@BASIC_VENDOR, 0, 41863, 0, 0, 0), +(@BASIC_VENDOR, 0, 41868, 0, 0, 0), +(@BASIC_VENDOR, 0, 41873, 0, 0, 0), +(@BASIC_VENDOR, 0, 41880, 0, 0, 0), +(@BASIC_VENDOR, 0, 41884, 0, 0, 0), +(@BASIC_VENDOR, 0, 41892, 0, 0, 0), +(@BASIC_VENDOR, 0, 41897, 0, 0, 0), +(@BASIC_VENDOR, 0, 41902, 0, 0, 0), +(@BASIC_VENDOR, 0, 41908, 0, 0, 0), +(@BASIC_VENDOR, 0, 41914, 0, 0, 0), +(@BASIC_VENDOR, 0, 41920, 0, 0, 0), +(@BASIC_VENDOR, 0, 41926, 0, 0, 0), +(@BASIC_VENDOR, 0, 41933, 0, 0, 0), +(@BASIC_VENDOR, 0, 41939, 0, 0, 0), +(@BASIC_VENDOR, 0, 41945, 0, 0, 0), +(@BASIC_VENDOR, 0, 41951, 0, 0, 0), +(@BASIC_VENDOR, 0, 41958, 0, 0, 0), +(@BASIC_VENDOR, 0, 41964, 0, 0, 0), +(@BASIC_VENDOR, 0, 41970, 0, 0, 0), +(@BASIC_VENDOR, 0, 41992, 0, 0, 0), +(@BASIC_VENDOR, 0, 41997, 0, 0, 0), +(@BASIC_VENDOR, 0, 42004, 0, 0, 0), +(@BASIC_VENDOR, 0, 42010, 0, 0, 0), +(@BASIC_VENDOR, 0, 42016, 0, 0, 0), +(@BASIC_VENDOR, 0, 42027, 0, 0, 0), +(@BASIC_VENDOR, 0, 42028, 0, 0, 0), +(@BASIC_VENDOR, 0, 42029, 0, 0, 0), +(@BASIC_VENDOR, 0, 42030, 0, 0, 0), +(@BASIC_VENDOR, 0, 42031, 0, 0, 0), +(@BASIC_VENDOR, 0, 42032, 0, 0, 0), +(@BASIC_VENDOR, 0, 42033, 0, 0, 0), +(@BASIC_VENDOR, 0, 42062, 0, 0, 0), +(@BASIC_VENDOR, 0, 42063, 0, 0, 0), +(@BASIC_VENDOR, 0, 42064, 0, 0, 0), +(@BASIC_VENDOR, 0, 42065, 0, 0, 0), +(@BASIC_VENDOR, 0, 42066, 0, 0, 0), +(@BASIC_VENDOR, 0, 42067, 0, 0, 0), +(@BASIC_VENDOR, 0, 42068, 0, 0, 0), +(@BASIC_VENDOR, 0, 42114, 0, 0, 0), +(@BASIC_VENDOR, 0, 42115, 0, 0, 0), +(@BASIC_VENDOR, 0, 42208, 0, 0, 0), +(@BASIC_VENDOR, 0, 42227, 0, 0, 0), +(@BASIC_VENDOR, 0, 42232, 0, 0, 0), +(@BASIC_VENDOR, 0, 42237, 0, 0, 0), +(@BASIC_VENDOR, 0, 42242, 0, 0, 0), +(@BASIC_VENDOR, 0, 42248, 0, 0, 0), +(@BASIC_VENDOR, 0, 42255, 0, 0, 0), +(@BASIC_VENDOR, 0, 42260, 0, 0, 0), +(@BASIC_VENDOR, 0, 42265, 0, 0, 0), +(@BASIC_VENDOR, 0, 42270, 0, 0, 0), +(@BASIC_VENDOR, 0, 42275, 0, 0, 0), +(@BASIC_VENDOR, 0, 42280, 0, 0, 0), +(@BASIC_VENDOR, 0, 42285, 0, 0, 0), +(@BASIC_VENDOR, 0, 42290, 0, 0, 0), +(@BASIC_VENDOR, 0, 42317, 0, 0, 0), +(@BASIC_VENDOR, 0, 42322, 0, 0, 0), +(@BASIC_VENDOR, 0, 42327, 0, 0, 0), +(@BASIC_VENDOR, 0, 42332, 0, 0, 0), +(@BASIC_VENDOR, 0, 42346, 0, 0, 0), +(@BASIC_VENDOR, 0, 42352, 0, 0, 0), +(@BASIC_VENDOR, 0, 42362, 0, 0, 0), +(@BASIC_VENDOR, 0, 42384, 0, 0, 0), +(@BASIC_VENDOR, 0, 42390, 0, 0, 0), +(@BASIC_VENDOR, 0, 42450, 0, 0, 0), +(@BASIC_VENDOR, 0, 42485, 0, 0, 0), +(@BASIC_VENDOR, 0, 42490, 0, 0, 0), +(@BASIC_VENDOR, 0, 42495, 0, 0, 0), +(@BASIC_VENDOR, 0, 42502, 0, 0, 0), +(@BASIC_VENDOR, 0, 42513, 0, 0, 0), +(@BASIC_VENDOR, 0, 42519, 0, 0, 0), +(@BASIC_VENDOR, 0, 42525, 0, 0, 0), +(@BASIC_VENDOR, 0, 42531, 0, 0, 0), +(@BASIC_VENDOR, 0, 42537, 0, 0, 0), +(@BASIC_VENDOR, 0, 42559, 0, 0, 0), +(@BASIC_VENDOR, 0, 42564, 0, 0, 0), +(@BASIC_VENDOR, 0, 42570, 0, 0, 0), +(@BASIC_VENDOR, 0, 42578, 0, 0, 0), +(@BASIC_VENDOR, 0, 42583, 0, 0, 0), +(@BASIC_VENDOR, 0, 42588, 0, 0, 0), +(@BASIC_VENDOR, 0, 42597, 0, 0, 0), +(@BASIC_VENDOR, 0, 42602, 0, 0, 0), +(@BASIC_VENDOR, 0, 42607, 0, 0, 0), +(@BASIC_VENDOR, 0, 42614, 0, 0, 0), +(@BASIC_VENDOR, 0, 42620, 0, 0, 0), +(@BASIC_VENDOR, 0, 42852, 0, 0, 0), +(@BASIC_VENDOR, 0, 44419, 0, 0, 0), +(@BASIC_VENDOR, 0, 44420, 0, 0, 0), +(@BASIC_VENDOR, 1, 42122, 0, 0, 0), +(@BASIC_VENDOR, 1, 42123, 0, 0, 0), +(@BASIC_VENDOR, 1, 42128, 0, 0, 0), +(@BASIC_VENDOR, 1, 42129, 0, 0, 0), +(@BASIC_VENDOR, 1, 42130, 0, 0, 0), +(@BASIC_VENDOR, 1, 42131, 0, 0, 0), +(@BASIC_VENDOR, 1, 42132, 0, 0, 0); + +-- Set price to Deadly Weapons +UPDATE `item_template` SET `BuyPrice` = 1000000 WHERE `name` LIKE 'Deadly Gladiator%' AND `itemlevel` = 213; +UPDATE `item_template` SET `BuyPrice` = 1000000 WHERE `entry` IN (42122, 42123, 42128, 42129, 42130, 42131, 42132); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_quest_completer.sql b/modules/azerothshard/data/sql/new/world/azth_world_quest_completer.sql new file mode 100644 index 0000000000..6c41f1083a --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_quest_completer.sql @@ -0,0 +1,45 @@ +-- +-- CREATE STRUCTURE +-- + +DROP TABLE IF EXISTS `quest_bugged`; +CREATE TABLE `quest_bugged` ( + `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', + `bugged` BOOLEAN NOT NULL DEFAULT '1', + PRIMARY KEY (`ID`) +); + +-- +-- ADD DATA +-- + +DELETE FROM `command` WHERE `name` = 'qc'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES ('qc', 0, 'Syntax: .qc [Quest]'); + +DELETE FROM `quest_bugged`; +INSERT INTO `quest_bugged` (SELECT `ID`, 0 FROM `quest_template`); + +-- initial bugged quest list +UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (1090, 2078, 2904, 3367, 3982, 4121, 5713, 5821, 5943, 5944, 6086, 7046, 7622, 7636, 8945, 8961, 9015, 9729, 10218, 10248, 10273, 10309, 10310, 10422, 10425, 10438, 10439, 10495, 10566, 10612, 10613, 10711, 10712, 10714, 10716, 10720, 10821, 10884, 10886, 10909, 10930, 10935, 10965, 10974, 10976, 10977, 10988, 11035, 11064, 11067, 11068, 11069, 11070, 11071, 11073, 11097, 11101, 11122, 11310, 11318, 11343, 11409, 11412, 11418, 11421, 11436, 11516, 11520, 11521, 11527, 11533, 11542, 11543, 11657, 11731, 11921, 11922, 11923, 11924, 11925, 11926, 11969, 12414, 12432, 12437, 12519, 12568, 12674, 12801, 12886, 12987, 13003, 13007, 13069, 13086, 13142, 13264, 13276, 13284, 13288, 13289, 13301, 13314, 13343, 13373, 13374, 13376, 13380, 13381, 13382, 13404, 13406, 24535, 24553, 24563, 24564, 24594, 24595, 24596, 24598, 25212, 25461, 25470); + +-- Hallow's End Event +UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN ( + -- Fire Brigade Practice + 11440, + 11439, + 11360, + -- Stop the Fires! + 11131, + 11219, + -- Let the Fires Come! + 12135, + 12139, + -- Quest Fire Training + 11361, + 11449, + 11450 +); + +-- Scouring the Desert +UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (9422, 9419); + diff --git a/modules/azerothshard/data/sql/new/world/azth_world_queue_announcer.sql b/modules/azerothshard/data/sql/new/world/azth_world_queue_announcer.sql new file mode 100644 index 0000000000..7b43bf764f --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_queue_announcer.sql @@ -0,0 +1,2 @@ +DELETE FROM `trinity_string` WHERE `entry` = 90000; +INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (90000, '|cffff0000[BG Queue Announcer]:|r |cff00ccff[%d-%d]|r %s is ready to start |cff00FF3C%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_various_fixes.sql b/modules/azerothshard/data/sql/new/world/azth_world_various_fixes.sql new file mode 100644 index 0000000000..ccb3bca4a8 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_various_fixes.sql @@ -0,0 +1,6 @@ +-- bang a gong starter npc +DELETE FROM `creature_queststarter` WHERE `id` = 15192 AND `quest` = 8743; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES ('15192', '8743'); + +DELETE FROM `creature_questender` WHERE `id` = 15192 AND `quest` = 8743; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES ('15192', '8743'); diff --git a/modules/azerothshard/data/sql/new/world/azth_world_wintergrasp.sql b/modules/azerothshard/data/sql/new/world/azth_world_wintergrasp.sql new file mode 100644 index 0000000000..c740b776a7 --- /dev/null +++ b/modules/azerothshard/data/sql/new/world/azth_world_wintergrasp.sql @@ -0,0 +1,17 @@ +-- Flame Revenant (30873) +UPDATE `creature` SET `phaseMask` = 1 WHERE `id` = 30873; + + +-- Move ally vendors (don't need to delete originals, they are in differen phase) +DELETE FROM `creature` WHERE guid IN (900024, 900025); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES +(900024, 39172, 571, 1, 1, 0, 0, 5370.42, 2880.77, 409.239, 3.12728, 300, 0, 0, 12600, 0, 0, 0, 134218496, 0), +(900025, 32294, 571, 1, 1, 0, 0, 5370.47, 2887.44, 409.24, 3.55288, 300, 0, 0, 12600, 0, 0, 0, 134218496, 0); + + +-- Show some allies +UPDATE `creature` SET `phaseMask` = 1 WHERE `phaseMask` = 128 AND `id` IN (31051, 30489); + + +-- Hide some horde guards +UPDATE `creature` SET `phaseMask` = 128 WHERE `guid` IN (131260, 131259, 131264, 131269);