diff options
Diffstat (limited to 'sql/old')
333 files changed, 18499 insertions, 0 deletions
diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_00_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_00_auth_misc.sql new file mode 100644 index 00000000000..8769060ba9d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_00_auth_misc.sql @@ -0,0 +1,21 @@ +ALTER TABLE `rbac_roles` MODIFY COLUMN `name` varchar(100) NOT NULL COMMENT 'Role name'; +ALTER TABLE `rbac_groups` MODIFY COLUMN `name` varchar(100) NOT NULL COMMENT 'Group name'; + +-- Add new permission +DELETE FROM `rbac_permissions` WHERE `id` = 11; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (11, 'Log GM trades'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 8; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (8, 'Log GM trades'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 8; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (8, 11); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 8; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 8), +(3, 8), +(4, 8); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_01_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_01_auth_misc.sql new file mode 100644 index 00000000000..f5cb6c01d19 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_01_auth_misc.sql @@ -0,0 +1,18 @@ +-- Add new permission +DELETE FROM `rbac_permissions` WHERE `id` = 13; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (13, 'Skip Instance required bosses check'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 9; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (9, 'Skip Instance required bosses check'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 9; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (9, 13); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 9; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 9), +(3, 9), +(4, 9); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_02_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_02_auth_misc.sql new file mode 100644 index 00000000000..11e235c91d9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_02_auth_misc.sql @@ -0,0 +1,18 @@ +-- Add new permission +DELETE FROM `rbac_permissions` WHERE `id` = 32; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (32, 'Can be assigned tickets with .assign ticket command'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 10; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (10, 'Ticket management'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 10; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (10, 32); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 10; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 10), +(3, 10), +(4, 10); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_03_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_03_auth_misc.sql new file mode 100644 index 00000000000..5f290ebf0cd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_03_auth_misc.sql @@ -0,0 +1,33 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (30, 31, 38); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(30, 'Save character without delay with .save command'), +(31, 'Use params with .unstuck command'), +(38, 'Resurrect with full Health Points'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (11, 12, 13); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(11, 'Instant .save'), +(12, 'Allow params with .unstuck'), +(13, 'Full HP after resurrect'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (11, 12, 13); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(11, 30), +(12, 31), +(13, 38); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (11, 12, 13); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 11), +(3, 11), +(4, 11), +(2, 12), +(3, 12), +(4, 12), +(2, 13), +(3, 13), +(4, 13); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_04_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_04_auth_misc.sql new file mode 100644 index 00000000000..bf42990a1bd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_04_auth_misc.sql @@ -0,0 +1,27 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (34, 37); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(34, 'Check if should appear in list using .gm ingame command'), +(37, 'Use staff badge in chat'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (14, 15); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(14, 'Appear in GM ingame list'), +(15, 'Use staff badge in chat'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (14, 15); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(14, 34), +(15, 37); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (14, 15); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 14), +(3, 14), +(4, 14), +(2, 15), +(3, 15), +(4, 15); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_05_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_05_auth_misc.sql new file mode 100644 index 00000000000..e3ee3f00572 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_05_auth_misc.sql @@ -0,0 +1,18 @@ +-- Add new permission +DELETE FROM `rbac_permissions` WHERE `id` = 44; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (44, 'Receive global GM messages/texts'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 16; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (16, 'Receive global GM messages/texts'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 16; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (16, 44); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 16; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 16), +(3, 16), +(4, 16); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_06_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_06_auth_misc.sql new file mode 100644 index 00000000000..92eae3d782d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_06_auth_misc.sql @@ -0,0 +1,18 @@ +-- Add new permission +DELETE FROM `rbac_permissions` WHERE `id` = 23; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (23, 'Skip over-speed ping check'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 17; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (17, 'Skip over-speed ping check'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 17; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (17, 23); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 17; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 17), +(3, 17), +(4, 17); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_07_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_07_auth_misc.sql new file mode 100644 index 00000000000..4c6dadf4eaa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_07_auth_misc.sql @@ -0,0 +1,21 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (42, 43); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(42, 'Allows to use CMSG_WORLD_TELEPORT opcode'), +(43, 'Allows to use CMSG_WHOIS opcode'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 18; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(18, 'Allows Admin Opcodes'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 18; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(18, 42), +(18, 43); + +-- Add it to admins groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 18; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(4, 18); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_08_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_08_auth_misc.sql new file mode 100644 index 00000000000..244b1848d0c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_08_auth_misc.sql @@ -0,0 +1,19 @@ +-- Add new permission +DELETE FROM `rbac_permissions` WHERE `id` = 27; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (27, 'Two side mail interaction'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` = 19; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (19, 'Two side mail interaction'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 19; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (19, 27); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` = 19; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(1, 19), +(2, 19), +(3, 19), +(4, 19); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_09_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_09_auth_misc.sql new file mode 100644 index 00000000000..6297bf7427a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_09_auth_misc.sql @@ -0,0 +1,27 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (33, 47); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(33, 'Notify if a command was not found'), +(47, 'Enables lower security than target check'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (20, 21); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(20, 'Notify if a command was not found'), +(21, 'Enables lower security than target check'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (20, 21); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(20, 33), +(21, 47); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (20, 21); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 20), +(3, 20), +(4, 20), +(2, 21), +(3, 21), +(4, 21); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_10_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_10_auth_misc.sql new file mode 100644 index 00000000000..ccca7c74f06 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_10_auth_misc.sql @@ -0,0 +1,43 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (20, 21, 22, 39, 41); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(20, 'Skip disable map check'), +(21, 'Skip reset talents when used more than allowed check'), +(22, 'Skip spam chat check'), +(39, 'Restore saved gm setting states'), +(41, 'Use Config option START_GM_LEVEL to assign new character level'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (22, 23, 24, 25, 26); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(22, 'Skip disable map check'), +(23, 'Skip reset talents when used more than allowed check'), +(24, 'Skip spam chat check'), +(25, 'Restore saved gm setting states'), +(26, 'Use Config option START_GM_LEVEL to assign new character level'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (22, 23, 24, 25, 26); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(22, 20), +(23, 21), +(24, 22), +(25, 39), +(26, 41); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (22, 23, 24, 25, 26); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 22), +(3, 22), +(4, 22), +(4, 23), +(2, 24), +(3, 24), +(4, 24), +(2, 25), +(3, 25), +(4, 25), +(2, 26), +(3, 26), +(4, 26); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_11_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_11_auth_misc.sql new file mode 100644 index 00000000000..b5f9767ca7b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_11_auth_misc.sql @@ -0,0 +1,34 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (19, 25, 36); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(19, 'Skip needed requirements to use channel check'), +(25, 'Allow say chat between factions'), +(36, 'Filter whispers'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (27, 28, 29); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(27, 'Skip needed requirements to use channel check'), +(28, 'Allow say chat between factions'), +(29, 'Filter whispers'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (27, 28, 29); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(27, 19), +(28, 25), +(29, 36); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (27, 28, 29); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 27), +(3, 27), +(4, 27), +(1, 28), +(2, 28), +(3, 28), +(4, 28), +(2, 29), +(3, 29), +(4, 29); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_12_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_12_auth_misc.sql new file mode 100644 index 00000000000..30e203ea4b3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_12_auth_misc.sql @@ -0,0 +1,34 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (26, 45, 46); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(26, 'Allow channel chat between factions'), +(45, 'Join channels without announce'), +(46, 'Change channel settings without being channel moderator'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (30, 31, 32); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(30, 'Allow channel chat between factions'), +(31, 'Join channels without announce'), +(32, 'Change channel settings without being channel moderator'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (30, 31, 32); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(30, 26), +(31, 45), +(32, 46); + +-- Add it to all GM+ groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (30, 31, 32); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(1, 30), +(2, 30), +(3, 30), +(4, 30), +(2, 31), +(3, 31), +(4, 31), +(2, 32), +(3, 32), +(4, 32); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_13_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_13_auth_misc.sql new file mode 100644 index 00000000000..9a7806ede68 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_13_auth_misc.sql @@ -0,0 +1,36 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (14, 15, 16, 17, 18, 24); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(14, 'Skip character creation team mask check'), +(15, 'Skip character creation class mask check'), +(16, 'Skip character creation race mask check'), +(17, 'Skip character creation reserved name check'), +(18, 'Skip character creation heroic min level check'), +(24, 'Two side faction characters on the same account'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (33, 34); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(33, 'Skip character creation checks'), +(34, 'Two side faction characters on the same account'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (33, 34); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(33, 14), +(33, 15), +(33, 16), +(33, 17), +(33, 18), +(34, 24); + +-- Add it to all groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (33, 34); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 33), +(3, 33), +(4, 33), +(2, 34), +(3, 34), +(4, 34); + diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_14_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_14_auth_misc.sql new file mode 100644 index 00000000000..59189304342 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_02_25_14_auth_misc.sql @@ -0,0 +1,39 @@ +-- Add new permissions +DELETE FROM `rbac_permissions` WHERE `id` IN (28, 29, 35, 40); +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES +(28, 'See two side who list'), +(29, 'Add friends of other faction'), +(35, 'See all security levels with who command'), +(40, 'Allows to add a gm to friend list'); + +-- Add new role +DELETE FROM `rbac_roles` WHERE `id` IN (35, 36, 37, 38); +INSERT INTO `rbac_roles` (`id`, `name`) VALUES +(35, 'See two side who list'), +(36, 'Add friends of other faction'), +(37, 'See all security levels with who command'), +(38, 'Allows to add a gm to friend list'); + +-- Add the permission to the role +DELETE FROM `rbac_role_permissions` WHERE `roleId` IN (35, 36, 37, 38); +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES +(35, 28), +(36, 29), +(37, 35), +(38, 40); + +-- Add it to all groups +DELETE FROM `rbac_group_roles` WHERE `roleId` IN (35, 36, 37, 38); +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES +(2, 35), +(3, 35), +(4, 35), +(2, 36), +(3, 36), +(4, 36), +(2, 37), +(3, 37), +(4, 37), +(2, 38), +(3, 38), +(4, 38); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_03_08_00_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_03_08_00_auth_misc.sql new file mode 100644 index 00000000000..46e687b5da5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_03_08_00_auth_misc.sql @@ -0,0 +1,9 @@ +-- Delete 'Two side mail interaction', 'Allow say chat between factions' and 'Allow channel chat between factions' from Player group +DELETE FROM `rbac_group_roles` WHERE `groupId` = 1 AND `roleId` IN (19, 28, 30); + +-- Delete 'Join channels without announce' from Moderators+ group +DELETE FROM `rbac_group_roles` WHERE `roleId` = 31; + +-- Add 'Allow two side charater accounts' +DELETE FROM `rbac_group_roles` WHERE `roleId` = 34; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES (1, 34); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_03_11_00_auth_rbac_security_level_groups.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_03_11_00_auth_rbac_security_level_groups.sql new file mode 100644 index 00000000000..533d3f7a196 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_03_11_00_auth_rbac_security_level_groups.sql @@ -0,0 +1,2 @@ +-- change secId from int(10)u to tinyint(3)u +ALTER TABLE `rbac_security_level_groups` CHANGE `secId` `secId` tinyint(3) unsigned NOT NULL COMMENT 'Security Level id'; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_04_22_00_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_04_22_00_auth_misc.sql new file mode 100644 index 00000000000..508c0aab944 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_04_22_00_auth_misc.sql @@ -0,0 +1,21 @@ +ALTER TABLE `account` ADD COLUMN `lock_country` VARCHAR(2) NOT NULL DEFAULT '00' AFTER `locked`; + +DROP TABLE IF EXISTS ip2nation; +CREATE TABLE ip2nation ( + ip int(11) unsigned NOT NULL default '0', + country char(2) NOT NULL default '', + KEY ip (ip) +); + +DROP TABLE IF EXISTS ip2nationCountries; +CREATE TABLE ip2nationCountries ( + code varchar(4) NOT NULL default '', + iso_code_2 varchar(2) NOT NULL default '', + iso_code_3 varchar(3) default '', + iso_country varchar(255) NOT NULL default '', + country varchar(255) NOT NULL default '', + lat float NOT NULL default '0', + lon float NOT NULL default '0', + PRIMARY KEY (code), + KEY code (code) +); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_04_27_00_auth_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_04_27_00_auth_misc.sql new file mode 100644 index 00000000000..383b19ebd55 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_04_27_00_auth_misc.sql @@ -0,0 +1,8 @@ +DROP TABLE IF EXISTS `autobroadcast`; +CREATE TABLE `autobroadcast` ( + `realmid` int(10) NOT NULL, + `id` int(11) NOT NULL AUTO_INCREMENT, + `weight` tinyint(3) DEFAULT 1, + `text` longtext NOT NULL, + PRIMARY KEY (`id`, `realmid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_05_26_00_auth_rbac.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_05_26_00_auth_rbac.sql new file mode 100644 index 00000000000..aa05c842932 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_05_26_00_auth_rbac.sql @@ -0,0 +1,14 @@ +DELETE FROM `rbac_permissions` WHERE `id` = 48; +INSERT INTO `rbac_permissions` (`id`, `name`) VALUES (48, 'Enable IP, Last Login and EMail output in pinfo'); + +DELETE FROM `rbac_roles` WHERE `id` = 39; +INSERT INTO `rbac_roles` (`id`, `name`) VALUES (39, 'Enable IP, Last Login and EMail output in pinfo'); + +DELETE FROM `rbac_role_permissions` WHERE `roleId` = 39 AND `permissionId` = 48; +INSERT INTO `rbac_role_permissions` (`roleId`, `permissionId`) VALUES (39, 48); + +DELETE FROM `rbac_group_roles` WHERE `groupId` = 3 AND `roleId` = 39; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES (3, 39); + +DELETE FROM `rbac_group_roles` WHERE `groupId` = 4 AND `roleId` = 39; +INSERT INTO `rbac_group_roles` (`groupId`, `roleId`) VALUES (4, 39); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_06_02_00_auth_autobroadcast.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_06_02_00_auth_autobroadcast.sql new file mode 100644 index 00000000000..2e689ffd64d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/auth/2013_06_02_00_auth_autobroadcast.sql @@ -0,0 +1,5 @@ +ALTER TABLE `autobroadcast` + CHANGE `realmid` `realmid` INT(11) NOT NULL DEFAULT '-1', + CHANGE `id` `id` TINYINT(3) UNSIGNED NOT NULL AUTO_INCREMENT, + CHANGE `weight` `weight` TINYINT(3) UNSIGNED DEFAULT '1', + ENGINE=INNODB; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_03_04_00_characters_character_queststatus_rewarded.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_03_04_00_characters_character_queststatus_rewarded.sql new file mode 100644 index 00000000000..e4dbf73ad7a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_03_04_00_characters_character_queststatus_rewarded.sql @@ -0,0 +1 @@ +ALTER TABLE `character_queststatus_rewarded` ADD `active` tinyint(3) unsigned NOT NULL DEFAULT '1' AFTER `quest`; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_04_05_00_characters_banned_addons.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_04_05_00_characters_banned_addons.sql new file mode 100644 index 00000000000..4f286b2326c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_04_05_00_characters_banned_addons.sql @@ -0,0 +1,9 @@ +DROP TABLE IF EXISTS `banned_addons`; +CREATE TABLE `banned_addons` ( + `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, + `Name` varchar(255) NOT NULL, + `Version` varchar(255) NOT NULL DEFAULT '', + `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + PRIMARY KEY (`Id`), + UNIQUE KEY `idx_name_ver` (`Name`, `Version`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_06_23_00_characters_game_event.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_06_23_00_characters_game_event.sql new file mode 100644 index 00000000000..d8a58832ce1 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/characters/2013_06_23_00_characters_game_event.sql @@ -0,0 +1,3 @@ +-- Delete no longer used data from Characters Database +DELETE FROM `game_event_save` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event_condition_save` WHERE `eventEntry` BETWEEN 33 AND 47; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_14_00_world_version.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_14_00_world_version.sql new file mode 100644 index 00000000000..b3186b9c4e6 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_14_00_world_version.sql @@ -0,0 +1 @@ +UPDATE `version` SET `db_version`='TDB 335.51', `cache_id`=51 LIMIT 1; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_15_00_world_waypoint_data.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_15_00_world_waypoint_data.sql new file mode 100644 index 00000000000..8af0531b2f3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_15_00_world_waypoint_data.sql @@ -0,0 +1,20 @@ +SET @NPC_DRAKE := 29709; + +DELETE FROM `waypoint_data` WHERE `id`=@NPC_DRAKE; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@NPC_DRAKE,1,7294.96,-2418.733,823.869,0,0,0,0,100,0), +(@NPC_DRAKE,2,7315.984,-2331.46,826.3972,0,0,0,0,100,0), +(@NPC_DRAKE,3,7271.826,-2271.479,833.5917,0,0,0,0,100,0), +(@NPC_DRAKE,4,7186.253,-2218.475,847.5632,0,0,0,0,100,0), +(@NPC_DRAKE,5,7113.195,-2164.288,850.2301,0,0,0,0,100,0), +(@NPC_DRAKE,6,7078.018,-2063.106,854.7581,0,0,0,0,100,0), +(@NPC_DRAKE,7,7073.221,-1983.382,861.9246,0,0,0,0,100,0), +(@NPC_DRAKE,8,7061.455,-1885.899,865.119,0,0,0,0,100,0), +(@NPC_DRAKE,9,7033.32,-1826.775,876.2578,0,0,0,0,100,0), +(@NPC_DRAKE,10,6999.902,-1784.012,897.4521,0,0,0,0,100,0), +(@NPC_DRAKE,11,6954.913,-1747.043,897.4521,0,0,0,0,100,0), +(@NPC_DRAKE,12,6933.856,-1720.698,882.2022,0,0,0,0,100,0), +(@NPC_DRAKE,13,6932.729,-1687.306,866.1189,0,0,0,0,100,0), +(@NPC_DRAKE,14,6952.458,-1663.802,849.8133,0,0,0,0,100,0), +(@NPC_DRAKE,15,7002.819,-1651.681,831.397,0,0,0,0,100,0), +(@NPC_DRAKE,16,7026.531,-1649.239,828.8406,0,0,0,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_00_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_00_world_creature_template.sql new file mode 100644 index 00000000000..d8efe46b573 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_00_world_creature_template.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `Armor_mod`=0 WHERE `entry`=29747; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_01_world_spell_target_position.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_01_world_spell_target_position.sql new file mode 100644 index 00000000000..c262ecf450f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_01_world_spell_target_position.sql @@ -0,0 +1,11 @@ +DELETE FROM `spell_target_position` WHERE `id` IN (64014,64024,64025,64028,64029,64030,64031,64032,65042); +INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES +(64014, 603, -705.9705, -92.55729, 430.8192, 0), +(64024, 603, 2086.224, -24.05382, 422.2889, 0), +(64025, 603, 2518.131, 2569.342, 412.6822, 0), +(64028, 603, 553.243, -12.30903, 410.5428, 0), +(64029, 603, 1859.563, -24.83773, 449.1945, 6.230825), +(64030, 603, 1497.989, -24.16162, 421.6254, 0.03490658), +(64031, 603, 926.2917, -11.44444, 418.9779, 0.01745329), +(64032, 603, 131.1389, -35.36806, 410.187, 0), +(65042, 603, 1855.073, -11.48785, 334.559, 5.532694); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_02_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_02_world_creature_text.sql new file mode 100644 index 00000000000..d7250b0b49c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_02_world_creature_text.sql @@ -0,0 +1,8 @@ +-- Lurgglbr +DELETE FROM `creature_text` WHERE `entry`=25208; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(25208,0,0, 'You can''t hold me against my will! You''ve all been brainwashed!', 12,0,100,0,0,0, 'Lurgglbr'), +(25208,1,0, 'Together we will fight our way out of here. Are you ready?', 12,0,100,0,0,0, 'Lurgglbr'), +(25208,2,0, 'This is far enough. I can make it on my own from here.', 12,0,100,0,0,0, 'Lurgglbr'), +(25208,3,0, 'Thank you for rescuing me, $r. Please tell the king that I am back.', 12,0,100,0,0,0, 'Lurgglbr'); + diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_03_world_sai.sql new file mode 100644 index 00000000000..fb89bf4ced0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_03_world_sai.sql @@ -0,0 +1,14 @@ +-- quest fix cuergo's gold (q2882) +SET @ENTRY :=7898; +UPDATE `creature_template` SET `AIName`= 'SmartAI', `ScriptName`='' WHERE `entry`=@ENTRY; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND`entryorguid`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND`entryorguid`=@ENTRY*100; +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,63,0,100,0,0,0,0,0,80,@ENTRY*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Trigger - on respawn - run script'), +(@ENTRY*100,9,0,0,0,0,100,0,0,0,300000,300000,11,11463,0,0,0,0,0,1,0,0,0,0,0,0,0,'Timed Actionscript - spawn pirate1'), +(@ENTRY*100,9,1,0,0,0,100,0,0,0,300000,300000,11,11463,0,0,0,0,0,1,0,0,0,0,0,0,0,'Timed Actionscript - spawn pirate2'), +(@ENTRY*100,9,2,0,0,0,100,0,0,0,300000,300000,11,11485,0,0,0,0,0,1,0,0,0,0,0,0,0,'Timed Actionscript - spawn buccaneer1'), +(@ENTRY*100,9,3,0,0,0,100,0,0,0,300000,300000,11,11485,0,0,0,0,0,1,0,0,0,0,0,0,0,'Timed Actionscript - spawn buccaneer2'), +(@ENTRY*100,9,4,0,0,0,100,0,0,0,300000,300000,11,11487,0,0,0,0,0,1,0,0,0,0,0,0,0,'Timed Actionscript - spawn swashbuckler'), +(@ENTRY*100,9,5,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Timed Actionscript - despawn trigger'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_04_world_creature_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_04_world_creature_loot_template.sql new file mode 100644 index 00000000000..6819b7aeb45 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_04_world_creature_loot_template.sql @@ -0,0 +1,6 @@ +-- Remove Zulian Mudskunk from Zulian Crocolisk's loot template +DELETE FROM `creature_loot_template` WHERE `entry`=15043 and `item`=19975; +-- Add Vicious Oil (Item) into loot template of Vicious Oil (NPC) +DELETE FROM `creature_loot_template` WHERE `entry`=30325 and `item`=42640; +INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) values +(30325,42640,-100,1,0,1,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_05_world_quest_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_05_world_quest_template.sql new file mode 100644 index 00000000000..81a8e38f25d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_16_05_world_quest_template.sql @@ -0,0 +1,17 @@ +-- Previous quest should be The Defense of Warsong Hold not To Conquest Hold, But Be Careful! +UPDATE `quest_template` SET `PrevQuestId`=11596 WHERE `Id`=12486; +-- Change grouping so Alliance and Horde quests are no longer in 1 group +UPDATE `quest_template` SET `ExclusiveGroup`=-12222 WHERE `Id` IN(12222,12223); +-- Hellscreams Champion requires some conditions to start the quest +UPDATE `quest_template` SET `ExclusiveGroup`=0,`NextQuestId`=0 WHERE `Id` IN(11652,11705,11722); +UPDATE `quest_template` SET `NextQuestId`=11709 WHERE `Id`=11705; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19,20) AND `SourceEntry`=11916; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(20,0,11916,0,0,8,0,11652,0,0,0,0, '', 'Player must have completed The Plains of Nasam before been able to accept Hellscream''s Champion'), +(19,0,11916,0,0,8,0,11652,0,0,0,0, '', 'Player must have completed The Plains of Nasam before been able to accept Hellscream''s Champion'), +(20,0,11916,0,0,8,0,11705,0,0,0,0, '', 'Player must have completed The Foolish Endeavors before been able to accept Hellscream''s Champion'), +(19,0,11916,0,0,8,0,11705,0,0,0,0, '', 'Player must have completed The Foolish Endeavors before been able to accept Hellscream''s Champion'), +(20,0,11916,0,0,8,0,11722,0,0,0,0, '', 'Player must have completed The Trophies of Gammoth before been able to accept Hellscream''s Champion'), +(19,0,11916,0,0,8,0,11722,0,0,0,0, '', 'Player must have completed The Trophies of Gammoth before been able to accept Hellscream''s Champion'); +-- Fix SAI issue for Hugh Glass (wrong npcflag was set) +UPDATE `smart_scripts` SET `action_param1`=643 WHERE `entryorguid`=2648400 AND `source_type`=9 AND `id`=6; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_17_00_world_spell_script_names.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_17_00_world_spell_script_names.sql new file mode 100644 index 00000000000..e47b22b1c6b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_17_00_world_spell_script_names.sql @@ -0,0 +1,14 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_sindragosa_frost_breath'; +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_item_unsated_craving'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(69649,'spell_sindragosa_frost_breath'), +(71056,'spell_sindragosa_frost_breath'), +(71057,'spell_sindragosa_frost_breath'), +(71058,'spell_sindragosa_frost_breath'), +(73061,'spell_sindragosa_frost_breath'), +(73062,'spell_sindragosa_frost_breath'), +(73063,'spell_sindragosa_frost_breath'), +(73064,'spell_sindragosa_frost_breath'), +(71168,'spell_item_unsated_craving'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=71952; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_00_world_misc_equip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_00_world_misc_equip.sql new file mode 100644 index 00000000000..d591481fc76 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_00_world_misc_equip.sql @@ -0,0 +1,73 @@ +-- creature_template.equipment_id deleted +-- creature_equip_template.entry == creature_template.entry +-- id field added to creature_equip_template -> PK(entry, id) +-- id field in creature_equip_template starts at 1 +-- creature.equipment_id references id of creature_equip_template +-- creature.equipment_id = 0 means no equipment at all (default 1) +-- creature.equipment_id = -1 means pick a random equipment from creature_equip_template + +-- Diff_entries should use the same template of the normal entry +UPDATE `creature_template` SET `equipment_id` = 0 WHERE `name` LIKE '%(1)' OR `name` LIKE '%(2)' OR `name` LIKE '%(3)' OR `name` LIKE '%(4)'; + +-- Delete unused templates +DROP TABLE IF EXISTS `temp_c_e`; +CREATE TABLE IF NOT EXISTS `temp_c_e` (`entry` mediumint(8)); +ALTER TABLE `temp_c_e` ADD INDEX `ind` (`entry`); +INSERT INTO `temp_c_e` SELECT `equipment_id` FROM `creature_template` WHERE `equipment_id` != 0 UNION + SELECT `equipment_id` FROM `creature` WHERE `equipment_id` != 0 UNION + SELECT `equipment_id` FROM `game_event_model_equip` WHERE `equipment_id` != 0; +DELETE FROM `creature_equip_template` WHERE `entry` NOT IN (SELECT `entry` FROM `temp_c_e`); +DROP TABLE `temp_c_e`; + +-- Create temporary table to hold the values of creature_equip_template with converted entry +DROP TABLE IF EXISTS `creature_equip_template2`; +CREATE TABLE IF NOT EXISTS `creature_equip_template2` ( + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `id` tinyint(3) unsigned NOT NULL DEFAULT '1', + `itemEntry1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `itemEntry2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `itemEntry3` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`entry`, `id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +INSERT INTO `creature_equip_template2` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) + SELECT `creature_template`.`entry`, 1, `itemEntry1`, `itemEntry2`, `itemEntry3` + FROM `creature_template` + JOIN `creature_equip_template` ON `creature_equip_template`.`entry` = `equipment_id` + WHERE `equipment_id` != 0; + +INSERT IGNORE INTO `creature_equip_template2` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) + SELECT `creature`.`id`, 2, `itemEntry1`, `itemEntry2`, `itemEntry3` + FROM `creature` + JOIN `creature_equip_template` ON `creature_equip_template`.`entry` = `equipment_id` + WHERE `equipment_id` != 0; + +DROP TABLE `creature_equip_template`; +RENAME TABLE `creature_equip_template2` TO `creature_equip_template`; + +UPDATE `creature` SET `equipment_id` = 2 WHERE `equipment_id` != 0; +UPDATE `creature` SET `equipment_id` = 1 WHERE `equipment_id` = 0; + +-- From game_event_model_equip +UPDATE `creature` SET `equipment_id` = 1 WHERE `guid` IN (12088, 12093, 12095, 79670, 79675, 79676, 79690, 79792, 79807, 79814); +UPDATE `game_event_model_equip` SET `equipment_id` = 2 WHERE `guid` IN (12088, 12093, 12095, 79670, 79675, 79676, 79690, 79792, 79807, 79814); +DELETE FROM `creature_equip_template` WHERE `entry` IN (1976, 23585, 424) AND `id`=2; +INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES +(1976, 2, 2715, 143, 0), +(23585, 2, 2715, 143, 0), +(424, 2, 2715, 143, 0); + +-- ALTER TABLE `creature_equip_template` CHANGE `entry` `entry` mediumint(8) unsigned NOT NULL; +-- ALTER TABLE `creature_equip_template` ADD `id` tinyint(3) unsigned NOT NULL DEFAULT '1' AFTER `entry`; +-- ALTER TABLE `creature_equip_template` DROP INDEX `PRIMARY`, ADD PRIMARY KEY (`entry`, `id`); +ALTER TABLE `creature_template` DROP `equipment_id`; +ALTER TABLE `creature` CHANGE `equipment_id` `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '1'; +ALTER TABLE `game_event_model_equip` CHANGE `equipment_id` `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '1'; + +-- Conversion from SAI +UPDATE `smart_scripts` SET `action_param1` = 1 WHERE `entryorguid` = 2523901 AND `source_type` = 9 AND `id` = 3; +UPDATE `smart_scripts` SET `action_param1` = 0 WHERE `entryorguid` = 2523900 AND `source_type` = 9 AND `id` = 2; +UPDATE `smart_scripts` SET `action_param1` = 2 WHERE `entryorguid` = 32720 AND `source_type` = 0 AND `id` = 0; +DELETE FROM `creature_equip_template` WHERE `entry` = 25239 AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES +(25239, 1, 6829, 0, 0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_01_world_trinity_string.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_01_world_trinity_string.sql new file mode 100644 index 00000000000..84d28222fe7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_01_world_trinity_string.sql @@ -0,0 +1,3 @@ +DELETE FROM `trinity_string` WHERE `entry` = 5036; +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(5036, 'EquipmentId: %u (Original: %u).'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_02_world_misc.sql new file mode 100644 index 00000000000..8ca97fe3130 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_02_world_misc.sql @@ -0,0 +1,149 @@ +-- Creature Gossip_menu_option Update from sniff +UPDATE `gossip_menu_option` SET `menu_id`=9528 WHERE `menu_id`=21250; +UPDATE `gossip_menu_option` SET `action_menu_id`=9527 WHERE `action_menu_id`=50423; +UPDATE `gossip_menu_option` SET `action_menu_id`=9521 WHERE `action_menu_id`=50424; +UPDATE `gossip_menu_option` SET `action_menu_id`=9526 WHERE `action_menu_id`=50425; +UPDATE `gossip_menu_option` SET `action_menu_id`=9525 WHERE `action_menu_id`=50426; +UPDATE `gossip_menu_option` SET `action_menu_id`=9681 WHERE `menu_id`=9680; +UPDATE `gossip_menu_option` SET `action_menu_id`=9696 WHERE `menu_id`=9695; +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (9302,9303,9304,9305,9422,9461,9462,9474,9501,9532,9536,9568,9586,9594,9595,9610,9611,9612,9653,9696) AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(9302,0,0, 'Worry no more, taunka. The Horde will save and protect you and your people, but first you must swear allegiance to the Warchief by taking the blood oath of the Horde.',1,1,9305,0,0,0, ''), +(9303,0,0, 'For the Horde!\r\n\r\nArm yourself from the crates that surround us and report to Agmar''s Hammer, east of here. Your first trial as a member of the Horde is to survive the journey.\r\n\r\nLok''tar ogar!',1,1,0,0,0,0, ''), +(9304,0,0, 'Then repeat after me: "Lok''tar ogar! Victory or death - it is these words that bind me to the Horde. For they are the most sacred and fundamental of truths to any warrior of the Horde.\r\n\r\nI give my flesh and blood freely to the Warchief. I am the instrument of my Warchief''s desire. I am a weapon of my Warchief''s command.\r\n\r\nFrom this moment until the end of days I live and die - For the Horde!"',1,1,9303,0,0,0, ''), +(9305,0,0, 'Yes, taunka. Retribution is a given right of all members of the Horde.',1,1,9304,0,0,0, ''), +(9422,0,0, 'I seem to have misplaced your Shredder Control Device... might you have another?',1,1,0,0,0,0, ''), +(9461,0,0, 'Greetings High Chief. Would you do me the honor of accepting my invitation to join the Horde as an official member and leader of the Taunka?',1,1,9462,0,0,0, ''), +(9462,0,0, 'It is you who honor me, High Chief. Please read from this scroll. It is the oath of allegiance.',1,1,0,0,0,0, ''), +(9474,0,1, 'Let me browse your goods.',3,128,0,0,0,0, ''), +(9501,0,0, 'Agent Skully, I need you to use the banshee''s magic mirror on me again!',1,1,9538,0,0,0, ''), +(9532,0,0, 'Your eminence, may I have a word in private?',1,1,9536,0,0,0, ''), +(9536,0,0, 'I am ready, your grace. <kiss the ring>',1,1,9535,0,0,0, ''), +(9568,0,0, 'We need to get into the fight. Are you ready?',1,1,9569,0,0,0, ''), +(9586,0,0, 'Why have I been sent back to this particular place and time?',1,1,9594,0,0,0, ''), +(9594,0,0, 'What was this decision?',1,1,9595,0,0,0, ''), +(9595,0,0, 'So how does the Infinite Dragonflight plan to interfere?',1,1,9596,0,0,0, ''), +(9610,0,0, 'What do you think they''re up to?',1,1,9611,0,0,0, ''), +(9611,0,0, 'You want me to do what?',1,1,9612,0,0,0, ''), +(9612,0,0, 'Very well, Chromie.',1,1,9613,0,0,0, ''), +(9653,0,0, 'Yes, my Prince. We are ready.',1,1,0,0,0,0, ''), +(9696,0,0, 'For Lordaeron!',1,1,0,0,0,0, ''); + +UPDATE `gossip_menu` SET `entry`=9350 WHERE `entry`=21238; +UPDATE `gossip_menu` SET `entry`=9136 WHERE `entry`=21243; +UPDATE `gossip_menu` SET `entry`=9151 WHERE `entry`=21244; +UPDATE `gossip_menu` SET `entry`=9474 WHERE `entry`=21245; +UPDATE `gossip_menu` SET `entry`=9528 WHERE `entry`=21250; +UPDATE `gossip_menu` SET `entry`=9527 WHERE `entry`=50423; +UPDATE `gossip_menu` SET `entry`=9521 WHERE `entry`=50424; +UPDATE `gossip_menu` SET `entry`=9526 WHERE `entry`=50425; +UPDATE `gossip_menu` SET `entry`=9525 WHERE `entry`=50426; +-- Gossip Menu insert from sniff +DELETE FROM `gossip_menu` WHERE `entry`=9302 AND `text_id`=12611; +DELETE FROM `gossip_menu` WHERE `entry`=9303 AND `text_id`=12620; +DELETE FROM `gossip_menu` WHERE `entry`=9304 AND `text_id`=12619; +DELETE FROM `gossip_menu` WHERE `entry`=9305 AND `text_id`=12618; +DELETE FROM `gossip_menu` WHERE `entry`=9461 AND `text_id`=12721; +DELETE FROM `gossip_menu` WHERE `entry`=9462 AND `text_id`=12722; +DELETE FROM `gossip_menu` WHERE `entry`=9532 AND `text_id`=12846; +DELETE FROM `gossip_menu` WHERE `entry`=9535 AND `text_id`=12849; +DELETE FROM `gossip_menu` WHERE `entry`=9536 AND `text_id`=12848; +DELETE FROM `gossip_menu` WHERE `entry`=9538 AND `text_id`=12851; +DELETE FROM `gossip_menu` WHERE `entry`=9568 AND `text_id`=12899; +DELETE FROM `gossip_menu` WHERE `entry`=9569 AND `text_id`=12900; +DELETE FROM `gossip_menu` WHERE `entry`=9586 AND `text_id`=13471; +DELETE FROM `gossip_menu` WHERE `entry`=9653 AND `text_id`=13076; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(9302,12611), +(9303,12620), +(9304,12619), +(9305,12618), +(9461,12721), +(9462,12722), +(9532,12846), +(9535,12849), +(9536,12848), +(9538,12851), +(9568,12899), +(9569,12900), +(9586,13471), +(9653,13076); + +-- Creature Gossip_menu_id Update from sniff +UPDATE `creature_template` SET `gossip_menu_id`=9136 WHERE `entry`=25197; -- King Mrgl-Mrgl <D.E.H.T.A.> +UPDATE `creature_template` SET `gossip_menu_id`=9151 WHERE `entry`=25326; -- Overlord Bor'gorok +UPDATE `creature_template` SET `gossip_menu_id`=9474 WHERE `entry`=25736; -- Supply Master Taz'ishi <Poison & Reagents> +UPDATE `creature_template` SET `gossip_menu_id`=9302, `npcflag`=`npcflag`|1, `AIName`='SmartAI' WHERE `entry`=26179; -- Taunka''le Refugee +UPDATE `creature_template` SET `gossip_menu_id`=9302, `npcflag`=`npcflag`|1, `AIName`='SmartAI' WHERE `entry`=26184; -- Taunka''le Refugee +UPDATE `creature_template` SET `gossip_menu_id`=9350 WHERE `entry`=26538; -- Nargo Screwbore <Durotar Zeppelin Master> +UPDATE `creature_template` SET `gossip_menu_id`=9461 WHERE `entry`=26810; -- Roanauk Icemist +UPDATE `creature_template` SET `gossip_menu_id`=9821 WHERE `entry`=27056; -- Sentinel Sweetspring <Stable Master> +UPDATE `creature_template` SET `gossip_menu_id`=9532 WHERE `entry`=27245; -- High Abbot Landgren +UPDATE `creature_template` SET `gossip_menu_id`=9528 WHERE `entry`=27425; -- Darrok +UPDATE `creature_template` SET `gossip_menu_id`=9610 WHERE `entry`=27915; -- Chromie +UPDATE `creature_template` SET `gossip_menu_id`=9656 WHERE `entry`=28126; -- Don Carlos + +DELETE FROM `creature_text` WHERE `entry` IN (26179,26184); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(26179,0,0,'Victory or death! For the Horde!',14,1,100,15,0,0,'Taunka''le Refugee'), +(26184,0,0,'Victory or death! For the Horde!',14,1,100,15,0,0,'Taunka''le Refugee'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9568 AND `SourceEntry`=12899; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9586 AND `SourceEntry`=13471; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9302 AND `SourceEntry`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9422 AND `SourceEntry`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9461 AND `SourceEntry`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9501 AND `SourceEntry`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9568 AND `SourceEntry`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9586 AND `SourceEntry`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,9568,12899,0,0,9,0,12372,0,0,0,0,'','Wyrmrest Defender - Show different gossip if player has taken quest Defending Wyrmrest Temple'), +(14,9586,13471,0,0,2,0,37888,1,0,0,0,'','Chromie - Show different gossip if player has item Arcane Disruptor'), +(15,9302,0,0,0,9,0,11983,0,0,0,0,'','Taunka''le Refugee - Show gossip option only if player has taken quest Blood Oath of the Horde'), +(15,9422,0,0,0,9,0,12050,0,0,0,0,'','Xink - Show gossip option only if player has taken quest Lumber Hack'), +(15,9422,0,0,0,2,0,36734,1,0,1,0,'','Xink - Show gossip option only if player has no item Xink''s Shredder Control Device'), +(15,9422,0,0,1,9,0,12052,0,0,0,0,'','Xink - Show gossip option only if player has taken quest Harp on This!'), +(15,9422,0,0,1,2,0,36734,1,0,1,0,'','Xink - Show gossip option only if player has no item Xink''s Shredder Control Device'), +(15,9461,0,0,0,9,0,12140,0,0,0,0,'','Roanauk Icemist - Show gossip option only if player has taken quest All Hail Roanauk!'), +(15,9501,0,0,0,9,0,12274,0,0,0,0,'','Agent Skully - Show gossip option only if player has taken quest A Fall From Grace'), +(15,9501,0,0,0,1,0,48761,0,0,1,0,'','Agent Skully - Show gossip option only if player has no aura Scarlet Raven Priest Image'), +(15,9501,0,0,0,1,0,48763,0,0,1,0,'','Agent Skully - Show gossip option only if player has no aura Scarlet Raven Priest Image'), +(15,9568,0,0,0,9,0,12372,0,0,0,0,'','Wyrmrest Defender - Show gossip option only if player has taken quest Defending Wyrmrest Temple'), +(15,9586,0,0,0,2,0,37888,1,0,1,0,'','Chromie - Show gossip option only if player has no item Arcane Disruptor'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (26660,27350); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (26179,26184,26660,27350) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=26179*100 AND `source_type`=9; +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 +(26179,0,0,1,62,0,100,0,9303,0,0,0,11,47029,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Spellcast Taunka Sworn In'), +(26179,0,1,2,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Close gossip'), +(26179,0,2,3,61,0,100,0,0,0,0,0,33,26179,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Quest credit'), +(26179,0,3,4,61,0,100,0,0,0,0,0,83,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Remove npcflag gossip'), +(26179,0,4,5,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,20,188252,20,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Move to Recovered Horde Armaments'), +(26179,0,5,6,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,20,188253,20,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Move to Recovered Horde Armaments'), +(26179,0,6,0,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,20,188254,20,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Move to Recovered Horde Armaments'), +(26179,0,7,0,34,0,100,0,0,1,0,0,80,26179*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On movement inform - Run script'), +(26179,0,8,9,34,0,100,0,0,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On movement inform - Despawn'), +(26179,0,9,0,61,0,100,0,0,0,0,0,82,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Add npcflag gossip'), +(26184,0,0,1,62,0,100,0,9303,0,0,0,11,47029,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Spellcast Taunka Sworn In'), +(26184,0,1,2,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Close gossip'), +(26184,0,2,3,61,0,100,0,0,0,0,0,33,26179,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Quest credit'), +(26184,0,3,4,61,0,100,0,0,0,0,0,83,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Remove npcflag gossip'), +(26184,0,4,5,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,20,188252,20,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Move to Recovered Horde Armaments'), +(26184,0,5,6,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,20,188253,20,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Move to Recovered Horde Armaments'), +(26184,0,6,0,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,20,188254,20,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Move to Recovered Horde Armaments'), +(26184,0,7,0,34,0,100,0,0,1,0,0,80,26179*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On movement inform - Run script'), +(26184,0,8,9,34,0,100,0,0,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On movement inform - Despawn'), +(26184,0,9,0,61,0,100,0,0,0,0,0,82,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee - On gossip option select - Add npcflag gossip'), +(26660,0,0,1,62,0,100,0,9422,0,0,0,11,52872,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Xink - On gossip option select - Spellcast Forceitem Xink''s Shredder'), +(26660,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Xink - On gossip option select - Close gossip'), +(27350,0,0,0,62,0,100,0,9501,0,0,0,11,48762,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Agent Skully - On gossip option select - Spellcast A Fall from Grace: Scarlet Raven Priest Image - Master'), + +(26179*100,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,20,188252,20,0,0,0,0,0, 'Taunka''le Refugee script - Turn to Recovered Horde Armaments'), +(26179*100,9,1,0,0,0,100,0,1100,1100,0,0,5,381,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee script - Play emote'), +(26179*100,9,2,0,0,0,100,0,2500,2500,0,0,5,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee script - Cancel emote'), +(26179*100,9,3,0,0,0,100,0,0,0,0,0,11,47024,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee script - Spellcast Taunka Transform'), +(26179*100,9,4,0,0,0,100,0,2200,2200,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee script - Say line'), +(26179*100,9,5,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Taunka''le Refugee script - Set run'), +(26179*100,9,6,0,0,0,100,0,4700,4700,0,0,69,2,0,0,0,0,0,8,0,0,0,3680.874,2875.829,91.52616,0, 'Taunka''le Refugee script - Move to position'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_03_world_spell_area.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_03_world_spell_area.sql new file mode 100644 index 00000000000..28752bdaea7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_18_03_world_spell_area.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_area` WHERE `spell`=68132 AND `area`=4741; +INSERT INTO `spell_area` (`spell`, `area`, `autocast`) VALUES +(68132, 4741, 1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_00_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_00_world_creature_template.sql new file mode 100644 index 00000000000..eb1344c8d4b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_00_world_creature_template.sql @@ -0,0 +1,46 @@ +-- Issue 8590: Damage Boss ICC +-- Lord Marrowgar +UPDATE `creature_template` SET `dmg_multiplier`=55 WHERE `entry`=36612; +UPDATE `creature_template` SET `dmg_multiplier`=85 WHERE `entry`=37957; +UPDATE `creature_template` SET `dmg_multiplier`=75 WHERE `entry`=37958; +UPDATE `creature_template` SET `dmg_multiplier`=110 WHERE `entry`=37959; +-- Lady Deathwhisper +UPDATE `creature_template` SET `dmg_multiplier`=70 WHERE `entry`=36855; +UPDATE `creature_template` SET `dmg_multiplier`=100 WHERE `entry`=38106; +UPDATE `creature_template` SET `dmg_multiplier`=90 WHERE `entry`=38296; +UPDATE `creature_template` SET `dmg_multiplier`=140 WHERE `entry`=38297; +-- Deathbringer Saurfang +UPDATE `creature_template` SET `dmg_multiplier`=60 WHERE `entry`=37813; +UPDATE `creature_template` SET `dmg_multiplier`=90 WHERE `entry`=38402; +UPDATE `creature_template` SET `dmg_multiplier`=85 WHERE `entry`=38582; +UPDATE `creature_template` SET `dmg_multiplier`=120 WHERE `entry`=38583; +-- Festergut +UPDATE `creature_template` SET `dmg_multiplier`=75 WHERE `entry`=36626; +UPDATE `creature_template` SET `dmg_multiplier`=115 WHERE `entry`=37504; +UPDATE `creature_template` SET `dmg_multiplier`=100 WHERE `entry`=37505; +UPDATE `creature_template` SET `dmg_multiplier`=150 WHERE `entry`=37506; +-- Rotface +UPDATE `creature_template` SET `dmg_multiplier`=70 WHERE `entry`=36627; +UPDATE `creature_template` SET `dmg_multiplier`=100 WHERE `entry`=38390; +UPDATE `creature_template` SET `dmg_multiplier`=90 WHERE `entry`=38549; +UPDATE `creature_template` SET `dmg_multiplier`=140 WHERE `entry`=38550; +-- Professor Putricide +UPDATE `creature_template` SET `dmg_multiplier`=60 WHERE `entry`=36678; +UPDATE `creature_template` SET `dmg_multiplier`=90 WHERE `entry`=38431; +UPDATE `creature_template` SET `dmg_multiplier`=80 WHERE `entry`=38585; +UPDATE `creature_template` SET `dmg_multiplier`=120 WHERE `entry`=38586; +-- Blood Prince Council except Keleseth who is a caster +UPDATE `creature_template` SET `dmg_multiplier`=65 WHERE `entry` IN (37970,37973); +UPDATE `creature_template` SET `dmg_multiplier`=95 WHERE `entry` IN (38401,38400); +UPDATE `creature_template` SET `dmg_multiplier`=85 WHERE `entry` IN (38784,38771); +UPDATE `creature_template` SET `dmg_multiplier`=130 WHERE `entry` IN (38785,38772); +-- Blood Queen Lana'thel +UPDATE `creature_template` SET `dmg_multiplier`=60 WHERE `entry`=37955; +UPDATE `creature_template` SET `dmg_multiplier`=90 WHERE `entry`=38434; +UPDATE `creature_template` SET `dmg_multiplier`=80 WHERE `entry`=38435; +UPDATE `creature_template` SET `dmg_multiplier`=120 WHERE `entry`=38436; +-- Sindragosa (and damage for Sindragosa 10 who hits only 1) +UPDATE `creature_template` SET `dmg_multiplier`=60, mindmg=509, maxdmg=683, attackpower=805 WHERE `entry`=36853; +UPDATE `creature_template` SET `dmg_multiplier`=90 WHERE `entry`=38265; +UPDATE `creature_template` SET `dmg_multiplier`=80 WHERE `entry`=38266; +UPDATE `creature_template` SET `dmg_multiplier`=120 WHERE `entry`=38267; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_01_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_01_world_creature_template.sql new file mode 100644 index 00000000000..ba7c6bf132a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_01_world_creature_template.sql @@ -0,0 +1,2 @@ +-- Flags 128+2: creature is trigger-NPC (invisible to players only) + creature does not aggro (ignore faction/reputation hostility) +UPDATE `creature_template` SET `flags_extra` = (`flags_extra`|2|128) WHERE `entry` IN (32195,32196,32197,32199); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_02_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_02_world_conditions.sql new file mode 100644 index 00000000000..87c964937ef --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_02_world_conditions.sql @@ -0,0 +1,38 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (20761,17051,17022,17018,17023,19444); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (19219,17017,17025,19330,19448,17059,17060,17049,19206); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (19220,19332,19333,19331,19449,19209,19208,19207,17053,17052); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (19211,19210,19212,20040); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +-- Conditon rep Friendly +(23,12944,20761,0,0,5,0,59,16,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17051,0,0,5,0,59,16,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17022,0,0,5,0,59,16,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17018,0,0,5,0,59,16,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17023,0,0,5,0,59,16,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,19444,0,0,5,0,59,16,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +-- Conditon rep Honored +(23,12944,19219,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17017,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17025,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,19330,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,19448,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17059,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17060,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17049,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,19206,0,0,5,0,59,32,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +-- Conditon rep Revered +(23,12944,19220,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19332,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19333,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19331,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19449,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19209,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19208,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19207,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,17053,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,17052,0,0,5,0,59,64,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +-- Conditon rep Exalted +(23,12944,19211,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'), +(23,12944,19210,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'), +(23,12944,19212,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'), +(23,12944,20040,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_03_world_sai.sql new file mode 100644 index 00000000000..ad2c9beeab1 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_03_world_sai.sql @@ -0,0 +1,28 @@ +-- Fix quest: Gather the Orbs http://www.wowhead.com/quest=10859 +-- ID indexes +-- Almost all is based on Untaught script, just corrected some stuff with sniff +SET @OrbCollectingTotem := 22333; +SET @LightOrb := 20635; +SET @Script := @LightOrb * 100; +SET @BanishedState := 32566; +SET @ArcaneExplosion := 35426; -- such spells need delay to execute properly, that is why I made actionlist +-- Update templates +UPDATE `creature_template` SET `unit_flags`=unit_flags|0x02000000 WHERE `entry`=@LightOrb; -- sniff +-- Add SAI support for Light Orbs and Totem +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@LightOrb; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@LightOrb,@OrbCollectingTotem); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@LightOrb,@OrbCollectingTotem) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Script AND `source_type`=9; +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 +(@OrbCollectingTotem,0,0,1,54,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@LightOrb,20,0,0,0,0,0, 'Orb collecting totem - On spawned - Set Data 0 1'), +(@OrbCollectingTotem,0,1,2,61,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Orb collecting totem - Linked with previous event - Store invoker'), +(@OrbCollectingTotem,0,2,0,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@LightOrb,20,0,0,0,0,0, 'Orb collecting totem - Linked with previous event - Send stored target list 1'), +(@LightOrb,0,0,0,25,0,100,1,0,0,0,0,11,@BanishedState,0,0,0,0,0,1,0,0,0,0,0,0,0, 'On spawn/reset - Cast Purple Banish State'), +(@LightOrb,0,1,0,38,0,100,0,0,1,30000,30000,69,1,0,0,0,0,0,19,@OrbCollectingTotem,20,0,0,0,0,0, 'Light Orb - On Data Set 0 1 - Move to totem'), +(@LightOrb,0,2,3,34,0,100,1,8,1,0,0,11,@ArcaneExplosion,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Light Orb - On point 1 reached - Cast arcane explosion'), +(@LightOrb,0,3,4,61,0,100,0,0,0,0,0,33,21929,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Light Orb - Linkedw with previous event - Call kill credit'), +(@LightOrb,0,4,0,61,0,100,0,0,0,0,0,80,@Script,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Light Orb - Linkedw with previous event - Start action list to display arcase explosion'), +(@Script,9,0,0,0,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Light Orb - Action 0 - Set unseen'), +(@Script,9,1,0,0,0,100,0,0,0,0,0,41,100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Light Orb - Action 1 - Despawn in 100 ms'); +-- Remove deprecated required spell cast that was blocking the credit, on top of that it had some nosense spell that has nothing to do with quest?! +UPDATE `quest_template` SET `requiredspellcast1`=0 WHERE `id`=10859; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_04_world_misc_equip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_04_world_misc_equip.sql new file mode 100644 index 00000000000..dacf5515439 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_19_04_world_misc_equip.sql @@ -0,0 +1,30 @@ +ALTER TABLE `creature` CHANGE `equipment_id` `equipment_id` tinyint(3) signed NOT NULL DEFAULT '0'; +ALTER TABLE `creature_equip_template` CHANGE `id` `id` tinyint(3) unsigned NOT NULL DEFAULT '0'; +ALTER TABLE `game_event_model_equip` CHANGE `equipment_id` `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '0'; + +UPDATE `creature` SET `equipment_id`=0 WHERE `id` NOT IN (SELECT `entry` FROM `creature_equip_template`); + +-- content +DELETE FROM `creature_equip_template` WHERE `entry` IN (25317, 2110, 26797, 25239) AND `id`=1; +DELETE FROM `creature_equip_template` WHERE `entry` IN (32720) AND `id`=2; +INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES +(25317, 1, 2178, 143, 0), +(2110, 1, 24324, 24324, 24319), +(26797, 1, 19970, 0, 0), +(25239, 1, 6829, 0, 0), +(32720, 2, 31308, 0, 0); + +UPDATE `creature` SET `equipment_id`=0 WHERE `guid` IN (200908,200918,200968,200971,200980,200998,201004,201035,201050,201052,201068,201094,201103,201112,201113,201135,201149,201150,201192,201203,201206,201363,201438,201449,201486,201685,201710,201722,201740,201752,201756,201773,201782,201788,201814,201864,201908,201916,202023,202043,202146,202164,39317,39318,39319,39320,39321,39322,39323,39324,39325,39326,39327,39328,39329,39330,39331,39332,39333,40170,40171,40227,40563,40564,41319,41322,41323,41324,41325,41326,41327,41328,41669,41726,42616,42641,42668,42669,42680,42686,44193,44194,46975,47413,47414,47415,47416,47417,47418,47419,47420,47421,47422,47423,47424,47425,47426,47427,47428,47429,47430,47431,47445,47632,48383,49987,51458,51751,51982,51983,52926,52927,52928,52929,53166,53651,53844,53845,53846,53847,53848,53849,53850,53851,53951,57315,68749,68750,68751,68752,68753,76521,79676,79725,79758,79759,79760,79761,79762,79763,79764,117784,117785,117788,117789,117790,117796,117797,117798,117799,117800,117801,117802,112352,112353,112354,112355,112356,112357,112358,112359,112360,112361,112362,112363,112364,112365,112366,112367,112368,112371,112372); + +-- 25317 +UPDATE `creature` SET `equipment_id`=1 WHERE `guid` IN (117794); + +-- 2110 +UPDATE `creature` SET `equipment_id`=1 WHERE `guid` IN (102345,102347,102348,125999,126000,126001,126002,126003,126004,126005,126006,126007,126008,126009,126010,126011,126012,126013,126014,126015,126016,126095,126096,126097,126098,126099,126100,126101,126724,126725,126726,126727,126729,126730,126731,127489,127490,127491,127492,131859,131860,131861,131862,131863,13354,13355,13356,13357,16230,16231,16232,16233,16234,16235,16236,18316,18392,28779,28781,28782,31778,31779,31965,31973,32010,32011,4212,4214,4215,4227,42676,42683,42708,42714,42726,4274,42793,4286,4310,4313,4352,4358,4408,45397,45398,45399,45403,46795,46796,46799,46810,46860,46861,47175,47182,47184,47980,47981,47988,48220,48263,48265,48909,4939,5031,5191,52670,53043,53116,53119,53181,6007,6049,6050,6051,6056,6057,6058,6076,86393,86394,87158,87161,87163,87164,87165,87168,87225,87234,87236,87252); + +-- 26797 +UPDATE `creature` SET `equipment_id`=1 WHERE `guid` IN (112351, 112369, 112370); + +UPDATE `smart_scripts` SET `action_param1` = 1 WHERE `entryorguid` = 2523900 AND `source_type` = 9 AND `id` = 2; +UPDATE `smart_scripts` SET `action_param1` = 0 WHERE `entryorguid` = 2523901 AND `source_type` = 9 AND `id` = 3; +UPDATE `smart_scripts` SET `action_param1` = 2 WHERE `entryorguid` = 32720 AND `source_type` = 0 AND `id` = 0; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_23_00_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_23_00_world_gameobject.sql new file mode 100644 index 00000000000..48694505704 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_23_00_world_gameobject.sql @@ -0,0 +1 @@ +DELETE FROM `gameobject` WHERE `guid`=61090; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_23_01_world_areatrigger_teleport.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_23_01_world_areatrigger_teleport.sql new file mode 100644 index 00000000000..3b34e18a682 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_23_01_world_areatrigger_teleport.sql @@ -0,0 +1,3 @@ +DELETE FROM `areatrigger_teleport` WHERE `id`=5148; +INSERT INTO `areatrigger_teleport` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`, `name`) VALUES +(5148, 1, -8756.6, -4457.02, -200.481, 1.39626, 'CoT Stratholme - Exit Target'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_00_world_creature_summon_groups.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_00_world_creature_summon_groups.sql new file mode 100644 index 00000000000..409f79bb2aa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_00_world_creature_summon_groups.sql @@ -0,0 +1,16 @@ +DROP TABLE IF EXISTS `creature_summon_groups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_summon_groups` ( + `summonerId` mediumint(8) unsigned NOT NULL DEFAULT '0', + `summonerType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `groupId` tinyint(3) unsigned NOT NULL DEFAULT '0', + `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `position_x` float NOT NULL DEFAULT '0', + `position_y` float NOT NULL DEFAULT '0', + `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', + `summonType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `summonTime` int(10) unsigned NOT NULL DEFAULT '0' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_01_world_areatrigger_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_01_world_areatrigger_scripts.sql new file mode 100644 index 00000000000..2aebe1d2edd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_01_world_areatrigger_scripts.sql @@ -0,0 +1,3 @@ +DELETE FROM `areatrigger_scripts` WHERE `entry`=5173; +INSERT INTO `areatrigger_scripts`(`entry`,`ScriptName`) VALUE +(5173,'at_frostgrips_hollow'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_02_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_02_world_smart_scripts.sql new file mode 100644 index 00000000000..7b41c82b6fa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_02_world_smart_scripts.sql @@ -0,0 +1,7 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid`=29861 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`source_type`,`event_type`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(29861,0,54,80,2986100,2,1,'Stormforged Eradictor - Just summoned - Call timed actionlist 2986100'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=2986100 AND `source_type`=9; +INSERT INTO `smart_scripts`(`entryorguid`,`source_type`,`id`,`event_param1`,`event_param2`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`target_type`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUE +(2986100,9,0,10000,10000,12,29729,4,10000,8,6972.13,14.24,805.79,3.349,'Stormforged Eradictor - Timed actionlist - Summon Frostborn Axemaster'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_03_world_waypoint_data.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_03_world_waypoint_data.sql new file mode 100644 index 00000000000..e97f0758304 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_03_world_waypoint_data.sql @@ -0,0 +1,11 @@ +DELETE FROM `waypoint_data` WHERE `id`=2986200; +INSERT INTO `waypoint_data`(`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES +(2986200,0,6963.95,45.65,818.71), +(2986200,1,6965.09,39.67,820.15), +(2986200,2,6963.56,21.14,805.79); + +DELETE FROM `waypoint_data` WHERE `id`=2986100; +INSERT INTO `waypoint_data`(`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES +(2986100,0,6983.18,7.150,806.33), +(2986100,1,6975.37,16.73,804.98), +(2986100,2,6967.15,13.27,806.56); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_04_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_04_world_creature_template.sql new file mode 100644 index 00000000000..c9acc0d2a1a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_04_world_creature_template.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `faction_A`=1954,`faction_H`=1954,`AIName`='SmartAI' WHERE `entry`=29861; +UPDATE `creature_template` SET `faction_A`=1954,`faction_H`=1954 WHERE `entry`=29862; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_05_world_command.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_05_world_command.sql new file mode 100644 index 00000000000..0b153be15bc --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_24_05_world_command.sql @@ -0,0 +1,4 @@ +DELETE FROM `command` WHERE `name` = 'reload creature_summon_groups'; +INSERT INTO `command` (`name`,`security`,`help`) VALUES +('reload creature_summon_groups',3,'Syntax: .reload creature_summon_groups +Reload creature_summon_groups table.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_00_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_00_world_smart_scripts.sql new file mode 100644 index 00000000000..b1576d4189e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_00_world_smart_scripts.sql @@ -0,0 +1,5 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid`=29861 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`source_type`,`id`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(29861,0,0,54,0,0,0,0,80,2986100,2,1,'Stormforged Eradictor - Just summoned - Call timed actionlist 2986100'), +(29861,0,1,0,3000,7000,14000,18000,11,56352,0,2,'Stormforged Eradictor - Cast Storm Punch'), +(29861,0,2,0,9000,12000,13000,18000,11,15588,0,0,'Stormforged Eradictor - Cast Thunderclap'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_01_world_creature_ai_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_01_world_creature_ai_scripts.sql new file mode 100644 index 00000000000..e095414552c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_01_world_creature_ai_scripts.sql @@ -0,0 +1 @@ +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=29861; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_02_world_areatrigger_teleport.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_02_world_areatrigger_teleport.sql new file mode 100644 index 00000000000..aa74fd46810 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_25_02_world_areatrigger_teleport.sql @@ -0,0 +1 @@ +UPDATE `areatrigger_teleport` SET `target_position_x`=728.055,`target_position_y`= 1329.03,`target_position_z`=275,`target_orientation`=5.51524 WHERE `id`=5290; -- The Eye of Eternity (entrance) diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_27_00_world_command.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_27_00_world_command.sql new file mode 100644 index 00000000000..a83e7ec3c04 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_27_00_world_command.sql @@ -0,0 +1,3 @@ +DELETE FROM `command` WHERE `name` = 'reload rbac'; +INSERT INTO `command` (`name`,`security`,`help`) VALUES +('reload rbac',3,'Syntax: .reload rbac\nReload rbac system.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_28_00_world_eye_of_eternity.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_28_00_world_eye_of_eternity.sql new file mode 100644 index 00000000000..9aef8f358d2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_28_00_world_eye_of_eternity.sql @@ -0,0 +1,200 @@ +-- Add spell script names +DELETE FROM `spell_script_names` WHERE `spell_id` IN (56046,56047,61693,61694,57459,56438,61210,56397,58842,59084,59099,56070,56072,60936,60939,61028,61023); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(56046, 'spell_malygos_portal_beam'), +(56047, 'spell_malygos_random_portal'), +(61693, 'spell_malygos_arcane_storm'), -- Phase I /10/ +(61694, 'spell_malygos_arcane_storm'), -- Phase I /25/ +(57459, 'spell_malygos_arcane_storm'), -- Phase III +(56438, 'spell_arcane_overload'), +(61210, 'spell_nexus_lord_align_disk_aggro'), +(56397, 'spell_scion_of_eternity_arcane_barrage'), +(58842, 'spell_malygos_destroy_platform_channel'), +(59084, 'spell_alexstrasza_bunny_destroy_platform_boom_visual'), +(59099, 'spell_alexstrasza_bunny_destroy_platform_event'), +(56070, 'spell_wyrmrest_skytalon_summon_red_dragon_buddy'), +(56072, 'spell_wyrmrest_skytalon_ride_red_dragon_buddy_trigger'), +(60936, 'spell_malygos_surge_of_power_25'), +(60939, 'spell_malygos_surge_of_power_warning_selector_25'), +(61028, 'spell_alexstrasza_gift_beam'), +(61023, 'spell_alexstrasza_gift_beam_visual'); + +-- Add spell difficulties +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (61693,56272,57058); +INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`,`spellid2`,`spellid3`) VALUES +(61693,61693,61694,0,0), -- Arcane Storm - Phase I +(56272,56272,60072,0,0), -- Arcane Breath +(57058,57058,60073,0,0); -- Arcane Shock (Nexus Lord) + +-- Insert missing creature template addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (28859,30234,30248,32295,30592,31748,31749); +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(28859,0,0,0x1000000|0x2000000,0x1,0, ''), -- Malygos +(30234,0,0,0x1000000|0x2000000,0x1,0, '43775'), -- Hover Disk (Nexus Lord), add aura "Flight" +(30248,0,0,0x1000000|0x2000000,0x1,0, '43775'), -- Hover Disk (Scion of Eternity), add aura "Flight" +(31748,0,0,0x1000000|0x2000000,0x1,0, '43775'), -- Hover Disk Difficulty (Nexus Lord), add aura "Flight" +(31749,0,0,0x1000000|0x2000000,0x1,0, '43775'), -- Hover Disk Difficulty (Scion of Eternity), add aura "Flight" +(32295,0,0,0x1000000|0x2000000,0x1,0, ''), -- Alexstrasza +(30592,0,0,0x1000000|0x2000000,0x1,0, '57428'); -- Static Field bunny + +-- Add, restructure and update missing texts and sounds +DELETE FROM `creature_text` WHERE `entry` IN (28859,32295); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(28859,0,0, 'Lesser beings, intruding here! A shame that your excess courage does not compensate for your stupidity!',14,0,100,0,10000,14512,'Malygos - Intro'), +(28859,0,1, 'None but the blue dragonflight are welcome here. Perhaps this is the work of Alexstrasza? Well, then, she has sent you to your deaths!',14,0,100,0,11000,14513,'Malygos - Intro'), +(28859,0,2, 'What could you hope to accomplish? To storm brazenly into my domain... to employ magic... against ME?',14,0,100,0,13000,14514,'Malygos - Intro'), +(28859,0,3, 'I am without limits here. The rules of your cherished reality do not apply. In this realm, I am in control!',14,0,100,0,10000,14515,'Malygos - Intro'), +(28859,0,4, 'I give you one chance. Pledge fealty to me, and perhaps I will not slaughter you for your insolence.',14,0,100,0,7000,14516,'Malygos - Intro'), +(28859,1,0, 'My patience has reached its limit, I will be rid of you!',14,0,100,0,4000,14517,'Malygos - Start phase 1'), +(28859,2,0, 'You will not succeed while I draw breath!',14,0,100,0,3000,14518,'Malygos - Begin to cast Deep Breath'), +(28859,3,0, 'Your stupidity has finally caught up to you!',14,0,100,0,3250,14519,'Malygos - Killed Player (Phase 1)'), +(28859,3,1, 'More artifacts to confiscate...',14,0,100,0,2800,14520,'Malygos - Killed Player (Phase 1)'), +(28859,3,2, 'How very naive.',14,0,100,0,4800,14521,'Malygos - Killed Player (Phase 1)'), +(28859,4,0, 'I had hoped to end your lives quickly, but you have proven more... resilient than I anticipated. Nonetheless, your efforts are in vain. It is you reckless, careless mortals who are to blame for this war. I do what I must, and if it means your extinction.... then SO BE IT!!',14,0,100,0,22900,14522,'Malygos - End Phase One'), +(28859,5,0, 'Few have experienced the pain I will now inflict upon you!',14,0,100,0,5500,14523,'Malygos - Start phase 2'), -- Unused by Blizzard for some reason +(28859,6,0, 'I will teach you IGNORANT children just how little you know of magic...',14,0,100,0,7000,14524,'Malygos - Anti-Magic Shell'), +(28859,7,0, 'Watch helplessly as your hopes are swept away...',14,0,100,0,4000,14525,'Malygos - Magic Blast'), +(28859,8,0, 'Your energy will be put to good use!',14,0,100,0,2000,14526,'Malygos - Killed Player (Phase 2)'), +(28859,8,1, 'I am the spell-weaver! My power is infinite!',14,0,100,0,5200,14527,'Malygos - Killed Player (Phase 2)'), +(28859,8,2, 'Your spirit will linger here forever!',14,0,100,0,3800,14528,'Malygos - Killed Player (Phase 2)'), +(28859,9,0, 'ENOUGH! If you intend to reclaim Azeroth''s magic, then you shall have it...',14,0,100,0,7000,14529,'Malygos - End Phase 2'), +(28859,10,0, 'Now your benefactors make their appearance... But they are too late. The powers contained here are sufficient to destroy the world ten times over! What do you think they will do to you?',14,0,100,0,13000,14530,'Intro Phase 3'), +(28859,11,0, 'SUBMIT!',14,0,100,0,1000,14531,'Malygos - Start phase 3'), -- Unused by Blizzard for some reason +(28859,12,0, 'Malygos takes a deep breath.',41,0,100,0,10000,0,'Malygos - Surge of Power warning (Phase 2)'), +(28859,13,0, 'The powers at work here exceed anything you could possibly imagine!',14,0,100,0,5000,14532,'Malygos - Surge of Power'), +(28859,14,0, 'I AM UNSTOPPABLE!',14,0,100,0,2000,14533,'Malygos - Buffed by a spark'), +(28859,15,0, 'Alexstrasza! Another of your brood falls!',14,0,100,0,3600,14534,'Malygos - Killed Player (Phase 3)'), +(28859,15,1, 'Little more then gnats!',14,0,100,0,2650,14535,'Malygos - Killed Player (Phase 3)'), +(28859,15,2, 'Your red allies will share your fate...',14,0,100,0,3000,14536,'Malygos - Killed Player (Phase 3)'), +(28859,16,0, 'Still standing? Not for long...',14,0,100,0,3600,14537,'Malygos - Spell Casting 1(Phase 3)'), +(28859,16,1, 'Your cause is lost!',14,0,100,0,2000,14538,'Malygos - Spell Casting 2 (Phase 3)'), +(28859,16,2, 'Your fragile mind will be shattered!',14,0,100,0,4000,14539,'Malygos - Spell Casting 3 (Phase 3)'), +(28859,17,0, 'Unthinkable! The mortals will destroy... everything! My sister, what have you...',14,0,100,0,8500,14540,'Malygos - Death'), +(28859,18,0, '%s fixes his eyes on you!',42,0,100,0,3000,0,'Malygos - Surge of Power warning (Phase 3)'), +(28859,19,0, '%s goes into a berserker rage!',41,0,100,0,10000,0,'Malygos - Hit berserk timer (Any phase)'), +(32295,0,0, 'I did what I had to, brother. You gave me no alternative.',14,0,100,0,4000,14406,'Alexstrasza - Yell text 1'), +(32295,1,0, 'And so ends the Nexus War.',14,0,100,0,4000,14407,'Alexstrasza - Yell text 2'), +(32295,2,0, 'This resolution pains me deeply, but the destruction, the monumental loss of life had to end. Regardless of Malygos''s recent transgressions, I will mourn his loss. He was once a guardian, a protector. This day, one of the world''s mightiest has fallen.',14,0,100,0,24000,14408,'Alexstrasza - Yell text 3'), +(32295,3,0, 'The red dragonflight will take on the burden of mending the devastation wrought on Azeroth. Return home to your people and rest. Tomorrow will bring you new challenges, and you must be ready to face them. Life... goes on.',14,0,100,0,22000,14409,'Alexstrasza - Yell text 4'); +-- Update wrong sound and add duration for Power Sparks warning +UPDATE `creature_text` SET `duration`=10000,`sound`=0 WHERE `entry`=30084 AND `groupid`=0 AND`id`=0; + +-- Add conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (56047,58846,61028,56429,56505,59099,61714,61715,57432,57429,61210,56548,56431,56438); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,56047,0,0,31,0,3,30118,0,0,0,0,'', 'Random Portal can implicitly hit only Portal (Malygos)'), +(13,1,56047,0,0,29,0,28859,30,0,1,0,0,'', 'Random Portal can implicitly hit only target that is not in 30 yards near Malygos'), +(13,1,58846,0,0,32,0,0x0010,0,0,0,0,0,'', 'Summon Red Dragon Buddy force cast can implicitly hit only players'), +(13,1,61028,0,0,31,0,3,32448,0,0,0,0,'', 'Alexstrasza''s Gift Beam can hit only Alexstrasza''s Gift'), +(13,1,56429,0,0,31,0,3,31253,0,0,0,0,'', 'Summon Arcane Bomb can hit only Alexstrasza the Life-Binder (bunny)'), +(13,1,56505,0,0,31,0,3,30334,0,0,0,0,'', 'Surge of Power (phase II) can hit only Surge of Power'), +(13,1,56548,0,0,31,0,3,30234,0,1,0,0,'', 'Surge of Power triggered damage spell (phase II) can''t hit melee Hover Disk'), +(13,3,56431,0,0,31,0,3,30234,0,1,0,0,'', 'Arcane Overload damage and knockback spell can''t hit melee Hover Disk'), +(13,1,56438,0,0,1,0,1,56438,0,1,0,0,'', 'Arcane Overload damage reduce aura can''t apply to target that already is affected by such'), +(13,6,59099,0,0,32,0,0x0010,0,0,0,0,0,'', 'Destroy Platform Event effect 1 and 2 can hit only players'), +(13,7,61714,0,0,31,0,3,30245,0,0,0,0,'', 'Berserk (spell 2) can hit Nexus Lord'), +(13,7,61714,0,1,31,0,3,30249,0,0,0,0,'', 'Berserk (spell 2) can hit Scion of Eternity'), +(13,7,61715,0,0,31,0,3,30592,0,0,0,0,'', 'Berserk (spell 3) can hit Static Field bunny'), +(13,1,57432,0,0,31,0,3,30161,0,0,0,0,'', 'Arcane Pulse can hit only drakes'), +(13,3,57429,0,0,31,0,3,30161,0,0,0,0,'', 'Static Field can hit only drakes'), +(13,1,61210,0,0,33,1,0,4,0,0,0,0,'', 'Align Disk Aggro can only hit the vehicle of the passenger caster'); + +-- Add missing equipment +DELETE FROM `creature_equip_template` WHERE `entry` IN (30245,31750,30249,31751); +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(30245,1,30714,0,0), -- Nexus Lord +(31750,1,30714,0,0), -- Nexus Lord (Difficulty) +(30249,1,29107,0,0), -- Scion of Eternity +(31751,1,29107,0,0); -- Scion of Eternity (Difficulty) + +-- Update accessories of hover disks to die with the vehicle and have lower despawn time. They should fall from hover disks, +-- and despawn after 5 sec, but for some reason they keep staying standing while dead. This needs to be fixed coreside. +UPDATE `vehicle_template_accessory` SET `minion`=1,`summontype`=6,`summontimer`=1000 WHERE `entry`=30234 AND `seat_id`=0; +UPDATE `vehicle_template_accessory` SET `minion`=1,`summontype`=6,`summontimer`=1000 WHERE `entry`=30248 AND `seat_id`=0; + +-- Add flag GO not selectable for both and extra condition for Heart of Magic +UPDATE `gameobject_template` SET `flags`=16 WHERE `entry`=193967; -- Alexstrasza Gift +UPDATE `gameobject_template` SET `flags`=20 WHERE `entry`=194159; -- Heart of Magic + +-- Add some gameobject data update +UPDATE `gameobject` SET `animprogress`=255,`spawntimesecs`=300 WHERE `guid` IN (151791,193960); -- that spawn time has no influence, but having different values doesn't look correct + +-- Delete static GO spawns of Alexstrasza's Gift Boxes, they are dynamic (10/25) +DELETE FROM `gameobject` WHERE `guid` IN (151792,151793); + +-- Add map difficulty checks for achievement "Denyin the Scion" +DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (7573,7574) AND `type`=12; +INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`) VALUES +(7573,12,0), -- 10 mode +(7574,12,1); -- 25 mode + +-- Delete Nexus Lords SAI script, because of incapacity to handle the combat spell mechanic of Arcane Shock correctly +-- Delete Scions of Eternity SAI script, because of incapacity to handle non reactive AI when being attacked in a way it won't bug other encounter mechanics. +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (30245,30249) AND `source_type`=0; + +-- Add SAI support for Alexstrasza since is only short timed event after boss mechanic ends +SET @NPC_ALEXSTRASZA := 32295; +SET @ACTIONLIST := @NPC_ALEXSTRASZA * 100; +SET @SPELL_GIFT_BEAM := 61028; + +UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@NPC_ALEXSTRASZA; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NPC_ALEXSTRASZA AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ACTIONLIST AND `source_type`=9; +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 +(@NPC_ALEXSTRASZA,0,0,0,54,0,100,0,0,0,0,0,69,1,0,0,0,0,0,8,0,0,0,788.07,1276.09,246.9,0,'Alexstrasza - On just summoned - Move to pos'), +(@NPC_ALEXSTRASZA,0,1,0,34,0,100,0,8,1,0,0,80,@ACTIONLIST,2,0,0,0,0,1,0,0,0,0,0,0,0,'Alexstrasza - On point 1 reached - Start actionlist'), +(@ACTIONLIST,9,0,0,0,0,100,0,0,0,0,0,11,@SPELL_GIFT_BEAM,0,0,0,0,0,1,0,0,0,0,0,0,0,'Alexstrasza - Action 0 - Cast Gift Beam'), +(@ACTIONLIST,9,1,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Alexstrasza - Action 1 - Yell 0'), +(@ACTIONLIST,9,2,0,0,0,100,0,6000,6000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Alexstrasza - Action 2 - Yell 1'), +(@ACTIONLIST,9,3,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Alexstrasza - Action 3 - Yell 2'), +(@ACTIONLIST,9,4,0,0,0,100,0,24000,24000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Alexstrasza - Action 4 - Yell 3'); + +-- Add areatrigger script for the improvised platform that is killing/rooting falling players +DELETE FROM `areatrigger_scripts` WHERE `entry`=5342; +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(5342, 'at_eye_of_eternity_improvised_floor'); + +-- /////////////// Various misc in creature, creature template and creature addon /////////////// +-- Update some guids spawn positions +UPDATE `creature` SET `position_x`=754.362,`position_y`=1301.61,`position_z`=266.171,`orientation`=4.24115 WHERE `guid`=132302; -- Alexstrasza the Life-Binder (Bunny) +UPDATE `creature` SET `position_x`=747.61,`position_y`=1393.43,`position_z`=295.9722,`orientation`=3.03832 WHERE `guid`=132313; -- Malygos + +-- Update some creature guids to be have static MovementType and spawn dist to 0 accordingly +UPDATE `creature` SET `spawndist`=0,`MovementType`=0 WHERE `guid` IN +(132313, -- Malygos +132314, -- Alexstrasza''s Gift Bunny +132302); -- Alexstrasza the Life-Binder (Bunny) + +-- Update template to InhabitType "Air" for various creatures +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (28859,31734,30245,31750,30249,31751,32295,32448); + +-- Clear scripts names for Alexstrasza the Life-Binder (Bunny) +UPDATE `creature_template` SET `AIName`='',`ScriptName`='' WHERE `entry`=31253; + +-- Update Portal (Malygos) initial flags before the encounter starts +UPDATE `creature_template` SET `unit_flags`=`unit_flags`|0x00000100|0x02000000,`flags_extra`=128 WHERE `entry`=30118; -- Immunity to Players + Not selectable + +-- Update flags extra to trigger & civilian for Static Field and add script name +UPDATE `creature_template` SET `AIName`='',`ScriptName`='npc_static_field',`flags_extra`=130 WHERE `entry`=30592; + +-- Update flags extra to extra trigger & extra civilian for Alexstrasza Bunny +UPDATE `creature_template` SET `flags_extra`=130, `ScriptName`='' WHERE `entry`=31253; + +-- Remove uneeded creature_addon data +DELETE FROM `creature_addon` WHERE `guid` IN +(30592, -- The spawn for Static Field is dynamique, so not fixed guid. +132313); -- Malygos is boss so is unique and needs only the template addon. + +-- Update templates for both types of hover disks +UPDATE `creature_template` SET `faction_A`=14,`faction_H`=14,`VehicleId`=223,`InhabitType`=4 WHERE `entry` IN (30248,31749); -- Hover disk for Scions +UPDATE `creature_template` SET `ScriptName`='npc_caster_hover_disk' WHERE `entry`=30248; +UPDATE `creature_template` SET `faction_A`=14,`faction_H`=14,`InhabitType`=4 WHERE `entry` IN (30234,31748); -- Hover disk for Nexus Lords +UPDATE `creature_template` SET `ScriptName`='npc_melee_hover_disk' WHERE `entry`=30234; +UPDATE `creature_template` SET `AIName`='',`ScriptName`='npc_nexus_lord' WHERE `entry`=30245; -- Nexus Lord +UPDATE `creature_template` SET `AIName`='',`ScriptName`='npc_scion_of_eternity' WHERE `entry`=30249; -- Scion of Eternity + +-- Fix model display for Vortex Triggers (in creature handling). +-- Remove extra trigger flag because for some reason it was bugging model displaying as always visible, +-- since it has the invisible one for triggers first and other as second, this is the only nonhacky way (don't try to change it unless core side != c++ hack in instance script) +UPDATE `creature_template` SET `flags_extra`=flags_extra &~ 0x00000080 WHERE `entry`=30090; +UPDATE `creature` SET `modelid`=11686 WHERE `guid` BETWEEN 132304 AND 132308; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_28_00_world_playercreateinfo_spell.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_28_00_world_playercreateinfo_spell.sql new file mode 100644 index 00000000000..9f0ce0d8533 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_02_28_00_world_playercreateinfo_spell.sql @@ -0,0 +1,11 @@ +-- Add missing generic spell for opening chests for most of Blood Elf's classes +-- (was preventing them to loot Eye of Eternity Alexstrasza's Gift Box, Heart of Magic and maybe more.) +DELETE FROM `playercreateinfo_spell` WHERE `race`=10 AND `Spell`=61437; +INSERT INTO `playercreateinfo_spell` (`race`,`class`,`Spell`,`Note`) VALUES +(10,2,61437, 'Opening'), +(10,3,61437, 'Opening'), +(10,4,61437, 'Opening'), +(10,5,61437, 'Opening'), +(10,6,61437, 'Opening'), +(10,8,61437, 'Opening'), +(10,9,61437, 'Opening'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_01_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_01_00_world_misc.sql new file mode 100644 index 00000000000..d7d2d391f0b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_01_00_world_misc.sql @@ -0,0 +1,84 @@ +SET @ELM_BUNNY :=23837; +SET @SHADOW_CULTIST :=30835; +SET @VARDMADRA :=30836; +SET @LK_EYE :=192861; +SET @CREDIT :=57884; +SET @SUMMON_CULTIST :=57885; +SET @GOSSIP_CAST :=57888; +SET @LK_EYE_CAST :=57889; +SET @SUMMON_VARDMADRA :=57891; + +DELETE FROM `creature_text` WHERE `entry` IN (@ELM_BUNNY,@VARDMADRA,@SHADOW_CULTIST); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@ELM_BUNNY, 0, 0, 'Scrying upon many insignificant situations within Icecrown, you stumble upon something interesting...', 42, 0, 100, 0, 0, 0, 'Eye of Lich King Ambient'), +(@SHADOW_CULTIST, 0, 0, 'My lady.', 12, 0, 100, 0, 0, 0, 'Shadow Cultist'), +(@SHADOW_CULTIST, 1, 0, 'There is word from Jotunheim. The sleep-watchers there believe that they have found someone of significance.', 12, 0, 100, 0, 0, 0, 'Shadow Cultist'), +(@SHADOW_CULTIST, 2, 0, 'The cultist practically sputters.', 16, 0, 100, 0, 0, 0, 'Shadow Cultist'), +(@SHADOW_CULTIST, 3, 0, 'Look like, my lady? A vrykul, I suppose. They did not actually show him to me. Ever since The Shadow Vault....', 12, 0, 100, 0, 0, 0, 'Shadow Cultist'), +(@SHADOW_CULTIST, 4, 0, 'A name? Oh, yes, the name! I believe it was Iskalder.', 12, 0, 100, 0, 0, 0, 'Shadow Cultist'), +(@SHADOW_CULTIST, 5, 0, 'Right away, my lady.', 12, 0, 100, 2, 0, 0, 'Shadow Cultist'), +(@VARDMADRA, 0, 0, 'Report.', 12, 0, 100, 1, 0, 0, 'Vardmadra'), +(@VARDMADRA, 1, 0, 'Describe this vrykul. What does he look like?', 12, 0, 100, 1, 0, 0, 'Vardmadra'), +(@VARDMADRA, 2, 0, 'I am not interested in excuses. Perhaps they gave you a name?', 12, 0, 100, 1, 0, 0, 'Vardmadra'), +(@VARDMADRA, 3, 0, 'Iskalder?! You fool! Have you no idea who that is? He''s only the greatest vrykul warrior who ever lived!', 12, 0, 100, 1, 0, 0, 'Vardmadra'), +(@VARDMADRA, 4, 0, 'Return to Jotunheim and tell them to keep him asleep until I arrive. I will judge this vrykul with my own eyes.', 12, 0, 100, 1, 0, 0, 'Vardmadra'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=57889; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(57889,57891,0,'On spellcast Using the Eye of the Lich King cast Through the Eye: Summon Image of Vardmadra'), +(57889,57885,0,'On spellcast Using the Eye of the Lich King cast Through the Eye: Summon Image of a Shadow Cultist'); + +DELETE FROM `spell_scripts` WHERE `id`=57884; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(57884,1,0,14,57889,0,0,0,0,0,0); + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=@LK_EYE; +DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=@LK_EYE; +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 +(@LK_EYE, 1, 0, 1, 62, 0, 100, 0, 10005, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Eye of the Lich King - On gossip select - Close gossip'), +(@LK_EYE, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 85, @GOSSIP_CAST, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Eye of the Lich King - On gossip select - Invoker Spellcast Through the Eye: Eye of the Lich King Gossip Force Cast'), +(@LK_EYE, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 19, @ELM_BUNNY, 10, 0, 0, 0, 0, 0, 'Eye of the Lich King - On gossip select - Set data 0 1 Elm General Purpose Bunny'); + +UPDATE `creature_template` SET `AIName`='SmartAI',`minlevel`=80,`maxlevel`=80,`exp`=2,`faction_A`=1610,`faction_H`=1610,`unit_flags`=33544, `HoverHeight`=6 WHERE `entry`=@VARDMADRA; +UPDATE `creature_template` SET `AIName`='SmartAI',`minlevel`=80,`maxlevel`=80,`exp`=2,`faction_A`=1610,`faction_H`=1610,`unit_flags`=33544 WHERE `entry`=@SHADOW_CULTIST; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (-121192,@VARDMADRA,@SHADOW_CULTIST); +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@SHADOW_CULTIST*100; +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 +(-121192, 0, 0, 0, 38, 0, 100, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 20, 0, 0, 0, 0, 0, 0, 'Elm General Purpose Bunny - On data set 0 1 - Say line'), +(@SHADOW_CULTIST, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 6828.99, 3814.678, 621.0696, 0, 'Shadow Cultist - Just summoned - Move to position'), +(@SHADOW_CULTIST, 0, 1, 2, 34, 0, 100, 0, 0, 1, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, @VARDMADRA, 10, 0, 0, 0, 0, 0, 'Shadow Cultist - On movement inform - Turn to Image of Vardmadra'), +(@SHADOW_CULTIST, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, @SHADOW_CULTIST*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist - On movement inform - Run script'), +(@VARDMADRA, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, @SHADOW_CULTIST, 30, 0, 0, 0, 0, 0, 'Image of Vardmadra - Just summoned - Turn to Shadow Cultist'), +(@VARDMADRA, 0, 1, 0, 38, 0, 100, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 1 - Say line'), +(@VARDMADRA, 0, 2, 0, 38, 0, 100, 0, 0, 2, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 2 - Say line'), +(@VARDMADRA, 0, 3, 0, 38, 0, 100, 0, 0, 3, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 3 - Say line'), +(@VARDMADRA, 0, 4, 0, 38, 0, 100, 0, 0, 4, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 4 - Say line'), +(@VARDMADRA, 0, 5, 0, 38, 0, 100, 0, 0, 5, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 5 - Say line'), +(@VARDMADRA, 0, 6, 7, 38, 0, 100, 0, 0, 6, 0, 0, 11, 57884, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 6 - Spellcast Through the Eye: Kill Credit to Master'), +(@VARDMADRA, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Image of Vardmadra - On data set 0 6 - Despawn after 1 second'), + +(@SHADOW_CULTIST*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set unit_field_bytes1 (kneel)'), +(@SHADOW_CULTIST*100, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Say line'), +(@SHADOW_CULTIST*100, 9, 2, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 45, 0, 1, 0, 0, 0, 0, 19, @VARDMADRA, 10, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set data 0 1 Image of Vardmadra'), +(@SHADOW_CULTIST*100, 9, 3, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Say line'), +(@SHADOW_CULTIST*100, 9, 4, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 45, 0, 2, 0, 0, 0, 0, 19, @VARDMADRA, 10, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set data 0 2 Image of Vardmadra'), +(@SHADOW_CULTIST*100, 9, 5, 0, 0, 0, 100, 0, 500, 500, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Say line'), +(@SHADOW_CULTIST*100, 9, 6, 0, 0, 0, 100, 0, 3500, 3500, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Say line'), +(@SHADOW_CULTIST*100, 9, 7, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 45, 0, 3, 0, 0, 0, 0, 19, @VARDMADRA, 10, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set data 0 3 Image of Vardmadra'), +(@SHADOW_CULTIST*100, 9, 8, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Say line'), +(@SHADOW_CULTIST*100, 9, 9, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 45, 0, 4, 0, 0, 0, 0, 19, @VARDMADRA, 10, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set data 0 4 Image of Vardmadra'), +(@SHADOW_CULTIST*100, 9,10, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 45, 0, 5, 0, 0, 0, 0, 19, @VARDMADRA, 10, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set data 0 5 Image of Vardmadra'), +(@SHADOW_CULTIST*100, 9,11, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Remove unit_field_bytes1 (kneel)'), +(@SHADOW_CULTIST*100, 9,12, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Say line'), +(@SHADOW_CULTIST*100, 9,13, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 6816.328, 3801.11, 621.153, 0, 'Shadow Cultist script - Move to position'), +(@SHADOW_CULTIST*100, 9,14, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 45, 0, 6, 0, 0, 0, 0, 19, @VARDMADRA, 30, 0, 0, 0, 0, 0, 'Shadow Cultist script - Set data 0 6 Image of Vardmadra'), +(@SHADOW_CULTIST*100, 9,15, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow Cultist script - Despawn'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (@SUMMON_VARDMADRA,@SUMMON_CULTIST); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=10005; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,@SUMMON_VARDMADRA,0,0,30,0,@LK_EYE,10,0,1,0,0,'','Spell Through the Eye: Summon Image of Vardmadra will be casted only if target is not within 10y of Eye of the Lichking'), +(13,1,@SUMMON_VARDMADRA,0,0,31,0,3,@ELM_BUNNY,0,0,0,0,'','Spell Through the Eye: Summon Image of Vardmadra targets Elm General Purpose Bunny'), +(13,1,@SUMMON_CULTIST,0,0,31,0,3,@ELM_BUNNY,0,0,0,0,'','Spell Through the Eye: Summon Image of a Shadow Cultist targets Elm General Purpose Bunny'), +(15,10005,0,0,0,9,0,13121,0,0,0,0,0,'','Show gossip option only if player has taken quest Through the Eye'), +(15,10005,0,0,0,1,0,@LK_EYE_CAST,0,0,1,0,0,'','Hide gossip option when aura Using the Eye of the Lich King is present'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_01_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_01_02_world_misc.sql new file mode 100644 index 00000000000..eb54e0453dd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_01_02_world_misc.sql @@ -0,0 +1,81 @@ +SET @RAZUUN := 21502; -- Image of Warbringer Razuun +SET @JOVAAN := 21633; -- Deathbringer Jovaan +SET @TRIGGER := 4548; -- Smart Trigger +SET @DEVICE := 184833;-- Legion Communication Device +SET @GO_INFERNAL := 184834;-- Gobject that needs to be despawned during the script +SET @GO_INFERNAL2 := 184835;-- Gobject that needs to be despawned during the script + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@RAZUUN,@JOVAAN); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@JOVAAN,@RAZUUN) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@JOVAAN*100 AND `source_type`=9; +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 +(@RAZUUN,0,0,0,38,0,100,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Warbringer Razuun - On data 0 1 set - Say line'), +(@RAZUUN,0,1,0,38,0,100,0,0,2,0,0,1,1,2000,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Warbringer Razuun - On data 0 2 set - Say line'), +(@RAZUUN,0,2,0,52,0,100,0,1,@RAZUUN,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Warbringer Razuun - On text over - Play emote'), +(@RAZUUN,0,3,0,38,0,100,0,0,3,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Warbringer Razuun - On data 0 3 set - Say line'), +(@RAZUUN,0,4,0,38,0,100,0,0,4,0,0,1,3,1500,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Warbringer Razuun - On data 0 4 set - Say line'), +(@RAZUUN,0,5,0,52,0,100,0,3,@RAZUUN,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Warbringer Razuun - On text over - Play emote'), +(@JOVAAN,0,0,1,11,0,100,0,0,0,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan - Just summoned - Spellcast Etheral Teleport'), +(@JOVAAN,0,1,0,61,0,100,0,0,0,0,0,53,0,@JOVAAN,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan - Just summoned - Start WP movement'), +(@JOVAAN,0,2,3,40,0,100,0,4,@JOVAAN,0,0,54,45000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan - On WP 4 reached - Pause 45 seconds'), +(@JOVAAN,0,3,0,61,0,100,0,0,0,0,0,80,@JOVAAN*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan - On WP 4 reached - Run Script'), + +(@JOVAAN*100,9,0,0,0,0,100,0,500,500,0,0,66,0,0,0,0,0,0,14,25736,@DEVICE,0,0,0,0,0,'Deathbringer Jovaan script - Turn to Legion Communication Device'), +(@JOVAAN*100,9,1,0,0,0,100,0,2500,2500,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Play emote'), +(@JOVAAN*100,9,2,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Say line'), +(@JOVAAN*100,9,3,0,0,0,100,0,100,100,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Set unit_field_bytes1 (kneel)'), +(@JOVAAN*100,9,4,0,0,0,100,0,100,100,0,0,12,@RAZUUN,1,37500,0,0,0,8,0,0,0,-3300.087,2927.053,173.3354,2.199115,'Deathbringer Jovaan script - Summon Image of Warbringer Razuun'), +(@JOVAAN*100,9,5,0,0,0,100,0,800,800,0,0,45,0,1,0,0,0,0,19,@RAZUUN,10,0,0,0,0,0,'Deathbringer Jovaan script - Set data 0 1 Image of Warbringer Razuun'), +(@JOVAAN*100,9,6,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Say line'), +(@JOVAAN*100,9,7,0,0,0,100,0,5000,5000,0,0,45,0,2,0,0,0,0,19,@RAZUUN,10,0,0,0,0,0,'Deathbringer Jovaan script - Set data 0 2 Image of Warbringer Razuun'), +(@JOVAAN*100,9,8,0,0,0,100,0,7000,7000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Remove unit_field_bytes1 (kneel)'), +(@JOVAAN*100,9,9,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Say line'), +(@JOVAAN*100,9,10,0,0,0,100,0,6000,6000,0,0,45,0,3,0,0,0,0,19,@RAZUUN,10,0,0,0,0,0,'Deathbringer Jovaan script - Set data 0 3 Image of Warbringer Razuun'), +(@JOVAAN*100,9,11,0,0,0,100,0,4000,4000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Say line'), +(@JOVAAN*100,9,12,0,0,0,100,0,4000,4000,0,0,45,0,4,0,0,0,0,19,@RAZUUN,10,0,0,0,0,0,'Deathbringer Jovaan script - Set data 0 4 Image of Warbringer Razuun'), +(@JOVAAN*100,9,13,0,0,0,100,0,3500,3500,0,0,33,@RAZUUN,0,0,0,0,0,21,20,0,0,0,0,0,0,'Deathbringer Jovaan script - Give Quest Credit'), +(@JOVAAN*100,9,14,0,0,0,100,0,0,0,0,0,5,66,0,0,0,0,0,1,0,0,0,0,0,0,0,'Deathbringer Jovaan script - Play emote'); + +DELETE FROM `creature_text` WHERE `entry` IN (@RAZUUN,@JOVAAN); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@RAZUUN,0,0,'Doom Lord Kazzak will be pleased. You are to increase the pace of your attacks. Destroy the orcish and dwarven strongholds with all haste.',12,0,100,1,0,0,'Razuun'), +(@RAZUUN,1,0,'Don''t worry about that. I''ve increased production at the Deathforge. You''ll have all the infernals you need to carry out your orders. Don''t fail, Jovaan.',12,0,100,1,0,0,'Razuun'), +(@RAZUUN,2,0,'Yes?',12,0,100,6,0,0,'Razuun'), +(@RAZUUN,3,0,'Crate? I didn''t send you a crate, Jovaan. Don''t you have more important things to worry about? Go see to them!',12,0,100,274,0,0,'Razuun'), +(@JOVAAN,0,0,'Everything is in readiness, warbringer.',12,0,100,0,0,0,'Jovaan'), +(@JOVAAN,1,0,'Warbringer, that will require the use of all the hold''s infernals. It may leave us vulnerable to a counterattack.',12,0,100,0,0,0,'Jovaan'), +(@JOVAAN,2,0,'It shall be as you say, warbringer. One last question, if I may...',12,0,100,6,0,0,'Jovaan'), +(@JOVAAN,3,0,'What''s in the crate?',12,0,100,6,0,0,'Jovaan'); + +DELETE FROM `waypoints` WHERE `entry`=@JOVAAN; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@JOVAAN, 1, -3310.995, 2951.892, 171.2171, 'Deathbrinder Jovaan'), +(@JOVAAN, 2, -3307.998, 2942.022, 171.1127, 'Deathbrinder Jovaan'), +(@JOVAAN, 3, -3306.255, 2935.729, 171.0294, 'Deathbrinder Jovaan'), +(@JOVAAN, 4, -3304.257, 2930.78, 170.9866, 'Deathbrinder Jovaan'), +(@JOVAAN, 5, -3307.609, 2936.385, 170.9919, 'Deathbrinder Jovaan'), +(@JOVAAN, 6, -3309.415, 2942.621, 171.119, 'Deathbrinder Jovaan'); + +DELETE FROM `areatrigger_scripts` WHERE `entry`=@TRIGGER; +INSERT INTO `areatrigger_scripts` VALUES (@TRIGGER,'SmartTrigger'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@TRIGGER AND `source_type`=2; +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 +(@TRIGGER,2,0,1,46,0,100,0,@TRIGGER,0,0,0,45,0,0,0,0,0,0,14,25736,@DEVICE,0,0,0,0,0,'Smart Trigger - On Trigger - Set Data to GO'), +(@TRIGGER,2,1,2,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,14,25737,@GO_INFERNAL,0,0,0,0,0,'Smart Trigger - On Link - Set Data GO'), +(@TRIGGER,2,2,0,61,0,100,0,0,0,0,0,45,0,2,0,0,0,0,14,25738,@GO_INFERNAL2,0,0,0,0,0,'Smart Trigger - On Link - Set Data GO'); + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (@DEVICE,@GO_INFERNAL,@GO_INFERNAL2); +DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid` IN (@DEVICE,@GO_INFERNAL,@GO_INFERNAL2); +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 +(@DEVICE,1,0,0,38,0,100,0,0,0,0,0,12,@JOVAAN,1,57000,0,0,0,8,0,0,0,-3310.995, 2951.892, 171.2171, 5.5355,'Legion Communicator - On Data Set - Summon Jovaan'), +(@GO_INFERNAL,1,0,0,38,0,100,0,0,1,0,0,99,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Infernal - On Data Set- Change State'), +(@GO_INFERNAL,1,1,0,70,0,100,0,2,0,0,0,70,50,0,0,0,0,0,1,0,0,0,0,0,0,0,'Infernal - On Data Set- Despawn GO'), +(@GO_INFERNAL2,1,0,0,38,0,100,0,0,2,0,0,99,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Infernal 2 - On Data Set- Change State'), +(@GO_INFERNAL2,1,1,0,70,0,100,0,2,0,0,0,70,50,0,0,0,0,0,1,0,0,0,0,0,0,0,'Infernal 2 - On Data Set - Despawn GO'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (@TRIGGER,@DEVICE); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22,1,@TRIGGER,2,0,1,0,37097,0,0,0,0,'','SAI areatrigger 4548 triggers only if player has aura Crate Disguise'), +(22,1,@TRIGGER,2,0,29,0,@JOVAAN,50,0,1,0,'','SAI areatrigger 4548 triggers only if there is no Deathbringer Jovaan present'), +(22,1,@DEVICE,2,0,1,0,37097,0,0,0,0,'','SAI Legion Communication Device triggers only if player has aura Crate Disguise'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_02_00_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_02_00_world_conditions.sql new file mode 100644 index 00000000000..074add78476 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_02_00_world_conditions.sql @@ -0,0 +1,4 @@ +-- Add conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56438; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,56438,0,0,1,0,56438,0,0,1,0,0,'', 'Arcane Overload damage reduce aura can''t apply to target that already is affected by such'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_00_world_eye_of_eternity.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_00_world_eye_of_eternity.sql new file mode 100644 index 00000000000..e41f2723e5f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_00_world_eye_of_eternity.sql @@ -0,0 +1,6 @@ +-- Delete wrongly inserted spell linked spell of Scion of Eternity - "Arcane Barrage". +-- It should be handled in the original caster spell with spellscript effect. +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=56397 AND `spell_effect`=63934 AND`type`=1; + +-- Update flags in creature for Malygos since differ from these in creature_template +UPDATE `creature` SET `unit_flags`=320,`dynamicflags`=8 WHERE `id`=28859; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_01_world_misc.sql new file mode 100644 index 00000000000..a81da8352e3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_01_world_misc.sql @@ -0,0 +1,13 @@ +-- Issue 9311 +-- Add Missing Sunreaver Guardian Mage inside Sunreaver Tavern (Thx Aokromes) +SET @CGUID := 40267; -- Set by TDB Team +DELETE FROM `creature` WHERE `guid`=@CGUID; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@CGUID,29255,571,1,1,5900.299,505.75,641.6531,4.171337,120,0,0); + +-- Issue 9322: +-- fix SAI to make the quest Mission: The Abyssal Shelf (10162) Horde completable (thx Kirkhammett) +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=19273; +DELETE FROM `smart_scripts` WHERE `entryorguid`=19273; +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 +(19273,0,0,0,19, 0,100,0,10162,0,0,0,15,10162,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Commander To''arch - On Quest Accept - Call Areaexplored'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_02_world_sai.sql new file mode 100644 index 00000000000..ad1ebfd64f2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_03_02_world_sai.sql @@ -0,0 +1,37 @@ +-- Issue 9250 +-- A Worthy Weapon (thx Durotar) +UPDATE `creature_template` SET `InhabitType`=4, `hoverheight`=1065353216, `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=33273; +-- Set visual effect: sitting +DELETE FROM `creature_template_addon` WHERE `entry`=33273; +INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`,`emote`) VALUES (33273,1,1,0); +-- Winter Hyacinth (item 45000) Send Script Event (20990) by right-click +DELETE FROM `event_scripts` WHERE `id`=20990; +INSERT INTO `event_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES +(20990, 0, 10, 33273, 42000, 4602.977, -1600.141, 156.7834, 0.7504916); +-- TEMP Drak'Mar Offering Ring +SET @ObjectGuid := 6068; -- set by TDB staff +DELETE FROM `gameobject` WHERE `id`=300009; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@ObjectGuid+0,300009,571,1,1, 4606.72, -1606.91, 156.659, 1.62734,0.0,0.0, 0.726811, 0.686837,300,0,1), +(@ObjectGuid+1,300009,571,1,1, 4596.78, -1606.69, 156.659, 1.5488,0.0,0.0, 0.699286, 0.714842,300,0,1), +(@ObjectGuid+2,300009,571,1,1, 4597.1, -1594.08, 156.658, 1.53702,0.0,0.0, 0.695063, 0.718949,300,0,1), +(@ObjectGuid+3,300009,571,1,1, 4608.33, -1592.98, 156.658, 0.162569,0.0,0.0, 0.0811951, 0.996698,300,0,1), +(@ObjectGuid+4,300009,571,1,1, 4602.78, -1600.05, 156.658, 4.08564,0.0,0.0, 0.890651, -0.454688,300,0,1); +-- creature_text +DELETE FROM `creature_text` WHERE `entry`=33273 AND `groupid` BETWEEN 0 AND 3; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(33273,0,0, 'Are those winter hyacinths? For me?',12,0,100,6,0,0, 'Maiden of Drak''Mar'), +(33273,1,0, 'It''s been so long since a traveler has come here bearing flowers.',12,0,100,1,0,0, 'Maiden of Drak''Mar'), +(33273,2,0, 'The lake has been too lonely these past years. The travelers stopped coming and evil came to these waters.',12,0,100,1,0,0, 'Maiden of Drak''Mar'), +(33273,3,0, 'Your gift is a rare kindness, traveler. Please take this blade with my gratitude. Long ago, another traveler left it here, but I have little use for it.',12,0,100,1,0,0, 'Maiden of Drak''Mar'); +-- SAI +DELETE FROM `smart_scripts` WHERE `entryorguid`=33273 AND `source_type`=0 AND `id`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=33273*100 AND `source_type`=9 AND `id` BETWEEN 0 AND 6; +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 +(33273,0,0,0,54,0,100,0,0,0,0,0,80,33273*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On spawn - Run script'), +(33273*100,9,0,0,0,0,100,0,0,0,0,0,50,194239,42000,0,0,0,0,8,0,0,0,4602.977,-1600.141,156.7834,0, 'Maiden of DrakMar - On script - Summon GO DrakMar Lily Pad'), +(33273*100,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 0'), +(33273*100,9,2,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 1'), +(33273*100,9,3,0,0,0,100,0,6000,6000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 2'), +(33273*100,9,4,0,0,0,100,0,7000,7000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 3'), +(33273*100,9,5,0,0,0,100,0,0,0,0,0,50,194238,20000,0,0,0,0,8,0,0,0,4603.351,-1599.288,156.8822,2.234018, 'Maiden of DrakMar - On script - Summon GO Blade of DrakMar'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_01_world_waypoint_data.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_01_world_waypoint_data.sql new file mode 100644 index 00000000000..3a2001e7e36 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_01_world_waypoint_data.sql @@ -0,0 +1,153 @@ +SET @GUID := 40470; +SET @PATH := @GUID*10; +DELETE FROM `creature` where `id`=18686; +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,18686,530,1,1,0,0,-2847.327,3195.10722,7.4167,.0910940,300,0,0,9144,13525,2,0,0,0); +-- Pathing Data +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`) VALUES +(@PATH,1,-2843.86,3205.97,5.45323,0,0,0,0,100), +(@PATH,2,-2829.24,3218.81,9.59048,0,0,0,0,100), +(@PATH,3,-2814.12,3235.72,10.1736,0,0,0,0,100), +(@PATH,4,-2792.54,3259.91,5.91885,0,0,0,0,100), +(@PATH,5,-2774.46,3280.17,2.8828,0,0,0,0,100), +(@PATH,6,-2751.21,3306.24,0.199384,0,0,0,0,100), +(@PATH,7,-2728.55,3318.21,-0.833018,0,0,0,0,100), +(@PATH,8,-2719.59,3331.35,-1.04936,0,0,0,0,100), +(@PATH,9,-2708.94,3349.74,-0.819842,0,0,0,0,100), +(@PATH,10,-2694.72,3374.29,-0.156626,0,0,0,0,100), +(@PATH,11,-2685.08,3390.93,0.328583,0,0,0,0,100), +(@PATH,12,-2675.69,3407.16,0.474826,0,0,0,0,100), +(@PATH,13,-2669.68,3416.29,0.743526,0,0,0,0,100), +(@PATH,14,-2660.96,3425.20,0.805554,0,0,0,0,100), +(@PATH,15,-2654.25,3430.82,0.77502,0,0,0,0,100), +(@PATH,16,-2645.46,3437.83,1.28666,0,0,0,0,100), +(@PATH,17,-2639.59,3442.50,3.25542,0,0,0,0,100), +(@PATH,18,-2630.71,3449.41,1.86245,0,0,0,0,100), +(@PATH,19,-2621.54,3456.21,0.653284,0,0,0,0,100), +(@PATH,20,-2617.41,3460.51,0.593326,0,0,0,0,100), +(@PATH,21,-2611.50,3471.52,0.520041,0,0,0,0,100), +(@PATH,22,-2610.04,3475.69,0.53993,0,0,0,0,100), +(@PATH,23,-2606.90,3480.85,0.492544,0,0,0,0,100), +(@PATH,24,-2590.41,3502.84,0.225892,0,0,0,0,100), +(@PATH,25,-2582.03,3512.00,0.101641,0,0,0,0,100), +(@PATH,26,-2566.36,3522.06,0.189451,0,0,0,0,100), +(@PATH,27,-2534.38,3523.07,1.3404,0,0,0,0,100), +(@PATH,28,-2523.33,3527.83,1.66667,0,0,0,0,100), +(@PATH,29,-2516.31,3533.95,1.65006,0,0,0,0,100), +(@PATH,30,-2507.47,3544.67,1.56155,0,0,0,0,100), +(@PATH,31,-2491.83,3549.68,1.43199,0,0,0,0,100), +(@PATH,32,-2471.56,3551.98,1.23732,0,0,0,0,100), +(@PATH,33,-2463.14,3555.66,1.03546,0,0,0,0,100), +(@PATH,34,-2456.30,3555.25,0.942503,0,0,0,0,100), +(@PATH,35,-2452.53,3537.02,0.402467,0,0,0,0,100), +(@PATH,36,-2446.32,3528.59,-0.236494,0,0,0,0,100), +(@PATH,37,-2462.93,3549.41,1.08819,0,0,0,0,100), +(@PATH,38,-2460.92,3557.50,1.00403,0,0,0,0,100), +(@PATH,39,-2425.49,3596.20,0.274173,0,0,0,0,100), +(@PATH,40,-2405.20,3613.88,0.217946,0,0,0,0,100), +(@PATH,41,-2391.31,3632.83,0.792431,0,0,0,0,100), +(@PATH,42,-2383.97,3658.54,0.99065,0,0,0,0,100), +(@PATH,43,-2351.54,3700.72,0.420721,0,0,0,0,100), +(@PATH,44,-2314.59,3729.83,0.0297019,0,0,0,0,100), +(@PATH,45,-2296.57,3749.89,0.363868,0,0,0,0,100), +(@PATH,46,-2285.44,3767.70,0.291327,0,0,0,0,100), +(@PATH,47,-2279.30,3787.95,0.314858,0,0,0,0,100), +(@PATH,48,-2276.30,3799.32,0.521091,0,0,0,0,100), +(@PATH,49,-2254.61,3831.13,2.70024,0,0,0,0,100), +(@PATH,50,-2251.75,3848.92,5.15061,0,0,0,0,100), +(@PATH,51,-2249.52,3869.55,2.39354,0,0,0,0,100), +(@PATH,52,-2244.66,3893.46,1.58335,0,0,0,0,100), +(@PATH,53,-2239.88,3904.19,1.10899,0,0,0,0,100), +(@PATH,54,-2224.28,3927.45,0.706091,0,0,0,0,100), +(@PATH,55,-2187.45,3958.22,0.921813,0,0,0,0,100), +(@PATH,56,-2175.09,3978.98,0.929392,0,0,0,0,100), +(@PATH,57,-2171.14,4011.04,0.450247,0,0,0,0,100), +(@PATH,58,-2175.93,4027.88,0.519539,0,0,0,0,100), +(@PATH,59,-2187.96,4064.43,1.42810,0,0,0,0,100), +(@PATH,60,-2166.44,4102.49,4.27243,0,0,0,0,100), -- Had guid as action_id +(@PATH,61,-1700.15,3993.57,55.6859,0,0,0,0,100), +(@PATH,62,-1710.59,4034.97,60.6101,0,0,0,0,100), +(@PATH,63,-1719.95,4059.83,62.7452,0,0,0,0,100), +(@PATH,64,-1718.67,4104.32,64.3796,0,0,0,0,100), +(@PATH,65,-1743.77,4151.60,62.3929,0,0,0,0,100), +(@PATH,66,-1754.61,4173.29,58.3691,0,0,0,0,100), +(@PATH,67,-1788.41,4206.51,44.1839,0,0,0,0,100), +(@PATH,68,-1818.93,4214.12,33.1137,0,0,0,0,100), +(@PATH,69,-1841.51,4228.10,22.0741,0,0,0,0,100), +(@PATH,70,-1871.54,4263.50,8.22153,0,0,0,0,100), +(@PATH,71,-1891.00,4295.91,3.23019,0,0,0,0,100), +(@PATH,72,-1911.96,4351.49,1.66825,0,0,0,0,100), +(@PATH,73,-1910.12,4389.42,1.77078,0,0,0,0,100), +(@PATH,74,-1907.67,4417.31,2.99456,0,0,0,0,100), +(@PATH,75,-1917.63,4452.07,6.27493,0,0,0,0,100), +(@PATH,76,-1929.40,4473.47,8.90937,0,0,0,0,100), +(@PATH,77,-1942.74,4489.67,11.1029,0,0,0,0,100), +(@PATH,78,-1958.47,4508.45,12.7432,0,0,0,0,100), +(@PATH,79,-1975.36,4519.94,13.1616,0,0,0,0,100), +(@PATH,80,-1982.19,4524.49,13.0993,0,0,0,0,100), +(@PATH,81,-1983.38,4507.03,12.7591,0,0,0,0,100), +(@PATH,82,-1984.02,4496.55,11.9535,0,0,0,0,100), +(@PATH,83,-1984.87,4482.57,11.1499,0,0,0,0,100), +(@PATH,84,-1978.92,4509.87,12.6695,0,0,0,0,100), +(@PATH,85,-1978.12,4527.35,13.36,0,0,0,0,100), +(@PATH,86,-1967.33,4546.79,12.8741,0,0,0,0,100), +(@PATH,87,-1953.04,4566.47,10.1123,0,0,0,0,100), +(@PATH,88,-1946.50,4582.91,7.44598,0,0,0,0,100), +(@PATH,89,-1948.30,4599.58,4.61956,0,0,0,0,100), +(@PATH,90,-1955.08,4637.48,-0.0588505,0,0,0,0,100), +(@PATH,91,-1943.63,4685.04,-2.18987,0,0,0,0,100), +(@PATH,92,-1941.99,4705.25,-2.67768,0,0,0,0,100), +(@PATH,93,-1945.22,4727.47,-3.22917,0,0,0,0,100), +(@PATH,94,-1951.89,4748.79,-2.9388,0,0,0,0,100), +(@PATH,95,-1957.77,4773.70,-1.42409,0,0,0,0,100), +(@PATH,96,-1957.36,4798.11,-0.0807409,0,0,0,0,100), +(@PATH,97,-1944.66,4829.17,0.67,0,0,0,0,100), +(@PATH,98,-1929.68,4851.09,1.64973,0,0,0,0,100), +(@PATH,99,-1918.23,4883.89,2.11937,0,0,0,0,100), +(@PATH,100,-1901.18,4906.49,-1.12705,0,0,0,0,100), +(@PATH,101,-1881.87,4926.69,-9.60835,0,0,0,0,100), +(@PATH,102,-1870.05,4946.21,-17.0149,0,0,0,0,100), +(@PATH,103,-1866.49,4960.25,-20.2899,0,0,0,0,100), +(@PATH,104,-1860.94,5033.3,-26.0991,0,0,0,0,100), +(@PATH,105,-1869.80,4962.46,-20.3781,0,0,0,0,100), +(@PATH,106,-1884.86,4924.67,-8.30171,0,0,0,0,100), +(@PATH,107,-1904.83,4905.16,-0.202733,0,0,0,0,100), +(@PATH,108,-1922.67,4912.5,6.06643,0,0,0,0,100), +(@PATH,109,-1937.46,4934.99,14.8054,0,0,0,0,100), +(@PATH,110,-1953.22,4961.69,24.7149,0,0,0,0,100), +(@PATH,111,-1958.07,4992.99,30.1767,0,0,0,0,100), +(@PATH,112,-1958.74,5013.42,32.4293,0,0,0,0,100), +(@PATH,113,-1947.03,5042.52,25.2899,0,0,0,0,100), +(@PATH,114,-1942.58,5058.03,19.5292,0,0,0,0,100), +(@PATH,115,-1963.32,5083.08,11.1075,0,0,0,0,100), +(@PATH,116,-1984.50,5100.08,7.82778,0,0,0,0,100), +(@PATH,117,-2004.59,5114.07,8.26657,0,0,0,0,100), +(@PATH,118,-2029.48,5123.26,8.48839,0,0,0,0,100), +(@PATH,119,-2055.94,5125.38,7.48301,0,0,0,0,100), +(@PATH,120,-2089.33,5115.44,3.14184,0,0,0,0,100), +(@PATH,121,-2112.53,5107.32,-2.40737,0,0,0,0,100), +(@PATH,122,-2137.40,5108.51,-11.5709,0,0,0,0,100), +(@PATH,123,-2155.69,5115.97,-18.1534,0,0,0,0,100), +(@PATH,124,-2170.60,5125.13,-21.2824,0,0,0,0,100), +(@PATH,125,-2182.81,5131.87,-21.667,0,0,0,0,100), +(@PATH,126,-2198.88,5138.77,-21.2323,0,0,0,0,100), +(@PATH,127,-2219.62,5144.57,-19.6848,0,0,0,0,100), +(@PATH,128,-2238.57,5146.29,-17.4706,0,0,0,0,100), +(@PATH,129,-2266.45,5144.26,-13.0598,0,0,0,0,100), +(@PATH,130,-2290.86,5142.23,-9.17377,0,0,0,0,100), +(@PATH,131,-2308.35,5142.09,-7.11532,0,0,0,0,100), +(@PATH,132,-2333.72,5149.44,-5.0165,0,0,0,0,100), +(@PATH,133,-2365.45,5157.88,-2.8501,0,0,0,0,100), +(@PATH,134,-2390.26,5158.22,-1.19618,0,0,0,0,100), +(@PATH,135,-2417.84,5153.35,0.775549,0,0,0,0,100), +(@PATH,136,-2442.28,5142.04,3.53141,0,0,0,0,100), +(@PATH,137,-2469.81,5120.56,6.76948,0,0,0,0,100), +(@PATH,138,-2498.06,5115.06,7.87731,0,0,0,0,100), +(@PATH,139,-2532.85,5118.89,7.54034,0,0,0,0,100), +(@PATH,140,-2555.60,5120.59,7.69492,0,0,0,0,100), -- GUID+1 as action_id +(@PATH,141,-2843.86,3205.97,5.45323,0,0,0,0,100); +-- Assign Path +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES +(@GUID,@PATH); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_02_world_quest_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_02_world_quest_template.sql new file mode 100644 index 00000000000..82f01a39a85 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_02_world_quest_template.sql @@ -0,0 +1,2 @@ +UPDATE `quest_template` SET `PrevQuestId`=0 WHERE `Id`=8345; +UPDATE `quest_template` SET `NextQuestId`=0 WHERE `Id`=8330; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_03_world_sai.sql new file mode 100644 index 00000000000..6cb234cc805 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_03_world_sai.sql @@ -0,0 +1,77 @@ +-- The Admiral Revealed (12852) - http://www.wowhead.com/quest=12852 +-- http://www.youtube.com/watch?v=I9doc1BVmA8 +SET @WHIRLWIND := 49807; -- Admiral's Whirlwind, AoE, used in phase 1 +SET @STRIKE := 57846; -- Admiral's Heroic Strike, cast on tank, used in phase 1 +SET @CLEAVE := 15284; -- Admiral's Cleave, cast in cone, used in phase 1 +SET @TOUCH := 60501; -- Selfcast on Mal'Ganis, heals him, used in phase 2 +SET @SLEEP := 53045; -- Mal'Ganis Sleep,Cast on random group member, used in phase 2 +SET @BLAST := 60500; -- Mal'Ganis Mind Blast, Cast on random group member, used in phase 2 +SET @CARRION := 60502; -- Mal'Ganis Carrion Swarm, Cast in cone, used in phase 2 +SET @SHIELD := 50161; -- Cast when Admiral on 50 % +SET @ITEMSPELL := 31699; -- Spell to disable shield +SET @ADMIRAL := 29621; -- Grand Admiral Westwind +SET @MALGANIS := 29620; -- Dreadlord Mal'Ganis +SET @PORTAL := 27731; -- Portal visual +SET @LEGION_TELEPORT := 35502; -- Mal'Ganis Legion Portal visual +SET @CREDIT_BUNNY := 29627; -- Cute little flaming bunny +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN (@CREDIT_BUNNY); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@CREDIT_BUNNY 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 +(@CREDIT_BUNNY, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 75, @PORTAL, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Credit Bunny - Just Summoned - Cast Portal'); +-- SAI for Grand Admiral Westwind +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN (@ADMIRAL,@MALGANIS,@ADMIRAL*100); +DELETE FROM `smart_scripts` WHERE `entryorguid`IN (@ADMIRAL,@ADMIRAL*100) AND `source_type` IN (0,9); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@MALGANIS 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 +(@ADMIRAL, 0, 0, 1, 4, 0, 100, 0, 0, 0, 0, 0, 42, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On aggro - Set invicibility at 1 HP'), +(@ADMIRAL, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Link - Say line 0'), +(@ADMIRAL, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Link - Set phase 1'), +(@ADMIRAL, 0, 3, 4, 2, 0, 100, 1, 0, 50, 0, 0, 11, @SHIELD, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - At 50% HP - Cast Protection Sphere'), +(@ADMIRAL, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - Link - Say line 1'), +(@ADMIRAL, 0, 5, 6, 8, 0, 100, 0, @ITEMSPELL, 0, 0, 0, 28, @SHIELD, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On spell hit - Remove aura'), +(@ADMIRAL, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - Link - Say line 2'), +(@ADMIRAL, 0, 7, 8, 2, 0, 100, 1, 0, 30, 0, 0, 3, @MALGANIS, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - At 30% HP - Morph to Dreadlord Mal''Ganis'), +(@ADMIRAL, 0, 8, 9, 61, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Link - Set phase 2'), +(@ADMIRAL, 0, 9,10, 61, 0, 100, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - Link - Say line 3'), +(@ADMIRAL, 0, 10, 0, 61, 0, 100, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'Grand Admiral Westwind - Link - Sheath'), +(@ADMIRAL, 0, 11, 0, 2, 0, 100, 1, 0, 15, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - At 15% HP - Say line 4'), +(@ADMIRAL, 0, 12, 0, 1, 0, 100, 0, 0, 0, 0, 0, 3, @ADMIRAL, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On evade - Restore model'), +(@ADMIRAL, 0, 13, 14, 2, 0, 100, 1, 1, 1, 0, 0, 18, 33554434, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On 1 hp - Set unit_flags'), +(@ADMIRAL, 0, 14, 15, 61, 0, 100, 1, 0, 0, 0, 0, 12, @CREDIT_BUNNY, 1, 19000, 0, 0, 0, 8, 0, 0, 0, 7494.893066, 4871.533203, -12.655286, 1.376, 'Grand Admiral Westwind - On Link - Summon Npc'), +(@ADMIRAL, 0, 15, 16, 61, 0, 100, 1, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Link - Stop Combat/Attack Attack State'), +(@ADMIRAL, 0, 16, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, @ADMIRAL*100, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Link - Start timed script'), +(@ADMIRAL*100, 9, 0, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 22, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On script - Set phase 3'), +(@ADMIRAL*100, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 7494.788, 4872.567, -12.72154, 0, 'Grand Admiral Westwind - On Script - Move to Pos'), +(@ADMIRAL*100, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Script - Say line 6'), +(@ADMIRAL*100, 9, 3, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 11, @LEGION_TELEPORT, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Script - Cast spell on self'), +(@ADMIRAL*100, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 33, @CREDIT_BUNNY, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Script - Give quest credit'), +(@ADMIRAL*100, 9, 5, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 41, 3500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Script - Despawn'), +(@ADMIRAL, 0, 17, 0, 11, 0, 100, 0, 0, 0, 0, 0, 19, 33554434, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Respawn - Unset unit_flags'), +(@ADMIRAL, 0, 18, 0, 0, 1, 100, 0, 15000, 16000, 16000, 16000, 11, @WHIRLWIND, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 1 - Cast Whirlwind'), +(@ADMIRAL, 0, 19, 0, 0, 1, 100, 0, 6000, 7000, 6000, 7000, 11, @STRIKE, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 1 - Cast Heroic Strike'), +(@ADMIRAL, 0, 20, 0, 0, 2, 100, 0, 15000, 16000, 15000, 16000, 11, @SLEEP, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 2 - Cast Sleep'), +(@ADMIRAL, 0, 21, 0, 0, 2, 100, 0, 6000, 7000, 6000, 7000, 11, @TOUCH, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 2- Cast Vampiric Touch'), +(@ADMIRAL, 0, 22, 0, 0, 1, 100, 0, 13000, 13500, 13000, 13500, 11, @CLEAVE, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 1 - Cast Cleave'), +(@ADMIRAL, 0, 23, 0, 0, 2, 100, 0, 8000, 9000, 8000, 9000, 11, @CARRION, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 2 - Cast Carrion Swarm'), +(@ADMIRAL, 0, 24, 0, 0, 2, 100, 0, 18000, 19000, 18000, 19000, 11, @BLAST, 1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - In combat Phase 2 - Cast Mind Blast'), +(@ADMIRAL, 0, 25, 0, 25, 0, 100, 0, 0, 0, 0, 0, 20, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Grand Admiral Westwind - On Reset - Allow Attack State'); +/* +Sound ID's +14429 Final speech - When he uses portal +14428 2% HP - When he becomes immune +14427 15 % - When he rages +14426 30% HP - When he morphs +14207 Sphere removed - When Item spell is used on him +14205 Sphere cast - When he casts sphere on self +14201 Beginning of combat - When he aggros +*/ +-- Sniffed text with sounds +DELETE FROM `creature_text` WHERE `entry` IN (@ADMIRAL,@MALGANIS); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@ADMIRAL,0,0, 'How did you find me? Did Landgren tell?',12,0,100,0,0,14201, 'Grand Admiral Westwind'), +(@ADMIRAL,1,0, 'You thought I would just let you kill me?',12,0,100,0,0,14205, 'Grand Admiral Westwind'), +(@ADMIRAL,2,0, 'WHAT?! No matter. Even without my sphere, I will crush you! Behold my true identity and despair!',14,0,100,0,0,14207, 'Grand Admiral Westwind'), +(@ADMIRAL,3,0, 'Gah! I spent too much time in that weak little shell.',14,0,100,0,0,14426, 'Grand Admiral Westwind'), +(@ADMIRAL,4,0, 'Kirel narak! I am Mal''Ganis. I AM ETERNAL!',14,0,100,0,0,14427, 'Grand Admiral Westwind'), +(@ADMIRAL,5,0, 'ENOUGH! I waste my time here. I must gather my strength on the homeworld.',14,0,100,0,0,14428, 'Grand Admiral Westwind'), +(@ADMIRAL,6,0, 'You''ll never defeat the Lich King without my forces. I''ll have my revenge... on him AND you!',14,0,100,0,0,14429, 'Grand Admiral Westwind'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_04_world_player_factionchange_quests.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_04_world_player_factionchange_quests.sql new file mode 100644 index 00000000000..163383cf0a5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_04_world_player_factionchange_quests.sql @@ -0,0 +1,11 @@ +-- ---------------------------- +-- Table structure for `player_factionchange_quests` +-- ---------------------------- +DROP TABLE IF EXISTS `player_factionchange_quests`; +CREATE TABLE `player_factionchange_quests` ( + `alliance_id` int(10) unsigned NOT NULL, + `horde_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`alliance_id`,`horde_id`), + UNIQUE INDEX `alliance_uniq` (`alliance_id`), + UNIQUE INDEX `horde_uniq` (`horde_id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_05_world_player_factionchange_quests.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_05_world_player_factionchange_quests.sql new file mode 100644 index 00000000000..cd08b4cbcc9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_04_05_world_player_factionchange_quests.sql @@ -0,0 +1,252 @@ +DELETE FROM `player_factionchange_quests` WHERE `alliance_id` IN (9524, 8114, 7168, 7169, 7170, 7171, 7172, 8115, 8311, 8960, 8860, 8997, 9520, 9522, 9587, 9869, 9933, 9938, 9940, 9982, 9994, 9996, 10005, 10014, 10033, 10035, 10038, 10040, 10042, 10048, 10051, 10053, 10054, 10055, 10056, 10057, 10076, 10078, 10080, 10083, 10084, 10115, 10116, 10140, 10141, 10122, 10142, 10126, 10145, 10128, 10146, 10130, 10131, 10147, 10148, 10137, 10138, 10139, 10163, 10394, 10397, 10395, 10443, 10444, 10476, 10562, 10563, 10564, 10572, 10582, 10583, 10585, 10586, 10589, 10606, 10612, 10621, 10626, 10662, 10680, 10744, 10772, 10773, 10754, 10762, 10763, 10764, 10759, 10774, 10766, 10775, 10776, 10863, 10869, 10962, 11002, 11117, 11122, 11123, 11150, 11185, 11242, 11302, 11346, 11348, 11349, 11355, 11358, 11359, 11321, 11131, 12135, 11400, 11486, 11502, 11657, 11713, 11704, 11731, 11882, 11921, 11924, 11986, 11993, 12022, 12105, 12129, 12130, 12131, 12133, 12138, 12142, 12143, 12146, 12153, 12161, 12183, 12184, 12185, 12219, 12220, 12222, 12223, 12246, 12247, 12249, 12248, 12250, 12255, 12278, 12464, 12323, 12416, 12417, 12418, 12460, 12479, 12491, 12854, 12858, 12860, 12862, 12870, 12872, 12885, 13186, 13222, 13188, 13226, 13395, 13387, 13388, 13389, 13390, 13391, 13392, 13284, 13393, 13394, 13332, 13334, 13309, 13337, 13338, 13339, 13335, 13336, 13341, 13396, 13397, 13398, 13399, 13400, 13401, 13402, 13403, 13380, 13381, 13382, 13383, 13408, 13410, 13415, 13418, 13480, 13484, 13633, 13625, 13671, 13672, 13679, 13686, 13828, 13835, 13837, 14022, 14023, 14024, 14028, 14030, 14033, 14035, 14048, 14051, 14053, 14054, 14055, 14096, 14111, 20438, 20439, 24498, 24499, 24500, 24510, 24535, 24656, 24657, 24683, 24710, 24711, 24655, 24804, 24848, 25055, 25180, 25253, 25282, 25290, 25414); +INSERT INTO `player_factionchange_quests` (`alliance_id`, `horde_id`) VALUES +(9524, 9525), +(8114, 8121), +(7168, 7163), +(7169, 7164), +(7170, 7165), +(7171, 7166), +(7172, 7167), +(8115, 8122), +(8311, 8312), +(8960, 9032), +(8860, 8861), +(8997, 8998), +(9520, 9535), +(9522, 9536), +(9587, 9588), +(9869, 9870), +(9933, 9934), +(9938, 9937), +(9940, 9939), +(9982, 9983), +(9994, 9995), +(9996, 9997), +(10005, 10006), +(10014, 10015), +(10033, 10034), +(10035, 10036), +(10038, 10039), +(10040, 10041), +(10042, 10043), +(10048, 10049), +(10051, 10052), +(10053, 10059), +(10054, 10060), +(10055, 10086), +(10056, 10158), +(10057, 10062), +(10076, 10074), +(10078, 10087), +(10080, 10089), +(10083, 10090), +(10084, 10092), +(10115, 10118), +(10116, 10117), +(10140, 10120), +(10141, 10121), +(10122, 10150), +(10142, 10123), +(10126, 10151), +(10145, 10127), +(10128, 10153), +(10146, 10129), +(10130, 10152), +(10131, 10154), +(10147, 10133), +(10148, 10135), +(10137, 10155), +(10138, 10156), +(10139, 10157), +(10163, 10162), +(10394, 10390), +(10397, 10392), +(10395, 10393), +(10443, 10442), +(10444, 10448), +(10476, 10479), +(10562, 10595), +(10563, 10596), +(10564, 10598), +(10572, 10597), +(10582, 10600), +(10583, 10601), +(10585, 10602), +(10586, 10603), +(10589, 10604), +(10606, 10611), +(10612, 10613), +(10621, 10623), +(10626, 10627), +(10662, 10663), +(10680, 10681), +(10744, 10745), +(10772, 10750), +(10773, 10751), +(10754, 10755), +(10762, 10756), +(10763, 10757), +(10764, 10758), +(10759, 10761), +(10774, 10765), +(10766, 10767), +(10775, 10768), +(10776, 10769), +(10863, 10862), +(10869, 10868), +(10962, 10963), +(11002, 11003), +(11117, 11431), +(11122, 11412), +(11123, 11124), +(11150, 11205), +(11185, 11186), +(11242, 11403), +(11302, 11312), +(11346, 11350), +(11348, 11352), +(11349, 11351), +(11355, 11365), +(11358, 11366), +(11359, 11367), +(11321, 11413), +(11131, 11219), +(12135, 12139), +(11400, 11419), +(11486, 11487), +(11502, 11503), +(11657, 11923), +(11713, 11684), +(11704, 11702), +(11731, 11922), +(11882, 11915), +(11921, 11926), +(11924, 11925), +(11986, 12026), +(11993, 12058), +(12022, 12191), +(12105, 12423), +(12129, 12165), +(12130, 12196), +(12131, 12197), +(12133, 12155), +(12138, 12198), +(12142, 12144), +(12143, 12145), +(12146, 12147), +(12153, 12199), +(12161, 12425), +(12183, 12201), +(12184, 12202), +(12185, 12203), +(12219, 12207), +(12220, 12213), +(12222, 12256), +(12223, 12257), +(12246, 12229), +(12247, 12231), +(12249, 12236), +(12248, 12241), +(12250, 12242), +(12255, 12259), +(12278, 12306), +(12464, 12285), +(12323, 12324), +(12416, 12448), +(12417, 12449), +(12418, 12450), +(12460, 12461), +(12479, 12480), +(12491, 12492), +(12854, 12895), +(12858, 12926), +(12860, 12927), +(12862, 13060), +(12870, 12882), +(12872, 12928), +(12885, 12929), +(13186, 13185), +(13222, 13223), +(13188, 13189), +(13226, 13227), +(13395, 13236), +(13387, 13259), +(13388, 13262), +(13389, 13263), +(13390, 13271), +(13391, 13275), +(13392, 13282), +(13284, 13301), +(13393, 13304), +(13394, 13305), +(13332, 13306), +(13334, 13307), +(13309, 13310), +(13337, 13312), +(13338, 13316), +(13339, 13328), +(13335, 13329), +(13336, 13330), +(13341, 13340), +(13396, 13348), +(13397, 13349), +(13398, 13359), +(13399, 13360), +(13400, 13361), +(13401, 13362), +(13402, 13363), +(13403, 13364), +(13380, 13373), +(13381, 13374), +(13382, 13376), +(13383, 13379), +(13408, 13409), +(13410, 13411), +(13415, 13416), +(13418, 13419), +(13480, 13479), +(13484, 13483), +(13633, 13634), +(13625, 13677), +(13671, 13676), +(13672, 13678), +(13679, 13680), +(13686, 13687), +(13828, 13829), +(13835, 13838), +(13837, 13839), +(14022, 14036), +(14023, 14037), +(14024, 14040), +(14028, 14041), +(14030, 14044), +(14033, 14043), +(14035, 14047), +(14048, 14061), +(14051, 14062), +(14053, 14059), +(14054, 14060), +(14055, 14058), +(14096, 14142), +(14111, 14100), +(20438, 24556), +(20439, 24451), +(24498, 24507), +(24499, 24511), +(24500, 24802), +(24510, 24506), +(24535, 24563), +(24656, 24541), +(24657, 24576), +(24683, 24682), +(24710, 24712), +(24711, 24713), +(24655, 24536), +(24804, 24805), +(24848, 24850), +(25055, 25092), +(25180, 25181), +(25253, 25228), +(25282, 25254), +(25290, 25288), +(25414, 25293); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_06_00_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_06_00_world_conditions.sql new file mode 100644 index 00000000000..b7faaa379e6 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_06_00_world_conditions.sql @@ -0,0 +1,3 @@ +-- Delete condition that can cause some damage reduction "spikes" leading to leaking damage, +-- or in simple language some delay can cause not applying. +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56438; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_07_00_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_07_00_world_conditions.sql new file mode 100644 index 00000000000..31b9d1a1d25 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_07_00_world_conditions.sql @@ -0,0 +1,2 @@ +-- Delete condition that is already covered by spell attribute +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=58846; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_07_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_07_01_world_misc.sql new file mode 100644 index 00000000000..af284fda6a3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_07_01_world_misc.sql @@ -0,0 +1,95 @@ +SET @CGUID := 86429; +SET @OGUID := 24440; + +UPDATE `gameobject` SET `spawntimesecs`=120, `animprogress`=255 WHERE `id`=188464; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+21; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+00, 188464, 571, 1, 1, 4781.308, -4865.809, 26.53011, 0.8377575, 0, 0, 0.4067364, 0.9135455, 120, 255, 1), +(@OGUID+01, 188464, 571, 1, 1, 4753.355, -4830.314, 26.04058, 5.532695, 0, 0, -0.3665009, 0.9304177, 120, 255, 1), +(@OGUID+02, 188464, 571, 1, 1, 4758.613, -4824.151, 25.96103, 5.550147, 0, 0, -0.3583679, 0.9335805, 120, 255, 1), +(@OGUID+03, 188464, 571, 1, 1, 4764.173, -4818.161, 25.88273, 5.550147, 0, 0, -0.3583679, 0.9335805, 120, 255, 1), +(@OGUID+04, 188464, 571, 1, 1, 4785.614, -4793.256, 26.12138, 5.550147, 0, 0, -0.3583679, 0.9335805, 120, 255, 1), +(@OGUID+05, 188464, 571, 1, 1, 4848.127, -4827.709, 25.96146, 2.408554, 0, 0, 0.9335804, 0.358368, 120, 255, 1), +(@OGUID+06, 188464, 571, 1, 1, 4790.917, -4787.033, 26.19655, 5.550147, 0, 0, -0.3583679, 0.9335805, 120, 255, 1), +(@OGUID+07, 188464, 571, 1, 1, 4796.205, -4780.994, 26.19833, 5.567601, 0, 0, -0.3502073, 0.9366722, 120, 255, 1), +(@OGUID+08, 188464, 571, 1, 1, 4829.167, -4799.646, 25.96292, 3.961899, 0, 0, -0.9170599, 0.3987495, 120, 255, 1), +(@OGUID+09, 188464, 571, 1, 1, 4775.307, -4860.43, 26.52502, 0.8377575, 0, 0, 0.4067364, 0.9135455, 120, 255, 1), +(@OGUID+10, 188499, 571, 1, 1, 4783.06, -4870.042, 26.63436, 5.567601, 0, 0, -0.3502073, 0.9366722, 300, 255, 1), +(@OGUID+11, 188499, 571, 1, 1, 4776.997, -4864.7, 26.76528, 5.67232, 0, 0, -0.3007059, 0.9537169, 300, 255, 1), +(@OGUID+12, 188499, 571, 1, 1, 4804.492, -4880.459, 25.95016, 0.9250238, 0, 0, 0.4461975, 0.8949345, 300, 255, 1), +(@OGUID+13, 188499, 571, 1, 1, 4754.443, -4825.909, 26.1786, 4.01426, 0, 0, -0.9063072, 0.4226195, 300, 255, 1), +(@OGUID+14, 188499, 571, 1, 1, 4797.431, -4776.76, 26.2836, 3.979355, 0, 0, -0.9135447, 0.4067384, 300, 255, 1), +(@OGUID+15, 188499, 571, 1, 1, 4792.048, -4782.723, 26.41635, 4.049168, 0, 0, -0.8987932, 0.4383728, 300, 255, 1), +(@OGUID+16, 188499, 571, 1, 1, 4806.47, -4775.945, 26.30708, 2.373644, 0, 0, 0.9271832, 0.3746083, 300, 255, 1), +(@OGUID+17, 188499, 571, 1, 1, 4809.335, -4874.765, 26.06562, 0.8377575, 0, 0, 0.4067364, 0.9135455, 300, 255, 1), +(@OGUID+18, 188499, 571, 1, 1, 4819.935, -4862.525, 26.05573, 0.8203033, 0, 0, 0.3987484, 0.9170604, 300, 255, 1), +(@OGUID+19, 188499, 571, 1, 1, 4786.889, -4788.973, 26.3336, 4.049168, 0, 0, -0.8987932, 0.4383728, 300, 255, 1), +(@OGUID+20, 188499, 571, 1, 1, 4852.343, -4826.055, 26.06636, 0.8552105, 0, 0, 0.4146929, 0.9099615, 300, 255, 1), +(@OGUID+21, 188499, 571, 1, 1, 4845.617, -4811.589, 26.17898, 2.391098, 0, 0, 0.9304171, 0.3665025, 300, 255, 1); + +DELETE FROM `creature` WHERE `id` IN (26811,26812); +DELETE FROM `creature` WHERE `guid` IN (113208,113209); +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+00 AND @CGUID+14; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+00, 26811, 571, 1, 1, 4733.245, -4857.637, 26.4931, 2.617994, 300, 5, 1), +(@CGUID+01, 26812, 571, 1, 1, 4796.549, -4846.317, 25.50747, 4.249843, 300, 5, 1), +(@CGUID+02, 26811, 571, 1, 1, 4766.232, -4820.333, 25.69218, 2.329675, 300, 5, 1), +(@CGUID+03, 26811, 571, 1, 1, 4823.353, -4839.751, 25.7641, 1.145746, 300, 5, 1), +(@CGUID+04, 26812, 571, 1, 1, 4797.967, -4783.413, 25.99624, 4.269053, 300, 5, 1), +(@CGUID+05, 26812, 571, 1, 1, 4759.746, -4835.385, 25.90628, 3.535823, 300, 5, 1), +(@CGUID+06, 26812, 571, 1, 1, 4782.295, -4858.29, 26.10907, 4.433136, 300, 5, 1), +(@CGUID+07, 26811, 571, 1, 1, 4795.084, -4869.773, 25.85341, 3.63068, 300, 5, 1), +(@CGUID+08, 26812, 571, 1, 1, 4758.876, -4857.517, 25.89942, 3.830702, 300, 5, 1), +(@CGUID+09, 26811, 571, 1, 1, 4809.717, -4858.999, 25.77467, 4.760717, 300, 5, 1), +(@CGUID+10, 26811, 571, 1, 1, 4801.294, -4802.357, 25.66738, 5.655887, 300, 5, 1), +(@CGUID+11, 26812, 571, 1, 1, 4831.968, -4810.053, 25.6752, 4.12599, 300, 5, 1), +(@CGUID+12, 26811, 571, 1, 1, 4845.415, -4821.253, 25.65237, 4.234284, 300, 5, 1), +(@CGUID+13, 26806, 571, 1, 1, 4668.349, -4849.098, 35.56351, 3.106686, 300, 0, 0), +(@CGUID+14, 26806, 571, 1, 1, 4669.264, -4869.123, 35.5635, 3.263766, 300, 0, 0); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (26591,26811,26812); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=188464; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (26591,26811,26812) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=188464 AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=26812*100 AND `source_type`=9; +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 +(26591,0,0,0,38,0,100,0,0,1,0,0,11,47798,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Pacer Bunny - Drak Theron Exterior - On data set 0 1 - Spellcast Summon Mummy Remnants'), +(26811,0,0,1,8,0,100,0,47778,0,0,0,11,47795,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellhit Blow Snow - Spellcast Cold Cleanse'), +(26811,0,1,2,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellhit Blow Snow - Set event phase 1'), +(26811,0,2,3,61,0,100,0,0,0,0,0,18,33555200,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellhit Blow Snow - Set unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC, NOT_SELECTABLE'), +(26811,0,3,4,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellhit Blow Snow - Set run'), +(26811,0,4,0,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellhit Blow Snow - Stop combat movement'), +(26811,0,5,6,23,1,100,1,47795,0,0,0,69,1,0,0,0,0,0,20,188464,40,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellfade Cold Cleanse - Move to position Ancient Troll Mummy'), +(26811,0,6,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spellfade Cold Cleanse - Say line'), +(26811,0,7,0,34,0,100,0,0,1,0,0,80,26812*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On movement inform - Run script'), +(26811,0,8,0,11,0,100,0,0,0,0,0,91,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On spawn - Remove unit_field_bytes1 (sleep)'), +(26812,0,0,1,8,0,100,0,47778,0,0,0,11,47795,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellhit Blow Snow - Spellcast Cold Cleanse'), +(26812,0,1,2,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellhit Blow Snow - Set event phase 1'), +(26812,0,2,3,61,0,100,0,0,0,0,0,18,33555200,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellhit Blow Snow - Set unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC, NOT_SELECTABLE'), +(26812,0,3,4,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellhit Blow Snow - Set run'), +(26812,0,4,0,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellhit Blow Snow - Stop combat movement'), +(26812,0,5,6,23,1,100,1,47795,0,0,0,69,1,0,0,0,0,0,20,188464,40,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellfade Cold Cleanse - Move to position Ancient Troll Mummy'), +(26812,0,6,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spellfade Cold Cleanse - Say line'), +(26812,0,7,0,34,0,100,0,0,1,0,0,80,26812*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On movement inform - Run script'), +(26812,0,8,0,11,0,100,0,0,0,0,0,91,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On spawn - Remove unit_field_bytes1 (sleep)'), + +(188464,1,0,0,38,0,100,0,0,1,0,0,99,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Troll Mummy - On data set 0 1 - Change state (deactivated)'), +(188464,1,1,0,70,0,100,0,2,0,0,0,70,120,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Troll Mummy - On state changed - Despawn'), + +(26812*100,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,26591,5,0,0,0,0,0, 'Ancient Drakkari script - Turn to Pacer Bunny - Drak Theron Exterior'), +(26812*100,9,1,0,0,0,100,0,50,50,0,0,90,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari script - Set unit_field_bytes1 (sleep)'), +(26812*100,9,2,0,0,0,100,0,2000,2000,0,0,19,33555200,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari script - Remove unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC, NOT_SELECTABLE'), +(26812*100,9,3,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,26591,5,0,0,0,0,0, 'Ancient Drakkari script - Set data 0 1 Pacer Bunny - Drak Theron Exterior'), +(26812*100,9,4,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,20,188464,5,0,0,0,0,0, 'Ancient Drakkari script - Set data 0 1 Ancient Troll Mummy'), +(26812*100,9,5,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari script - Despawn'); + +DELETE FROM `creature_text` WHERE `entry` IN (26811,26812); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(26811,0,0,'I could sleep forever, mon....',12,0,100,0,0,0,'Ancient Drakkari Warmonger'), +(26811,0,1,'Finally, I can be restin''...',12,0,100,0,0,0,'Ancient Drakkari Warmonger'), +(26811,0,2,'Free at last, mon.',12,0,100,0,0,0,'Ancient Drakkari Warmonger'), +(26811,0,3,'Where''s mah mummy?',12,0,100,0,0,0,'Ancient Drakkari Warmonger'), +(26812,0,0,'I could sleep forever, mon....',12,0,100,0,0,0,'Ancient Drakkari Soothsayer'), +(26812,0,1,'Finally, I can be restin''...',12,0,100,0,0,0,'Ancient Drakkari Soothsayer'), +(26812,0,2,'Free at last, mon.',12,0,100,0,0,0,'Ancient Drakkari Soothsayer'), +(26812,0,3,'Where''s mah mummy?',12,0,100,0,0,0,'Ancient Drakkari Soothsayer'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_08_00_world_borrowed_technology.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_08_00_world_borrowed_technology.sql new file mode 100644 index 00000000000..06363183836 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_08_00_world_borrowed_technology.sql @@ -0,0 +1,58 @@ +-- Fix quests Borrowed Technology, The Solution Solution /Daily/, Volatility, Volatility /Daily/ +-- thanks to genjush for corrections on wrong quest ids +SET @Skytalon := 31583; -- Frostbrood Skytalon +SET @Decoy := 31578; -- Armored Decoy +SET @QuestCredit := 59329; -- Fake Soldier Kill Credit +SET @Stun := 59292; -- Freeze animation to look like Decoy +SET @Explosion := 59335; -- The spell that should kill Skytalon and Decoy +SET @Summon := 59303; -- Summon Skyatalon +SET @Immolation := 54690; -- Skytalon burning animation spell +SET @Grab := 59318; +SET @Bunny := 31630; +SET @PingBunny := 59375; -- Skytalon cast on accessory bunny to tell it to explode after 6 seconds +SET @Script := @Bunny * 100; -- Explosion bunny timed action list + +-- Set inhabit type only 4 to Explosion Bunny that is a vehicle accessory of the Skytalon, otherwise it falls and add "Smart_AI" +UPDATE `creature_template` SET `InhabitType`=4,`AIName`='SmartAI',`flags_extra`=flags_extra|128 WHERE `entry`=@Bunny; +UPDATE `creature_template` SET `unit_flags`=unit_flags|0x00000100|0x00008000,`faction_A`=974,`faction_H`=974,`vehicleId`=279,`InhabitType`=4,`AIName`='',`ScriptName`='npc_frostbrood_skytalon',`HoverHeight`=5 WHERE `entry`=@Skytalon; +UPDATE `creature_template` SET `unit_flags`=unit_flags|0x00000100|0x00008000,`faction_A`=190,`faction_H`=190,`AIName`='SmartAI' WHERE `entry`=@Decoy; + +-- Add missing equipment +DELETE FROM `creature_equip_template` WHERE `entry`=@Decoy; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@Decoy,1,21573,0,0); -- Armored Decoy -> Monster - Sword, 1H Alliance PvP + +-- Add creature_addon data +DELETE FROM `creature_template_addon` WHERE `entry`=@Skytalon; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@Skytalon,0,0,50331648,1,0, '60534'); + +-- Insert spell_script names +DELETE FROM `spell_script_names` WHERE `spell_id` IN (@Grab,@Summon); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(@Grab, 'spell_q13291_q13292_q13239_q13261_frostbrood_skytalon_grab_decoy'), +(@Summon, 'spell_q13291_q13292_q13239_q13261_armored_decoy_summon_skytalon'); + +-- Quests relations +UPDATE `quest_template` SET `PrevQuestId`=13290,`NextQuestId`=13383 WHERE `id`=13291; -- Borrowed Technology +UPDATE `quest_template` SET `PrevQuestId`=13291,`NextQuestId`=0 WHERE `id`=13292; -- The Solution Solution /Daily/ +UPDATE `quest_template` SET `PrevQuestId`=13238,`NextQuestId`=13379 WHERE `id`=13239; -- Volatility +UPDATE `quest_template` SET `PrevQuestId`=13329,`NextQuestId`=0 WHERE `id`=13261; -- Volatiliy /Daily/ + +-- Add SAI support for Explosion bunny and Decoy +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@Bunny,@Decoy); +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@Script; +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 +(@Bunny,0,0,0,8,0,100,0,@PingBunny,0,0,0,80,@Script,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Explosion Bunny - On hit by ping bunny - Start timed action list'), +(@Script,9,0,0,0,0,100,0,6000,6000,0,0,11,@Explosion,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Explosion Bunny - Action 0 - Cast explosion on self'), +(@Decoy,0,0,1,54,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Armored Decoy - On just summoned - Store invoker /since target summoner fails/'), +(@Decoy,0,1,2,61,0,100,0,0,0,0,0,11,@Stun,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Armored Decoy - Linked - Cast Freeze animation on self'), +(@Decoy,0,2,0,61,0,100,0,0,0,0,0,11,@Summon,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Armored Decoy - Linked - Cast summon Skytalon behind'), +(@Decoy,0,3,0,8,0,100,0,@Explosion,0,0,0,11,@QuestCredit,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Armored Decoy - On hit by explosion - Cast kill credit to stored target'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (@Explosion,@PingBunny); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,@Explosion,0,0,31,0,3,@Decoy,0,0,0,0,'', 'Explosion Bunny can hit Armored Decoy'), +(13,1,@Explosion,0,1,31,0,3,@Skytalon,0,0,0,0,'', 'Explosion Bunny can hit Skytalon'), +(13,1,@PingBunny,0,0,31,0,3,@Bunny,0,0,0,0,'', 'Ping Bunny can hit only Explosion Bunny'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_00_world_misc.sql new file mode 100644 index 00000000000..61e4378a038 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_00_world_misc.sql @@ -0,0 +1,3 @@ +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (26811,26812); +DELETE FROM `pool_creature` WHERE `pool_entry`=1077; +DELETE FROM `pool_template` WHERE `entry`=1077; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_01_world_gameobject_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_01_world_gameobject_template.sql new file mode 100644 index 00000000000..229ad5f49a5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_01_world_gameobject_template.sql @@ -0,0 +1,2 @@ +-- Update some gameobject data that is correct in WDB, but parsed wrong for some reason +UPDATE `gameobject_template` SET `faction`=35,`data17`=1,`data18`=0 WHERE `entry`=193908; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_02_world_command_deserter.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_02_world_command_deserter.sql new file mode 100644 index 00000000000..62b60e973c7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_02_world_command_deserter.sql @@ -0,0 +1,11 @@ +DELETE FROM `command` WHERE `name` IN +("deserter instance add", +"deserter instance remove", +"deserter bg add", +"deserter bg remove"); + +INSERT INTO `command` (`name`, `security`, `help`) VALUES +("deserter instance add", 3, "Syntax: .deserter instance add $time \n\n Adds the instance deserter debuff to your target with $time duration."), +("deserter instance remove", 3, "Syntax: .deserter instance remove \n\n Removes the instance deserter debuff from your target."), +("deserter bg add", 3, "Syntax: .deserter bg add $time \n\n Adds the bg deserter debuff to your target with $time duration."), +("deserter bg remove", 3, "Syntax: .deserter bg remove \n\n Removes the bg deserter debuff from your target."); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_03_world_trinity_string.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_03_world_trinity_string.sql new file mode 100644 index 00000000000..3e93289711a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_03_world_trinity_string.sql @@ -0,0 +1,5 @@ +UPDATE `trinity_string` SET `content_default`='Map: %u (%s) Zone: %u (%s) Area: %u (%s) Phase: %u +X: %f Y: %f Z: %f Orientation: %f +grid[%u,%u]cell[%u,%u] InstanceID: %u + ZoneX: %f ZoneY: %f +GroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u MMap: %u)' WHERE `entry`=101; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_04_world_trinity_string.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_04_world_trinity_string.sql new file mode 100644 index 00000000000..dea2a044c99 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_04_world_trinity_string.sql @@ -0,0 +1,4 @@ +UPDATE `trinity_string` SET `content_default`='Unit Flags: %u. +Unit Flags 2: %u. +Dynamic Flags: %u. +Faction Template: %u.' WHERE `entry`=542; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_05_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_05_world_misc.sql new file mode 100644 index 00000000000..0384f435c16 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_09_05_world_misc.sql @@ -0,0 +1,230 @@ +SET @ADARRAH := 24405; +SET @WARMONGER := 26811; +SET @SOOTHSAYER := 26812; +SET @HARRISON := 26814; +SET @TECAHUNA := 26865; +SET @MUMMY_BUNNY := 26867; + +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@TECAHUNA; +DELETE FROM `creature_equip_template` WHERE `entry`=@HARRISON; + +UPDATE `gameobject` SET `state`=1 WHERE `id`=188465; +UPDATE `gameobject` SET `state`=0 WHERE `id`=188480; + +UPDATE `creature` SET `equipment_id`=0 WHERE `id`=@HARRISON; +DELETE FROM `creature` WHERE `guid`=86444; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(86444, @ADARRAH, 571, 1, 1, 4912.768, -4797.917, 32.68771, 3.595378, 300, 0, 0); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (@WARMONGER,@SOOTHSAYER,@MUMMY_BUNNY); +INSERT INTO `creature_template_addon` (`entry`,`auras`) VALUES +(@WARMONGER,'17327'), +(@SOOTHSAYER,'17327'), +(@MUMMY_BUNNY,'48150'); + +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry`=@ADARRAH; +UPDATE `creature_template` SET `dmg_multiplier`=5 WHERE `entry`=@HARRISON; +UPDATE `creature_template` SET `faction_A`=14, `faction_H`=14, `unit_flags`=768, `dmg_multiplier`=6, `AIName`='SmartAI' WHERE `entry`=@TECAHUNA; +UPDATE `creature_template` SET `faction_A`=14, `faction_H`=14 WHERE `entry`=26871; +UPDATE `creature_template` SET `unit_flags`=33554688, `flags_extra`=128 WHERE `entry`=@MUMMY_BUNNY; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@ADARRAH,@HARRISON,@MUMMY_BUNNY); +UPDATE `gameobject_template` SET `flags`=2 WHERE `entry` IN (188472,188487); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@ADARRAH,@HARRISON,@TECAHUNA,@MUMMY_BUNNY) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@WARMONGER AND `source_type`=0 AND `id`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SOOTHSAYER AND `source_type`=0 AND `id` BETWEEN 9 AND 18; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@ADARRAH*100,@HARRISON*100,@HARRISON*100+1,@HARRISON*100+2,@HARRISON*100+3,@HARRISON*100+4,@TECAHUNA*100) AND `source_type`=9; +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 +(@ADARRAH,0,0,0,38,0,100,0,0,1,0,0,80,@ADARRAH*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Adarrah - On data set 0 1 - Run script'), +(@ADARRAH,0,1,0,40,0,100,0,6,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Adarrah - On WP reached - Despawn'), + +(@WARMONGER,0,9,0,0,0,100,0,5000,7000,8000,12000,11,50370,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Ancient Drakkari Warmonger - On update IC - Spellcast Sunder Armor'), +(@SOOTHSAYER,0,9,10,4,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On aggro - Set event phase 2'), +(@SOOTHSAYER,0,10,0,61,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On aggro - Stop combat movement'), +(@SOOTHSAYER,0,11,0,0,2,100,0,0,0,3400,4800,11,9734,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On update IC (phase 2) - Spellcast Holy Smite'), +(@SOOTHSAYER,0,12,13,9,2,100,0,35,80,0,0,22,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On target range 35y and more - Set event phase 3'), +(@SOOTHSAYER,0,13,0,61,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On target range 40y and more - Start combat movement'), +(@SOOTHSAYER,0,14,10,9,0,100,0,5,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On target range below 15y - Set event phase 2'), +(@SOOTHSAYER,0,15,13,9,0,100,0,0,5,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On target range below 15y - Set event phase 2'), +(@SOOTHSAYER,0,16,13,3,0,100,0,0,7,0,0,22,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On mana below 7% - Set event phase 4'), +(@SOOTHSAYER,0,17,13,3,8,100,0,15,100,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On mana over 15% (phase 4) - Set event phase 2'), +(@SOOTHSAYER,0,18,0,7,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Ancient Drakkari Soothsayer - On evade - Set event phase 0'), + +(@HARRISON,0,0,1,11,0,100,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On spawn - Reset faction'), +(@HARRISON,0,1,2,61,0,100,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On spawn - Set invincibility 1HP'), +(@HARRISON,0,2,0,61,0,100,0,0,0,0,0,71,0,3,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On spawn - Remove equip'), +(@HARRISON,0,3,4,19,0,100,0,12082,0,0,0,80,@HARRISON*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On quest accept - Run script 0'), +(@HARRISON,0,4,0,61,0,100,0,0,0,0,0,64,1,0,0,0,0,0,16,0,0,0,0,0,0,0, 'Harrison Jones - On quest accept - Store target list'), +(@HARRISON,0,5,6,40,0,100,0,7,@HARRISON,0,0,54,8500,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 7 reached - Pause WP movement 8.5 seconds'), +(@HARRISON,0,6,0,61,0,100,0,0,0,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 7 reached - Say line'), +(@HARRISON,0,7,0,52,0,100,0,1,@HARRISON,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On text over - Say line'), +(@HARRISON,0,8,9,40,0,100,0,9,@HARRISON,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 9 reached - Pause WP movement 12 seconds'), +(@HARRISON,0,9,0,61,0,100,0,0,0,0,0,80,@HARRISON*100+1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 9 reached - Run script 1'), +(@HARRISON,0,10,11,40,0,100,0,11,@HARRISON,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 11 reached - Pause WP movement 18 seconds'), +(@HARRISON,0,11,0,61,0,100,0,0,0,0,0,80,@HARRISON*100+2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 11 reached - Run script 2'), +(@HARRISON,0,12,13,40,0,100,0,13,@HARRISON,0,0,54,4600,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 13 reached - Pause WP movement 4.5 seconds'), +(@HARRISON,0,13,0,61,0,100,0,0,0,0,0,1,4,4600,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 13 reached - Say line'), +(@HARRISON,0,14,0,52,0,100,0,4,@HARRISON,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On text over - Say line'), +(@HARRISON,0,15,0,40,0,100,0,16,@HARRISON,0,0,9,0,0,0,0,0,0,20,188480,50,0,0,0,0,0, 'Harrison Jones - On WP 16 reached - Activate Grizzly Hills - FireDoor01'), +(@HARRISON,0,16,17,40,0,100,0,17,@HARRISON,0,0,54,500,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 17 reached - Say line'), +(@HARRISON,0,17,0,61,0,100,0,0,0,0,0,12,@TECAHUNA,2,300000,0,0,0,8,0,0,0,4906.587,-4818.92,32.63929,2.530727, 'Harrison Jones - On WP 17 reached - Summon Tecahuna'), +(@HARRISON,0,18,0,40,0,100,0,18,@HARRISON,0,0,80,@HARRISON*100+3,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 18 reached - Run script'), +(@HARRISON,0,19,20,2,0,100,1,0,0.0014,0,0,32,0,0,0,0,0,0,20,188480,50,0,0,0,0,0, 'Harrison Jones - On health below 0.0014% - Activate Grizzly Hills - FireDoor01'), +(@HARRISON,0,20,21,61,0,100,0,0,0,0,0,6,12082,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Harrison Jones - On health below 0.0014% - Fail quest'), +(@HARRISON,0,21,0,61,0,100,0,0,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On health below 0.0014% - Die'), +(@HARRISON,0,22,23,56,0,100,0,17,@HARRISON,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 17 resumed - Say line'), +(@HARRISON,0,23,0,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 17 resumed - Set run'), +(@HARRISON,0,24,0,38,0,100,0,0,1,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On data set 0 1 - Set event phase 1'), +(@HARRISON,0,25,0,7,1,100,0,0,0,0,0,80,@HARRISON*100+4,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On homeposition (phase 1) - Run script'), +(@HARRISON,0,26,27,40,0,100,0,21,@HARRISON*10,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 21 reached - Pause WP movement 6 seconds'), +(@HARRISON,0,27,0,61,0,100,0,0,0,0,0,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 21 reached - Say line'), +(@HARRISON,0,28,29,56,0,100,0,21,@HARRISON*10,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 21 resumed - Set run'), +(@HARRISON,0,29,0,61,0,100,0,0,0,0,0,15,12082,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Harrison Jones - On WP 21 resumed - Quest credit'), +(@HARRISON,0,30,0,40,0,100,0,25,@HARRISON*10,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On WP 25 reached - Despawn'), +(@HARRISON,0,31,0,4,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones - On aggro - Set reaction hostile'), + +(@TECAHUNA,0,0,1,54,0,100,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Just summoned - Set invincibility 1HP'), +(@TECAHUNA,0,1,2,61,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Just summoned - Root'), +(@TECAHUNA,0,2,3,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Just summoned - Set event phase 1'), +(@TECAHUNA,0,3,0,61,0,100,0,0,0,0,0,80,@TECAHUNA*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Just summoned - Run script'), +(@TECAHUNA,0,4,5,0,0,100,0,20000,25000,20000,30000,11,47601,0,0,0,0,0,19,@MUMMY_BUNNY,60,0,0,0,0,0, 'Tecahuna - On update IC - Spellcast Cosmetic - Tecahuna Spirit Beam'), +(@TECAHUNA,0,5,0,61,0,100,0,0,0,0,0,11,47601,0,0,0,0,0,19,@MUMMY_BUNNY,60,0,0,0,0,0, 'Tecahuna - On update IC - Spellcast Cosmetic - Tecahuna Spirit Beam'), +(@TECAHUNA,0,6,7,2,0,100,1,0,0.002,0,0,9,0,0,0,0,0,0,20,188480,50,0,0,0,0,0, 'Tecahuna - On health below 0.002% - Activate Grizzly Hills - FireDoor01'), +(@TECAHUNA,0,7,8,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@HARRISON,50,0,0,0,0,0, 'Tecahuna - On health below 0.002% - Set data 0 1 Harrison Jones'), +(@TECAHUNA,0,8,9,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,11,@MUMMY_BUNNY,50,0,0,0,0,0, 'Tecahuna - On health below 0.002% - Set data 0 1 Mummy Effect Bunny'), +(@TECAHUNA,0,9,0,61,0,100,0,0,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On health below 0.002% - Die'), +(@TECAHUNA,0,10,0,7,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On evade - Set event phase 1'), +(@TECAHUNA,0,11,0,0,3,100,0,0,0,8000,9000,11,47629,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Tecahuna - On update IC (phase 1+2) - Spellcast Tecahuna Venom Spit'), +(@TECAHUNA,0,12,14,9,1,100,0,40,80,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On target range more than 40y (phase 1) - Unroot'), +(@TECAHUNA,0,13,14,9,0,100,0,0,5,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On target range below 5y - Unroot'), +(@TECAHUNA,0,14,0,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Linked - Set event phase 2'), +(@TECAHUNA,0,15,16,3,0,100,0,0,7,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On mana below 7% (phase 1) - Unroot'), +(@TECAHUNA,0,16,0,61,0,100,0,0,0,0,0,22,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Linked - Set event phase 3'), +(@TECAHUNA,0,17,19,9,0,100,0,5,15,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On target range below 15y - Root'), +(@TECAHUNA,0,18,19,3,4,100,0,15,100,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - On mana 15% (phase 3) - Unroot'), +(@TECAHUNA,0,19,0,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna - Linked - Set event phase 1'), + +(@MUMMY_BUNNY,0,0,0,8,0,100,0,47601,0,0,0,11,47602,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mummy Effect Bunny - On spellhit Cosmetic - Tecahuna Spirit Beam - Spellcast Summon Ancient Drakkari King'), +(@MUMMY_BUNNY,0,1,0,38,0,100,0,0,1,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mummy Effect Bunny - On spellhit Cosmetic - On data set 0 1 - Despawn'), + +(@ADARRAH*100,9,0,0,0,0,100,0,2000,2000,0,0,5,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Adarrah script - Play emote'), +(@ADARRAH*100,9,1,0,0,0,100,0,1900,1900,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Adarrah script - Say line'), +(@ADARRAH*100,9,2,0,0,0,100,0,1000,1000,0,0,53,1,@ADARRAH,0,0,0,0,1,0,0,0,0,0,0,0, 'Adarrah script - Start WP movement'), + +(@HARRISON*100,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 0 - Say line'), +(@HARRISON*100,9,1,0,0,0,100,0,500,500,0,0,9,0,0,0,0,0,0,20,188465,5,0,0,0,0,0, 'Harrison Jones script 0 - Activate Harrison''s Cage'), +(@HARRISON*100,9,2,0,0,0,100,0,0,0,0,0,2,250,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 0 - Set faction'), +(@HARRISON*100,9,3,0,0,0,100,0,0,0,0,0,71,0,2,0,2081,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 0 - Equip'), +(@HARRISON*100,9,4,0,0,0,100,0,0,0,0,0,83,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 0 - Remove npcflag gossip'), +(@HARRISON*100,9,5,0,0,0,100,0,2500,2500,0,0,53,0,@HARRISON,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 0 - Start WP movement'), +(@HARRISON*100,9,6,0,0,0,100,0,7000,7000,0,0,9,0,0,0,0,0,0,20,188465,50,0,0,0,0,0, 'Harrison Jones script 0 - Activate Harrison''s Cage'), + +(@HARRISON*100+1,9,0,0,0,0,100,0,0,0,0,0,17,133,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 1 - Play emote'), +(@HARRISON*100+1,9,1,0,0,0,100,0,2500,2500,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 1 - Stop emote'), +(@HARRISON*100+1,9,2,0,0,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 1 - Say line'), +(@HARRISON*100+1,9,3,0,0,0,100,0,0,0,0,0,9,0,0,0,0,0,0,20,188487,5,0,0,0,0,0, 'Harrison Jones script 1 - Activate Adarra''s Cage'), +(@HARRISON*100+1,9,4,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@ADARRAH,5,0,0,0,0,0, 'Harrison Jones script 1 - Set data 0 1 Adarra''s Cage'), +(@HARRISON*100+1,9,5,0,0,0,100,0,10000,10000,0,0,9,0,0,0,0,0,0,20,188487,5,0,0,0,0,0, 'Harrison Jones script 1 - Activate Adarra''s Cage'), + +(@HARRISON*100+2,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6.143559, 'Harrison Jones script 2 - Set orientation'), +(@HARRISON*100+2,9,1,0,0,0,100,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Set unit_field_bytes1 (kneel)'), +(@HARRISON*100+2,9,2,0,0,0,100,0,2400,2400,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.677482, 'Harrison Jones script 2 - Set orientation'), +(@HARRISON*100+2,9,3,0,0,0,100,0,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Remove unit_field_bytes1 (kneel)'), +(@HARRISON*100+2,9,4,0,0,0,100,0,0,0,0,0,71,0,1,32246,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Equip'), +(@HARRISON*100+2,9,5,0,0,0,100,0,2500,2500,0,0,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Play emote'), +(@HARRISON*100+2,9,6,0,0,0,100,0,0,0,0,0,4,12827,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Play sound'), +(@HARRISON*100+2,9,7,0,0,0,100,0,0,0,0,0,11,47533,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Spellcast Camera Shake'), +(@HARRISON*100+2,9,8,0,0,0,100,0,2500,2500,0,0,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Play emote'), +(@HARRISON*100+2,9,9,0,0,0,100,0,0,0,0,0,4,12827,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Play sound'), +(@HARRISON*100+2,9,10,0,0,0,100,0,0,0,0,0,11,47533,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Spellcast Camera Shake'), +(@HARRISON*100+2,9,11,0,0,0,100,0,2500,2500,0,0,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Play emote'), +(@HARRISON*100+2,9,12,0,0,0,100,0,0,0,0,0,4,12827,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Play sound'), +(@HARRISON*100+2,9,13,0,0,0,100,0,0,0,0,0,11,47533,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 2 - Spellcast Camera Shake'), +(@HARRISON*100+2,9,14,0,0,0,100,0,2000,2000,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4902.228,-4827.556,32.61251,2.443461, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,15,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4876.608,-4805.581,32.58254,6.178465, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,16,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4877.39,-4815.752,32.58345,0.1570796, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,17,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4883.104,-4823.975,32.58836,0.8726646, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,18,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4892.313,-4828.58,32.59582,1.570796, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,19,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4908.681,-4794.352,32.67061,3.979351, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,20,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4899.539,-4789.862,32.59812,4.764749, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,21,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4889.959,-4790.646,32.59848,5.201081, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,22,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4914.76,-4813.242,32.58661,3.01942, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), +(@HARRISON*100+2,9,23,0,0,0,100,0,0,0,0,0,12,@MUMMY_BUNNY,2,300000,0,0,0,8,0,0,0,4914.13,-4802.799,32.66964,3.420845, 'Harrison Jones script 2 - Summon Mummy Effect Bunny'), + +(@HARRISON*100+3,9,0,0,0,0,100,0,0,0,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 3 - Say line'), +(@HARRISON*100+3,9,1,0,0,0,100,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 3 - Set homeposition'), +(@HARRISON*100+3,9,2,0,0,0,100,0,7200,7200,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 3 - Say line'), +(@HARRISON*100+3,9,3,0,0,0,100,0,6000,6000,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 3 - Start attack'), + +(@HARRISON*100+4,9,0,0,0,0,100,0,1000,1000,0,0,53,1,@HARRISON*10,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 4 - Start WP movement'), +(@HARRISON*100+4,9,1,0,0,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Harrison Jones script 4 - Set event phase 0'), + +(@TECAHUNA*100,9,0,0,0,0,100,0,15300,15300,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tecahuna script - Remove unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC'), +(@TECAHUNA*100,9,1,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,19,@HARRISON,30,0,0,0,0,0, 'Tecahuna script - Start attack'); + +DELETE FROM `creature_text` WHERE `entry` IN (@ADARRAH,@HARRISON); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@ADARRAH,0,0,'Thank you!',12,0,100,17,0,0,'Adarrah'), +(@HARRISON,0,0,'Alright, kid. Stay behind me and you''ll be fine.',12,0,100,60,0,0,'Harrison Jones'), +(@HARRISON,1,0,'Their ceremonial chamber, where I was to be sacrificed...',12,0,100,396,0,0,'Harrison Jones'), +(@HARRISON,2,0,'Time to put an end to all this!',12,0,100,0,0,0,'Harrison Jones'), +(@HARRISON,3,0,'You''re free to go, miss.',12,0,100,0,0,0,'Harrison Jones'), +(@HARRISON,4,0,'Odd. That usually does it.',12,0,100,396,0,0,'Harrison Jones'), +(@HARRISON,5,0,'Just as well, I''ve had enough of this place.',12,0,100,0,0,0,'Harrison Jones'), +(@HARRISON,6,0,'What''s this?',12,0,100,0,0,0,'Harrison Jones'), +(@HARRISON,7,0,'Aww, not a snake!',12,0,100,0,0,0,'Harrison Jones'), +(@HARRISON,8,0,'Listen, kid. I can handle this thing. You just watch my back!',12,0,100,0,0,0,'Harrison Jones'), +(@HARRISON,9,0,'See ya ''round, kid!',12,0,100,0,0,0,'Harrison Jones'); + +DELETE FROM `waypoints` WHERE `entry` IN (@ADARRAH,@HARRISON,@HARRISON*10); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@ADARRAH, 1,4902.543, -4798.52, 31.8586,'Adarrah'), +(@ADARRAH, 2,4893.144, -4795.715, 32.28691,'Adarrah'), +(@ADARRAH, 3,4887.894, -4793.465, 32.53691,'Adarrah'), +(@ADARRAH, 4,4878.785, -4793.664, 32.5359,'Adarrah'), +(@ADARRAH, 5,4863.294, -4785.226, 32.60138,'Adarrah'), +(@ADARRAH, 6,4839.031, -4774.794, 32.58206,'Adarrah'), + +(@HARRISON, 1,4904.213, -4758.285, 27.27473,'Harrison Jones'), +(@HARRISON, 2,4896.463, -4755.535, 27.27473,'Harrison Jones'), +(@HARRISON, 3,4893.663, -4754.357, 27.23306,'Harrison Jones'), +(@HARRISON, 4,4886.543, -4762.921, 27.57825,'Harrison Jones'), +(@HARRISON, 5,4880.44, -4770.725, 30.70074,'Harrison Jones'), +(@HARRISON, 6,4876.696, -4790.863, 32.32729,'Harrison Jones'), +(@HARRISON, 7,4878.253, -4793.774, 32.53423,'Harrison Jones'), +(@HARRISON, 8,4882.602, -4795.872, 32.30199,'Harrison Jones'), +(@HARRISON, 9,4909.493, -4798.01, 32.54974,'Harrison Jones'), +(@HARRISON,10,4907.815, -4804.193, 31.78963,'Harrison Jones'), +(@HARRISON,11,4914.756, -4823.07, 32.66446,'Harrison Jones'), +(@HARRISON,12,4913.032, -4822.288, 32.63041,'Harrison Jones'), +(@HARRISON,13,4909.308, -4821.506, 32.59636,'Harrison Jones'), +(@HARRISON,14,4893.949, -4813.76, 31.7795,'Harrison Jones'), +(@HARRISON,15,4887.193, -4808.022, 32.0295,'Harrison Jones'), +(@HARRISON,16,4886.381, -4806.938, 32.29276,'Harrison Jones'), +(@HARRISON,17,4883.646, -4798.885, 32.57867,'Harrison Jones'), +(@HARRISON,18,4899.398, -4806.076, 32.02951,'Harrison Jones'), + +(@HARRISON*10, 1,4893.088, -4802.876, 32.0295,'Harrison Jones'), +(@HARRISON*10, 2,4881.008, -4795.617, 32.50804,'Harrison Jones'), +(@HARRISON*10, 3,4857.754, -4778.792, 32.6265,'Harrison Jones'), +(@HARRISON*10, 4,4837.625, -4774.61, 32.5914,'Harrison Jones'), +(@HARRISON*10, 5,4817.824, -4790.486, 25.46436,'Harrison Jones'), +(@HARRISON*10, 6,4826.314, -4827.564, 25.48946,'Harrison Jones'), +(@HARRISON*10, 7,4826.336, -4841.321, 25.48413,'Harrison Jones'), +(@HARRISON*10, 8,4809.195, -4851.308, 25.52775,'Harrison Jones'), +(@HARRISON*10, 9,4781.125, -4849.693, 25.44121,'Harrison Jones'), +(@HARRISON*10,10,4761.496, -4853.984, 25.00991,'Harrison Jones'), +(@HARRISON*10,11,4719.89, -4857.747, 26.13666,'Harrison Jones'), +(@HARRISON*10,12,4693.853, -4858.84, 32.49986,'Harrison Jones'), +(@HARRISON*10,13,4680.416, -4861.247, 35.56741,'Harrison Jones'), +(@HARRISON*10,14,4673.966, -4864.334, 35.56741,'Harrison Jones'), +(@HARRISON*10,15,4662.382, -4882.535, 35.58759,'Harrison Jones'), +(@HARRISON*10,16,4658.195, -4895.924, 36.19548,'Harrison Jones'), +(@HARRISON*10,17,4656.812, -4915.515, 43.78271,'Harrison Jones'), +(@HARRISON*10,18,4659.832, -4928.781, 47.82988,'Harrison Jones'), +(@HARRISON*10,19,4664.121, -4942.443, 48.00279,'Harrison Jones'), +(@HARRISON*10,20,4666.967, -4951.508, 48.10587,'Harrison Jones'), +(@HARRISON*10,21,4675.692, -4970.227, 47.64427,'Harrison Jones'), +(@HARRISON*10,22,4681.637, -4973.975, 46.74993,'Harrison Jones'), +(@HARRISON*10,23,4707.978, -4997.285, 40.70398,'Harrison Jones'), +(@HARRISON*10,24,4712.889, -5002.176, 39.12014,'Harrison Jones'), +(@HARRISON*10,25,4739.859, -5031.481, 31.18226,'Harrison Jones'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_10_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_10_00_world_misc.sql new file mode 100644 index 00000000000..cd8b7215e39 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_10_00_world_misc.sql @@ -0,0 +1,40 @@ +SET @SWIFTSPEAR := 30395; +SET @GOSSIP :=9906; + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(@GOSSIP,0,0,'I am sorry to disturb your rest, chieftain, but your brother''s spirit may be in danger. Would you tell me what you remember of him?',1,1,0,0,0,0,''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=@GOSSIP AND `SourceEntry`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,@GOSSIP,0,0,0,9,0,13037,0,0,0,0,'','Show gossip option only if player has quest Memories of Stormhoof'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@SWIFTSPEAR; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SWIFTSPEAR AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SWIFTSPEAR*100 AND `source_type`=9; +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 +(@SWIFTSPEAR,0,0,1,62,0,100,0,@GOSSIP,0,0,0,11,56760,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Chieftain Swiftspear - On gossip select - Spellcast Trigger Swiftspear Signal'), +(@SWIFTSPEAR,0,1,2,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Chieftain Swiftspear - On gossip select - Close gossip'), +(@SWIFTSPEAR,0,2,0,61,0,100,0,0,0,0,0,80,@SWIFTSPEAR*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear - On gossip select - Run script'), + +(@SWIFTSPEAR*100,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,1,0,0,0,100,0,0,0,0,0,83,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Remove npcflag gossip'), +(@SWIFTSPEAR*100,9,2,0,0,0,100,0,6800,6800,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,3,0,0,0,100,0,6000,6000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,4,0,0,0,100,0,6000,6000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,5,0,0,0,100,0,6100,6100,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,6,0,0,0,100,0,7200,7200,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,7,0,0,0,100,0,6000,6000,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Say line'), +(@SWIFTSPEAR*100,9,8,0,0,0,100,0,3600,3600,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Play emote'), +(@SWIFTSPEAR*100,9,9,0,0,0,100,0,2700,2700,0,0,82,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Add npcflag gossip'), +(@SWIFTSPEAR*100,9,10,0,0,0,100,0,0,0,0,0,33,30381,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Chieftain Swiftspear script - Quest credit'); + +DELETE FROM `creature_text` WHERE `entry`=@SWIFTSPEAR; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@SWIFTSPEAR,0,0,'My brother, Stormhoof, was a far greater warrior than I. While I trained to be the chieftain of our clan, he prepared for a larger quest.',12,0,100,1,0,0,'Chieftain Swiftspear'), +(@SWIFTSPEAR,1,0,'How could he be in danger? All he wanted was to give us power over the elements that made life harsh for us here.',12,0,100,1,0,0,'Chieftain Swiftspear'), +(@SWIFTSPEAR,2,0,'He sought an artifact... a horn, I think. He left the village on a long journey in search of it.',12,0,100,6,0,0,'Chieftain Swiftspear'), +(@SWIFTSPEAR,3,0,'I know that a terrible enemy pursued him after he won the horn, but I... I don''t recall... what happened... next.',12,0,100,5,0,0,'Chieftain Swiftspear'), +(@SWIFTSPEAR,4,0,'It is as though my memories are shrouded in mist. I cannot even recall what became of my brother. Is this how you mean that he is in danger?',12,0,100,274,0,0,'Chieftain Swiftspear'), +(@SWIFTSPEAR,5,0,'The disturbances in the tomb, they must be involved. Look around you, $N. Do you see them?',12,0,100,25,0,0,'Chieftain Swiftspear'), +(@SWIFTSPEAR,6,0,'Yes, they are at fault, but I am powerless to stop them. Will you warn the people of Tunka''lo, stranger, that their past and their ancestors are in danger?',12,0,100,1,0,0,'Chieftain Swiftspear'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_11_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_11_00_world_misc.sql new file mode 100644 index 00000000000..58b38397b9f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_11_00_world_misc.sql @@ -0,0 +1,18 @@ +SET @BAT := 23959; +SET @BUNNY := 24230; + +UPDATE `creature_template` SET `AIName`='SmartAI', `flags_extra`=`flags_extra`|128 WHERE `entry`=@BUNNY; +UPDATE `creature_template` SET `inhabitType`=4, `AIName`='SmartAI' WHERE `entry`=@BAT; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@BAT,@BUNNY) 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 +(@BAT,0,0,0,38,0,100,0,0,1,0,0,69,1,0,0,0,0,0,19,@BUNNY,50,0,0,0,0,0,'Darkclaw Bat - On data set 0 1 - Move to position'), +(@BAT,0,1,0,34,0,100,0,0,1,0,0,45,0,1,0,0,0,0,19,@BUNNY,5,0,0,0,0,0,'Darkclaw Bat - On movement inform - Spellcast Scare the Guano Out of Them!: Cast Spell 1 On Target''s Master'), +(@BUNNY,0,0,1,54,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Firecracker Bunny - Just summoned - Root'), +(@BUNNY,0,1,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@BAT,50,0,0,0,0,0,'Firecracker Bunny - Just summoned - Set data 0 1 Darkclaw Bat'), +(@BUNNY,0,2,0,38,0,100,0,0,1,0,0,11,62068,0,0,0,0,0,1,0,0,0,0,0,0,0,'Firecracker Bunny - On spellhit Scare the Guano Out of Them!: Cast Spell 1 On Target''s Master - Crosscast owner Scare the Guano Out of Them!: Cast Spell 1 On Target''s Master'), +(@BUNNY,0,3,0,8,0,100,0,62068,0,0,0,86,43307,0,23,0,0,0,0,0,0,0,0,0,0,0,'Firecracker Bunny - On spellhit Scare the Guano Out of Them!: Cast Spell 1 On Target''s Master - Crosscast owner Scare the Guano Out of Them!: Cast Spell 1 On Target''s Master'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=43307; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,43307,0,0,31,0,3,@BUNNY,0,0,0,'','Spell Scare the Guano Out of Them!: Summon Darkclaw Guano targets Firecracker Bunny'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_11_01_world_playercreateinfo_spell.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_11_01_world_playercreateinfo_spell.sql new file mode 100644 index 00000000000..3a8f0501916 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_11_01_world_playercreateinfo_spell.sql @@ -0,0 +1,558 @@ +-- playercreateinfo_spell +TRUNCATE TABLE `playercreateinfo_spell`; + +ALTER TABLE `playercreateinfo_spell` + CHANGE `race` `racemask` INT(10) UNSIGNED DEFAULT 0 NOT NULL, + CHANGE `class` `classmask` INT(10) UNSIGNED DEFAULT 0 NOT NULL; + +ALTER TABLE `playercreateinfo_spell_custom` + CHANGE `race` `racemask` INT(10) UNSIGNED DEFAULT 0 NOT NULL, + CHANGE `class` `classmask` INT(10) UNSIGNED DEFAULT 0 NOT NULL; + +INSERT INTO `playercreateinfo_spell` (`racemask`, `classmask`, `Spell`, `Note`) VALUES +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 78, "Heroic Strike"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 81, "Dodge"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Shaman +(0x6FF, 0x43, 107, "Block"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Hunter, Death Knight +(0x6FF, 0x25, 196, "One-Handed Axes"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Priest, Shaman, Druid +(0x6FF, 0x453, 198, "One-Handed Maces"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Death Knight +(0x6FF, 0x27, 201, "One-Handed Swords"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 203, "Unarmed"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 204, "Defense"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 522, "SPELLDEFENSE (DND)"), +-- Races: Human, Dwarf, Night elf, Gnome, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x44D, 0x5FF, 668, "Language Common"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 1843, "Disarm"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 2382, "Generic"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 2457, "Battle Stance"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 2479, "Honorless Target"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 3050, "Detect"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 3365, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 5301, "Defensive State (DND)"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 6233, "Closing"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 6246, "Closing"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 6247, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 6477, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 6478, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 6603, "Attack"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 7266, "Duel"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 7267, "Grovel"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 7355, "Stuck"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 8386, "Attacking"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Death Knight +(0x6FF, 0x23, 8737, "Mail"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Death Knight, Shaman, Druid +(0x6FF, 0x46F, 9077, "Leather"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 9078, "Cloth"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Shaman +(0x6FF, 0x43, 9116, "Shield"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 9125, "Generic"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Death Knight, Mage, Warlock +(0x1, 0x1BB, 20597, "Sword Specialization"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Death Knight, Mage, Warlock +(0x1, 0x1BB, 20598, "The Human Spirit"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Death Knight, Mage, Warlock +(0x1, 0x1BB, 20599, "Diplomacy"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Death Knight, Mage, Warlock +(0x1, 0x1BB, 20864, "Mace Specialization"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 21651, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 21652, "Closing"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 22027, "Remove Insignia"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 22810, "Opening - No Text"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 32215, "Victorious State"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 45927, "Summon Friend"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Death Knight, Mage, Warlock +(0x1, 0x1BB, 58985, "Perception"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Death Knight, Mage, Warlock +(0x1, 0x1BB, 59752, "Every Man for Himself"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5FF, 61437, "Opening"), +-- Races: Human, Dwarf, Tauren, Dranei +-- Classes: Warrior, Paladin +(0x425, 0x3, 199, "Two-Handed Maces"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 635, "Holy Light"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 21084, "Seal of Righteousness"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27762, "Libram"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Warrior, Hunter, Rogue, Warlock, Druid +(0x2DF, 0x50D, 1180, "Daggers"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1752, "Sinister Strike"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 2098, "Eviscerate"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Warrior, Rogue +(0x2DF, 0x9, 2567, "Thrown"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Warrior, Rogue +(0x2DF, 0x9, 2764, "Throw"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 16092, "Defensive State (DND)"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 21184, "Rogue Passive (DND)"), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 585, "Smite"), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 2050, "Lesser Heal"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Priest, Mage, Warlock +(0x6DF, 0x190, 5009, "Wands"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Priest, Mage, Warlock +(0x6DF, 0x190, 5019, "Shoot"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Hunter, Death Knight +(0x6FF, 0x25, 197, "Two-Handed Axes"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 200, "Polearms"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Death Knight +(0x6FF, 0x23, 202, "Two-Handed Swords"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Rogue, Death Knight +(0x6FF, 0x28, 674, "Dual Wield"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 750, "Plate Mail"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 3127, "Parry"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 3275, "Linen Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 3276, "Heavy Linen Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 3277, "Wool Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 3278, "Heavy Wool Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 7928, "Silk Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 7929, "Heavy Silk Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 7934, "Anti-Venom"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 10840, "Mageweave Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 10841, "Heavy Mageweave Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 10846, "First Aid"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 18629, "Runecloth Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 18630, "Heavy Runecloth Bandage"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 33391, "Journeyman Riding"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 45462, "Plague Strike"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 45477, "Icy Touch"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 45902, "Blood Strike"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 45903, "Offensive State (DND)"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 47541, "Death Coil"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 48266, "Blood Presence"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 49410, "Forceful Deflection"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 49576, "Death Grip"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 52665, "Sigil"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 59879, "Blood Plague"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 59921, "Frost Fever"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Death Knight +(0x6FF, 0x20, 61455, "Runic Focus"), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 133, "Fireball"), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 168, "Frost Armor"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5D0, 227, "Staves"), +-- Races: Human, Orc, Undead, Gnome, Blood elf +-- Classes: Warlock +(0x253, 0x100, 686, "Shadow Bolt"), +-- Races: Human, Orc, Undead, Gnome, Blood elf +-- Classes: Warlock +(0x253, 0x100, 687, "Demon Skin"), +-- Races: Human, Orc, Undead, Gnome, Blood elf +-- Classes: Warlock +(0x253, 0x100, 58284, "Chaos Bolt Passive"), +-- Races: Orc, Undead, Tauren, Troll, Blood elf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight, Shaman, Mage, Warlock, Druid +(0x2B2, 0x5FF, 669, "Language Orcish"), +-- Races: Orc +-- Classes: Warrior, Hunter, Rogue, Death Knight +(0x2, 0x2D, 20572, "Blood Fury"), +-- Races: Orc +-- Classes: Warrior, Hunter, Rogue, Death Knight, Shaman, Warlock +(0x2, 0x16D, 20573, "Hardiness"), +-- Races: Orc +-- Classes: Warrior, Hunter, Rogue, Death Knight, Shaman, Warlock +(0x2, 0x16D, 20574, "Axe Specialization"), +-- Races: Orc +-- Classes: Warrior, Rogue, Shaman +(0x2, 0x49, 21563, "Command"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 75, "Auto Shot"), +-- Races: Orc, Night elf, Troll, Blood elf +-- Classes: Hunter +(0x28A, 0x4, 264, "Bows"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 2973, "Raptor Strike"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 13358, "Defensive State (DND)"), +-- Races: Orc +-- Classes: Hunter +(0x2, 0x4, 20576, "Command"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 24949, "Defensive State 2 (DND)"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34082, "Advantaged State (DND)"), +-- Races: Orc +-- Classes: Death Knight +(0x2, 0x20, 54562, "Command"), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 331, "Healing Wave"), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 403, "Lightning Bolt"), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 27763, "Totem"), +-- Races: Orc +-- Classes: Shaman +(0x2, 0x40, 33697, "Blood Fury"), +-- Races: Orc +-- Classes: Warlock +(0x2, 0x100, 20575, "Command"), +-- Races: Orc +-- Classes: Warlock +(0x2, 0x100, 33702, "Blood Fury"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight +(0x4, 0x3F, 672, "Language Dwarven"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight +(0x4, 0x3F, 2481, "Find Treasure"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight +(0x4, 0x3F, 20594, "Stoneform"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight +(0x4, 0x3F, 20595, "Gun Specialization"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight +(0x4, 0x3F, 20596, "Frost Resistance"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Death Knight +(0x4, 0x3F, 59224, "Mace Specialization"), +-- Races: Dwarf, Tauren +-- Classes: Hunter +(0x24, 0x4, 266, "Guns"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Druid +(0x8, 0x43D, 671, "Language Darnassian"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Druid +(0x8, 0x43D, 20582, "Quickness"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Druid +(0x8, 0x43D, 20583, "Nature Resistance"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Druid +(0x8, 0x43D, 20585, "Wisp Spirit"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Druid +(0x8, 0x43D, 58984, "Shadowmelt"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5176, "Wrath"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5185, "Healing Touch"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27764, "Fetish"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Death Knight, Mage, Warlock +(0x10, 0x1B9, 5227, "Underwater Breathing"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Death Knight, Mage, Warlock +(0x10, 0x1B9, 7744, "Will of the Forsaken"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Death Knight, Mage, Warlock +(0x10, 0x1B9, 17737, "Language Gutterspeak"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Death Knight, Mage, Warlock +(0x10, 0x1B9, 20577, "Cannibalize"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Death Knight, Mage, Warlock +(0x10, 0x1B9, 20579, "Shadow Resistance"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Death Knight, Shaman, Druid +(0x20, 0x465, 670, "Language Taurahe"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Death Knight, Shaman, Druid +(0x20, 0x465, 20549, "War Stomp"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Death Knight, Shaman, Druid +(0x20, 0x465, 20550, "Endurance"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Death Knight, Shaman, Druid +(0x20, 0x465, 20551, "Nature Resistance"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Death Knight, Shaman, Druid +(0x20, 0x465, 20552, "Cultivation"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Death Knight, Mage, Warlock +(0x40, 0x1A9, 7340, "Language Gnomish"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Death Knight, Mage, Warlock +(0x40, 0x1A9, 20589, "Escape Artist"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Death Knight, Mage, Warlock +(0x40, 0x1A9, 20591, "Expansive Mind"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Death Knight, Mage, Warlock +(0x40, 0x1A9, 20592, "Arcane Resistance"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Death Knight, Mage, Warlock +(0x40, 0x1A9, 20593, "Engineering Specialization"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 7341, "Language Troll"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 20555, "Regeneration"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 20557, "Beast Slaying"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 20558, "Throwing Specialization"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 26290, "Bow Specialization"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 26297, "Berserking"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Death Knight, Shaman, Mage +(0x80, 0xFD, 58943, "Da Voodoo Shuffle"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Rogue, Priest, Death Knight, Mage, Warlock +(0x200, 0x1BE, 813, "Language Thalassian"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Rogue, Priest, Death Knight, Mage, Warlock +(0x200, 0x1BE, 822, "Magic Resistance"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Priest, Mage, Warlock +(0x200, 0x196, 28730, "Arcane Torrent"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Rogue, Priest, Death Knight, Mage, Warlock +(0x200, 0x1BE, 28877, "Arcane Affinity"), +-- Races: Blood elf +-- Classes: Rogue +(0x200, 0x8, 25046, "Arcane Torrent"), +-- Races: Blood elf +-- Classes: Death Knight +(0x200, 0x20, 50613, "Arcane Torrent"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter, Death Knight +(0x400, 0x27, 6562, "Heroic Presence"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter, Priest, Death Knight, Shaman, Mage +(0x400, 0xF7, 28875, "Gemcutting"), +-- Races: Dranei +-- Classes: Warrior +(0x400, 0x1, 28880, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter, Priest, Death Knight, Shaman, Mage +(0x400, 0xF7, 29932, "Language Draenei"), +-- Races: Dranei +-- Classes: Mage +(0x400, 0x80, 59541, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Paladin +(0x400, 0x2, 59542, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Hunter +(0x400, 0x4, 5011, "Crossbows"), +-- Races: Dranei +-- Classes: Shaman +(0x400, 0x40, 59540, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Hunter +(0x400, 0x4, 59543, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Priest, Shaman, Mage +(0x400, 0xD0, 28878, "Inspiring Presence"), +-- Races: Dranei +-- Classes: Death Knight +(0x400, 0x20, 59539, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Priest +(0x400, 0x10, 59544, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Priest +(0x400, 0x10, 59538, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Hunter +(0x400, 0x4, 59536, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Death Knight +(0x400, 0x20, 59545, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Paladin +(0x400, 0x2, 59535, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Shaman +(0x400, 0x40, 59547, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Warrior +(0x400, 0x1, 59221, "Shadow Resistance"), +-- Races: Dranei +-- Classes: Mage +(0x400, 0x80, 59548, "Gift of the Naaru"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 60091, "Judgement Anti-Parry/Dodge Passive"), +-- Races: All +-- Classes: Death Knight +(0x0, 0x20, 56816, "Rune Strike"), +-- Races: All +-- Classes: Shaman +(0x0, 0x40, 75461, "Flame Shock Passive"), +-- Races: All +-- Classes: Warlock +(0x0, 0x100, 75445, "Demonic Immolate"); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_12_00_world_playercreateinfo_spell_custom.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_12_00_world_playercreateinfo_spell_custom.sql new file mode 100644 index 00000000000..76f7a43eaa0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_12_00_world_playercreateinfo_spell_custom.sql @@ -0,0 +1,1632 @@ +TRUNCATE TABLE `playercreateinfo_spell_custom`; + +INSERT INTO playercreateinfo_spell_custom (racemask, classmask, Spell, Note) VALUES +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 78, "Heroic Strike"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 81, "Dodge"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Shaman +(0x6FF, 0x43, 107, "Block"), +-- Races: Human, Orc, Dwarf, Tauren, Troll +-- Classes: Warrior, Hunter +(0xA7, 0x5, 196, "One-Handed Axes"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Priest, Shaman, Druid +(0x6FF, 0x453, 198, "One-Handed Maces"), +-- Races: Human, Orc, Night elf, Undead, Gnome, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter +(0x65B, 0x7, 201, "One-Handed Swords"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 203, "Unarmed"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 204, "Defense"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 522, "SPELLDEFENSE(DND)"), +-- Races: Human, Dwarf, Night elf, Gnome, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x44D, 0x5DF, 668, "Language Common"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 2382, "Generic"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 2457, "Battle Stance"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 2479, "Honorless Target"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 3050, "Detect"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 3365, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 5301, "Defensive State(DND)"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 6233, "Closing"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 6246, "Closing"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 6247, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 6477, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 6478, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 6603, "Attack"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 7266, "Duel"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 7267, "Grovel"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 7355, "Stuck"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 7376, "Defensive Stance Passive"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 7381, "Berserker Stance Passive"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 8386, "Attacking"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Shaman +(0x6FF, 0x47, 8737, "Mail"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Shaman, Druid +(0x6FF, 0x44F, 9077, "Leather"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 9078, "Cloth"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Shaman +(0x6FF, 0x43, 9116, "Shield"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 9125, "Generic"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Mage, Warlock +(0x1, 0x19B, 20597, "Sword Specialization"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Mage, Warlock +(0x1, 0x19B, 20598, "The Human Spirit"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Mage, Warlock +(0x1, 0x19B, 20599, "Diplomacy"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Mage, Warlock +(0x1, 0x19B, 20600, "Perception"), +-- Races: Human +-- Classes: Warrior, Paladin, Rogue, Priest, Mage, Warlock +(0x1, 0x19B, 20864, "Mace Specialization"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 21156, "Battle Stance Passive"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 21651, "Opening"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 21652, "Closing"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 22027, "Remove Insignia"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x6FF, 0x5DF, 22810, "Opening - No Text"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 32215, "Victorious State"), +-- Races: Human, Dwarf, Tauren, Dranei +-- Classes: Warrior, Paladin +(0x425, 0x3, 199, "Two-Handed Maces"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 635, "Holy Light"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 21084, "Seal of Righteousness"), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27762, "Libram"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Warrior, Hunter, Rogue, Warlock, Druid +(0x2DF, 0x50D, 1180, "Daggers"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1752, "Sinister Strike"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 2098, "Eviscerate"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Warrior, Rogue +(0x2DF, 0x9, 2567, "Thrown"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Warrior, Rogue +(0x2DF, 0x9, 2764, "Throw"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 16092, "Defensive State(DND)"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 21184, "Rogue Passive(DND)"), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 585, "Smite"), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 2050, "Lesser Heal"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Priest, Mage, Warlock +(0x6DF, 0x190, 5009, "Wands"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Priest, Mage, Warlock +(0x6DF, 0x190, 5019, "Shoot"), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 133, "Fireball"), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 168, "Frost Armor"), +-- Races: Human, Orc, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Shaman, Mage, Druid +(0x6FB, 0x4C0, 227, "Staves"), +-- Races: Human, Orc, Undead, Gnome, Blood elf +-- Classes: Warlock +(0x253, 0x100, 686, "Shadow Bolt"), +-- Races: Human, Orc, Undead, Gnome, Blood elf +-- Classes: Warlock +(0x253, 0x100, 687, "Demon Skin"), +-- Races: Orc, Dwarf +-- Classes: Warrior +(0x6, 0x1, 197, "Two-Handed Axes"), +-- Races: Orc, Undead, Tauren, Troll, Blood elf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock, Druid +(0x2B2, 0x5DF, 669, "Language Orcish"), +-- Races: Orc +-- Classes: Warrior, Hunter, Rogue +(0x2, 0xD, 20572, "Blood Fury"), +-- Races: Orc +-- Classes: Warrior, Hunter, Rogue, Shaman, Warlock +(0x2, 0x14D, 20573, "Hardiness"), +-- Races: Orc +-- Classes: Warrior, Hunter, Rogue, Shaman, Warlock +(0x2, 0x14D, 20574, "Axe Specialization"), +-- Races: Orc +-- Classes: Warrior, Rogue, Shaman +(0x2, 0x49, 21563, "Command"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 75, "Auto Shot"), +-- Races: Orc, Night elf, Troll, Blood elf +-- Classes: Hunter +(0x28A, 0x4, 264, "Bows"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 2973, "Raptor Strike"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 13358, "Defensive State(DND)"), +-- Races: Orc +-- Classes: Hunter +(0x2, 0x4, 20576, "Command"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 24949, "Defensive State 2(DND)"), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34082, "Advantaged State(DND)"), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 331, "Healing Wave"), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 403, "Lightning Bolt"), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 27763, "Totem"), +-- Races: Orc +-- Classes: Shaman +(0x2, 0x40, 33697, "Blood Fury"), +-- Races: Orc +-- Classes: Warlock +(0x2, 0x100, 20575, "Command"), +-- Races: Orc +-- Classes: Warlock +(0x2, 0x100, 33702, "Blood Fury"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest +(0x4, 0x1F, 672, "Language Dwarven"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest +(0x4, 0x1F, 2481, "Find Treasure"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest +(0x4, 0x1F, 20594, "Stoneform"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest +(0x4, 0x1F, 20595, "Gun Specialization"), +-- Races: Dwarf +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest +(0x4, 0x1F, 20596, "Frost Resistance"), +-- Races: Dwarf, Tauren +-- Classes: Hunter +(0x24, 0x4, 266, "Guns"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Druid +(0x8, 0x41D, 671, "Language Darnassian"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Druid +(0x8, 0x41D, 20580, "Shadowmeld"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Druid +(0x8, 0x41D, 20582, "Quickness"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Druid +(0x8, 0x41D, 20583, "Nature Resistance"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Druid +(0x8, 0x41D, 20585, "Wisp Spirit"), +-- Races: Night elf +-- Classes: Warrior, Hunter, Rogue, Priest, Druid +(0x8, 0x41D, 21009, "Shadowmeld Passive"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 1178, "Bear Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 3025, "Cat Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5176, "Wrath"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5185, "Healing Touch"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5419, "Travel Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5420, "Tree of Life"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5421, "Aquatic Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 9635, "Dire Bear Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 21178, "Bear Form(Passive2)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 24905, "Moonkin Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27764, "Fetish"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 33948, "Flight Form(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 34123, "Tree of Life(Passive)"), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 40121, "Swift Flight Form(Passive)"), +-- Races: Undead, Blood elf, Dranei +-- Classes: Warrior, Paladin +(0x610, 0x3, 202, "Two-Handed Swords"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Mage, Warlock +(0x10, 0x199, 5227, "Underwater Breathing"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Mage, Warlock +(0x10, 0x199, 7744, "Will of the Forsaken"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Mage, Warlock +(0x10, 0x199, 17737, "Language Gutterspeak"), +-- Races: Undead +-- Classes: Warrior, Rogue, Priest, Mage, Warlock +(0x10, 0x199, 20577, "Cannibalize"), +-- Races: Undead, Dranei +-- Classes: Warrior, Paladin, Hunter, Rogue, Priest, Shaman, Mage, Warlock +(0x410, 0x1DF, 20579, "Shadow Resistance"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Shaman, Druid +(0x20, 0x445, 670, "Language Taurahe"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Shaman, Druid +(0x20, 0x445, 20549, "War Stomp"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Shaman, Druid +(0x20, 0x445, 20550, "Endurance"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Shaman, Druid +(0x20, 0x445, 20551, "Nature Resistance"), +-- Races: Tauren +-- Classes: Warrior, Hunter, Shaman, Druid +(0x20, 0x445, 20552, "Cultivation"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Mage, Warlock +(0x40, 0x189, 7340, "Language Gnomish"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Mage, Warlock +(0x40, 0x189, 20589, "Escape Artist"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Mage, Warlock +(0x40, 0x189, 20591, "Expansive Mind"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Mage, Warlock +(0x40, 0x189, 20592, "Arcane Resistance"), +-- Races: Gnome +-- Classes: Warrior, Rogue, Mage, Warlock +(0x40, 0x189, 20593, "Engineering Specialization"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Shaman, Mage +(0x80, 0xDD, 7341, "Language Troll"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Shaman, Mage +(0x80, 0xDD, 20555, "Regeneration"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Shaman, Mage +(0x80, 0xDD, 20557, "Beast Slaying"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Shaman, Mage +(0x80, 0xDD, 20558, "Throwing Specialization"), +-- Races: Troll +-- Classes: Warrior, Hunter, Rogue, Priest, Shaman, Mage +(0x80, 0xDD, 26290, "Bow Specialization"), +-- Races: Troll +-- Classes: Warrior +(0x80, 0x1, 26296, "Berserking"), +-- Races: Troll +-- Classes: Hunter, Priest, Shaman, Mage +(0x80, 0xD4, 20554, "Berserking"), +-- Races: Troll +-- Classes: Rogue +(0x80, 0x8, 26297, "Berserking"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Rogue, Priest, Mage, Warlock +(0x200, 0x19E, 813, "Language Thalassian"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Rogue, Priest, Mage, Warlock +(0x200, 0x19E, 822, "Magic Resistance"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Priest, Mage, Warlock +(0x200, 0x196, 28730, "Arcane Torrent"), +-- Races: Blood elf +-- Classes: Paladin, Hunter, Rogue, Priest, Mage, Warlock +(0x200, 0x19E, 28877, "Arcane Affinity"), +-- Races: Blood elf +-- Classes: Rogue +(0x200, 0x8, 25046, "Arcane Torrent"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter +(0x400, 0x7, 6562, "Heroic Presence"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter, Priest, Shaman, Mage +(0x400, 0xD7, 28875, "Gemcutting"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter, Priest, Shaman, Mage +(0x400, 0xD7, 28880, "Gift of the Naaru"), +-- Races: Dranei +-- Classes: Warrior, Paladin, Hunter, Priest, Shaman, Mage +(0x400, 0xD7, 29932, "Language Draenei"), +-- Races: Dranei +-- Classes: Hunter +(0x400, 0x4, 5011, "Crossbows"), +-- Races: Dranei +-- Classes: Priest, Shaman, Mage +(0x400, 0xD0, 28878, "Inspiring Presence"), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 2048, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 30324, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 11578, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25208, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25264, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 2687, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 71, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25225, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 355, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 11585, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 29704, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25203, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 30357, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25266, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 2565, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 676, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25231, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 20230, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 5246, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25236, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 1161, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 871, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 2458, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25275, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25242, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 18499, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 1680, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 6554, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 1719, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 34428, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 23920, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 469, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 3411, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27014, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 1494, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 13163, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27016, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27019, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 14325, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 5116, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27044, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 883, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 2641, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 6991, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 982, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 1515, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19883, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27020, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27046, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 14268, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 6197, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 1002, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 14327, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27023, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 36916, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27021, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19884, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 5118, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27015, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 14311, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 3043, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 1462, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19885, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 3045, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19880, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 13809, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 13161, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 5384, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 1543, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19878, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27025, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27018, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 13159, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19882, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27022, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 27045, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19879, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 19801, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34120, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34074, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34026, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34600, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 34477, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27149, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27136, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27155, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27140, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 20271, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27158, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 10308, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 10278, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27154, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 20773, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27142, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 31789, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27150, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 25780, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 1044, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 33776, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27173, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27138, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27137, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 5502, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 19746, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 31895, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 5627, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 1038, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27151, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 19752, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27160, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27152, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 1020, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27153, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27166, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27144, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 4987, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27180, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27148, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27139, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27141, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 10326, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27143, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 25898, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27145, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 25895, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 32223, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 27169, ""), +-- Races: Human, Dwarf, Blood elf, Dranei +-- Classes: Paladin +(0x605, 0x2, 31884, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26865, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26862, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1787, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26863, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 921, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 38764, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26669, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 11297, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 6774, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 11305, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 38768, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26866, ""), +-- Races: Human, Orc, Dwarf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2D7, 0x8, 26884, ""), +-- Races: Human, Orc, Dwarf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2D7, 0x8, 27448, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1804, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 27441, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 2842, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1725, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26867, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26889, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1833, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1842, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 408, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 2094, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 32684, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 26679, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 31224, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 5938, ""), +-- Races: Night elf +-- Classes: Rogue +(0x8, 0x8, 426884, ""), +-- Races: Night elf +-- Classes: Rogue +(0x8, 0x8, 427448, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27215, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27209, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27216, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 30909, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27222, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27218, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 6215, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27230, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27217, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27259, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27226, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27220, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 5697, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27238, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 30459, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27260, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27212, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 698, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 5500, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 30908, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 11719, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 132, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 18647, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27213, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 11726, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27228, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 28610, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 28172, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27250, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 17928, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27223, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27229, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 30545, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 30910, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 18540, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 28189, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 32231, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 29858, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 29893, ""), +-- Races: Human, Orc, Undead, Gnome, Dranei +-- Classes: Warlock +(0x453, 0x100, 27243, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26979, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26990, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26985, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26988, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26982, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26992, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26989, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26998, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 6795, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26996, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 18960, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 9634, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 768, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 783, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 1066, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 40120, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5229, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26980, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 8983, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 8946, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26997, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26993, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 18658, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27000, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 9913, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26994, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27008, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26986, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27002, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26995, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27003, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 2782, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 9846, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 2893, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 33357, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5209, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27004, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26983, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 24248, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27005, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 5225, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26999, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27012, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 27006, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 29166, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 22812, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 26991, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 22570, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 33763, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 33745, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 33786, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27126, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27070, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 22018, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27072, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 22019, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27079, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 38704, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 28272, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 28271, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 12826, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27088, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 33944, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 130, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27082, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27086, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 33946, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 475, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 1953, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27085, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 12051, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27128, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27131, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 32796, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27074, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 2139, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27101, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27124, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 45438, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27125, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27127, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 30482, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 30451, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 30455, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 66, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 43987, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 30449, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25389, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25364, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25368, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25218, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25429, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25222, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25375, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25435, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25431, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 528, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 10890, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 988, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 6346, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25235, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25384, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25596, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 10955, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 10909, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25380, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 10912, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25308, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25433, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 552, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 1706, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25213, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25392, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 39374, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 32999, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 32996, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 32546, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 34433, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 33076, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 32375, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25396, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25449, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25485, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25454, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25509, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 2484, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25472, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25525, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25457, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25489, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25533, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25528, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 20777, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25547, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 8012, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 526, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 8143, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25464, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25500, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 2645, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25567, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25420, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 2870, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 8166, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 131, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25560, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 6196, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25552, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25570, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25563, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25557, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 546, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 556, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 8177, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25574, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 36936, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25505, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 421, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25587, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 6495, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25577, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 8170, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25423, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25359, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25908, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 33736, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 3738, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 2062, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 2894, ""), +-- Races: Orc, Tauren, Troll +-- Classes: Shaman +(0xA2, 0x40, 2825, ""), +-- Races: Dranei +-- Classes: Shaman +(0x400, 0x40, 32182, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Hunter, Rogue +(0x6FF, 0xD, 674, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Warrior, Paladin +(0x6FF, 0x3, 750, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Blood elf, Dranei +-- Classes: Paladin, Hunter, Rogue +(0x6FF, 0xE, 3127, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 25442, ""), +-- Races: Orc, Tauren, Troll, Dranei +-- Classes: Shaman +(0x4A2, 0x40, 20608, ""), +-- Races: Human, Undead, Gnome, Troll, Blood elf, Dranei +-- Classes: Mage +(0x6D1, 0x80, 27087, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 8643, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 25212, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Tauren, Gnome, Troll, Dranei +-- Classes: Warrior +(0x4FF, 0x1, 12678, ""), +-- Races: Orc, Dwarf, Night elf, Tauren, Troll, Blood elf, Dranei +-- Classes: Hunter +(0x6AE, 0x4, 5149, ""), +-- Races: Human, Dwarf, Dranei +-- Classes: Paladin +(0x405, 0x2, 23214, ""), +-- Races: Blood elf +-- Classes: Paladin +(0x200, 0x2, 34767, ""), +-- Races: Human, Orc, Undead, Gnome, Blood elf, Dranei +-- Classes: Warlock +(0x653, 0x100, 23161, ""), +-- Races: Human, Orc, Undead, Gnome, Blood elf, Dranei +-- Classes: Warlock +(0x653, 0x100, 688, ""), +-- Races: Human, Orc, Undead, Gnome, Blood elf, Dranei +-- Classes: Warlock +(0x653, 0x100, 697, ""), +-- Races: Human, Orc, Undead, Gnome, Blood elf, Dranei +-- Classes: Warlock +(0x653, 0x100, 712, ""), +-- Races: Human, Orc, Undead, Gnome, Blood elf, Dranei +-- Classes: Warlock +(0x653, 0x100, 691, ""), +-- Races: Night elf, Tauren +-- Classes: Druid +(0x28, 0x400, 20719, ""), +-- Races: Human, Orc, Undead, Gnome, Blood elf +-- Classes: Warlock +(0x253, 0x100, 126, ""), +-- Races: Human, Dwarf, Dranei +-- Classes: Paladin +(0x405, 0x2, 31801, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 3776, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 9186, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 21927, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 22054, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 22055, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 2836, ""), +-- Races: Human, Orc, Dwarf, Night elf, Undead, Gnome, Troll, Blood elf +-- Classes: Rogue +(0x2DF, 0x8, 1860, ""), +-- Races: Human +-- Classes: Priest +(0x1, 0x10, 25441, ""), +-- Races: Human, Dwarf, Night elf, Undead, Troll, Blood elf, Dranei +-- Classes: Priest +(0x69D, 0x10, 25312, ""), +-- Races: Human, Dwarf +-- Classes: Priest +(0x5, 0x10, 25437, ""); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_00_world_misc.sql new file mode 100644 index 00000000000..f579a82f5d5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_00_world_misc.sql @@ -0,0 +1,78 @@ +SET @CGUID := 49815; +SET @OGUID := 14972; +SET @SERINAR := 26593; +SET @NECROLYTE := 27356; +SET @BUNNY := 27369; +SET @RUNE := 188695; + +UPDATE `creature` SET `MovementType`=0, `spawndist`=0, `unit_flags`=33024 WHERE `guid`=116960; +DELETE FROM `creature` WHERE `guid` IN (117061,117371,117372,117421,117422,117423,117633,117634,117646,117648,117649); +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(117061, @BUNNY, 571, 1, 1, 13069, 4495.499, 1747.361, 175.1579, 0.6806784, 300, 0, 0), +(117371, @BUNNY, 571, 1, 1, 13069, 4544.45, 1739.195, 167.6779, 0.9075712, 300, 0, 0), +(117372, @BUNNY, 571, 1, 1, 13069, 4573.836, 1708.501, 171.742, 1.466077, 300, 0, 0), +(117421, @BUNNY, 571, 1, 1, 13069, 4604.599, 1727.422, 170.6874, 4.921828, 300, 0, 0), +(117422, @BUNNY, 571, 1, 1, 13069, 4601.996, 1700.385, 171.9938, 1.37881, 300, 0, 0), +(117423, @BUNNY, 571, 1, 1, 13069, 4576.454, 1755.058, 167.8554, 2.164208, 300, 0, 0), +(117633, @BUNNY, 571, 1, 1, 13069, 4625.904, 1754.476, 182.3284, 6.038839, 300, 0, 0), +(117634, @BUNNY, 571, 1, 1, 13069, 4561.219, 1731.186, 166.7194, 3.926991, 300, 0, 0), +(117646, @BUNNY, 571, 1, 1, 13069, 4497.56, 1880.672, 164.3632, 5.61996, 300, 0, 0), +(117648, 27362, 571, 1, 1, 0, 4567.375, 1724.495, 168.1724, 0.6806784, 300, 5, 1), +(117649, 27362, 571, 1, 1, 0, 4608.474, 1721.618, 170.9504, 3.124139, 300, 5, 1), +(@CGUID+0, 27358, 571, 1, 1, 0, 4576.38, 1711.559, 171.3237, 4.018391, 300, 5, 1), +(@CGUID+1, 27358, 571, 1, 1, 0, 4574.408, 1751.613, 167.8838, 1.03504, 300, 5, 1), +(@CGUID+2, 27363, 571, 1, 1, 0, 4570.443, 1678.617, 170.5762, 0.002298846, 300, 5, 1); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+8; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`, `orientation`, `rotation0`, `rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@OGUID+0,@RUNE,571,1,1,4495.527,1747.337,175.0751,0.7330382,0,0,0.3583679,0.9335805,300,100,1), +(@OGUID+1,@RUNE,571,1,1,4544.453,1739.186,167.594,-1.151916,0,0,-0.5446386,0.8386708,300,100,1), +(@OGUID+2,@RUNE,571,1,1,4573.879,1708.473,171.6586,-2.268925,0,0,-0.9063072,0.4226195,300,100,1), +(@OGUID+3,@RUNE,571,1,1,4604.577,1727.41,170.6038,-0.1919852,0,0,-0.09584522,0.9953963,300,100,1), +(@OGUID+4,@RUNE,571,1,1,4601.975,1700.365,171.9105,-0.4014249,0,0,-0.1993675,0.9799248,300,100,1), +(@OGUID+5,@RUNE,571,1,1,4576.479,1755.036,167.7747,-0.2792516,0,0,-0.1391726,0.9902682,300,100,1), +(@OGUID+6,@RUNE,571,1,1,4625.864,1754.506,182.2451,-0.7330382,0,0,-0.3583679,0.9335805,300,100,1), +(@OGUID+7,@RUNE,571,1,1,4561.233,1731.201,166.6359,-0.6108635,0,0,-0.300705,0.9537172,300,100,1), +(@OGUID+8,@RUNE,571,1,1,4497.559,1880.615,164.2788,0.8377574,0,0,0.4067364,0.9135455,300,100,1); + +DELETE FROM `creature_addon` WHERE `guid`=116960; +INSERT INTO `creature_addon` (`guid`,`auras`) VALUES +(116960,'29266'); + +DELETE FROM `creature_text` WHERE `entry`=@SERINAR; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@SERINAR,0,0, 'Perfect. As long as you don''t go hacking and slashing your way through, they''ll never know the difference.',12,0,100,0,0,0, 'Serinar'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=48750; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(48750,48770,2,'Serinar''s Vision is applied while aura Burning Depths Necrolyte Image is active'); + +UPDATE `quest_template` SET `PrevQuestId`=12447 WHERE `Id` IN (12261,12262); +UPDATE `quest_template` SET `PrevQuestId`=12263 WHERE `Id` IN (12264,12265); + +UPDATE `gameobject_template` SET `flags`=4 WHERE `entry`=188695; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@SERINAR; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SERINAR AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SERINAR*100 AND `source_type`=9; +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 +(@SERINAR, 0, 0, 1, 19, 0, 100, 0, 12263, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, @NECROLYTE, 20, 0, 0, 0, 0, 0, 'Serinar - On quest accept - Turn to'), +(@SERINAR, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 11, 48748, 0, 0, 0, 0, 0, 19, @NECROLYTE, 20, 0, 0, 0, 0, 0, 'Serinar - On quest accept - Spellcast Absorb Image'), +(@SERINAR, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, @SERINAR*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Serinar - On quest accept - Run script'), +(@SERINAR, 0, 3, 4, 62, 0, 100, 0, 9537, 0, 0, 0, 11, 48750, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Serinar - On gossip select - Spellcast Burning Depths Necrolyte Image'), +(@SERINAR, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Serinar - On gossip select - Say line'), +(@SERINAR, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Serinar - On gossip select - Close gossip'), + +(@SERINAR*100, 9, 0, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Serinar script - Turn to'), +(@SERINAR*100, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, 48750, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Serinar script - Spellcast Burning Depths Necrolyte Image'), +(@SERINAR*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Serinar script - Say line'), +(@SERINAR*100, 9, 3, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Serinar script - Turn to'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (48738,48748); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9537 AND `SourceEntry`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 48738, 0, 0, 31, 0, 4, 0, 0, 0, 0, '', 'Spell Stamp Out Necromantic Rune effect0 targets player'), +(13, 2, 48738, 0, 0, 31, 0, 3, @BUNNY, 0, 0, 0, '', 'Spell Stamp Out Necromantic Rune effect1 targets Necromantic Rune Bunny'), +(13, 1, 48748, 0, 0, 31, 0, 3, @NECROLYTE, 0, 0, 0, '', 'Spell Absorb Image targets Burning Depths Necrolyte'), +(15, 9537, 0, 0, 0, 9, 0, 12263, 0, 0, 0, 0, '', 'Show gossip option only if player has taken quest The Best of Intentions'), +(15, 9537, 0, 0, 0, 1, 0, 48750, 0, 0, 1, 0, '', 'Show gossip option only if player doesn''t have aura Burning Depths Necrolyte Image'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_01_world_creature_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_01_world_creature_loot_template.sql new file mode 100644 index 00000000000..ce1fbd0cec4 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_01_world_creature_loot_template.sql @@ -0,0 +1,2 @@ +-- wrong lootmode +UPDATE `creature_loot_template` SET `lootmode`=1 WHERE `item` IN(46367,46381,46380); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_02_world_sai.sql new file mode 100644 index 00000000000..70709b0ffcd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_02_world_sai.sql @@ -0,0 +1,43 @@ +-- Darkwraith +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=15657 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Plaguehound +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=8598 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Amani Berserker +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=15643 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Enraged Wraith +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=17086 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Anok'suten +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=16357 AND `source_type`=0 AND `id`=3 AND `link`=0; +-- Bloodscalp Warrior +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=587 AND `source_type`=0 AND `id`=2 AND `link`=3; +-- Bloodscalp Berserker +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=597 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Commander Aggro'gosh +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2464 AND `source_type`=0 AND `id`=3 AND `link`=4; +-- Vilebranch Berserker +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2643 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Hungering Wraith +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=1802 AND `source_type`=0 AND `id`=1 AND `link`=2; +-- Dark Strand Enforcer +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=3727 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Scarlet Myrmidon +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=4295 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Ymirjar Flesh Hunter +UPDATE `smart_scripts` SET `event_flags`=7 WHERE `entryorguid`=26670 AND `source_type`=0 AND `id`=27 AND `link`=28; +-- Startup Errors +UPDATE `smart_scripts` SET `event_flags`=0 WHERE `entryorguid`=22895 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=1487 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=2245 AND `source_type`=0 AND `id`=14 AND `link`=15; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=2375 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=16344 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=29174 AND `source_type`=0 AND `id`=2 AND `link`=3; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=29174 AND `source_type`=0 AND `id`=3 AND `link`=4; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=29174 AND `source_type`=0 AND `id`=4 AND `link`=5; +-- Timed action scripts aren't supposed to have links set on them +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=2 AND `link`=3; +UPDATE `smart_scripts` SET `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=3 AND `link`=0; +-- Aforementioned issue about links on timed scripts +UPDATE `smart_scripts` SET `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=3 AND `link`=0; +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=305400 AND `source_type`=9 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=15938 AND `source_type`=0 AND `id`=7 AND `link`=8; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_03_world_playercreateinfo_spell.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_03_world_playercreateinfo_spell.sql new file mode 100644 index 00000000000..0212fef5cd1 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_13_03_world_playercreateinfo_spell.sql @@ -0,0 +1,49 @@ +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=0 WHERE `Spell`=56816; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=0 WHERE `Spell`=75461; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=0 WHERE `Spell`=75445; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=669; +UPDATE `playercreateinfo_spell` SET `racemask`=223, `classmask`=8 WHERE `Spell`=2567; +UPDATE `playercreateinfo_spell` SET `racemask`=223, `classmask`=8 WHERE `Spell`=2764; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=8 WHERE `Spell`=1180; +UPDATE `playercreateinfo_spell` SET `racemask`=1029, `classmask`=1 WHERE `Spell`=199; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=33 WHERE `Spell`=668; +UPDATE `playercreateinfo_spell` SET `racemask`=529, `classmask`=0 WHERE `Spell`=5009; +UPDATE `playercreateinfo_spell` SET `racemask`=529, `classmask`=0 WHERE `Spell`=5019; +UPDATE `playercreateinfo_spell` SET `racemask`=1029, `classmask`=32 WHERE `Spell`=202; +UPDATE `playercreateinfo_spell` SET `racemask`=1029, `classmask`=32 WHERE `Spell`=8737; +UPDATE `playercreateinfo_spell` SET `racemask`=1198, `classmask`=32 WHERE `Spell`=196; +UPDATE `playercreateinfo_spell` SET `racemask`=1198, `classmask`=32 WHERE `Spell`=197; +UPDATE `playercreateinfo_spell` SET `racemask`=1028, `classmask`=32 WHERE `Spell`=201; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=32 WHERE `Spell`=674; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=0 WHERE `Spell`=107; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=0 WHERE `Spell`=9116; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=0 WHERE `Spell`=198; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=9077; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=0 WHERE `Spell`=227; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=81; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=203; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=204; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=522; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=1843; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=2382; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=2479; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=3050; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=3365; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=6233; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=6246; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=6247; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=6477; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=6478; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=6603; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=7266; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=7267; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=7355; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=8386; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=9078; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=9125; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=21651; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=21652; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=22027; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=22810; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=45927; +UPDATE `playercreateinfo_spell` SET `racemask`=0, `classmask`=32 WHERE `Spell`=61437; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_00_world_playercreateinfo_spell.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_00_world_playercreateinfo_spell.sql new file mode 100644 index 00000000000..b8d9b13bc52 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_00_world_playercreateinfo_spell.sql @@ -0,0 +1,184 @@ +UPDATE `playercreateinfo_spell` SET `racemask`=1710, `classmask`=4 WHERE `Spell`=75; +UPDATE `playercreateinfo_spell` SET `racemask`=1279, `classmask`=1 WHERE `Spell`=78; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=81; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=67 WHERE `Spell`=107; +UPDATE `playercreateinfo_spell` SET `racemask`=1745, `classmask`=128 WHERE `Spell`=133; +UPDATE `playercreateinfo_spell` SET `racemask`=1745, `classmask`=128 WHERE `Spell`=168; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=37 WHERE `Spell`=196; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=37 WHERE `Spell`=197; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1107 WHERE `Spell`=198; +UPDATE `playercreateinfo_spell` SET `racemask`=1061, `classmask`=3 WHERE `Spell`=199; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=200; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=39 WHERE `Spell`=201; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=35 WHERE `Spell`=202; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=203; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=204; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1488 WHERE `Spell`=227; +UPDATE `playercreateinfo_spell` SET `racemask`=650, `classmask`=4 WHERE `Spell`=264; +UPDATE `playercreateinfo_spell` SET `racemask`=36, `classmask`=4 WHERE `Spell`=266; +UPDATE `playercreateinfo_spell` SET `racemask`=1186, `classmask`=64 WHERE `Spell`=331; +UPDATE `playercreateinfo_spell` SET `racemask`=1186, `classmask`=64 WHERE `Spell`=403; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=522; +UPDATE `playercreateinfo_spell` SET `racemask`=1693, `classmask`=16 WHERE `Spell`=585; +UPDATE `playercreateinfo_spell` SET `racemask`=1541, `classmask`=2 WHERE `Spell`=635; +UPDATE `playercreateinfo_spell` SET `racemask`=1101, `classmask`=1535 WHERE `Spell`=668; +UPDATE `playercreateinfo_spell` SET `racemask`=690, `classmask`=1535 WHERE `Spell`=669; +UPDATE `playercreateinfo_spell` SET `racemask`=32, `classmask`=1125 WHERE `Spell`=670; +UPDATE `playercreateinfo_spell` SET `racemask`=8, `classmask`=1085 WHERE `Spell`=671; +UPDATE `playercreateinfo_spell` SET `racemask`=4, `classmask`=63 WHERE `Spell`=672; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=40 WHERE `Spell`=674; +UPDATE `playercreateinfo_spell` SET `racemask`=595, `classmask`=256 WHERE `Spell`=686; +UPDATE `playercreateinfo_spell` SET `racemask`=595, `classmask`=256 WHERE `Spell`=687; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=750; +UPDATE `playercreateinfo_spell` SET `racemask`=512, `classmask`=446 WHERE `Spell`=813; +UPDATE `playercreateinfo_spell` SET `racemask`=512, `classmask`=446 WHERE `Spell`=822; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=1293 WHERE `Spell`=1180; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=8 WHERE `Spell`=1752; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=1843; +UPDATE `playercreateinfo_spell` SET `racemask`=1693, `classmask`=16 WHERE `Spell`=2050; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=8 WHERE `Spell`=2098; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=2382; +UPDATE `playercreateinfo_spell` SET `racemask`=1279, `classmask`=1 WHERE `Spell`=2457; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=2479; +UPDATE `playercreateinfo_spell` SET `racemask`=4, `classmask`=63 WHERE `Spell`=2481; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=9 WHERE `Spell`=2567; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=9 WHERE `Spell`=2764; +UPDATE `playercreateinfo_spell` SET `racemask`=1710, `classmask`=4 WHERE `Spell`=2973; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=3050; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=3127; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=3275; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=3276; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=3277; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=3278; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=3365; +UPDATE `playercreateinfo_spell` SET `racemask`=1759, `classmask`=400 WHERE `Spell`=5009; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=4 WHERE `Spell`=5011; +UPDATE `playercreateinfo_spell` SET `racemask`=1759, `classmask`=400 WHERE `Spell`=5019; +UPDATE `playercreateinfo_spell` SET `racemask`=40, `classmask`=1024 WHERE `Spell`=5176; +UPDATE `playercreateinfo_spell` SET `racemask`=40, `classmask`=1024 WHERE `Spell`=5185; +UPDATE `playercreateinfo_spell` SET `racemask`=16, `classmask`=441 WHERE `Spell`=5227; +UPDATE `playercreateinfo_spell` SET `racemask`=1279, `classmask`=1 WHERE `Spell`=5301; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=6233; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=6246; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=6247; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=6477; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=6478; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=39 WHERE `Spell`=6562; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=6603; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=7266; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=7267; +UPDATE `playercreateinfo_spell` SET `racemask`=64, `classmask`=425 WHERE `Spell`=7340; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=7341; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=7355; +UPDATE `playercreateinfo_spell` SET `racemask`=16, `classmask`=441 WHERE `Spell`=7744; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=7928; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=7929; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=7934; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=8386; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=35 WHERE `Spell`=8737; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1135 WHERE `Spell`=9077; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=9078; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=67 WHERE `Spell`=9116; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=9125; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=10840; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=10841; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=10846; +UPDATE `playercreateinfo_spell` SET `racemask`=1710, `classmask`=4 WHERE `Spell`=13358; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=8 WHERE `Spell`=16092; +UPDATE `playercreateinfo_spell` SET `racemask`=16, `classmask`=441 WHERE `Spell`=17737; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=18629; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=18630; +UPDATE `playercreateinfo_spell` SET `racemask`=32, `classmask`=1125 WHERE `Spell`=20549; +UPDATE `playercreateinfo_spell` SET `racemask`=32, `classmask`=1125 WHERE `Spell`=20550; +UPDATE `playercreateinfo_spell` SET `racemask`=32, `classmask`=1125 WHERE `Spell`=20551; +UPDATE `playercreateinfo_spell` SET `racemask`=32, `classmask`=1125 WHERE `Spell`=20552; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=20555; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=20557; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=20558; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=45 WHERE `Spell`=20572; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=365 WHERE `Spell`=20573; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=365 WHERE `Spell`=20574; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=256 WHERE `Spell`=20575; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=4 WHERE `Spell`=20576; +UPDATE `playercreateinfo_spell` SET `racemask`=16, `classmask`=441 WHERE `Spell`=20577; +UPDATE `playercreateinfo_spell` SET `racemask`=16, `classmask`=441 WHERE `Spell`=20579; +UPDATE `playercreateinfo_spell` SET `racemask`=8, `classmask`=1085 WHERE `Spell`=20582; +UPDATE `playercreateinfo_spell` SET `racemask`=8, `classmask`=1085 WHERE `Spell`=20583; +UPDATE `playercreateinfo_spell` SET `racemask`=8, `classmask`=1085 WHERE `Spell`=20585; +UPDATE `playercreateinfo_spell` SET `racemask`=64, `classmask`=425 WHERE `Spell`=20589; +UPDATE `playercreateinfo_spell` SET `racemask`=64, `classmask`=425 WHERE `Spell`=20591; +UPDATE `playercreateinfo_spell` SET `racemask`=64, `classmask`=425 WHERE `Spell`=20592; +UPDATE `playercreateinfo_spell` SET `racemask`=64, `classmask`=425 WHERE `Spell`=20593; +UPDATE `playercreateinfo_spell` SET `racemask`=4, `classmask`=63 WHERE `Spell`=20594; +UPDATE `playercreateinfo_spell` SET `racemask`=4, `classmask`=63 WHERE `Spell`=20595; +UPDATE `playercreateinfo_spell` SET `racemask`=4, `classmask`=63 WHERE `Spell`=20596; +UPDATE `playercreateinfo_spell` SET `racemask`=1, `classmask`=443 WHERE `Spell`=20597; +UPDATE `playercreateinfo_spell` SET `racemask`=1, `classmask`=443 WHERE `Spell`=20598; +UPDATE `playercreateinfo_spell` SET `racemask`=1, `classmask`=443 WHERE `Spell`=20599; +UPDATE `playercreateinfo_spell` SET `racemask`=1, `classmask`=443 WHERE `Spell`=20864; +UPDATE `playercreateinfo_spell` SET `racemask`=1541, `classmask`=2 WHERE `Spell`=21084; +UPDATE `playercreateinfo_spell` SET `racemask`=735, `classmask`=8 WHERE `Spell`=21184; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=73 WHERE `Spell`=21563; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=21651; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=21652; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=22027; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=22810; +UPDATE `playercreateinfo_spell` SET `racemask`=1710, `classmask`=4 WHERE `Spell`=24949; +UPDATE `playercreateinfo_spell` SET `racemask`=512, `classmask`=8 WHERE `Spell`=25046; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=26290; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=26297; +UPDATE `playercreateinfo_spell` SET `racemask`=1541, `classmask`=2 WHERE `Spell`=27762; +UPDATE `playercreateinfo_spell` SET `racemask`=1186, `classmask`=64 WHERE `Spell`=27763; +UPDATE `playercreateinfo_spell` SET `racemask`=40, `classmask`=1024 WHERE `Spell`=27764; +UPDATE `playercreateinfo_spell` SET `racemask`=512, `classmask`=406 WHERE `Spell`=28730; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=247 WHERE `Spell`=28875; +UPDATE `playercreateinfo_spell` SET `racemask`=512, `classmask`=446 WHERE `Spell`=28877; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=208 WHERE `Spell`=28878; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=1 WHERE `Spell`=28880; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=247 WHERE `Spell`=29932; +UPDATE `playercreateinfo_spell` SET `racemask`=1279, `classmask`=1 WHERE `Spell`=32215; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=33391; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=64 WHERE `Spell`=33697; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=256 WHERE `Spell`=33702; +UPDATE `playercreateinfo_spell` SET `racemask`=1710, `classmask`=4 WHERE `Spell`=34082; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=45462; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=45477; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=45902; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=45903; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=45927; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=47541; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=48266; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=49410; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=49576; +UPDATE `playercreateinfo_spell` SET `racemask`=512, `classmask`=32 WHERE `Spell`=50613; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=52665; +UPDATE `playercreateinfo_spell` SET `racemask`=2, `classmask`=32 WHERE `Spell`=54562; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=56816; +UPDATE `playercreateinfo_spell` SET `racemask`=595, `classmask`=256 WHERE `Spell`=58284; +UPDATE `playercreateinfo_spell` SET `racemask`=128, `classmask`=253 WHERE `Spell`=58943; +UPDATE `playercreateinfo_spell` SET `racemask`=8, `classmask`=1085 WHERE `Spell`=58984; +UPDATE `playercreateinfo_spell` SET `racemask`=1, `classmask`=443 WHERE `Spell`=58985; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=1 WHERE `Spell`=59221; +UPDATE `playercreateinfo_spell` SET `racemask`=4, `classmask`=63 WHERE `Spell`=59224; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=2 WHERE `Spell`=59535; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=4 WHERE `Spell`=59536; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=16 WHERE `Spell`=59538; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=32 WHERE `Spell`=59539; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=64 WHERE `Spell`=59540; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=128 WHERE `Spell`=59541; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=2 WHERE `Spell`=59542; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=4 WHERE `Spell`=59543; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=16 WHERE `Spell`=59544; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=32 WHERE `Spell`=59545; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=64 WHERE `Spell`=59547; +UPDATE `playercreateinfo_spell` SET `racemask`=1024, `classmask`=128 WHERE `Spell`=59548; +UPDATE `playercreateinfo_spell` SET `racemask`=1, `classmask`=443 WHERE `Spell`=59752; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=59879; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=59921; +UPDATE `playercreateinfo_spell` SET `racemask`=1541, `classmask`=2 WHERE `Spell`=60091; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=1535 WHERE `Spell`=61437; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=32 WHERE `Spell`=61455; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=256 WHERE `Spell`=75445; +UPDATE `playercreateinfo_spell` SET `racemask`=1791, `classmask`=64 WHERE `Spell`=75461; +UPDATE `playercreateinfo_spell` SET `racemask`=0 WHERE `racemask`=1791; -- All races +UPDATE `playercreateinfo_spell` SET `classmask`=0 WHERE `classmask`=1535; -- All classes diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_01_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_01_world_smart_scripts.sql new file mode 100644 index 00000000000..63561342f3c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_01_world_smart_scripts.sql @@ -0,0 +1,12 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid`=30407 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`link`,`event_type`,`event_flags`,`event_phase_mask`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(30407,0,1,11,0,0,0,0,0,0,11,56726,0,1,'Captured Crusader - On Respawn - Apply Nerubian Webs (56726)'), +(30407,1,0,61,0,0,0,0,0,0,22,1,0,1,'Captured Crusader - Linked to id 0 - Set event phase to 1'), +(30407,2,0, 1,0,1,4000,4000,4000,4000,10,70,22,1,'Captured Crusader - Out of combat - Random emote'), +(30407,3,4, 8,0,1,56683,0,0,0,11,56687,0,7,'Captured Crusader - Spell hit of Grab Captured Crusader (56683) - Cast Ride Vehicle (56687)'), +(30407,4,5,61,0,1,0,0,0,0,1,0,0,1,'Captured Crusader - Linked to id 3 - Talk'), +(30407,5,0,61,0,1,0,0,0,0,22,2,0,1,'Captured Crusader - Linked to id 3 - Set event phase to 2'), +(30407,6,0, 1,0,2,8000,8000,8000,8000,1,1,0,1,'Captured Crusader - Out of combat - Talk'), +(30407,7,8,23,1,2,56687,0,0,0,1,2,0,1,'Captured Crusader - Aura Ride Vehicle (56687) removed - Talk'), +(30407,8,9,61,0,2,0,0,0,0,41,5000,0,1,'Captured Crusader - Linked to id 7 - Despawn'), +(30407,9,0,61,0,2,0,0,0,0,22,0,0,1,'Captured Crusader - Linked to id 7 - Set event phase to 0'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_02_world_trinity_strings.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_02_world_trinity_strings.sql new file mode 100644 index 00000000000..b81c22711c4 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_15_02_world_trinity_strings.sql @@ -0,0 +1,3 @@ +DELETE FROM `trinity_string` WHERE `entry`=363; +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(363, 'Player %s cannot whisper you any longer.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_16_00_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_16_00_world_conditions.sql new file mode 100644 index 00000000000..0a8f347ac35 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_16_00_world_conditions.sql @@ -0,0 +1,10 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (48619,48620,52812); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=48738; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,48619,0,0,31,0,3,27377,0,0,'','Spell Flame Breath effect0 targets Thane Torvald Eriksson'), +(13,2,48619,0,0,31,0,3,27377,0,0,'','Spell Flame Breath effect1 targets Thane Torvald Eriksson'), +(13,1,48620,0,0,31,0,3,27377,0,0,'','Spell Wing Buffet targets Thane Torvald Eriksson'), +(13,1,52812,0,0,31,0,3,27377,0,0,'','Spell Molten Fury effect0 targets Thane Torvald Eriksson'), +(13,2,52812,0,0,31,0,3,27377,0,0,'','Spell Molten Fury effect1 targets Thane Torvald Eriksson'); + +UPDATE `smart_scripts` SET `event_type`=1, `event_flags`=1 WHERE `entryorguid`=21633 AND `source_type`=0 AND `id`=0; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_00_world_misc.sql new file mode 100644 index 00000000000..f2f05eb6671 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_00_world_misc.sql @@ -0,0 +1,21 @@ +SET @HARPOON := 30066; +SET @HAYSTACK := 30096; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (55896,55934); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@HAYSTACK; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,4,55896,0,0,31,0,3,@HAYSTACK,0,0,0,'','Spell Explosion effect2 targets Dry Haystack'), +(13,2,55934,0,0,31,0,3,30103,0,0,0,'','Spell Valkyrion Fire effect1 targets Valkyrion Fire Bunny'), +(22,1,@HAYSTACK,0,0,1,1,55934,0,0,1,0,'','SAI Dry Haystack triggers only if Dry Haystack has no aura of spell Valkyrion Fire'); + +UPDATE `creature_template` SET `npcflag`=16777216, `ScriptName`='' WHERE `entry`=@HARPOON; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@HARPOON,@HAYSTACK); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@HARPOON,@HAYSTACK) 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 +(@HARPOON,0,0,0,11,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Valkyrion Harpoon Gun - On spawn - Root'), + +(@HAYSTACK,0,0,1,8,0,100,0,55896,0,0,0,11,55934,0,0,0,0,0,0,0,0,0,0,0,0,0, 'Dry Haystack - On spellhit Explosion - Spellcast Valkyrion Fire'), +(@HAYSTACK,0,1,2,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dry Haystack - Linked - Set event phase 1'), +(@HAYSTACK,0,2,0,61,0,100,0,0,0,0,0,33,@HAYSTACK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Dry Haystack - Linked - Quest credit'), +(@HAYSTACK,0,3,4,23,1,100,0,55934,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dry Haystack - On spellfade Valkyrion Fire (phase 1) - Set event phase 0'), +(@HAYSTACK,0,4,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dry Haystack - Linked - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_01_world_creature_template_addon.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_01_world_creature_template_addon.sql new file mode 100644 index 00000000000..3942ee46d34 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_01_world_creature_template_addon.sql @@ -0,0 +1,3 @@ +DELETE FROM `creature_template_addon` WHERE `entry`=29570; +INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`) VALUES +(29570,50331648,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_02_world_sai.sql new file mode 100644 index 00000000000..f75d4455a45 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_02_world_sai.sql @@ -0,0 +1,16 @@ +SET @MULE := 23977; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@MULE; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@MULE AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@MULE*100 AND `source_type`=9; +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 +(@MULE,0,0,0,22,0,100,0,125,0,0,0,11,43572,0,0,0,0,0,7,0,0,0,0,0,0,0,'Abandoned Pack Mule - On emote receive - Spellcast Send Them Packing: On /Raise Emote Dummy to Player'), +(@MULE,0,1,2,31,0,100,0,43572,0,0,0,11,42721,0,0,0,0,0,7,0,0,0,0,0,0,0,'Abandoned Pack Mule - On target spellhit Send Them Packing: On /Raise Emote Dummy to Player - Spellcast Send Them Packing: On Successful Dummy Spell Kill Credit'), +(@MULE,0,2,0,61,0,100,0,0,0,0,0,80,@MULE*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Abandoned Pack Mule - On target spellhit Send Them Packing: On /Raise Emote Dummy to Player - Run script'), + +(@MULE*100,9,0,0,0,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Abandoned Pack Mule script - Stop movement'), +(@MULE*100,9,1,0,0,0,100,0,500,500,0,0,5,35,0,0,0,0,0,1,0,0,0,0,0,0,0,'Abandoned Pack Mule script - Play emote'), +(@MULE*100,9,2,0,0,0,100,0,0,0,0,0,4,727,0,0,0,0,0,1,0,0,0,0,0,0,0,'Abandoned Pack Mule script - Play sound'), +(@MULE*100,9,3,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Abandoned Pack Mule script - Set run'), +(@MULE*100,9,4,0,0,0,100,0,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,1561.824,-3709.441,147.7268,0,'Abandoned Pack Mule script - Move to position'), +(@MULE*100,9,5,0,0,0,100,0,15000,15000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Abandoned Pack Mule script - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_03_world_misc.sql new file mode 100644 index 00000000000..17468c626d3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_17_03_world_misc.sql @@ -0,0 +1,12 @@ +DELETE FROM `trinity_string` WHERE `entry` IN (1151, 1152, 1153, 1154, 1155, 1156); +INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES +(1151, 'Mail List Info: # of mails: %u, Player: %s(%u)'), +(1152, 'Mail Id: %u Title: \"%s\" Money: %ug%us%uc'), +(1153, 'Sender: %s(%u), Receiver: %s(%u)'), +(1154, 'Time deliver: %s, Time expire: %s'), +(1155, 'Item: %s[Entry:%u Guid:%u Count:%u]'), +(1156, 'Mail List Info: No mail found for this character.'); + +DELETE FROM `command` WHERE `name` = 'list mail'; +INSERT INTO `command` (`name`,`security`,`help`) VALUES +('list mail', 3, 'Syntax: .list mail $character\nList of mails the character received.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_20_00_world_guardians_of_the_altar.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_20_00_world_guardians_of_the_altar.sql new file mode 100644 index 00000000000..ce15a034185 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_20_00_world_guardians_of_the_altar.sql @@ -0,0 +1,120 @@ +-- Quest 4901 "Guardians of the Altar" + +SET @NPC_RANSHALLA := 10300; +SET @NPC_PRIESTESS_ELUNE := 12116; +SET @NPC_GUARDIAN_ELUNE := 12140; +SET @NPC_VOICE_ELUNE := 12152; + +SET @GO_ELUNE_ALTAR := 177404; +SET @GO_ELUNE_GEM := 177414; +SET @GO_ELUNE_LIGHT := 177415; +SET @GO_ELUNE_FIRE := 177417; +SET @GO_GUID := 9650; -- Need 7 guids + +-- script_texts for the quest +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_RANSHALLA, @NPC_PRIESTESS_ELUNE, @NPC_VOICE_ELUNE); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_RANSHALLA,0,0, 'Remember, I need your help to properly channel. I will ask you to aid me several times in our path, so please be ready.',12,0,100,0,0,0, 'Ranshalla SAY_QUEST_START'), +(@NPC_RANSHALLA,1,0, 'This blue light... It''s strange. What do you think it means?',12,0,100,25,0,0, 'Ranshalla SAY_ENTER_OWL_THICKET'), +(@NPC_RANSHALLA,2,0, 'We''ve found it!',12,0,100,0,0,0, 'Ranshalla SAY_REACH_TORCH_1'), +(@NPC_RANSHALLA,2,1, 'Please, light this while I am channeling',12,0,100,0,0,0, 'Ranshalla SAY_REACH_TORCH_2'), +(@NPC_RANSHALLA,2,2, 'This is the place. Let''s light it.',12,0,100,0,0,0, 'Ranshalla SAY_REACH_TORCH_3'), +(@NPC_RANSHALLA,3,0, 'Let''s find the next one.',12,0,100,0,0,0, 'Ranshalla SAY_AFTER_TORCH_1'), +(@NPC_RANSHALLA,3,1, 'We must continue on now.',12,0,100,0,0,0, 'Ranshalla SAY_AFTER_TORCH_2'), +(@NPC_RANSHALLA,4,0, 'It is time for the final step; we must activate the altar.',12,0,100,0,0,0, 'Ranshalla SAY_REACH_ALTAR_1'), +(@NPC_RANSHALLA,5,0, 'I will read the words carved into the stone, and you must find a way to light it.',12,0,100,0,0,0, 'Ranshalla SAY_REACH_ALTAR_2'), +(@NPC_RANSHALLA,6,0, 'The altar is glowing! We have done it!',12,0,100,0,0,0, 'Ranshalla SAY_RANSHALLA_ALTAR_1'), +(@NPC_RANSHALLA,7,0, 'What is happening? Look!',12,0,100,0,0,0, 'Ranshalla SAY_RANSHALLA_ALTAR_2'), +(@NPC_PRIESTESS_ELUNE,8,0, 'It has been many years...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_3'), +(@NPC_PRIESTESS_ELUNE,9,0, 'Who has disturbed the altar of the goddess?',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_4'), +(@NPC_RANSHALLA,10,0, 'Please, priestesses, forgive us for our intrusion. We do not wish any harm here.',12,0,100,0,0,0, 'Ranshalla SAY_RANSHALLA_ALTAR_5'), +(@NPC_RANSHALLA,11,0, 'We only wish to know why the wildkin guard this area...',12,0,100,0,0,0, 'Ranshalla SAY_RANSHALLA_ALTAR_6'), +(@NPC_PRIESTESS_ELUNE,12,0, 'Enu thora''serador. This is a sacred place.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_7'), +(@NPC_PRIESTESS_ELUNE,13,0, 'We will show you...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_8'), +(@NPC_PRIESTESS_ELUNE,14,0, 'Look above you; thara dormil dorah...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_9'), +(@NPC_PRIESTESS_ELUNE,15,0, 'This gem once allowed direct communication with Elune, herself.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_10'), +(@NPC_PRIESTESS_ELUNE,16,0, 'Through the gem, Elune channeled her infinite wisdom...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_11'), +(@NPC_PRIESTESS_ELUNE,17,0, 'Realizing that the gem needed to be protected, we turned to the goddess herself.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_12'), +(@NPC_PRIESTESS_ELUNE,18,0, 'Soon after, we began to have visions of a creature... A creature with the feathers of an owl, but the will and might of a bear...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_13'), +(@NPC_PRIESTESS_ELUNE,19,0, 'It was on that day that the wildkin were given to us. Fierce guardians, the goddess assigned the wildkin to protect all of her sacred places.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_14'), +(@NPC_VOICE_ELUNE,20,0, 'Anu''dorini Talah, Ru shallora enudoril.',12,0,100,0,0,0, 'Voice of Elune SAY_VOICE_ALTAR_15'), +(@NPC_PRIESTESS_ELUNE,21,0, 'But now, many years later, the wildkin have grown more feral, and without the guidance of the goddess, they are confused...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_16'), +(@NPC_PRIESTESS_ELUNE,22,0, 'Without a purpose, they wander... But many find their way back to the sacred areas that they once were sworn to protect.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_17'), +(@NPC_PRIESTESS_ELUNE,23,0, 'Wildkin are inherently magical; this power was bestowed upon them by the goddess.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_18'), +(@NPC_PRIESTESS_ELUNE,24,0, 'Know that wherever you might find them in the world, they are protecting something of importance, as they were entrusted to do so long ago.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_19'), +(@NPC_PRIESTESS_ELUNE,25,0, 'Please, remember what we have shown you...',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_20'), +(@NPC_PRIESTESS_ELUNE,26,0, 'Farewell.',12,0,100,0,0,0, 'Priestess of Elune SAY_PRIESTESS_ALTAR_21'), +(@NPC_RANSHALLA,27,0, 'Thank you for you help, $N. I wish you well in your adventures.',12,0,100,0,0,0, 'Ranshalla SAY_RANSHALLA_END_1'), +(@NPC_RANSHALLA,28,0, 'I want to stay here and reflect on what we have seen. Please see Erelas and tell him what we have learned.',12,0,100,0,0,0, 'Ranshalla SAY_RANSHALLA_END_2'), +(@NPC_RANSHALLA,29,0, '%s begins chanting a strange spell...',16,0,100,0,0,0, 'Ranshalla EMOTE_CHANT_SPELL'); + +-- Waypoints for Ranshalla +DELETE FROM `script_waypoint` WHERE `entry`=@NPC_RANSHALLA; +INSERT INTO `script_waypoint` (`entry`,`pointid`,`location_x`,`location_y`,`location_z`,`waittime`,`point_comment`) VALUES +(@NPC_RANSHALLA, 1, 5720.45, -4798.45, 778.23, 0, ''), +(@NPC_RANSHALLA, 2, 5730.22, -4818.34, 777.11, 0, ''), +(@NPC_RANSHALLA, 3, 5728.12, -4835.76, 778.15, 1000, 'SAY_ENTER_OWL_THICKET'), +(@NPC_RANSHALLA, 4, 5718.85, -4865.62, 787.56, 0, ''), +(@NPC_RANSHALLA, 5, 5697.13, -4909.12, 801.53, 0, ''), +(@NPC_RANSHALLA, 6, 5684.20, -4913.75, 801.60, 0, ''), +(@NPC_RANSHALLA, 7, 5674.67, -4915.78, 802.13, 0, ''), +(@NPC_RANSHALLA, 8, 5665.61, -4919.22, 804.85, 0, ''), +(@NPC_RANSHALLA, 9, 5638.22, -4897.58, 804.97, 0, ''), +(@NPC_RANSHALLA, 10, 5632.67, -4892.05, 805.44, 0, 'Cavern 1 - EMOTE_CHANT_SPELL'), +(@NPC_RANSHALLA, 11, 5664.58, -4921.84, 804.91, 0, ''), +(@NPC_RANSHALLA, 12, 5684.21, -4943.81, 802.80, 0, ''), +(@NPC_RANSHALLA, 13, 5724.92, -4983.69, 808.25, 0, ''), +(@NPC_RANSHALLA, 14, 5753.39, -4990.73, 809.84, 0, ''), +(@NPC_RANSHALLA, 15, 5765.62, -4994.89, 809.42, 0, 'Cavern 2 - EMOTE_CHANT_SPELL'), +(@NPC_RANSHALLA, 16, 5724.94, -4983.58, 808.29, 0, ''), +(@NPC_RANSHALLA, 17, 5699.61, -4989.82, 808.03, 0, ''), +(@NPC_RANSHALLA, 18, 5686.80, -5012.17, 807.27, 0, ''), +(@NPC_RANSHALLA, 19, 5691.43, -5037.43, 807.73, 0, ''), +(@NPC_RANSHALLA, 20, 5694.24, -5054.64, 808.85, 0, 'Cavern 3 - EMOTE_CHANT_SPELL'), +(@NPC_RANSHALLA, 21, 5686.88, -5012.18, 807.23, 0, ''), +(@NPC_RANSHALLA, 22, 5664.94, -5001.12, 807.78, 0, ''), +(@NPC_RANSHALLA, 23, 5647.12, -5002.84, 807.54, 0, ''), +(@NPC_RANSHALLA, 24, 5629.23, -5014.88, 807.94, 0, ''), +(@NPC_RANSHALLA, 25, 5611.26, -5025.62, 808.36, 0, 'Cavern 4 - EMOTE_CHANT_SPELL'), +(@NPC_RANSHALLA, 26, 5647.13, -5002.85, 807.57, 0, ''), +(@NPC_RANSHALLA, 27, 5641.12, -4973.22, 809.39, 0, ''), +(@NPC_RANSHALLA, 28, 5622.97, -4953.58, 811.12, 0, ''), +(@NPC_RANSHALLA, 29, 5601.52, -4939.49, 820.77, 0, ''), +(@NPC_RANSHALLA, 30, 5571.87, -4936.22, 831.35, 0, ''), +(@NPC_RANSHALLA, 31, 5543.23, -4933.67, 838.33, 0, ''), +(@NPC_RANSHALLA, 32, 5520.86, -4942.05, 843.02, 0, ''), +(@NPC_RANSHALLA, 33, 5509.15, -4946.31, 849.36, 0, ''), +(@NPC_RANSHALLA, 34, 5498.45, -4950.08, 849.98, 0, ''), +(@NPC_RANSHALLA, 35, 5485.78, -4963.40, 850.43, 0, ''), +(@NPC_RANSHALLA, 36, 5467.92, -4980.67, 851.89, 0, 'Cavern 5 - EMOTE_CHANT_SPELL'), +(@NPC_RANSHALLA, 37, 5498.68, -4950.45, 849.96, 0, ''), +(@NPC_RANSHALLA, 38, 5518.68, -4921.94, 844.65, 0, ''), +(@NPC_RANSHALLA, 39, 5517.66, -4920.82, 845.12, 0, 'SAY_REACH_ALTAR_1'), +(@NPC_RANSHALLA, 40, 5518.38, -4913.47, 845.57, 0, ''), +(@NPC_RANSHALLA, 41, 5511.31, -4913.82, 847.17, 5000, 'light the spotlights'), +(@NPC_RANSHALLA, 42, 5511.31, -4913.82, 847.17, 0, 'start altar cinematic - SAY_RANSHALLA_ALTAR_2'), +(@NPC_RANSHALLA, 43, 5510.47, -4922.38, 846.07, 0, ''), +(@NPC_RANSHALLA, 44, 5517.66, -4920.82, 845.12, 0, 'escort paused'), +(@NPC_RANSHALLA, 45, 5517.6, -4920.8, 845.12, 0, 'dummy to stop despawn'); + +-- creature +UPDATE `creature_template` SET `ScriptName`='npc_ranshalla' WHERE `entry`=@NPC_RANSHALLA; +UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=@NPC_GUARDIAN_ELUNE; -- make guardian immune to PCs +-- gameobject +UPDATE `gameobject_template` SET `ScriptName`='go_elune_fire' WHERE `entry` IN (@GO_ELUNE_FIRE, @GO_ELUNE_ALTAR); +UPDATE `gameobject_template` SET `flags`=16 WHERE `entry`=@GO_ELUNE_ALTAR; -- stop people from touching altar early +-- Light and Gem Spawns +DELETE FROM `gameobject` WHERE `id` IN (@GO_ELUNE_GEM, @GO_ELUNE_LIGHT); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@GO_GUID+0,@GO_ELUNE_LIGHT,1,1,1,5515.71,-4905.82,846.322,4.62478,0,0,0.737392,-0.675466,-600,255,1), +(@GO_GUID+1,@GO_ELUNE_LIGHT,1,1,1,5505.09,-4909.36,848.961,5.63402,0,0,0.318914,-0.947784,-600,255,1), +(@GO_GUID+2,@GO_ELUNE_LIGHT,1,1,1,5501.69,-4920.04,848.791,0.155868,0,0,0.0778553,0.996965,-600,255,1), +(@GO_GUID+3,@GO_ELUNE_LIGHT,1,1,1,5510.28,-4929.31,845.214,1.62064,0,0,0.724507,0.689267,-600,255,1), +(@GO_GUID+4,@GO_ELUNE_LIGHT,1,1,1,5520.35,-4925.22,843.644,2.13507,0,0,0.876015,0.482283,-600,255,1), +(@GO_GUID+5,@GO_ELUNE_LIGHT,1,1,1,5526.7,-4916.41,843.452,3.01865,0,0,0.998111,0.0614331,-600,255,1), +(@GO_GUID+6,@GO_ELUNE_GEM,1,1,1,5514.49,-4917.57,850.538,2.3911,0,0,0.930417,0.366502,-900,100,1); + +-- EFFECT1 for 18953 +DELETE FROM `spell_dbc` WHERE `id`=18954; +INSERT INTO `spell_dbc` (`id`, `Attributes`, `CastingTimeIndex`, `ProcChance`, `RangeIndex`, `EquippedItemClass`, `Effect1`, `EffectImplicitTargetA1`, `DmgMultiplier1`, `Comment`) VALUES +(18954, 256, 1, 101, 1, -1, 3, 1, 1, 'Ranshalla Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_00_world_sai.sql new file mode 100644 index 00000000000..75a960af2f8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_00_world_sai.sql @@ -0,0 +1,9 @@ +-- Fix quest 14077: The Light's Mercy +SET @SPELL := 66390; +SET @NPC := 34852; +SET @NPC_REWARD := 34852; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` = @NPC; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @NPC 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 +(@NPC,0,0,1,8,0,100,0x01,@SPELL,0,0,0,33,@NPC_REWARD,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Slain Tualiq Villager - On spell hit - Give kill credit for quest 14077'), +(@NPC,0,1,0,61,0,100,1,0,0,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Slain Tualiq Villager - Despawn after 2 seconds'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_01_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_01_world_creature_text.sql new file mode 100644 index 00000000000..d2b84cb0ef1 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_01_world_creature_text.sql @@ -0,0 +1,7 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid`=9026 AND `source_type`=0 AND `id`=2; +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 +(9026,0,2,0,6,0,100,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0, "Overmaster Pyron - On Death - Say Line 0"); + +DELETE FROM `creature_text` WHERE `entry`=9026 AND `groupid`=0; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(9026,0,0, "I will be reborn, mortals! Incendius shall raise me from these ashes!",12,0,100,0,0,0,"Overmaster Pyron"); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_02_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_02_world_creature.sql new file mode 100644 index 00000000000..874068599f0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_02_world_creature.sql @@ -0,0 +1,11 @@ +SET @CGUID := 54428; -- set by TDB team (3) +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 36656, 571, 1, 1, 5647.669, 2106.526, 798.1375, 4.764749, 120, 0, 0), -- Silver Covenant Sentinel (Area: 4862) +(@CGUID+1, 36656, 571, 1, 1, 5657.819, 2105.712, 798.1375, 4.590216, 120, 0, 0), -- Silver Covenant Sentinel (Area: 4862) +(@CGUID+2, 36624, 571, 1, 1, 5652.733, 2106.208, 798.1375, 4.572762, 120, 0, 0); -- Caladis Brightspear (Area: 4862) +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@CGUID+0, 0, 0, 0x10000, 0x1, 0, '71311'), +(@CGUID+1, 0, 0, 0x10000, 0x1, 0, '71311'), +(@CGUID+2, 0, 0, 0x10000, 0x1, 0, '71311'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_03_world_sai.sql new file mode 100644 index 00000000000..e70dd7166ae --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_03_world_sai.sql @@ -0,0 +1,9 @@ +UPDATE `smart_scripts` SET `event_phase_mask`=0 WHERE `entryorguid`=2289 AND `source_type`=1; +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry`=1494; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1494; +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 +(1494,0,0,0,1,0,100,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 'On Respawn - Say Line - Yell Text on Summon'); +-- Add missing creature_text +DELETE FROM `creature_text` WHERE `entry`=1494 AND `groupid`=0; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(1494,0,0, 'Mmmh...I SMELL FOOD!',14,0,100,0,0,0, 'Negolash Yell on Summon'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_04_world_waypoint_data.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_04_world_waypoint_data.sql new file mode 100644 index 00000000000..b2467c93c2a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_23_04_world_waypoint_data.sql @@ -0,0 +1,318 @@ +-- missing objects/mobs on Demon Fall Ridge +SET @OGUID := 6040; +SET @CGUID := 108860; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID AND @OGUID+3; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@OGUID+0,1622 ,1,1,1,1559.646 ,-2812.193,181.5358 ,0 ,0 ,0 ,0 ,1 ,120,255,1), -- Bruiseweed (Area: Demon Fall Ridge), +(@OGUID+1,1623 ,1,1,1,1599.648 ,-3088.057,89.47401 ,0 ,0 ,0 ,0 ,1 ,120,255,1), -- Wild Steelbloom (Area: Demon Fall Ridge), +(@OGUID+2,1732 ,1,1,1,1619.236 ,-3106.807,90.91071 ,0 ,0 ,0 ,0 ,1 ,120,255,1), -- Tin Vein (Area: Demon Fall Ridge), +(@OGUID+3,176784,1,1,1,1550.686 ,-2862.281,181.7537 ,3.141593 ,0 ,0 ,0 ,1 ,120,255,1); -- Bonfire (Area: Demon Fall Ridge); +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+25; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@CGUID+00,11697,1,1,1,1377.036,-2832.29,108.1152,5.778122,120,10,1), -- Mannoroc Lasher (Area: Demon Fall Ridge) (waypoints or random movement) +(@CGUID+01,11697,1,1,1,1442.845,-2781.555,143.3298,3.407407,120,10,1), -- Mannoroc Lasher (Area: Demon Fall Ridge) (possible waypoints or random movement) +(@CGUID+02,11697,1,1,1,1520.548,-2910.79,128.7899,0.3708913,120,10,1), -- Mannoroc Lasher (Area: Demon Fall Ridge) (possible waypoints or random movement) +(@CGUID+03,11697,1,1,1,1522.825,-2851.57,182.1475,5.156503,120,10,1), -- Mannoroc Lasher (Area: Demon Fall Ridge) (waypoints or random movement) +(@CGUID+04,11697,1,1,1,1538.938,-2878.932,183.4645,1.239184,120,0,0), -- Mannoroc Lasher (Area: Demon Fall Ridge) +(@CGUID+05,11697,1,1,1,1544.031,-2848.745,182.5147,5.044002,120,0,0), -- Mannoroc Lasher (Area: Demon Fall Ridge) +(@CGUID+06,11697,1,1,1,1544.416,-2863.002,112.0556,2.701836,120,10,1), -- Mannoroc Lasher (Area: Demon Fall Ridge) (possible waypoints or random movement) +(@CGUID+07,11697,1,1,1,1563.016,-2859.155,182.2932,4.066617,120,0,0), -- Mannoroc Lasher (Area: Demon Fall Ridge) +(@CGUID+08,11697,1,1,1,1581.573,-2897.424,182.3294,1.43117,120,0,0), -- Mannoroc Lasher (Area: Demon Fall Ridge) +(@CGUID+09,16030,1,1,1,1625.747,-3095.011,89.12293,2.2015,120,10,1), -- Maggot (Area: Demon Fall Ridge) +(@CGUID+10,16030,1,1,1,1636.01,-3052.925,90.07569,4.715363,120,10,1), -- Maggot (Area: Demon Fall Ridge) +(@CGUID+11,16030,1,1,1,1647.72,-3076.708,88.33277,1.016972,120,10,1), -- Maggot (Area: Demon Fall Ridge) +(@CGUID+12,6073,1,1,1,1420.36,-2797,153.2968,4.158457,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+13,6073,1,1,1,1451.373,-2815.769,154.2159,4.385233,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+14,6073,1,1,1,1500.756,-2835.735,111.587,5.95405,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+15,6073,1,1,1,1512.830,-2877.935,111.1157,2.860,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+16,6073,1,1,1,1550.406,-2885.673,132.9547,4.354227,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+17,6073,1,1,1,1555.71,-2901.445,182.4397,3.857178,120,10,1), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+18,6073,1,1,1,1566.779,-2894.126,132.5958,0.1956479,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+19,6073,1,1,1,1537.930,-2823.109,181.6067,5.282221,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+20,6073,1,1,1,1583.341,-2959.558,182.2528,5.410459,120,0,0), -- Searing Infernal (Area: Demon Fall Ridge) +(@CGUID+21,6115,1,1,1,1420.313,-2851.199,133.127,0.9438578,120,10,1), -- Roaming Felguard (Area: Demon Fall Ridge) (waypoints or random movement) +(@CGUID+22,6115,1,1,1,1461.483,-2783.054,154.6106,4.637331,120,10,1), -- Roaming Felguard (Area: Demon Fall Ridge) (waypoints or random movement) +(@CGUID+23,6115,1,1,1,1521.961,-2856.834,111.6264,4.90235,120,10,1), -- Roaming Felguard (Area: Demon Fall Ridge) (waypoints or random movement) +(@CGUID+24,6115,1,1,1,1610.802,-3083.251,89.95774,1.347837,120,10,1), -- Roaming Felguard (Area: Demon Fall Ridge) waypoints or random movement) +(@CGUID+25,6115,1,1,1,1611.121,-2985.179,182.0912,2.853907,120,10,1); -- Roaming Felguard (Area: Demon Fall Ridge) (waypoints or random movement) +-- reposition to avoid position clash with other mob +UPDATE creature SET position_x = 1553.05,position_y = -2844.765,position_z = 129.70,orientation = 0.6726,MovementType = 0,spawndist = 0 WHERE `guid` = 20082; +-- pathing for Felguard #20872 on +SET @WPID := 208720; +UPDATE `creature` SET `MovementType`=2,`position_x`=1445.667358,`position_y`=-2785.956299,`position_z`=144.079132,`currentwaypoint`=0 WHERE `guid`=20872; +DELETE FROM `creature_addon` WHERE `guid`=20872; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (20872,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1445.667358,-2785.956299,144.079132,0,0,0,0,100,0), +(@WPID,1,1450.664429,-2799.601807,144.581528,0,0,0,0,100,0), +(@WPID,2,1457.757935,-2801.675293,145.510452,0,0,0,0,100,0), +(@WPID,3,1467.130493,-2804.867188,147.879959,0,0,0,0,100,0), +(@WPID,4,1476.766113,-2806.016602,149.540283,0,0,0,0,100,0), +(@WPID,5,1478.050537,-2798.385254,149.963150,0,0,0,0,100,0), +(@WPID,6,1473.788696,-2787.377197,152.504379,0,0,0,0,100,0), +(@WPID,7,1468.064453,-2783.520264,154.801208,0,0,0,0,100,0), +(@WPID,8,1460.110718,-2782.338135,154.570343,0,0,0,0,100,0), +(@WPID,9,1466.063477,-2783.569580,155.144333,0,0,0,0,100,0), +(@WPID,10,1473.382202,-2788.681152,152.407547,0,0,0,0,100,0), +(@WPID,11,1477.975464,-2797.371094,150.017349,0,0,0,0,100,0), +(@WPID,12,1473.043457,-2804.988770,149.482895,0,0,0,0,100,0), +(@WPID,13,1465.716309,-2806.197021,147.414398,0,0,0,0,100,0), +(@WPID,14,1457.339355,-2802.397949,145.514069,0,0,0,0,100,0), +(@WPID,15,1450.980835,-2794.119385,144.331573,0,0,0,0,100,0); +-- pathing for Felguard #20874 on +SET @WPID := 208740; +UPDATE `creature` SET `MovementType`=2,`position_x`=1427.127686,`position_y`=-2794.929199,`position_z`=153.367630,`currentwaypoint`=0 WHERE `guid`=20874; +DELETE FROM `creature_addon` WHERE `guid`=20874; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (20874,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1427.127686,-2794.929199,153.367630,0,0,0,0,100,0), +(@WPID,1,1434.866943,-2792.607666,153.983551,0,0,0,0,100,0), +(@WPID,2,1439.881104,-2789.645996,156.961761,0,0,0,0,100,0), +(@WPID,3,1446.391846,-2787.082031,158.247574,0,0,0,0,100,0), +(@WPID,4,1452.749390,-2784.158691,156.516998,0,0,0,0,100,0), +(@WPID,5,1461.059204,-2782.987793,154.608047,0,0,0,0,100,0), +(@WPID,6,1459.080078,-2790.694580,157.111328,0,0,0,0,100,0), +(@WPID,7,1457.619629,-2795.229492,158.473236,0,0,0,0,100,0), +(@WPID,8,1455.797607,-2801.988037,158.055511,0,0,0,0,100,0), +(@WPID,9,1453.832642,-2808.706543,155.066422,0,0,0,0,100,0), +(@WPID,10,1451.864258,-2814.851807,153.940338,0,0,0,0,100,0), +(@WPID,11,1453.883789,-2807.040039,155.886780,0,0,0,0,100,0), +(@WPID,12,1457.238525,-2798.087891,158.691376,0,0,0,0,100,0), +(@WPID,13,1459.887451,-2791.610352,157.409363,0,0,0,0,100,0), +(@WPID,14,1461.216431,-2782.308350,154.564026,0,0,0,0,100,0), +(@WPID,15,1450.710571,-2784.914063,157.356842,0,0,0,0,100,0), +(@WPID,16,1444.170044,-2787.408203,158.144180,0,0,0,0,100,0), +(@WPID,17,1434.528687,-2791.566895,154.061630,0,0,0,0,100,0); +-- pathing for Felguard #20876 on +SET @WPID := 208760; +UPDATE creature SET `MovementType`=2,`position_x`=1519.061279,`position_y`=-2911.228271,`position_z`=128.724503,`currentwaypoint`=0 WHERE `guid` = 20876; +DELETE FROM `creature_addon` WHERE `guid` = 20876; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (20876,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1519.061279,-2911.228271,128.724503,0,0,0,0,100,0), +(@WPID,1,1520.779297,-2904.444336,130.019699,0,0,0,0,100,0), +(@WPID,2,1523.576782,-2894.323975,129.760376,0,0,0,0,100,0), +(@WPID,3,1525.399658,-2887.565674,129.650497,0,0,0,0,100,0), +(@WPID,4,1527.510254,-2880.891602,127.859444,0,0,0,0,100,0), +(@WPID,5,1530.465454,-2871.784424,124.707077,0,0,0,0,100,0), +(@WPID,6,1534.396240,-2865.125244,124.945396,0,0,0,0,100,0), +(@WPID,7,1541.486206,-2857.385254,129.325195,0,0,0,0,100,0), +(@WPID,8,1546.340820,-2852.342285,129.804764,0,0,0,0,100,0), +(@WPID,9,1551.960815,-2845.879395,129.609558,0,0,0,0,100,0), +(@WPID,10,1547.109009,-2851.705322,129.800903,0,0,0,0,100,0), +(@WPID,11,1542.209229,-2856.704590,129.541779,0,0,0,0,100,0), +(@WPID,12,1534.886353,-2864.229248,125.346100,0,0,0,0,100,0), +(@WPID,13,1530.252686,-2871.376953,124.679268,0,0,0,0,100,0), +(@WPID,14,1528.427368,-2877.171631,126.128044,0,0,0,0,100,0), +(@WPID,15,1525.856323,-2887.348633,129.625702,0,0,0,0,100,0), +(@WPID,16,1523.781738,-2894.034180,129.770584,0,0,0,0,100,0), +(@WPID,17,1521.690063,-2900.714355,129.564087,0,0,0,0,100,0); +-- pathing for Lasher CGUID+0 +SET @WPID := (@CGUID+0)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1377.440918,`position_y`=-2831.153320,`position_z`=108.026917,`currentwaypoint`=0 WHERE `guid` = @CGUID+0; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+0; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+0,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1377.440918,-2831.153320,108.026917,0,0,0,0,100,0), +(@WPID,1,1382.229004,-2827.563721,108.826355,0,0,0,0,100,0), +(@WPID,2,1391.730957,-2823.097656,109.964256,0,0,0,0,100,0), +(@WPID,3,1403.629517,-2820.422607,113.992607,0,0,0,0,100,0), +(@WPID,4,1414.020630,-2821.883545,116.552795,0,0,0,0,100,0), +(@WPID,5,1425.679565,-2823.227295,118.282143,0,0,0,0,100,0), +(@WPID,6,1437.257935,-2822.140869,120.388496,0,0,0,0,100,0), +(@WPID,7,1444.380127,-2817.184570,120.541428,0,0,0,0,100,0), +(@WPID,8,1439.560669,-2812.109863,120.442703,0,0,0,0,100,0), +(@WPID,9,1429.911133,-2806.321045,121.627449,0,0,0,0,100,0), +(@WPID,10,1420.165527,-2802.415283,122.528816,0,0,0,0,100,0), +(@WPID,11,1406.437866,-2799.521240,123.336349,0,0,0,0,100,0), +(@WPID,12,1408.145020,-2806.980225,124.640030,0,0,0,0,100,0), +(@WPID,13,1411.558472,-2817.519531,130.557297,0,0,0,0,100,0), +(@WPID,14,1414.248291,-2826.448975,134.029892,0,0,0,0,100,0), +(@WPID,15,1416.987061,-2833.898926,134.158966,0,0,0,0,100,0), +(@WPID,16,1418.680298,-2841.623291,134.089142,0,0,0,0,100,0), +(@WPID,17,1417.675415,-2851.522949,133.205948,0,0,0,0,100,0), +(@WPID,18,1419.567261,-2843.880615,134.064331,0,0,0,0,100,0), +(@WPID,19,1418.282349,-2835.081543,133.903214,0,0,0,0,100,0), +(@WPID,20,1413.755615,-2826.055420,133.871857,0,0,0,0,100,0), +(@WPID,21,1410.707886,-2816.007813,129.677521,0,0,0,0,100,0), +(@WPID,22,1407.735840,-2804.345947,123.423225,0,0,0,0,100,0), +(@WPID,23,1411.128418,-2800.364258,123.362190,0,0,0,0,100,0), +(@WPID,24,1423.222046,-2802.809082,122.215492,0,0,0,0,100,0), +(@WPID,25,1432.720093,-2807.233643,121.249458,0,0,0,0,100,0), +(@WPID,26,1442.866333,-2811.426514,120.474632,0,0,0,0,100,0), +(@WPID,27,1442.986938,-2817.752686,120.496185,0,0,0,0,100,0), +(@WPID,28,1432.807739,-2820.319336,120.214920,0,0,0,0,100,0), +(@WPID,29,1422.910767,-2822.051270,118.090607,0,0,0,0,100,0), +(@WPID,30,1411.085083,-2819.568359,115.681824,0,0,0,0,100,0), +(@WPID,31,1400.672852,-2819.333740,113.069351,0,0,0,0,100,0), +(@WPID,32,1392.437012,-2822.626953,110.105415,0,0,0,0,100,0), +(@WPID,33,1381.681763,-2827.953857,108.544312,0,0,0,0,100,0); +-- pathing for Lasher CGUID+3 +SET @WPID := (@CGUID+3)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1525.115723,`position_y`=-2850.323975,`position_z`=182.264648,`currentwaypoint`=0 WHERE `guid` = @CGUID+3; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+3; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+3,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1525.115723,-2850.323975,182.264648,0,0,0,0,100,0), +(@WPID,1,1531.196411,-2840.045166,182.315933,0,0,0,0,100,0), +(@WPID,2,1540.609741,-2830.145752,182.035614,0,0,0,0,100,0), +(@WPID,3,1550.371094,-2824.623535,181.914169,0,0,0,0,100,0), +(@WPID,4,1560.609863,-2825.602783,181.713562,0,0,0,0,100,0), +(@WPID,5,1573.442139,-2834.195557,181.620041,0,0,0,0,100,0), +(@WPID,6,1573.676636,-2843.122803,182.236511,0,0,0,0,100,0), +(@WPID,7,1575.495605,-2852.658936,183.287399,0,0,0,0,100,0), +(@WPID,8,1573.915161,-2863.642578,182.804459,0,0,0,0,100,0), +(@WPID,9,1568.231201,-2881.090820,183.118271,0,0,0,0,100,0), +(@WPID,10,1558.646729,-2884.779541,183.471115,0,0,0,0,100,0), +(@WPID,11,1549.383301,-2877.014160,182.969772,0,0,0,0,100,0), +(@WPID,12,1541.126465,-2864.694092,182.265366,0,0,0,0,100,0); +-- pathing for Felguard CGUID+21 on +SET @WPID := (@CGUID+21)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1418.673340,`position_y`=-2849.543701,`position_z`=133.128998,`currentwaypoint`=0 WHERE `guid` = @CGUID+21; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+21; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+21,@WPID); +DELETE FROM `waypoint_data` WHERE id=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1418.673340,-2849.543701,133.128998,0,0,0,0,100,0), +(@WPID,1,1419.053223,-2840.867188,133.872528,0,0,0,0,100,0), +(@WPID,2,1416.689941,-2834.154297,134.137970,0,0,0,0,100,0), +(@WPID,3,1414.608398,-2827.471436,134.225082,0,0,0,0,100,0), +(@WPID,4,1412.582764,-2820.770996,132.077194,0,0,0,0,100,0), +(@WPID,5,1409.088867,-2810.655762,126.843498,0,0,0,0,100,0), +(@WPID,6,1411.302002,-2817.291016,130.399963,0,0,0,0,100,0), +(@WPID,7,1413.902222,-2826.605957,134.035446,0,0,0,0,100,0), +(@WPID,8,1416.532471,-2833.090820,134.308105,0,0,0,0,100,0), +(@WPID,9,1418.736084,-2841.765137,134.127487,0,0,0,0,100,0); +-- pathing for Felguard CGUID+22 on +SET @WPID := (@CGUID+22)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1461.952393,`position_y`=-2777.578613,`position_z`=154.923584,`currentwaypoint`=0 WHERE `guid` = @CGUID+22; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+22; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+22,@WPID); +DELETE FROM `waypoint_data` WHERE id=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1461.952393,-2777.578613,154.923584,0,0,0,0,100,0), +(@WPID,1,1465.133545,-2767.573975,154.857132,0,0,0,0,100,0), +(@WPID,2,1472.367310,-2758.643555,156.072708,0,0,0,0,100,0), +(@WPID,3,1482.150879,-2754.233887,156.292877,0,0,0,0,100,0), +(@WPID,4,1493.999512,-2752.110352,158.143372,0,0,0,0,100,0), +(@WPID,5,1497.644165,-2753.630127,159.105545,0,0,0,0,100,0), +(@WPID,6,1500.601318,-2760.660889,160.422638,0,0,0,0,100,0), +(@WPID,7,1501.830933,-2768.006348,160.797318,0,0,0,0,100,0), +(@WPID,8,1503.898804,-2771.084473,161.295364,0,0,0,0,100,0), +(@WPID,9,1509.369507,-2777.201904,163.673080,0,0,0,0,100,0), +(@WPID,10,1512.175049,-2785.971191,165.083893,0,0,0,0,100,0), +(@WPID,11,1513.801514,-2792.097412,165.634216,0,0,0,0,100,0), +(@WPID,12,1518.169800,-2796.058838,165.138840,0,0,0,0,100,0), +(@WPID,13,1524.349854,-2800.773926,167.720108,0,0,0,0,100,0), +(@WPID,14,1525.073975,-2806.124023,169.219666,0,0,0,0,100,0), +(@WPID,15,1522.830933,-2812.213623,170.961700,0,0,0,0,100,0), +(@WPID,16,1511.613159,-2814.369385,174.126556,0,0,0,0,100,0), +(@WPID,17,1510.135620,-2812.832031,174.583145,0,0,0,0,100,0), +(@WPID,18,1507.537842,-2804.130127,177.219849,0,0,0,0,100,0), +(@WPID,19,1510.847778,-2799.395020,178.859070,0,0,0,0,100,0), +(@WPID,20,1516.893555,-2797.346436,180.676239,0,0,0,0,100,0), +(@WPID,21,1522.649170,-2800.572021,182.535858,0,0,0,0,100,0), +(@WPID,22,1524.135986,-2803.739746,183.545761,0,0,0,0,100,0), +(@WPID,23,1525.988403,-2809.307129,183.373550,0,0,0,0,100,0), +(@WPID,24,1531.261963,-2816.573486,183.528900,0,0,0,0,100,0), +(@WPID,25,1525.760620,-2811.326904,183.373657,0,0,0,0,100,0), +(@WPID,26,1524.779297,-2808.985840,183.373657,0,0,0,0,100,0), +(@WPID,27,1523.441772,-2802.632324,183.127411,0,0,0,0,100,0), +(@WPID,28,1517.132202,-2796.257080,180.712280,0,0,0,0,100,0), +(@WPID,29,1513.053223,-2798.000732,179.479279,0,0,0,0,100,0), +(@WPID,30,1507.427002,-2804.455811,177.126724,0,0,0,0,100,0), +(@WPID,31,1508.335205,-2810.697266,175.403000,0,0,0,0,100,0), +(@WPID,32,1511.198853,-2812.709717,174.371857,0,0,0,0,100,0), +(@WPID,33,1517.645874,-2814.697510,172.516037,0,0,0,0,100,0), +(@WPID,34,1522.476196,-2811.204834,170.816132,0,0,0,0,100,0), +(@WPID,35,1524.924316,-2804.578857,168.840012,0,0,0,0,100,0), +(@WPID,36,1522.207397,-2800.135010,167.209824,0,0,0,0,100,0), +(@WPID,37,1515.743164,-2793.846436,165.489563,0,0,0,0,100,0), +(@WPID,38,1513.621826,-2789.284180,165.761047,0,0,0,0,100,0), +(@WPID,39,1511.703735,-2782.553467,165.049728,0,0,0,0,100,0), +(@WPID,40,1509.514526,-2776.442139,163.672668,0,0,0,0,100,0), +(@WPID,41,1504.341187,-2768.239258,160.875214,0,0,0,0,100,0), +(@WPID,42,1499.623779,-2758.871826,160.065994,0,0,0,0,100,0), +(@WPID,43,1492.976929,-2750.636963,158.080460,0,0,0,0,100,0), +(@WPID,44,1487.860107,-2750.589600,157.576538,0,0,0,0,100,0), +(@WPID,45,1478.629761,-2755.590332,155.843948,0,0,0,0,100,0), +(@WPID,46,1469.609863,-2761.452148,155.947708,0,0,0,0,100,0), +(@WPID,47,1465.007324,-2767.513184,154.872833,0,0,0,0,100,0), +(@WPID,48,1462.420410,-2775.385254,155.379456,0,0,0,0,100,0); +-- pathing for Felguard CGUID+23 on +SET @WPID := (@CGUID+23)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1529.591064,`position_y`=-2869.343506,`position_z`=124.593094,`currentwaypoint`=0 WHERE `guid` = @CGUID+23; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+23; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+23,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1529.591064,-2869.343506,124.593094,0,0,0,0,100,0), +(@WPID,1,1521.646606,-2867.309082,125.010071,0,0,0,0,100,0), +(@WPID,2,1513.953125,-2865.164551,121.647118,0,0,0,0,100,0), +(@WPID,3,1505.404785,-2862.673584,118.801720,0,0,0,0,100,0), +(@WPID,4,1503.566650,-2868.243408,116.714241,0,0,0,0,100,0), +(@WPID,5,1502.711060,-2874.966064,113.316238,0,0,0,0,100,0), +(@WPID,6,1512.905396,-2877.691650,111.030319,0,0,0,0,100,0), +(@WPID,7,1521.637085,-2882.186279,111.867195,0,0,0,0,100,0), +(@WPID,8,1529.314087,-2885.161865,111.463722,0,0,0,0,100,0), +(@WPID,9,1539.290527,-2881.081299,112.201981,0,0,0,0,100,0), +(@WPID,10,1543.733276,-2870.510986,112.591675,0,0,0,0,100,0), +(@WPID,11,1538.328125,-2855.836182,111.515526,0,0,0,0,100,0), +(@WPID,12,1527.172241,-2852.837158,111.962715,0,0,0,0,100,0), +(@WPID,13,1519.438599,-2860.600342,111.478615,0,0,0,0,100,0), +(@WPID,14,1511.972412,-2870.450684,111.600555,0,0,0,0,100,0), +(@WPID,15,1507.419556,-2876.432617,112.032738,0,0,0,0,100,0), +(@WPID,16,1504.038330,-2877.903809,112.833618,0,0,0,0,100,0), +(@WPID,17,1502.584595,-2873.350342,113.795448,0,0,0,0,100,0), +(@WPID,18,1505.001221,-2866.783203,117.746407,0,0,0,0,100,0), +(@WPID,19,1506.119873,-2863.151855,118.807045,0,0,0,0,100,0), +(@WPID,20,1513.878296,-2865.620605,121.673973,0,0,0,0,100,0), +(@WPID,21,1527.201050,-2868.420166,124.730896,0,0,0,0,100,0); +-- pathing for Felguard CGUID+24 on +SET @WPID := (@CGUID+24)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1682.383301,`position_y`=-3116.470459,`position_z`=89.554993,`currentwaypoint`=0 WHERE `guid` = @CGUID+24; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+24; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+24,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1682.383301,-3116.470459,89.554993,0,0,0,0,100,0), +(@WPID,1,1674.620605,-3109.400146,88.976250,0,0,0,0,100,0), +(@WPID,2,1658.956787,-3095.415039,89.265846,0,0,0,0,100,0), +(@WPID,3,1653.566772,-3084.082275,88.686615,0,0,0,0,100,0), +(@WPID,4,1646.295532,-3068.169434,88.805115,0,0,0,0,100,0), +(@WPID,5,1636.780884,-3059.662109,88.973808,0,0,0,0,100,0), +(@WPID,6,1624.316528,-3060.500488,89.142319,0,0,0,0,100,0), +(@WPID,7,1617.466064,-3070.297119,89.184601,0,0,0,0,100,0), +(@WPID,8,1617.102051,-3082.547607,89.317902,0,0,0,0,100,0), +(@WPID,9,1627.488770,-3091.394531,88.658096,0,0,0,0,100,0), +(@WPID,10,1637.340332,-3094.989258,88.381920,0,0,0,0,100,0), +(@WPID,11,1650.978027,-3098.081299,88.389397,0,0,0,0,100,0), +(@WPID,12,1665.720093,-3104.706787,88.814766,0,0,0,0,100,0); +-- pathing for Felguard CGUID+25 on +SET @WPID := (@CGUID+25)*10; +UPDATE `creature` SET `MovementType`=2,`position_x`=1606.020386,`position_y`=-2979.190918,`position_z`=182.066589,`currentwaypoint`=0 WHERE `guid` = @CGUID+25; +DELETE FROM `creature_addon` WHERE `guid` = @CGUID+25; +INSERT INTO `creature_addon` (`guid`,`path_id`) VALUES (@CGUID+25,@WPID); +DELETE FROM `waypoint_data` WHERE `id`=@WPID; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@WPID,0,1606.020386,-2979.190918,182.066589,0,0,0,0,100,0), +(@WPID,1,1592.612793,-2967.980469,181.734604,0,0,0,0,100,0), +(@WPID,2,1584.635986,-2961.699951,182.099609,0,0,0,0,100,0), +(@WPID,3,1576.772339,-2950.720215,182.331390,0,0,0,0,100,0), +(@WPID,4,1570.186157,-2937.653564,181.647690,0,0,0,0,100,0), +(@WPID,5,1569.346313,-2915.366455,181.606720,0,0,0,0,100,0), +(@WPID,6,1567.291138,-2897.670410,181.974411,0,0,0,0,100,0), +(@WPID,7,1561.564575,-2883.124512,183.536499,0,0,0,0,100,0), +(@WPID,8,1554.509888,-2870.604492,182.784332,0,0,0,0,100,0), +(@WPID,9,1559.559570,-2883.650391,183.535065,0,0,0,0,100,0), +(@WPID,10,1565.662109,-2900.051514,181.913925,0,0,0,0,100,0), +(@WPID,11,1570.201538,-2913.283936,181.571747,0,0,0,0,100,0), +(@WPID,12,1573.806274,-2932.618896,181.725723,0,0,0,0,100,0), +(@WPID,13,1579.702026,-2949.056885,182.503983,0,0,0,0,100,0), +(@WPID,14,1586.535400,-2960.601807,182.164642,0,0,0,0,100,0), +(@WPID,15,1595.999878,-2972.899414,181.872986,0,0,0,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_00_world_spell_target_position.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_00_world_spell_target_position.sql new file mode 100644 index 00000000000..d71a96708e7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_00_world_spell_target_position.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_target_position` WHERE `id`=53821; +INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES +(53821, 609, 2359.64, -5662.41, 382.261, 0.596899); -- Teach: Death Gate diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_01_world_creature_ai_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_01_world_creature_ai_scripts.sql new file mode 100644 index 00000000000..9e49ff5f51d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_01_world_creature_ai_scripts.sql @@ -0,0 +1 @@ +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=34852; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_02_world_quest_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_02_world_quest_template.sql new file mode 100644 index 00000000000..7d0950d0cbd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_24_02_world_quest_template.sql @@ -0,0 +1,2 @@ +-- The Forging of Quel'Serrar (7509) +UPDATE `quest_template` SET `RequiredClasses` = 3 WHERE `Id` = 7509; -- Warrior & Paladin diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_26_00_world_a_heros_headgear.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_26_00_world_a_heros_headgear.sql new file mode 100644 index 00000000000..9a0ccd58fb2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_26_00_world_a_heros_headgear.sql @@ -0,0 +1,14 @@ +UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=28877; + +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=28877; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=28877 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`link`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`target_type`,`comment`) VALUES +(28877,0,0,0,3000,5000,3000,5000,11,32018,2,'Stormwatcher - In combat - Cast Call Lightning'), +(28877,1,2,8,53145,0,0,0,11,53162,1,'Stormwatcher - On spellhit - Summon Stormwatchers Head'), +(28877,2,0,61,0,0,0,0,41,0,1,'Stormwatcher - Linked with id 1 - Despawn'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=53145; +INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceEntry`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`NegativeCondition`,`Comment`) VALUES +(17,53145,31,1,3,28877,0,'Target needs to be Stormwatcher'), +(17,53145,36,1,0,0,1,'Target needs to be dead'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_27_00_world_spell_target_position.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_27_00_world_spell_target_position.sql new file mode 100644 index 00000000000..4991fb35aa8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_27_00_world_spell_target_position.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_target_position` WHERE `id`=71436; +INSERT INTO `spell_target_position`(`id`,`target_position_x`,`target_position_y`,`target_position_z`,`target_orientation`) VALUE +(71436,-14459.48,492.46,15.12,3.21); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_28_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_28_00_world_misc.sql new file mode 100644 index 00000000000..78e420872ba --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_28_00_world_misc.sql @@ -0,0 +1,12 @@ +SET @GOSSIP := 5750; +SET @LOTHOS := 14387; + +UPDATE `gossip_menu_option` SET `option_id`=1, `npc_option_npcflag`=1 WHERE `menu_id`=@GOSSIP; -- 4.3.4 (they are 0) + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@LOTHOS 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 +(@LOTHOS, 0, 0, 0, 62, 0, 100, 0, @GOSSIP, 0, 0, 0, 11, 25139, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Lothos Riftwaker - On Gossip select - Teleport player'); + +DELETE FROM `spell_target_position` WHERE `id`=25139; +INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES +(25139, 409, 1080, -483, -108, 1); -- Teleport to Molten Core DND diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_00_world_misc.sql new file mode 100644 index 00000000000..1a7e88b3d59 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_00_world_misc.sql @@ -0,0 +1,240 @@ +SET @GUID := 61994; + +SET @NPC_ELM_BUNNY := 23837; +SET @NPC_ELM_BUNNY_LARGE := 24110; +SET @NPC_ELM_BUNNY_LARGE_001 := 26298; +SET @NPC_AKALI := 28952; +SET @NPC_AKALI_SUBDUER := 28988; +SET @NPC_AKALI_PROPHET := 28996; + +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_AKALI,@NPC_AKALI_PROPHET); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_AKALI,0,0,'I''M FREE, LITTLE DRAKKARI. TIME TO PAY FOR YOUR MANY TRESSPASSES!',14,0,100,33,0,771,'Akali'), +(@NPC_AKALI_PROPHET,0,0,'ENOUGH!',14,0,100,15,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,1,0,'And now, Akali, my master will have your blood and I will take some of your power as well!',14,0,100,397,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,2,0,'It is done. Run back to your masters. Run back to Har''koa. Tell her that I am coming!',14,0,100,14,0,0,'Prophet of Akali'); + +UPDATE `creature_model_info` SET `bounding_radius`=1.041666, `combat_reach`=4.5 WHERE `modelid`=25839; + +UPDATE `creature_template` SET `rank`=1, `unit_flags`=33536, `dmg_multiplier`=10 WHERE `entry`=@NPC_AKALI; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_ELM_BUNNY_LARGE,@NPC_AKALI,@NPC_AKALI_SUBDUER); +UPDATE `creature_template` SET `inhabitType`=4 WHERE `entry` IN (@NPC_ELM_BUNNY_LARGE,@NPC_ELM_BUNNY_LARGE_001); +UPDATE `creature_template` SET `faction_A`=2069, `faction_H`=2069, `unit_flags`=33536, `AIName`='SmartAI' WHERE `entry`=@NPC_AKALI_PROPHET; + +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (100333,100334,100335,100336); +UPDATE `creature` SET `modelid`=21999 WHERE `id`=@NPC_ELM_BUNNY_LARGE_001; +DELETE FROM `creature` WHERE `guid` IN (@GUID+0,@GUID+1,@GUID+2); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@GUID+0,@NPC_ELM_BUNNY_LARGE_001,571,1,1,0,6863.839,-4503.26,443.1838,3.926991,300,0,0), +(@GUID+1,@NPC_ELM_BUNNY_LARGE_001,571,1,1,0,6862.341,-4549.724,443.0588,2.286381,300,0,0), +(@GUID+2,@NPC_ELM_BUNNY,571,1,1,11686,6829.338,-4525.157,442.068,3.420845,300,0,0); + +DELETE FROM `creature_addon` WHERE `guid` IN (100333,100334,100335,100336); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(100333,0,0,0,1,0,'52855'), +(100334,0,0,0,1,0,'52855'), +(100335,0,0,0,1,0,'52855'), +(100336,0,0,0,1,0,'52855'); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=@NPC_AKALI; +INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6810.893,-4592.669,440.6777,1.299272,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6806.189,-4595.943,440.6777,1.250024,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6822.087,-4599.02,440.6777,1.469111,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6797.534,-4594.82,440.685,1.137566,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6827.478,-4601.454,440.6777,1.543024,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6817.193,-4601.688,440.6777,1.409492,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6834.823,-4602.401,440.6777,1.638796,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6805.295,-4601.961,440.6777,1.263096,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6765.525,-4543.851,440.6777,0.2786701,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6764.082,-4549.868,440.6777,0.3558455,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6765.489,-4564.422,440.6777,0.5454721,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6763.994,-4537.706,440.6782,0.1836674,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6826.999,-4607.5,440.6777,1.539239,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6763.607,-4558.375,440.6785,0.4619856,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6796.735,-4602.545,441.0136,1.167641,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6832.644,-4607.751,440.6777,1.607957,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6810.649,-4609.51,440.6977,1.349023,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6821.64,-4610.604,440.6777,1.477666,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6759.292,-4545.87,440.828,0.2817687,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6758.293,-4555.154,440.7154,0.393915,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6758.89,-4536.409,441.8029,0.152804,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6759.161,-4564.057,440.7889,0.5006734,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6800.313,-4611.478,442.0841,1.242545,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6755.442,-4540.723,441.9008,0.2022173,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6756.493,-4531.063,443.5255,0.07566226,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6754.277,-4551.221,440.8657,0.3288565,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6815.617,-4616.651,440.7146,1.418685,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6753.755,-4559.585,441.2291,0.4221908,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6750.038,-4544.226,441.7151,0.2309312,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6748.174,-4550.871,441.9503,0.301857,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6901.166,-4516.716,440.6777,3.263991,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6904.161,-4525.245,440.6777,3.145305,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6843.423,-4464.692,440.6777,4.488739,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6894.436,-4500.116,440.6777,3.514982,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6908.481,-4530.965,440.6777,3.0727,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6851.518,-4464.19,440.6777,4.368972,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6903.379,-4508.444,440.6777,3.369018,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6862.596,-4466.07,440.6777,4.205543,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6907.354,-4513.603,440.6777,3.293668,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6847.208,-4459.859,440.6799,4.450202,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6901.388,-4500.221,440.6777,3.480376,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6910.758,-4518.518,440.6777,3.22766,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6877.528,-4472.05,440.6777,3.981474,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6906.053,-4501.915,440.6777,3.441033,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6855.152,-4457.84,440.2045,4.351227,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6903.093,-4495.178,440.6777,3.533091,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6871.4,-4463.921,440.6777,4.11605,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6911.422,-4507.554,440.6777,3.357718,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6916.012,-4518.927,440.6807,3.217745,3,100000), +(@NPC_AKALI,0,1,@NPC_AKALI_SUBDUER,6864.756,-4459.202,440.6777,4.224802,3,100000); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (52816,52833,52834,52837,52838,52844,52867,52884); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,52816,0,0,31,0,3,@NPC_ELM_BUNNY_LARGE,0,0,0,'','Spell Akali Chain Anchor On Disturb targets ELM General Purpose Bunny Large'), +(13,1,52816,0,1,31,0,3,@NPC_ELM_BUNNY_LARGE_001,0,0,0,'','Spell Akali Chain Anchor On Disturb targets ELM General Purpose Bunny Large'), +(13,1,52833,0,0,31,0,3,@NPC_AKALI,0,0,0,'','Spell Akali''s Chains - Left Front Paw targets Akali'), +(13,1,52834,0,0,31,0,3,@NPC_AKALI,0,0,0,'','Spell Akali''s Chains - Right Front Paw targets Akali'), +(13,1,52837,0,0,31,0,3,@NPC_ELM_BUNNY_LARGE_001,0,0,0,'','Spell Akali''s Chains - Right Rear Paw targets ELM General Purpose Bunny Large'), +(13,1,52837,0,0,35,0,1,5,3,0,0,'','Spell Akali''s Chains - Right Rear Paw target distance must be 5y or more'), +(13,1,52838,0,0,31,0,3,@NPC_ELM_BUNNY_LARGE_001,0,0,0,'','Spell Akali''s Chains - Left Rear Paw targets ELM General Purpose Bunny Large'), +(13,1,52838,0,0,35,0,1,5,3,0,0,'','Spell Akali''s Chains - Left Rear Paw target distance must be 5y or more'), +(13,1,52844,0,0,31,0,3,@NPC_AKALI,0,0,0,'','Spell Akali''s Chains - Rear Paw Invisible Stun Channel targets Akali'), +(13,1,52867,0,0,31,0,3,@NPC_AKALI_SUBDUER,0,0,0,'','Spell Knockback targets Akali Subduer'), +(13,1,52884,0,0,31,0,3,@NPC_AKALI,0,0,0,'','Spell Drain Power targets Akali'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=52860; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(52860,45254,1,'On spellhit Rampage: Drain Power Effect - Spellcast Suicide'); + +DELETE FROM `spell_dbc` WHERE `Id`=52867; +INSERT INTO `spell_dbc` (`Id`,`Dispel`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`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`,`AreaGroupId`,`SchoolMask`,`Comment`) VALUES +(52867,0,0,538968320,525448,67108868,64,2177,0,512,0,0,0,0,1,0,0,101,0,0,0,0,0,1,0,-1,0,0,98,0,0,1,0,0,0,0,0,199,0,0,0,0,0,22,0,0,7,0,0,10,0,0,0,0,0,0,0,0,0,0,0,150,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,1,'Knockback'); + +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=28575; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-100333,-100334,-100335,-100336,-113548,-113549,-113550,-113551,-(@GUID+0),-(@GUID+1),-(@GUID+2),@NPC_AKALI,@NPC_AKALI_SUBDUER,@NPC_AKALI_PROPHET) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_AKALI*100+0,@NPC_AKALI*100+1,@NPC_AKALI_SUBDUER*100,@NPC_AKALI_PROPHET*100+0,@NPC_AKALI_PROPHET*100+1) AND `source_type`=9; +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 +(-100333,0,0,1,8,0,100,0,52816,0,0,0,45,0,1,0,0,0,0,10,@GUID+2,@NPC_ELM_BUNNY,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Set data 0 1 ELM General Purpose Bunny'), +(-100333,0,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-100334,0,0,1,8,0,100,0,52816,0,0,0,45,0,1,0,0,0,0,10,@GUID+2,@NPC_ELM_BUNNY,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Set data 0 1 ELM General Purpose Bunny'), +(-100334,0,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-100335,0,0,1,8,0,100,0,52816,0,0,0,45,0,1,0,0,0,0,10,@GUID+2,@NPC_ELM_BUNNY,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Set data 0 1 ELM General Purpose Bunny'), +(-100335,0,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-100336,0,0,1,8,0,100,0,52816,0,0,0,45,0,1,0,0,0,0,10,@GUID+2,@NPC_ELM_BUNNY,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Set data 0 1 ELM General Purpose Bunny'), +(-100336,0,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), + +(-113548,0,0,0,38,0,100,0,0,1,0,0,11,52833,0,0,0,0,0,10,98159,@NPC_AKALI,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Akali''s Chains - Left Front Paw'), +(-113548,0,1,0,8,0,100,0,52816,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-113549,0,0,0,38,0,100,0,0,1,0,0,11,52834,0,0,0,0,0,10,98159,@NPC_AKALI,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Akali''s Chains - Right Front Paw'), +(-113549,0,1,0,8,0,100,0,52816,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-113550,0,0,0,38,0,100,0,0,1,0,0,11,52844,0,0,0,0,0,10,98159,@NPC_AKALI,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Rear Paw Invisible Stun Channel'), +(-113550,0,1,0,8,0,100,0,52816,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-113551,0,0,0,38,0,100,0,0,1,0,0,11,52844,0,0,0,0,0,10,98159,@NPC_AKALI,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Rear Paw Invisible Stun Channel'), +(-113551,0,1,0,8,0,100,0,52816,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-(@GUID+0),0,0,0,38,0,100,0,0,1,0,0,11,52837,0,0,0,0,0,10,113478,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Akali''s Chains - Right Rear Paw'), +(-(@GUID+0),0,1,0,8,0,100,0,52816,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), +(-(@GUID+1),0,0,0,38,0,100,0,0,1,0,0,11,52838,0,0,0,0,0,10,113479,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Akali''s Chains - Left Rear Paw'), +(-(@GUID+1),0,1,0,8,0,100,0,52816,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Chain Anchor On Disturb - Despawn'), + +(-(@GUID+2),0,0,1,1,8,100,0,0,0,500,500,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On update OOC (phase 4) - Set event phase 0'), +(-(@GUID+2),0,1,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@NPC_AKALI,30,0,0,0,0,0, 'ELM General Purpose Bunny - On update OOC (phase 4) - Set data 0 1 Akali'), +(-(@GUID+2),0,2,0,38,0,100,0,0,1,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Increment event phase'), + +(@NPC_AKALI,0,0,0,38,0,100,0,0,1,0,0,80,@NPC_AKALI*100+0,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali - On data 0 1 set - Run script 0'), +(@NPC_AKALI,0,1,2,8,0,100,0,52859,0,0,0,102,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali - On spellhit Submission - Stop regen health'), +(@NPC_AKALI,0,2,3,61,0,100,0,0,0,0,0,18,512,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali - On spellhit Submission - Set unit_flags IMMUNE_TO_NPC'), +(@NPC_AKALI,0,3,0,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,8,0,0,0,6829.587,-4525.521,442.068,0, 'Akali - On spellhit Submission - Move to position'), +(@NPC_AKALI,0,4,0,34,0,100,0,0,1,0,0,80,@NPC_AKALI*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali - On movement inform - Run script 1'), +(@NPC_AKALI,0,5,0,9,0,100,0,0,80,10000,10000,11,52856,0,0,0,0,0,6,0,0,0,0,0,0,0, 'Akali - On target range 10-80y - Spellcast Charge'), +(@NPC_AKALI,0,6,7,11,0,100,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali - On spawn - Set faction default'), +(@NPC_AKALI,0,7,8,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,113548,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'Akali - On spawn - Set data 0 1 ELM General Purpose Bunny'), +(@NPC_AKALI,0,8,9,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,113549,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'Akali - On spawn - Set data 0 1 ELM General Purpose Bunny'), +(@NPC_AKALI,0,9,10,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,113550,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'Akali - On spawn - Set data 0 1 ELM General Purpose Bunny'), +(@NPC_AKALI,0,10,11,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,113551,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'Akali - On spawn - Set data 0 1 ELM General Purpose Bunny'), +(@NPC_AKALI,0,11,12,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID+0,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'Akali - On spawn - Set data 0 1 ELM General Purpose Bunny'), +(@NPC_AKALI,0,12,13,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID+1,@NPC_ELM_BUNNY_LARGE_001,0,0,0,0,0, 'Akali - On spawn - Set data 0 1 ELM General Purpose Bunny'), +(@NPC_AKALI,0,13,14,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101661,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,14,15,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101662,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,15,16,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101663,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,16,17,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101665,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,17,18,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101666,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,18,19,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101667,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,19,20,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101668,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,20,21,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,101669,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,21,22,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,203572,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,22,23,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,203573,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,23,24,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,203574,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,24,25,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,203575,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,25,26,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,203576,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), +(@NPC_AKALI,0,26,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,203577,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script - On spawn - Set data 0 1 Akali Subduer'), + +(@NPC_AKALI_SUBDUER,0,0,0,2,0,100,0,0,50,90000,90000,11,57843,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On health below 50% - Spellcast Mojo Empowered Fire Ward'), +(@NPC_AKALI_SUBDUER,0,1,0,9,0,100,0,25,35,4000,7000,11,9053,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Akali Subduer - On target range 0-35y - Spellcast Fireball'), +(@NPC_AKALI_SUBDUER,0,2,0,9,0,100,0,0,25,3000,5000,11,20801,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Akali Subduer - On target range 0-35y - Spellcast Firebolt'), +(@NPC_AKALI_SUBDUER,0,3,4,54,0,100,0,0,0,0,0,2,2102,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - Just summoned - Set faction'), +(@NPC_AKALI_SUBDUER,0,4,5,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - Just summoned - Set unit_flags IMMUNE_TO_PC'), +(@NPC_AKALI_SUBDUER,0,5,6,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - Just summoned - Set run'), +(@NPC_AKALI_SUBDUER,0,6,0,61,0,100,0,0,0,0,0,46,60,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - Just summoned - Move forward'), +(@NPC_AKALI_SUBDUER,0,7,8,31,0,100,0,52859,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On target spellhit Submission - Set homeposition'), +(@NPC_AKALI_SUBDUER,0,8,0,61,0,100,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On target spellhit Submission - Evade'), +(@NPC_AKALI_SUBDUER,0,9,10,38,0,100,0,0,3,0,0,92,0,0,1,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On data 0 3 set - Interrupt spellcast'), +(@NPC_AKALI_SUBDUER,0,10,0,61,0,100,0,0,0,0,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On data 0 3 set - Stop combat'), +(@NPC_AKALI_SUBDUER,0,11,0,38,0,100,0,0,1,0,0,11,45579,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On data 0 1 set - Spellcast Fire Channeling'), +(@NPC_AKALI_SUBDUER,0,12,13,38,0,100,0,0,2,0,0,2,2102,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On data 0 2 set - Set faction'), +(@NPC_AKALI_SUBDUER,0,13,0,61,0,100,0,0,0,0,0,92,0,45579,1,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On data 0 2 set - Interrupt spellcast'), +(@NPC_AKALI_SUBDUER,0,14,0,38,0,100,0,0,4,0,0,80,@NPC_AKALI_SUBDUER*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer - On data 0 4 set - Run script'), + +(@NPC_AKALI_PROPHET,0,0,1,54,0,100,0,0,0,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - Just summoned - Spellcast Ethereal Teleport'), +(@NPC_AKALI_PROPHET,0,1,0,61,0,100,0,0,0,0,0,1,0,2300,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - Just summoned - Say line'), +(@NPC_AKALI_PROPHET,0,2,3,52,0,100,0,0,@NPC_AKALI_PROPHET,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On text over - Set run'), +(@NPC_AKALI_PROPHET,0,3,0,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,8,0,0,0,6869.146,-4558.086,443.3982,0, 'Prophet of Akali - On text over - Move to position'), +(@NPC_AKALI_PROPHET,0,4,5,34,0,100,0,0,1,0,0,97,30.7787,0,0,0,0,0,1,0,0,0,6856.265,-4543.67,441.9847,0, 'Prophet of Akali - On movement inform - Jump to position'), +(@NPC_AKALI_PROPHET,0,5,0,61,0,100,0,0,0,0,0,80,@NPC_AKALI_PROPHET*100+0,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On WP 1 reached - Run script 0'), +(@NPC_AKALI_PROPHET,0,6,0,38,0,100,0,0,1,0,0,80,@NPC_AKALI_PROPHET*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On data 0 1 set - Run script 1'), + +(@NPC_AKALI*100,9,0,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali script 0 - Say line'), +(@NPC_AKALI*100,9,1,0,0,0,100,0,0,0,0,0,15,12721,0,0,0,0,0,18,50,0,0,0,0,0,0, 'Akali script 0 - Quest credit'), +(@NPC_AKALI*100,9,2,0,0,0,100,0,0,0,0,0,107,1,0,0,0,0,0,0,0,0,0,0,0,0,0, 'Akali script 0 - Summon creature group'), +(@NPC_AKALI*100,9,3,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101661,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,4,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101662,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,5,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101663,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,6,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101665,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,7,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101666,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,8,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101667,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,9,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101668,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,10,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,101669,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,11,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,203572,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,12,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,203573,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,13,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,203574,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,14,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,203575,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,15,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,203576,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,16,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,203577,@NPC_AKALI_SUBDUER,0,0,0,0,0, 'Akali script 0 - Set data 0 2 Akali Subduer'), +(@NPC_AKALI*100,9,17,0,0,0,100,0,4600,4600,0,0,19,512,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali script - Remove unit_flags IMMUNE_TO_NPC'), +(@NPC_AKALI*100,9,18,0,0,0,100,0,55000,55000,0,0,12,@NPC_AKALI_PROPHET,8,0,0,0,0,8,0,0,0,6882.029,-4571.001,442.3118,2.373648, 'Akali script - Summon Akali Prophet'), + +(@NPC_AKALI*100+1,9,0,0,0,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali script 1 - Set faction'), +(@NPC_AKALI*100+1,9,1,0,0,0,100,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali script 1 - Evade'), +(@NPC_AKALI*100+1,9,2,0,0,0,100,0,200,200,0,0,66,0,0,0,0,0,0,19,@NPC_AKALI_PROPHET,100,0,0,0,0,0, 'Akali script 1 - Turn to'), +(@NPC_AKALI*100+1,9,3,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@NPC_AKALI_PROPHET,100,0,0,0,0,0, 'Akali script 1 - Set data 0 1 Prophet of Akali'), + +(@NPC_AKALI_SUBDUER*100,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,@NPC_AKALI_PROPHET,100,0,0,0,0,0, 'Akali Subduer script - Turn to'), +(@NPC_AKALI_SUBDUER*100,9,1,0,0,0,100,0,10000,10000,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,2,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,3,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,4,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,5,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,6,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,7,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,8,0,0,0,100,0,1000,1200,0,0,5,71,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Play emote'), +(@NPC_AKALI_SUBDUER*100,9,9,0,0,0,100,0,1000,1200,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akali Subduer script - Despawn'), + +(@NPC_AKALI_PROPHET*100+0,9,0,0,0,0,100,0,0,0,0,0,45,0,3,0,0,0,0,9,@NPC_AKALI_SUBDUER,0,100,0,0,0,0, 'Prophet of Akali script - Set data 0 4 Akali Subduer'), +(@NPC_AKALI_PROPHET*100+0,9,1,0,0,0,100,0,1000,1000,0,0,11,52859,0,0,0,0,0,19,@NPC_AKALI,100,0,0,0,0,0, 'Prophet of Akali script - Spellcast Submission'), + +(@NPC_AKALI_PROPHET*100+1,9,0,0,0,0,100,0,2000,2000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script - Say line'), +(@NPC_AKALI_PROPHET*100+1,9,1,0,0,0,100,0,4700,4700,0,0,11,52884,0,0,0,0,0,19,@NPC_AKALI,50,0,0,0,0,0, 'Prophet of Akali script - Spellcast Drain Power'), +(@NPC_AKALI_PROPHET*100+1,9,2,0,0,0,100,0,0,0,0,0,45,0,4,0,0,0,0,9,@NPC_AKALI_SUBDUER,0,100,0,0,0,0, 'Prophet of Akali script - Set data 0 3 Akali Subduer'), +(@NPC_AKALI_PROPHET*100+1,9,3,0,0,0,100,0,11600,11600,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script - Say line'), +(@NPC_AKALI_PROPHET*100+1,9,4,0,0,0,100,0,3500,3500,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script - Spellcast Ethereal Teleport'), +(@NPC_AKALI_PROPHET*100+1,9,5,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_01_world_misc.sql new file mode 100644 index 00000000000..bf59a7196c7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_01_world_misc.sql @@ -0,0 +1,87 @@ +SET @NPC_ELM_BUNNY := 23837; +SET @NPC_HARKOA := 28401; +SET @NPC_KHUFU := 28479; +SET @NPC_AKILZON := 29021; +SET @NPC_HALAZZI := 29022; +SET @NPC_JANALAI := 29023; +SET @NPC_NALORAKK := 29024; + +DELETE FROM `creature_text` WHERE `entry`=@NPC_HARKOA AND `groupid`=1; +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_AKILZON,@NPC_HALAZZI,@NPC_JANALAI,@NPC_NALORAKK); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_HARKOA,1,0,'No, not Akali too!',15,0,100,0,0,0,'Har''koa'), +(@NPC_AKILZON,0,0,'And yet we see only doom in your future. It is your destiny that you do this, $N, but we fear that the prophet is too powerful for you and your friends. Still, you must try.',12,0,100,0,0,12196,'Akil''zon'), +(@NPC_HALAZZI,0,0,'Once more we hear your call, Khufu. We have wisdom for you and $N. You face great peril and must act swiftly or you all and Har''koa will die.',12,0,100,0,0,643,'Halazzi'), +(@NPC_JANALAI,0,0,'The gusty essence of deceased Quetz''lun''s wardens must be gathered to draw him near. To Har''koa must both of these rarities be delivered.',12,0,100,0,0,9919,'Jana''lai'), +(@NPC_NALORAKK,0,0,'The unblemished heart of the guardian must be secured to show defiance and strength. Jealous Zim''Rhuk keeps those who harbor it.',12,0,100,0,0,473,'Nalorakk'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (52934,52935,52936,52937); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,52934,0,0,31,0,3,@NPC_ELM_BUNNY,0,0,0,'','Spell Rampage: Summon Akil''zon targets ELM General Purpose Bunny'), +(13,1,52934,0,0,29,0,28527,10,0,1,0,'','Spell Rampage: Summon Akil''zon target needs to be 35y from Chronicler To''kini'), +(13,1,52934,0,0,29,0,28527,15,0,1,0,'','Spell Rampage: Summon Akil''zon target needs to be 35y from Chronicler To''kini'), +(13,1,52934,0,0,29,0,28527,30,0,1,0,'','Spell Rampage: Summon Akil''zon target needs to be 35y from Chronicler To''kini'), +(13,1,52934,0,0,29,0,28527,35,0,0,0,'','Spell Rampage: Summon Akil''zon target needs to be 35y from Chronicler To''kini'), +(13,1,52935,0,0,31,0,3,@NPC_ELM_BUNNY,0,0,0,'','Spell Rampage: Summon Akil''zon targets ELM General Purpose Bunny'), +(13,1,52935,0,0,29,0,28527,10,0,0,0,'','Spell Rampage: Summon Akil''zon target needs to be 10y from Chronicler To''kini'), +(13,1,52936,0,0,31,0,3,@NPC_ELM_BUNNY,0,0,0,'','Spell Rampage: Summon Akil''zon targets ELM General Purpose Bunny'), +(13,1,52936,0,0,29,0,28527,10,0,1,0,'','Spell Rampage: Summon Akil''zon target needs to be 15y from Chronicler To''kini'), +(13,1,52936,0,0,29,0,28527,15,0,0,0,'','Spell Rampage: Summon Akil''zon target needs to be 15y from Chronicler To''kini'), +(13,1,52937,0,0,31,0,3,@NPC_ELM_BUNNY,0,0,0,'','Spell Rampage: Summon Akil''zon targets ELM General Purpose Bunny'), +(13,1,52937,0,0,29,0,28527,10,0,1,0,'','Spell Rampage: Summon Akil''zon target needs to be 30y from Chronicler To''kini'), +(13,1,52937,0,0,29,0,28527,15,0,1,0,'','Spell Rampage: Summon Akil''zon target needs to be 30y from Chronicler To''kini'), +(13,1,52937,0,0,29,0,28527,30,0,0,0,'','Spell Rampage: Summon Akil''zon target needs to be 30y from Chronicler To''kini'); + +DELETE FROM `spell_scripts` WHERE `id`=52933; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(52933,0,0,15,52934,0,0,0,0,0,0), +(52933,0,0,15,52935,0,0,0,0,0,0), +(52933,0,0,15,52936,0,0,0,0,0,0), +(52933,0,0,15,52937,0,0,0,0,0,0); + +UPDATE `creature_model_info` SET `bounding_radius`=0.93 WHERE `modelid`=21793; +UPDATE `creature_model_info` SET `bounding_radius`=1.833, `combat_reach`=4.5 WHERE `modelid`=21830; +UPDATE `creature_model_info` SET `bounding_radius`=0.525, `combat_reach`=2.625 WHERE `modelid`=21831; +UPDATE `creature_model_info` SET `bounding_radius`=0.775, `combat_reach`=5 WHERE `modelid`=22256; + +DELETE FROM `creature_template_addon` WHERE `entry`=29021; +INSERT INTO `creature_template_addon` (`entry`,`bytes1`) VALUES +(29021,33554432); + +UPDATE `creature_template` SET `minlevel`=83, `maxlevel`=83, `faction_A`=1610, `faction_H`=1610, `unit_flags`=512|256, `AIName`='SmartAI' WHERE `entry` IN (@NPC_AKILZON,@NPC_HALAZZI,@NPC_JANALAI,@NPC_NALORAKK); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NPC_HARKOA AND `source_type`=0 AND `id`=16; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NPC_KHUFU AND `source_type`=0 AND `id` IN (3,4,5); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_AKILZON,@NPC_HALAZZI,@NPC_JANALAI,@NPC_NALORAKK) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NPC_HALAZZI*100 AND `source_type`=9; +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 +(@NPC_HARKOA,0,16,15,38,0,100,0,0,2,0,0,1,1,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Har''koa - On data 0 2 set - Say line'), + +(@NPC_KHUFU,0,3,4,20,0,100,0,12721,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Khufu - On quest rewarded - Store targetlist'), +(@NPC_KHUFU,0,4,5,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@NPC_HARKOA,100,0,0,0,0,0, 'Khufu - On quest rewarded - Send targetlist to Har''koa'), +(@NPC_KHUFU,0,5,0,61,0,100,0,0,0,0,0,45,0,2,0,0,0,0,19,@NPC_HARKOA,100,0,0,0,0,0, 'Khufu - On quest rewarded - Set data 0 2 Har''koa'), + +(@NPC_AKILZON,0,0,0,54,0,100,0,0,0,0,0,11,35426,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akil''zon - Just summoned - Spellcast Arcane Explosion Visual'), +(@NPC_AKILZON,0,1,0,38,0,100,0,0,1,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Akil''zon - On data 0 1 set - Say line'), +(@NPC_AKILZON,0,2,0,38,0,100,0,0,2,0,0,41,800,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Akil''zon - On data 0 2 set - Despawn'), + +(@NPC_HALAZZI,0,0,1,54,0,100,0,0,0,0,0,11,35426,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Halazzi - Just summoned - Spellcast Arcane Explosion Visual'), +(@NPC_HALAZZI,0,1,0,61,0,100,0,0,0,0,0,80,@NPC_HALAZZI*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Halazzi - Just summoned - Run script'), + +(@NPC_JANALAI,0,0,0,54,0,100,0,0,0,0,0,11,35426,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jana''lai - Just summoned - Spellcast Arcane Explosion Visual'), +(@NPC_JANALAI,0,1,0,38,0,100,0,0,1,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Jana''lai - On data 0 1 set - Say line'), +(@NPC_JANALAI,0,2,0,38,0,100,0,0,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jana''lai - On data 0 2 set - Despawn'), + +(@NPC_NALORAKK,0,0,0,54,0,100,0,0,0,0,0,11,35426,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Nalorakk - Just summoned - Spellcast Arcane Explosion Visual'), +(@NPC_NALORAKK,0,1,0,38,0,100,0,0,1,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Nalorakk - On data 0 1 set - Say line'), +(@NPC_NALORAKK,0,2,0,38,0,100,0,0,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Nalorakk - On data 0 2 set - Despawn'), + +(@NPC_HALAZZI*100,9,0,0,0,0,100,0,3300,3300,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Halazzi script - Say line'), +(@NPC_HALAZZI*100,9,1,0,0,0,100,0,5200,5200,0,0,45,0,1,0,0,0,0,19,@NPC_NALORAKK,20,0,0,0,0,0, 'Halazzi script - Set data 0 1 Nalorakk'), +(@NPC_HALAZZI*100,9,2,0,0,0,100,0,5600,5600,0,0,45,0,1,0,0,0,0,19,@NPC_JANALAI,20,0,0,0,0,0, 'Halazzi script - Set data 0 1 Jana''lai'), +(@NPC_HALAZZI*100,9,3,0,0,0,100,0,7700,7700,0,0,45,0,1,0,0,0,0,19,@NPC_AKILZON,20,0,0,0,0,0, 'Halazzi script - Set data 0 1 Akil''zon'), +(@NPC_HALAZZI*100,9,4,0,0,0,100,0,8300,8300,0,0,45,0,2,0,0,0,0,19,@NPC_JANALAI,20,0,0,0,0,0, 'Halazzi script - Set data 0 2 Jana''lai'), +(@NPC_HALAZZI*100,9,5,0,0,0,100,0,800,800,0,0,11,42466,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Halazzi script - Spellcast Spirit Visual'), +(@NPC_HALAZZI*100,9,6,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,19,@NPC_AKILZON,20,0,0,0,0,0, 'Halazzi script - Set data 0 2 Akil''zon'), +(@NPC_HALAZZI*100,9,7,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,19,@NPC_NALORAKK,20,0,0,0,0,0, 'Halazzi script - Set data 0 2 Nalorakk'), +(@NPC_HALAZZI*100,9,8,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Halazzi script - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_02_world_waypoint_data.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_02_world_waypoint_data.sql new file mode 100644 index 00000000000..edee2e67b48 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_03_29_02_world_waypoint_data.sql @@ -0,0 +1,127 @@ +DELETE FROM `creature_addon` WHERE `guid` BETWEEN 202441 AND 202460; +INSERT INTO `creature_addon`(`guid`,`path_id`,`bytes1`) VALUES +(202441,2024410,50331648), +(202442,2024410,50331648), +(202443,2024430,50331648), +(202444,2024430,50331648), +(202445,2024450,50331648), +(202446,2024410,50331648), +(202447,2024470,50331648), +(202448,2024450,50331648), +(202449,2024450,50331648), +(202450,2024450,50331648), +(202451,2024510,50331648), +(202452,2024520,50331648), +(202453,2024430,50331648), +(202454,2024430,50331648), +(202455,2024410,50331648), +(202456,2024450,50331648), +(202457,2024510,50331648), +(202458,2024510,50331648), +(202459,2024510,50331648), +(202460,2024430,50331648); + +DELETE FROM `waypoint_data` WHERE `id` IN (2024410,2024430,2024450,2024470,2024520,2024510); +INSERT INTO `waypoint_data`(`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES +(2024410,1,7210.96,-1046.89,1006.18), +(2024410,2,6998.46,-1076.85,1024.82), +(2024410,3,6874.25,-1097.38,927.736), +(2024410,4,6614.79,-875.755,812.765), +(2024410,5,6563.27,-811.767,749.876), +(2024410,6,6299.5,-797.577,529.126), +(2024410,7,6194.55,-1013.14,501.542), +(2024410,8,6319.25,-1251.66,468.626), +(2024410,9,6309.16,-1537.86,615.042), +(2024410,10,6748.21,-1664.31,919.312), +(2024410,11,6913.31,-1725.26,954.792), +(2024410,12,7167.58,-1501.69,962.569), +(2024410,13,7440.4,-1295.86,997.291), +(2024410,14,7024.75,-1625.54,957.369), +(2024410,15,7025.49,-1624.87,957.369), +(2024410,16,7167.58,-1501.69,962.569), +(2024410,17,7440.4,-1295.86,997.291), +(2024430,1,7440.4,-1295.86,997.291), +(2024430,2,7210.96,-1046.89,1006.18), +(2024430,3,6998.46,-1076.85,1024.82), +(2024430,4,6874.25,-1097.38,927.736), +(2024430,5,6614.79,-875.755,812.765), +(2024430,6,6563.27,-811.767,749.876), +(2024430,7,6299.5,-797.577,529.126), +(2024430,8,6194.55,-1013.14,501.542), +(2024430,9,6319.25,-1251.66,468.626), +(2024430,10,6309.16,-1537.86,615.042), +(2024430,11,6748.21,-1664.31,919.312), +(2024430,12,6913.31,-1725.26,954.792), +(2024430,13,7167.58,-1501.69,962.569), +(2024430,14,7440.4,-1295.86,997.291), +(2024430,15,7024.75,-1625.54,957.369), +(2024430,16,7025.49,-1624.87,957.369), +(2024430,17,7167.58,-1501.69,962.569), +(2024450,1,6563.27,-811.767,749.876), +(2024450,2,6299.5,-797.577,529.126), +(2024450,3,6194.55,-1013.14,501.542), +(2024450,4,6319.25,-1251.66,468.626), +(2024450,5,6309.16,-1537.86,615.042), +(2024450,6,6748.21,-1664.31,919.312), +(2024450,7,6913.31,-1725.26,954.792), +(2024450,8,7167.58,-1501.69,962.569), +(2024450,9,7440.4,-1295.86,997.291), +(2024450,10,7024.75,-1625.54,957.369), +(2024450,11,7025.49,-1624.87,957.369), +(2024450,12,7167.58,-1501.69,962.569), +(2024450,13,7440.4,-1295.86,997.291), +(2024450,14,7210.96,-1046.89,1006.18), +(2024450,15,6998.46,-1076.85,1024.82), +(2024450,16,6874.25,-1097.38,927.736), +(2024450,17,6614.79,-875.755,812.765), +(2024470,1,6614.79,-875.755,812.765), +(2024470,2,6563.27,-811.767,749.876), +(2024470,3,6299.5,-797.577,529.126), +(2024470,4,6194.55,-1013.14,501.542), +(2024470,5,6319.25,-1251.66,468.626), +(2024470,6,6309.16,-1537.86,615.042), +(2024470,7,6748.21,-1664.31,919.312), +(2024470,8,6913.31,-1725.26,954.792), +(2024470,9,7167.58,-1501.69,962.569), +(2024470,10,7440.4,-1295.86,997.291), +(2024470,11,7024.75,-1625.54,957.369), +(2024470,12,7025.49,-1624.87,957.369), +(2024470,13,7167.58,-1501.69,962.569), +(2024470,14,7440.4,-1295.86,997.291), +(2024470,15,7210.96,-1046.89,1006.18), +(2024470,16,6998.46,-1076.85,1024.82), +(2024470,17,6874.25,-1097.38,927.736), +(2024510,1,6913.31,-1725.26,954.792), +(2024510,2,7167.58,-1501.69,962.569), +(2024510,3,7440.4,-1295.86,997.291), +(2024510,4,7024.75,-1625.54,957.369), +(2024510,5,7025.49,-1624.87,957.369), +(2024510,6,7167.58,-1501.69,962.569), +(2024510,7,7440.4,-1295.86,997.291), +(2024510,8,7210.96,-1046.89,1006.18), +(2024510,9,6998.46,-1076.85,1024.82), +(2024510,10,6874.25,-1097.38,927.736), +(2024510,11,6614.79,-875.755,812.765), +(2024510,12,6563.27,-811.767,749.876), +(2024510,13,6299.5,-797.577,529.126), +(2024510,14,6194.55,-1013.14,501.542), +(2024510,15,6319.25,-1251.66,468.626), +(2024510,16,6309.16,-1537.86,615.042), +(2024510,17,6748.21,-1664.31,919.312), +(2024520,1,7167.58,-1501.69,962.569), +(2024520,2,7440.4,-1295.86,997.291), +(2024520,3,7210.96,-1046.89,1006.18), +(2024520,4,6998.46,-1076.85,1024.82), +(2024520,5,6874.25,-1097.38,927.736), +(2024520,6,6614.79,-875.755,812.765), +(2024520,7,6563.27,-811.767,749.876), +(2024520,8,6299.5,-797.577,529.126), +(2024520,9,6194.55,-1013.14,501.542), +(2024520,10,6319.25,-1251.66,468.626), +(2024520,11,6309.16,-1537.86,615.042), +(2024520,12,6748.21,-1664.31,919.312), +(2024520,13,6913.31,-1725.26,954.792), +(2024520,14,7167.58,-1501.69,962.569), +(2024520,15,7440.4,-1295.86,997.291), +(2024520,16,7024.75,-1625.54,957.369), +(2024520,17,7025.49,-1624.87,957.369); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_01_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_01_00_world_misc.sql new file mode 100644 index 00000000000..39b5d231c0f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_01_00_world_misc.sql @@ -0,0 +1,20 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`=45759; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(45759,'spell_gen_orc_disguise'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=45742; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(17,0,45742,0,0,1,0,45760,0,0,0,0,'','Spell Plant Warsong Banner can be casted only if player has aura Warsong Orc Disguise (Male)'), +(17,0,45742,0,0,31,1,3,25430,0,0,0,'','Spell Plant Warsong Banner can be casted only on Magmothregar'), +(17,0,45742,0,0,36,1,0,0,0,1,0,'','Spell Plant Warsong Banner can be casted only if target is dead'), +(17,0,45742,0,1,1,0,45762,0,0,0,0,'','Spell Plant Warsong Banner can be casted only if player has aura Warsong Orc Disguise (Female)'), +(17,0,45742,0,1,31,1,3,25430,0,0,0,'','Spell Plant Warsong Banner can be casted only on Magmothregar'), +(17,0,45742,0,1,36,1,0,0,0,1,0,'','Spell Plant Warsong Banner can be casted only if target is dead'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=25430; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=25430; +DELETE FROM `smart_scripts` WHERE `entryorguid`=25430 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 +(25430,0,0,0,4,0,100,0,0,0,0,0,11,50413,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Magmothregar - On aggro - Spellcast Magnataur Charge'), +(25430,0,1,0,0,0,100,0,3500,12800,10100,14000,11,50822,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Magmothregar - On update IC - Spellcast Fervor'), +(25430,0,2,0,8,0,100,0,45742,0,0,0,11,45744,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Magmothregar - On spellhit Plant Warsong Banner - Spellcast It Was The Orcs, Honest!: Plant Banner Kill Credit'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_00_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_00_world_smart_scripts.sql new file mode 100644 index 00000000000..1687df8ff2d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_00_world_smart_scripts.sql @@ -0,0 +1,12 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid`=19456 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`link`,`event_type`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(19456,0,0,54,0,0,0,0,0,42,0,25,1,'Whitebarks Spirit - On summon - Set invincibility HP at 25%'), +(19456,1,0,4,1,0,0,0,0,1,0,0,1,'Whitebarks Spirit - On aggro (not repeatable) - Say 0'), +(19456,2,3,2,0,24,26,120000,120000,102,0,0,1,'Whitebarks Spirit - 24-26% HP - Disable HP reg (video)'), +(19456,3,4,61,0,0,0,0,0,101,0,0,1,'Whitebarks Spirit - Linked - Set home position'), +(19456,4,5,61,0,0,0,0,0,2,35,0,1,'Whitebarks Spirit - Linked - Change faction to friendly'), +(19456,5,6,61,0,0,0,0,0,1,1,0,1,'Whitebarks Spirit - Linked - Say 1'), +(19456,6,0,61,0,0,0,0,0,24,0,0,1,'Whitebarks Spirit - Linked - evade'), +(19456,7,0,0,0,2500,5500,12000,14500,11,31287,0,2,'Whitebarks Spirit - IC - Casts Entangling Roots'), +(19456,8,0,0,0,7500,7500,9500,16000,11,11442,0,2,'Whitebarks Spirit - IC - Casts Withered Touch'), +(19456,9,0,1,0,60000,60000,60000,60000,41,0,0,1,'Whitebarks Spirit - After 60sec OOC - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_01_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_01_world_gameobject.sql new file mode 100644 index 00000000000..120dd66eb0d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_01_world_gameobject.sql @@ -0,0 +1,5 @@ +SET @OGUID := 1160; + +DELETE FROM `gameobject` WHERE `guid`=@OGUID; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID, 202275, 530, 1, 1, -2186.307, -12341.81, 56.27893, 0, 0, 0, 0, 1, 120, 255, 1); -- Wrathscale Fountain diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_02_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_02_world_creature.sql new file mode 100644 index 00000000000..194eee288d2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_02_02_world_creature.sql @@ -0,0 +1,5 @@ +SET @CGUID := 40471; + +DELETE FROM `creature` WHERE `guid`=@CGUID; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID, 23143, 530, 1, 1, -5142.569, 581.3281, 84.13567, 0.5061455, 120, 0, 0); -- Horus (Area: Netherwing Ledge) diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_00_world_command.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_00_world_command.sql new file mode 100644 index 00000000000..3ce73686db3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_00_world_command.sql @@ -0,0 +1 @@ +UPDATE `command` SET `help`='Syntax: .gobject info [$object_entry]\r \r Query Gameobject information for selected gameobject or given entry.' WHERE `name`='gobject info'; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_01_world_trinity_string.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_01_world_trinity_string.sql new file mode 100644 index 00000000000..b370664e4cf --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_01_world_trinity_string.sql @@ -0,0 +1,11 @@ +-- Add Trinity String for Spirit Guide and wintergrasp battle mage +DELETE FROM `trinity_string` WHERE `entry` IN (20071,20072,20074,20073,20070,20075,20076,20077); +INSERT INTO `trinity_string`(`entry`,`content_default`) VALUES +(20071, 'Guide me to the Sunken Ring Graveyard.'), +(20072, 'Guide me to the Broken Temple Graveyard.'), +(20074, 'Guide me to the Eastspark Graveyard.'), +(20073, 'Guide me to the Westspark Graveyard.'), +(20070, 'Guide me to the Fortress Graveyard.'), +(20075, 'Guide me back to the Horde landing camp.'), +(20076, 'Guide me back to the Alliance landing camp.'), +(20077, 'Queue for Wintergrasp.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_02_world_sai.sql new file mode 100644 index 00000000000..83c968a2788 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_03_02_world_sai.sql @@ -0,0 +1,679 @@ +SET @HO_SOOSAY := 28027; +SET @HO_GOSSIP := 9742; +SET @O_STATE := 50503; +SET @T_STORM := 53071; +SET @FI_LAFOO := 52547; +SET @FI_JALOOT := 52548; +SET @FI_MOODLE := 52549; +SET @SEEINVIS := 52214; +SET @RAINSPEAKERAURA := 51639; +SET @TREASUREPING:= 51420; +SET @GORLOCPING := 51794; +SET @WOLVARPING := 51791; +SET @DIGUPGLINTINGBUG:= 51443; +SET @DIGUPSPARKINGHARE := 51441; +SET @DIGUPSHININGCRYSTAL := 51397; +SET @DIGUPGLINTINGARMOR := 51398; +SET @DIGUPGLOWINGGEM := 51400; +SET @DIGUPPOLISHEDPLATTER := 51401; +SET @DIGUPSPARKINGTREASURE := 51402; +SET @BLESSINGOFTHESPARKINGHARE := 51442; +SET @JALOOTSINTENSITY := 52119; +SET @RAINSPEAKERBUNNY := 28455; +SET @LAFOO := 28120; +SET @MOODLE := 28122; +SET @JALOOT := 28121; +SET @GLINTINGDIRT := 28362; +SET @GLINTINGBUG := 28372; +SET @SPARKLINGHARE := 28371; +SET @GLINTINGDIRTSCRIPT := 2836201; +SET @GORLOCTREASURESCRIPT := 2812000; +SET @ELDER_HARKEK := 28138; +SET @SHAMAN_RAKJAK := 28082; +SET @EH_GOSSIP:= 9741; +SET @FRENZYAURA := 51234; +SET @FRENZYBUNNY := 28299; +SET @GOREGEK := 28214; +SET @DAJIK := 28215; +SET @ZEPIK := 28216; +SET @FI_GOREGEK := 52542; +SET @FI_DAJIK := 52544; +SET @FI_ZEPIK := 52545; +SET @CHICKENSEEINVIS := 50735; +SET @DESSAWNRETAINER := 53163; +SET @MOSSWALKERAURA := 51644; +SET @MOSSWALKERBUNNY := 28459; +SET @ANGRYGORLOCCREDIT := 54057; +SET @MISTWHISPERAURA := 51239; +SET @MISTWHISPERBUNNY := 28300; +SET @SPEARBORNAURA := 51642; +SET @SPEARBORNBUNNY := 28457; +SET @KARTAKHOLDAURA := 51643; +SET @KARTAKHOLDBUNNY := 28458; +SET @SPARKTOUCHEDAURA := 51641; +SET @SPARKTOUCHEDBUNNY := 28456; +SET @SAPPHIREHIVEAURA := 51651; +SET @LIFEBLOODPILLARBUNNY := 28460; +SET @LIFEBLOODPILLARAURA:= 51649; +SET @SKYREACHPILLARBUNNY := 28454; +SET @SKYREACHPILLARAURA:= 51645; +SET @SAPPHIREHIVEBUNNY := 28462; +SET @GORLOCLOCATIONPERIODIC := 51793; +SET @WOLVARLOCATIONPERIODIC := 51792; +SET @LOOKINGFORTREASUREAURA := 51407; +SET @SHOLAZARGUARDIANHEARTBEAT := 51623; +SET @DIGGINGFORTEASURE := 51405; +SET @GOREGEKSSHACKLE := 38619; +SET @DAJIKSCHALK := 38621; +SET @ZEPIKSHUNTINGHORN := 38512; +SET @LAFOOSBUGBAG := 38622; +SET @JALOOTSCRYSTAL := 38623; +SET @MOODLESSTRESSBALL := 38624; +SET @INVISIBILTY := 52213; +SET @HARDKNUCKLE := 28096; +SET @HARDKNUCKLEMATRIARCH := 28213; +SET @SAPPHIREQUEEN := 28087; +SET @VENOMTIP := 28358; + +UPDATE `creature_template` SET `minlevel`=77, `maxlevel`=77, `exp`=2,`mindmg`=371, `maxdmg`=522,`attackpower`=478 WHERE `entry`IN (@GOREGEK,@DAJIK,@ZEPIK); +UPDATE `creature_template` SET `unit_flags` =33555200 WHERE `entry`IN (@MOSSWALKERBUNNY,@MISTWHISPERBUNNY,@SPEARBORNBUNNY,@KARTAKHOLDBUNNY,@SPARKTOUCHEDBUNNY,@SAPPHIREHIVEBUNNY,@LIFEBLOODPILLARBUNNY,@SKYREACHPILLARBUNNY); +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN(@HO_SOOSAY,@ELDER_HARKEK,@SHAMAN_RAKJAK); +DELETE FROM `creature_ai_scripts` WHERE `creature_id`IN(@HO_SOOSAY,@ELDER_HARKEK,@SHAMAN_RAKJAK); +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(@HO_SOOSAY,@ELDER_HARKEK,@SHAMAN_RAKJAK); +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 +(@HO_SOOSAY, 0, 0, 0, 1, 0, 100, 0, 0, 0, 0, 0, 75, @O_STATE, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - Out of combat - Add Oracle State Aura'), +(@HO_SOOSAY, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 12000, 16000, 11, @T_STORM, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - In Combat - Cast Thunderstorm'), +(@HO_SOOSAY,0,2,8,62,0,100,0,@HO_GOSSIP,0,0,0,85,@FI_LAFOO,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Lafoo'), +(@HO_SOOSAY,0,3,8,62,0,100,0,@HO_GOSSIP,1,0,0,85,@FI_LAFOO,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Lafoo'), +(@HO_SOOSAY,0,4,8,62,0,100,0,@HO_GOSSIP,2,0,0,85,@FI_JALOOT,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Jaloot'), +(@HO_SOOSAY,0,5,8,62,0,100,0,@HO_GOSSIP,3,0,0,85,@FI_JALOOT,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Jaloot'), +(@HO_SOOSAY,0,6,8,62,0,100,0,@HO_GOSSIP,4,0,0,85,@FI_MOODLE,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Moodle'), +(@HO_SOOSAY,0,7,8,62,0,100,0,@HO_GOSSIP,5,0,0,85,@FI_MOODLE,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Moodle'), +(@HO_SOOSAY,0,8,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Close gossip'), +(@HO_SOOSAY,0,9, 0, 20, 0, 100, 0, 12704, 0, 0, 0, 28, @SEEINVIS, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - On Quest Complete - Remove Aura Rainspeaker Treasures: See Invisibility'), +(@HO_SOOSAY,0,10, 0, 19, 0, 100, 0, 12704, 0, 0, 0, 85, @SEEINVIS, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - On Quest Accept - Invoker Cast Rainspeaker Treasures: See Invisibility'), +(@HO_SOOSAY, 0, 11, 0, 20, 0, 100, 0, 12572, 0, 0, 0, 28, @SEEINVIS, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - On Quest Complete - Remove Aura Rainspeaker Treasures: See Invisibility'), +(@HO_SOOSAY, 0, 12, 0, 19, 0, 100, 0, 12574, 0, 0, 0, 57, @LAFOOSBUGBAG, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - On Quest Accept - Remove Lafoos Bug bag'), +(@HO_SOOSAY, 0, 13, 0, 20, 0, 100, 0, 12577, 0, 0, 0, 57, @JALOOTSCRYSTAL, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - On Quest Complete - Remove Jaloots favourite crystal'), +(@HO_SOOSAY, 0, 14, 0, 20, 0, 100, 0, 12581, 0, 0, 0, 57, @MOODLESSTRESSBALL, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Oracle Soo-say - On Quest Complete - Remove Moodles Stress Ball'), +-- +(@SHAMAN_RAKJAK,0,0,0,19,0,100,0,12529,0,0,0,11,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Goregek'), +(@SHAMAN_RAKJAK,0,1,0,19,0,100,0,12530,0,0,0,11,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Goregek'), +(@SHAMAN_RAKJAK,0,2,0,19,0,100,0,12533,0,0,0,11,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Dajik'), +(@SHAMAN_RAKJAK,0,3,0,19,0,100,0,12534,0,0,0,11,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Dajik'), +(@SHAMAN_RAKJAK,0,4,0,19,0,100,0,12536,0,0,0,11,@FI_ZEPIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Zepik'), +(@SHAMAN_RAKJAK, 0, 15, 0, 19, 0, 100, 0, 12533, 0, 0, 0, 57, @GOREGEKSSHACKLE, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Shaman Rakjak - On Quest Accept - Remove Goregeks Shackes'), +(@SHAMAN_RAKJAK, 0, 16, 0, 19, 0, 100, 0, 12536, 0, 0, 0, 57, @DAJIKSCHALK, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Shaman Rakjak - On Quest Accept - Remove Dajiks Chalk'), +(@SHAMAN_RAKJAK, 0, 17, 0, 19, 0, 100, 0, 12540, 0, 0, 0, 57, @ZEPIKSHUNTINGHORN, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'High-Shaman Rakjak - On Quest Accept - Remove Zepiks Hunting Horn'), +-- +(@ELDER_HARKEK,0,4,10,62,0,100,0,@EH_GOSSIP,0,0,0,85,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Goregek'), +(@ELDER_HARKEK,0,5,10,62,0,100,0,@EH_GOSSIP,1,0,0,85,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Goregek'), +(@ELDER_HARKEK,0,6,10,62,0,100,0,@EH_GOSSIP,2,0,0,85,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Dajik'), +(@ELDER_HARKEK,0,7,10,62,0,100,0,@EH_GOSSIP,3,0,0,85,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Dajik'), +(@ELDER_HARKEK,0,8,10,62,0,100,0,@EH_GOSSIP,4,0,0,85,@FI_ZEPIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Zepik'), +(@ELDER_HARKEK,0,9,10,62,0,100,0,@EH_GOSSIP,5,0,0,85,@FI_ZEPIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Zepik'), +(@ELDER_HARKEK,0,10,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Close gossip'), +(@ELDER_HARKEK, 0, 3, 0, 20, 0, 100, 0, 12702, 0, 0, 0, 28, @CHICKENSEEINVIS, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Elder Harkek - On Quest Complete - Remove Aura Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK, 0, 2, 0, 20, 0, 100, 0, 12532, 0, 0, 0, 28, @CHICKENSEEINVIS, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Elder Harkek - On Quest Complete - Remove Aura Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK, 0, 1, 0, 19, 0, 100, 0, 12702, 0, 0, 0, 85, @CHICKENSEEINVIS, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Elder Harkek - On Quest Accept - Invoker Cast Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK, 0, 0, 0, 19, 0, 100, 0, 12532, 0, 0, 0, 85, @CHICKENSEEINVIS, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Elder Harkek - On Quest Accept - Invoker Cast Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK, 0, 11, 0, 19, 0, 100, 0, 12534, 0, 0, 0, 57, @GOREGEKSSHACKLE, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Elder Harkek - On Quest Accept - Remove Goregeks Shackes'); +-- +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN(@HO_GOSSIP,@EH_GOSSIP) AND `id` IN(0,1,2,3,4,5); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(@HO_GOSSIP,0,0, 'I need to find Lafoo, do you have his bug bag?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,1,0, 'I need to find Lafoo, do you have his bug bag?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,2,0, 'I need to find Jaloot, do you have his favorite crystal?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,3,0, 'I need to find Jaloot, do you have his favorite crystal?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,4,0, 'I need to find Moodle, do you have his stress ball?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,5,0, 'I need to find Moodle, do you have his stress ball?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,0,0, 'I need to find Goregek, do you have his shackles?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,1,0, 'I need to find Goregek, do you have his shackles?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,2,0, 'I need to find Dajik, do you have his chalk?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,3,0, 'I need to find Dajik, do you have his chalk?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,4,0, 'I need to find Zepik, do you have his hunting horn?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,5,0, 'I need to find Zepik, do you have his hunting horn?',1,1,0,0,0,0, ''); +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`IN(@HO_GOSSIP,@EH_GOSSIP); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,@HO_GOSSIP,0,0,0,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,0,0,0,9,0,12571,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest Make the Bad Snake go away'), +(15,@HO_GOSSIP,0,0,2,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,0,0,2,8,0,12571,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Quest Make the Bad Snake go away'), +(15,@HO_GOSSIP,0,0,1,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,0,0,1,28,0,12571,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has completed Quest Make the Bad Snake go away'), +(15,@HO_GOSSIP,0,0,0,8,0,12573,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Making Peace'), +(15,@HO_GOSSIP,0,0,1,8,0,12573,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Making Peace'), +(15,@HO_GOSSIP,0,0,2,8,0,12573,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Making Peace'), +(15,@HO_GOSSIP,1,0,0,8,0,12695,0,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has rewarded quest Return of the Friendly Dryskin'), +(15,@HO_GOSSIP,1,0,0,5,0,1105,224,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player is at least honored with The Oracles'), +(15,@HO_GOSSIP,1,0,0,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has no item Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,4,0,0,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,0,9,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,2,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,2,8,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,1,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,1,28,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Completed Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,0,8,0,12579,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Lifeblood of the Mosswalker Shrine'), +(15,@HO_GOSSIP,4,0,1,8,0,12579,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Lifeblood of the Mosswalker Shrine'), +(15,@HO_GOSSIP,4,0,2,8,0,12579,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Lifeblood of the Mosswalker Shrine'), +(15,@HO_GOSSIP,4,0,3,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,3,9,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,5,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,5,8,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,4,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,4,28,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Completed Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,3,8,0,12580,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest The Mosswalker Savior'), +(15,@HO_GOSSIP,4,0,4,8,0,12580,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest The Mosswalker Savior'), +(15,@HO_GOSSIP,4,0,5,8,0,12580,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest The Mosswalker Savior'), +(15,@HO_GOSSIP,5,0,0,8,0,12695,0,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has rewarded quest Return of the Friendly Dryskin'), +(15,@HO_GOSSIP,5,0,0,5,0,1105,224,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player is at least honored with The Oracles'), +(15,@HO_GOSSIP,5,0,0,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has no item Jaloot''s Favorite Crystal'), +(15,@HO_GOSSIP,2,0,0,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Jaloot''s Favourite Crystal'), +(15,@HO_GOSSIP,2,0,0,9,0,12574,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest Back so soon?'), +(15,@HO_GOSSIP,2,0,2,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Jaloot''s Favourite Crystal'), +(15,@HO_GOSSIP,2,0,2,8,0,12574,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Back so soon?'), +(15,@HO_GOSSIP,2,0,1,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Jaloot''s Favourite Crystal'), +(15,@HO_GOSSIP,2,0,1,28,0,12574,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Completed Back so soon?'), +(15,@HO_GOSSIP,2,0,0,8,0,12577,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Home Time'), +(15,@HO_GOSSIP,2,0,1,8,0,12577,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Home Time'), +(15,@HO_GOSSIP,2,0,2,8,0,12577,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Home Time'), +(15,@HO_GOSSIP,3,0,0,8,0,12695,0,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has rewarded quest Return of the Friendly Dryskin'), +(15,@HO_GOSSIP,3,0,0,5,0,1105,224,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player is at least honored with The Oracles'), +(15,@HO_GOSSIP,3,0,0,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has no item Moodle''s Stress Ball'), +(15,@EH_GOSSIP,0,0,0,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,0,9,0,12529,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest The Ape Hunters Slave'), +(15,@EH_GOSSIP,0,0,2,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,2,8,0,12529,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest The Ape Hunters Slave'), +(15,@EH_GOSSIP,0,0,1,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,1,28,0,12529,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest The Ape Hunters Slave'), +(15,@EH_GOSSIP,0,0,3,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,3,9,0,12530,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest Tormenting the Softknuckles'), +(15,@EH_GOSSIP,0,0,4,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,4,8,0,12530,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest Tormenting the Softknuckles'), +(15,@EH_GOSSIP,0,0,5,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,5,28,0,12530,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest Tormenting the Softknuckles'), +(15,@EH_GOSSIP,0,0,0,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,1,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,2,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,3,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,4,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,5,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,0,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,1,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,2,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,3,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,4,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,5,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,2,0,0,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,0,9,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,2,0,2,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,2,8,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,2,0,1,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,1,28,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,2,0,3,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,3,9,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest The Underground Menace'), +(15,@EH_GOSSIP,2,0,4,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,4,8,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest The Underground Menace'), +(15,@EH_GOSSIP,2,0,5,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,5,28,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest The Underground Menace'), +(15,@EH_GOSSIP,2,0,0,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,1,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,2,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,3,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,4,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,5,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,0,2,0,@ZEPIKSHUNTINGHORN,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Zepiks Hunting Horn'), +(15,@EH_GOSSIP,4,0,0,9,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,2,2,0,@ZEPIKSHUNTINGHORN,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Zepiks Hunting Horn'), +(15,@EH_GOSSIP,4,0,2,8,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,1,2,0,@ZEPIKSHUNTINGHORN,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Zepiks Hunting Horn'), +(15,@EH_GOSSIP,4,0,1,28,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,0,8,0,12539,0,0,1,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest Hoofing It'), +(15,@EH_GOSSIP,4,0,1,8,0,12539,0,0,1,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest Hoofing It'), +(15,@EH_GOSSIP,4,0,2,8,0,12539,0,0,1,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest Hoofing It'); +-- +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15, @EH_GOSSIP,1,0,8,12692,0,0,0,0, '', 'Elder Harkek - Show gossip option only if player has rewarded quest Return of the Lich Hunter'), +(15, @EH_GOSSIP,1,0,5,1104,224,0,0,0, '', 'Elder Harkek - Show gossip option only if player is at least honored with Frenzheart Tribe'), +(15, @EH_GOSSIP,1,0,2,@GOREGEKSSHACKLE,1,0,1,0, '', 'Elder Harkek - Show gossip option only if player has no item Goregek''s Shackles'), +(15, @EH_GOSSIP,3,0,8,12692,0,0,0,0, '', 'Elder Harkek - Show gossip option only if player has rewarded quest Return of the Lich Hunter'), +(15, @EH_GOSSIP,3,0,5,1104,224,0,0,0, '', 'Elder Harkek - Show gossip option only if player is at least honored with Frenzheart Tribe'), +(15, @EH_GOSSIP,3,0,2,@DAJIKSCHALK,1,0,1,0, '', 'Elder Harkek - Show gossip option only if player has no item Dajiks Worn Chalk'), +(15, @EH_GOSSIP,5,0,8,12692,0,0,0,0, '', 'Elder Harkek - Show gossip option only if player has rewarded quest Return of the Lich Hunter'), +(15, @EH_GOSSIP,5,0,5,1104,224,0,0,0, '', 'Elder Harkek - Show gossip option only if player is at least honored with Frenzheart Tribe'), +(15, @EH_GOSSIP,5,0,2,@ZEPIKSHUNTINGHORN,1,0,1,0, '', 'Elder Harkek - Show gossip option only if player has no item Zepiks Hunting Horn'); +-- Jaloot's Itensity and Blessing of the Sparkling Hare don't stack +DELETE FROM `spell_group` WHERE `id`=@BLESSINGOFTHESPARKINGHARE; +INSERT INTO `spell_group` (`id`, `spell_id`) VALUES +(@BLESSINGOFTHESPARKINGHARE, @BLESSINGOFTHESPARKINGHARE), +(@BLESSINGOFTHESPARKINGHARE, @JALOOTSINTENSITY); + +DELETE FROM `spell_group_stack_rules` WHERE `group_id`=@BLESSINGOFTHESPARKINGHARE; +INSERT INTO `spell_group_stack_rules` (`group_id`,`stack_rule`) VALUES +(@BLESSINGOFTHESPARKINGHARE,1); +DELETE FROM `creature_template_addon` WHERE `entry`IN(@GLINTINGDIRT,@LAFOO,@JALOOT,@MOODLE,@GLINTINGBUG,@GOREGEK,@DAJIK,@ZEPIK); +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(@GLINTINGBUG,0,0,0,1,0, '51444'), +(@GOREGEK,0,0,0,1,0, '54178'), +(@DAJIK,0,0,0,1,0, '52734'), +(@ZEPIK,0,0,0,1,0, '54176'); +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=@SEEINVIS AND `spell_effect`=@LOOKINGFORTREASUREAURA; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(@SEEINVIS,@LOOKINGFORTREASUREAURA,2, 'Looking for treasure aura triggered by Rainspeaker Treasures: See Invisibility'); +DELETE FROM `spell_area` WHERE `spell` =@ANGRYGORLOCCREDIT; +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@GLINTINGDIRT; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@GLINTINGDIRT; +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN @GLINTINGDIRTSCRIPT AND @GLINTINGDIRTSCRIPT+5; +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 +(@GLINTINGDIRT,0,0 ,0,38, 0,100,1,1,1,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - On Data Set - Increment Phase'), +(@GLINTINGDIRT,0,1 ,0,1, 1,100,1,0,0,0,0,87,@GLINTINGDIRTSCRIPT,@GLINTINGDIRTSCRIPT+1,@GLINTINGDIRTSCRIPT+2,@GLINTINGDIRTSCRIPT+3,@GLINTINGDIRTSCRIPT+4,@GLINTINGDIRTSCRIPT+5,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Run Random Script'), +(@GLINTINGDIRT,0,2 ,0,1, 1,100,1,400,400,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Despawn'), +(@GLINTINGDIRT,0,3 ,0,11, 0,100,0,0,0,0,0,11,@INVISIBILTY,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - On Spawn - Cast Rainspeaker Treasures: Invisibility'), +(@GLINTINGDIRTSCRIPT,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPSPARKINGHARE,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Sparking Hare'), +(@GLINTINGDIRTSCRIPT,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+1,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPSHININGCRYSTAL,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Shining Crystal'), +(@GLINTINGDIRTSCRIPT+1,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+2,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPGLINTINGARMOR,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Glinting Armor'), +(@GLINTINGDIRTSCRIPT+2,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+3,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPGLOWINGGEM,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Glowing Gem'), +(@GLINTINGDIRTSCRIPT+3,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+4,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPPOLISHEDPLATTER,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Polished Platter'), +(@GLINTINGDIRTSCRIPT+4,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+5,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPSPARKINGTREASURE,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Sparking Treasure'), +(@GLINTINGDIRTSCRIPT+5,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN(@RAINSPEAKERBUNNY,@FRENZYBUNNY,@MOSSWALKERBUNNY,@MISTWHISPERBUNNY,@SPEARBORNBUNNY,@KARTAKHOLDBUNNY,@SPARKTOUCHEDBUNNY,@SAPPHIREHIVEBUNNY,@LIFEBLOODPILLARBUNNY,@SKYREACHPILLARBUNNY); +UPDATE `creature_template` SET `AIName`= 'SmartAI',`unit_flags`=32776,`InhabitType`=3 WHERE `entry`In(@LAFOO,@MOODLE,@JALOOT,@GOREGEK,@DAJIK,@ZEPIK); +UPDATE `creature_template` SET `gossip_menu_id`=9747, `npcflag`=`npcflag`|1, `speed_run`=1.30952 WHERE `entry`=@JALOOT; +UPDATE `creature_template` SET `npcflag`=`npcflag`|1, `speed_run`=1.19048 WHERE `entry`=@MOODLE; +UPDATE `gossip_menu_option` SET `action_menu_id`=9684 WHERE `menu_id`=9677; +UPDATE `creature_template` SET `gossip_menu_id`=9745 WHERE `entry`=28106; +UPDATE `creature_template` SET `speed_walk`=0.66667, `speed_run`=0.99206 WHERE `entry`=@GOREGEK; +UPDATE `creature_template` SET `speed_walk`=0.66667, `speed_run`=0.99206, `npcflag`=`npcflag`|1 WHERE `entry`=@ZEPIK; +UPDATE `gossip_menu_option` SET `action_menu_id`=9684 WHERE `menu_id`=9677; +DELETE FROM `creature_involvedrelation` WHERE `id`=28216 AND `quest`=12582; + +DELETE FROM `gossip_menu` WHERE `entry`=9747; +DELETE FROM `gossip_menu` WHERE `entry`=9562 AND `text_id`=12883; +DELETE FROM `gossip_menu` WHERE `entry`=9570 AND `text_id`=12905; +DELETE FROM `gossip_menu` WHERE `entry`=9678 AND `text_id`=13136; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(9562,12883), +(9570,12905), +(9678,13136), +(9747,13367); + +DELETE FROM `npc_text` WHERE `ID`=13136; +INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`lang0`,`prob0`,`em0_0`,`em0_1`,`em0_2`,`em0_3`,`em0_4`,`em0_5`,`text1_0`,`text1_1`,`lang1`,`prob1`,`em1_0`,`em1_1`,`em1_2`,`em1_3`,`em1_4`,`em1_5`,`text2_0`,`text2_1`,`lang2`,`prob2`,`em2_0`,`em2_1`,`em2_2`,`em2_3`,`em2_4`,`em2_5`,`text3_0`,`text3_1`,`lang3`,`prob3`,`em3_0`,`em3_1`,`em3_2`,`em3_3`,`em3_4`,`em3_5`,`text4_0`,`text4_1`,`lang4`,`prob4`,`em4_0`,`em4_1`,`em4_2`,`em4_3`,`em4_4`,`em4_5`,`text5_0`,`text5_1`,`lang5`,`prob5`,`em5_0`,`em5_1`,`em5_2`,`em5_3`,`em5_4`,`em5_5`,`text6_0`,`text6_1`,`lang6`,`prob6`,`em6_0`,`em6_1`,`em6_2`,`em6_3`,`em6_4`,`em6_5`,`text7_0`,`text7_1`,`lang7`,`prob7`,`em7_0`,`em7_1`,`em7_2`,`em7_3`,`em7_4`,`em7_5`,`WDBVerified`) VALUES +(13136,'Vekjik no want to be bothered.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,12340); + +DELETE FROM `creature_equip_template` WHERE `entry` IN (@GOREGEK,@DAJIK,@ZEPIK); +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@GOREGEK,1,36488,0,0), +(@DAJIK,1,28325,0,0), +(@ZEPIK,1,28914,0,5258); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(@LAFOO,@MOODLE,@JALOOT,@GOREGEK,@DAJIK,@ZEPIK,@GORLOCTREASURESCRIPT,@RAINSPEAKERBUNNY,@FRENZYBUNNY,@MOSSWALKERBUNNY,@MISTWHISPERBUNNY,@SPEARBORNBUNNY,@KARTAKHOLDBUNNY,@SPARKTOUCHEDBUNNY,@SAPPHIREHIVEBUNNY,@LIFEBLOODPILLARBUNNY,@SKYREACHPILLARBUNNY); +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 +(@GOREGEK,0,0 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Spawn - Set React State'), +(@GOREGEK,0,1,0,8,0,100,0,@FRENZYAURA,0,45000,70000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On spellhit - Say line'), +(@GOREGEK,0,2,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On spellhit - Despawn'), +(@GOREGEK,0,3,0,0,0,100,0,3000,6000,8000,16000,11,54188,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Goregek - IC - Cast Sunder Armor'), +(@GOREGEK,0,4,0,0,0,100,0,5000,8000,15000,20000,11,52743,2,0,0,0,0,2,0,0,0,0,0,0,0, 'Goregek - IC - Cast Head Smack'), +(@GOREGEK,0,5,0,2,0,100,0,0,30,60000,60000,11,52748,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Less than 30% HP - Cast Voracious Appetite'), +(@GOREGEK,0,6,0,13,0,100,0,12000,20000,0,0,11,6713,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Target Casting - Cast Disarm'), +(@GOREGEK,0,7 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Creature Death - Say'), +(@GOREGEK,0,8 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Gorekek - OOC - Say'), +(@GOREGEK,0,9 ,0,11,0,100,0,0,0,0,0,11,@WOLVARLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Spawn - Cast Wolvar Location Periodic'), +(@GOREGEK,0,10 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@GOREGEK,0,11 ,0,1,0,100,0,10000,40000,45000,90000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Gorekek - OOC - Say'), +(@GOREGEK,0,12 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - OOC - Set Phase 2'), +(@GOREGEK,0,13 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Agro - Set Phase 1'), +(@GOREGEK,0,14 ,0,38,0,100,0,1,1,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Data Set - Say'), +(@GOREGEK,0,15,0,8,2,100,0,@KARTAKHOLDAURA,0,40000,70000,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On spellhit - Say line'), +(@DAJIK,0,0 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Spawn - Set React State'), +(@DAJIK,0,1,0,8,0,100,0,@FRENZYAURA,0,45000,70000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,2,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Despawn'), +(@DAJIK,0,3,0,0,0,100,0,3000,6000,8000,12000,11,54195,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Dajik - IC - Cast Earth''s Wrath'), +(@DAJIK,0,4,0,0,0,100,0,5000,8000,15000,20000,11,54193,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Dajik - IC - Cast Earth''s Fury'), +(@DAJIK,0,5,0,2,0,100,0,0,30,60000,60000,11,54206,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Less than 30% HP - Cast Mend'), +(@DAJIK,0,6 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Creature Death - Say'), +(@DAJIK,0,8 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - OOC - Say'), +(@DAJIK,0,9,0,8,2,100,0,@SAPPHIREHIVEAURA,0,40000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,10 ,0,11,0,100,0,0,0,0,0,11,@WOLVARLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Spawn - Cast Wolvar Location Periodic'), +(@DAJIK,0,11 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik -Goregek - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@DAJIK,0,12 ,0,38,0,100,0,1,1,0,0,1,4,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Creature Death (Sapphire Queen) - Say'), +(@DAJIK,0,13 ,0,38,0,100,0,1,2,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Creature Death (Serfex the Reaver) - Say'), +(@DAJIK,0,14 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - OOC - Set Phase 2'), +(@DAJIK,0,15 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Agro - Set Phase 1'), +(@DAJIK,0,16 ,0,52,0,100,0,4,@DAJIK,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik On - Text Over - Say'), +(@DAJIK,0,17,0,8,2,100,0,@SKYREACHPILLARAURA,0,40000,70000,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,18 ,0,1,0,100,0,10000,40000,45000,90000,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - OOC - Say'), +(@DAJIK,0,19,0,8,2,100,0,@LIFEBLOODPILLARAURA,0,40000,70000,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@ZEPIK,0,0 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Spawn - Set React State'), +(@ZEPIK,0,1,0,8,0,100,0,@FRENZYAURA,0,45000,70000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On spellhit - Say line'), +(@ZEPIK,0,2,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On spellhit - Despawn'), +(@ZEPIK,0,3,0,0,0,100,0,4000,7000,15000,18000,11,52761,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Barbed Net'), +(@ZEPIK,0,4,0,0,0,100,0,5000,8000,12000,15000,11,52889,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Envenomed Shot'), +(@ZEPIK,0,5,0,0,0,100,0,0,6000,15000,18000,11,52873,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Open Wound'), +(@ZEPIK,0,6,0,0,0,100,0,3000,5000,3000,7000,11,52758,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Piercing Arrow'), +(@ZEPIK,0,7,0,2,0,100,0,0,30,60000,60000,11,52895,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - On Less than 30% HP Cast Bandage - Cast Bandage'), +(@ZEPIK,0,8 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Creature Death - Say'), +(@ZEPIK,0,9 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - OOC - Say'), +(@ZEPIK,0,10,0,8,2,100,0,@MISTWHISPERAURA,0,40000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On spellhit - Say line'), +(@ZEPIK,0,11 ,0,11,0,100,0,0,0,0,0,11,@WOLVARLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Spawn - Cast Wolvar Location Periodic'), +(@ZEPIK,0,12 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@ZEPIK,0,13 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - OOC - Set Phase 2'), +(@ZEPIK,0,14 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Agro - Set Phase 1'), +(@ZEPIK,0,15 ,0,38,0,100,0,1,2,0,0,1,4,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Data Set - Say'), +(@ZEPIK,0,16 ,0,52,0,100,0,4,@ZEPIK,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Text Over - Say'), +(@LAFOO,0,0 ,1,8, 2,100,1,@TREASUREPING,0,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spellhit - Say'), +(@LAFOO,0,1 ,0,61, 0,100,0,0,0,0,0,80,@GORLOCTREASURESCRIPT,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - Linked with Previous Event - Run Script'), +(@LAFOO,0,2 ,0,11,0,100,0,0,0,0,0,11,@GORLOCLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spawn - Cast Gorloc Location Periodic'), +(@LAFOO,0,3 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@LAFOO,0,4 ,0,38, 0,100,0,1,1,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Data Set - Say'), +(@GORLOCTREASURESCRIPT,9,0 ,0,61, 0,100,0,0,0,0,0,69,0,0,0,0,0,0,11,28362,10,0,0,0,0,0, 'Lafoo - Script - Move to Glinting Dirt'), +(@GORLOCTREASURESCRIPT,9,1 ,0,61, 0,100,0,1000,1000,0,0,45,1,1,0,0,0,0,9,@GLINTINGDIRT,0,2,0,0,0,0, 'Lafoo - Script - Set Data'), +(@GORLOCTREASURESCRIPT,9,2 ,0,61, 0,100,0,1500,1500,0,0,11,51405,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - Script - Cast Digging for Treasure'), +(@GORLOCTREASURESCRIPT,9,3 ,0,61, 0,100,0,5000,5000,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - Script - Evade'), +(@LAFOO,0,6 ,0,0, 0,100,0,0,5000,10000,12000,11,52931,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Lafoo - IC - Cast Toxic Spit'), +(@LAFOO,0,7 ,0,2,0,100,0,0,50,60000,60000,11,52940,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Friendly Health - Cast Sleepy Time'), +(@LAFOO,0,8 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spawn - Set React State'), +(@LAFOO,0,9 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Creature Death - Say'), +(@LAFOO,0,10 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - OOC - Say'), +(@LAFOO,0,11,0,8,0,100,0,@RAINSPEAKERAURA,0,45000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On spellhit - Say line'), +(@LAFOO,0,12,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On spellhit - Despawn'), +(@LAFOO,0,13,0,19,0,100,0,12572,0,0,0,85,@SEEINVIS,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Lafoo - On Quest Accept - Invoker Cast Rainspeaker Treasures: See Invisibility'), +(@LAFOO,0,14 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - OOC - Set Phase 2'), +(@LAFOO,0,15 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Agro - Set Phase 1'), +(@JALOOT,0,0 ,1,8, 2,100,1,@TREASUREPING,0,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spellhit - Say'), +(@JALOOT,0,1 ,0,61, 0,100,0,0,0,0,0,80,@GORLOCTREASURESCRIPT,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - Linked with Previous Event - Run Script'), +(@JALOOT,0,2 ,0,11,0,100,0,0,0,0,0,11,@GORLOCLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Cast Gorloc Location Periodic'), +(@JALOOT,0,3 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@JALOOT,0,4 ,0,38, 0,100,0,1,1,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Data Set - Say'), +(@JALOOT,0,6,0,0,0,100,0,9000,15000,20000,25000,11,52943,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Jaloot - IC - Cast Lightning Whirl'), +(@JALOOT,0,7,0,0,0,100,0,5000,8000,15000,18000,11,52944,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Jaloot - IC - Cast Lightning Strike'), +(@JALOOT,0,8,0,0,0,100,0,7000,15000,20000,25000,11,52964,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Jaloot - IC - Cast Spark Frenzy'), +(@JALOOT,0,9,0,2,0,100,0,0,30,30000,45000,11,52969,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Less than 30% HP - Cast Energy Siphon'), +(@JALOOT,0,10 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Set React State'), +(@JALOOT,0,11 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Creature Death - Say'), +(@JALOOT,0,12 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - OOC - Say'), +(@JALOOT,0,13,0,8,0,100,0,@RAINSPEAKERAURA,0,45000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On spellhit - Say line'), +(@JALOOT,0,14,0,11,0,100,0,0,0,0,0,11,@JALOOTSINTENSITY,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Cast Jaloot''s Intensity'), +(@JALOOT,0,15,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On spellhit - Despawn'), +(@JALOOT,0,16,0,8,2,100,0,@SPEARBORNAURA,0,40000,70000,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On spellhit - Say line'), +(@JALOOT,0,17 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - OOC - Set Phase 2'), +(@JALOOT,0,18 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Agro - Set Phase 1'), +(@MOODLE,0,0 ,1,8, 2,100,1,@TREASUREPING,0,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spellhit - Say'), +(@MOODLE,0,1 ,0,61, 0,100,0,0,0,0,0,80,@GORLOCTREASURESCRIPT,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - Linked with Previous Event - Run Script'), +(@MOODLE,0,2 ,0,11,0,100,0,0,0,0,0,11,@GORLOCLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spawn - Cast Gorloc Location Periodic'), +(@MOODLE,0,3 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@MOODLE,0,4 ,0,0, 0,100,0,0,5000,20000,30000,11,52974,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - IC - Cast Vicious Roar'), +(@MOODLE,0,5 ,0,20, 0,100,0,12580,0,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Quest Complete - Say'), +(@MOODLE,0,6 ,0,0, 0,100,0,0,5000,20000,24000,11,52973,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Moodle - IC - Cast Frost Breath'), +(@MOODLE,0,7,0,0,0,100,0,9000,15000,20000,25000,11,52979,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Moodle - IC - Cast Whirlwind'), +(@MOODLE,0,8,0,0,0,100,0,2000,10000,40000,50000,11,52972,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - IC - Cast Dispersal'), +(@MOODLE,0,9 ,0,2,0,100,0,0,50,60000,60000,11,52979,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On less than 50% HP - Cast Frigid Absorbtion'), +(@MOODLE,0,10 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spawn - Set React State'), +(@MOODLE,0,11 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Creature Death - Say'), +(@MOODLE,0,12 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - OOC - Say'), +(@MOODLE,0,13,0,8,0,100,0,@RAINSPEAKERAURA,0,45000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On spellhit - Say line'), +(@MOODLE,0,14,0,8,0,100,1,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On spellhit - Despawn'), +(@MOODLE,0,15,0,8,2,100,0,@MOSSWALKERAURA,0,40000,70000,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On spellhit - Say line'), +(@MOODLE,0,16 ,0,61, 0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - Linked with Previous Event - Run Passive'), +(@MOODLE,0,17 ,0,19, 0,100,0,12581,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Quest Accept - Say'), +(@MOODLE,0,18 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - OOC - Set Phase 2'), +(@MOODLE,0,19 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Agro - Set Phase 1'), +(@RAINSPEAKERBUNNY,0,0,0,10,0,100,0,1,150,10000,10000,11,@RAINSPEAKERAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Rainspeaker Canopy Bunny - On update OOC - Spellcast Rainspeaker Canopy Aura'), +(@FRENZYBUNNY,0,0,0,10,0,100,0,1,150,10000,10000,11,@FRENZYAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Frenzyheart Hill Bunny - On update OOC - Spellcast Frenzyheart Hill Aura'), +(@MOSSWALKERBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@MOSSWALKERAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Mosswalker Village Bunny - On update OOC - Spellcast Mosswalker Village Aura'), +(@MOSSWALKERBUNNY,0,1,0,10,0,100,0,1,200,1000,1000,85,@ANGRYGORLOCCREDIT,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Mosswalker Village Bunny - On update OOC - Cast quest credit'), +(@MISTWHISPERBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@MISTWHISPERAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Mistwhisper Refuge Bunny - On update OOC - Spellcast Mistwhisper Refuge Aura'), +(@SPEARBORNBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SPEARBORNAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Spearborn Encampment Bunny - On update OOC - Spellcast Spearborn Encampment Aura'), +(@KARTAKHOLDBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@KARTAKHOLDAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Kartak Hold Bunny - On update OOC - Spellcast Kartak Hold Aura'), +(@SPARKTOUCHEDBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SPARKTOUCHEDAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Sparktouched Haven Bunny - On update OOC - Spellcast Sparktouched Haven Aura'), +(@SAPPHIREHIVEBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SAPPHIREHIVEAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Sapphire Hive Bunny - On update OOC - Spellcast Sapphire Hive Aura'), +(@SKYREACHPILLARBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SKYREACHPILLARAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Skyreach Pillar Bunny - On update OOC - Spellcast Skyreach Pillar Aura'), +(@LIFEBLOODPILLARBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@LIFEBLOODPILLARAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Lifeblood Pillar Bunny - On update OOC - Spellcast Lifeblood Pillar Aura'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@SPARKLINGHARE; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@SPARKLINGHARE; +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 +(@SPARKLINGHARE,0,0 ,0,6, 0,100,0,0,0,0,0,11,@BLESSINGOFTHESPARKINGHARE,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Sparking Hare - On Death - Cast Blessing of the Sparkling Hare'); + +DELETE FROM `creature_text` WHERE `entry` IN(@LAFOO,@JALOOT,@MOODLE,@GOREGEK,@DAJIK,@ZEPIK); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@LAFOO, 0, 0, 'Ooh! Shinies!', 12, 0, 18, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 1, 'Maybe more shiny bugs! We like bugs!', 12, 0, 17, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 2, 'Treasure for Lafoo! Treasure for shrine!', 12, 0, 17, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 3, 'Dig, dig, dig...', 12, 0, 16, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 4, 'Crunchy bugs so delicious. Want?', 12, 0, 16, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 5, 'That weird. Someone took our bugs. You have maybe?', 12, 0, 16, 0, 0, 0, 'Lafoo'), +(@LAFOO, 1, 0, 'No come back this time!', 12, 0, 100, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 0, 'One day maybe you can be Soo-dryskin. You like?', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 1, 'You have pie? Someone gave us pie year ago. Really yummy.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 2, 'Big comfy tree. Good Home.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 3, 'Never meet Great Ones. Nope, just met their shrines.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 4, 'You got funny looking eyeballs.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 3, 0, 'Home good, but not stay long! More adventures!.', 12, 0, 100, 0, 0, 0, 'Lafoo'), +(@LAFOO, 4, 0, 'Hiss... hiss... dead. All dead', 12, 0, 100, 0, 0, 0, 'Lafoo'), +(@JALOOT, 0, 0, 'Shiny things! Shiny things! Not as shiny as my crystal, but still shiny!', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 0, 1, 'More treasures! Treasures of all kinds! Yay treasures!', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 0, 2, 'Can never have too many shiny crystals! Nope!', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 0, 3, 'We are fast digger! Really fast! See... all done! That was fast, huh?', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 1, 0, 'You like that? Bet not! Bet not cause you dead! Hahah!', 12, 0, 34, 0, 0, 0, 'Jaloot'), +(@JALOOT, 1, 1, 'Vic...tor...ious! Dun nun nun dun da da!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 1, 2, 'Killing Spree!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 0, 'Mistcaller really good at controlling weather with shrine. They know just which crystals to use! Really good!', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 1, 'Ever trip over own feet? We have. Kind of hurt. No do it, not fun. Nope.', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 2, 'Want us to help with something? What we help with? We good at helping.', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 3, 'Hello! You''re pretty strong and nice and stuff. I like you. Lets stay friends, okay?', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 4, 'Misty. Very misty. Seem sort of misty to you? Maybe not so much.', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 5, 'Lets go jump off tree! Fun fun!', 12, 0, 15, 0, 0, 0, 'Jaloot'), +(@JALOOT, 3, 0, 'Chase the hatchlings! Chase the hatchlings! So fast!', 12, 0, 34, 0, 0, 0, 'Jaloot'), +(@JALOOT, 3, 1, 'Great Ones keep home safe because they like Oracles I think! They know we good and nice.', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 3, 2, 'Home home home... place of the shinies!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 4, 0, 'We know you have dragon thing! We not scared! We going to get you and dragon thing!', 12, 0, 34, 0, 0, 0, 'Jaloot'), +(@JALOOT, 4, 1, 'Teach you to steal our treasures! Our treasures are... ours, okay?', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 4, 2, 'Time to hide puppy-men! We are coming for you!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 5, 0, 'Tartek no match for you! You got the skills. Yeah!', 12, 0, 100, 0, 0, 0, 'Jaloot'), +(@MOODLE, 0, 0, 'What the heck are shiny rabbits doing here anyway?', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 0, 1, 'Here I am, digging up some useless bauble on the will of someone I just met...does that seem right to you?', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 0, 2, 'Hey, maybe we''ll find some more useless bugs!', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 0, 3, 'Yay... more dirt.', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 1, 0, 'I can''t believe ... they''re all ... dead', 12, 0, 50, 0, 0, 0, 'Moodle'), +(@MOODLE, 1, 1, 'Another one falls to our Onslaught, As it should be.', 12, 0, 50, 0, 0, 0, 'Moodle'), +(@MOODLE, 2, 0, 'There some reason why we''re still here? I''d love to hear it', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 2, 1, 'Yeah, let''s go now', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 2, 2, 'I''m done here', 12, 0, 34, 0, 0, 0, 'Moodle'), +(@MOODLE, 3, 0, 'Going to go take a nap? I apologize in advance for accidentally stepping on your face while you sleep.', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 3, 1, 'Planning to sit on your butt some more, or are we going to go do something that''s actually useful?', 12, 0, 34, 0, 0, 0, 'Moodle'), +(@MOODLE, 3, 2, 'Here I am, brain the size of a planet, and they ask me to take you to the other village. Call that job satisfaction? ''Cause I don''t.', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 0, 'The Mosswalkers were good people... they did not deserve this.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 1, 'I know I talk down to them, but I never want to see any of my people die.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 2, 'It''s good to see some of the mosswalker were more resilient than I thought.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 3, 'It''s hard to believe any of them survived this.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 4, 'There are more that might still be alive! We need to keep moving.', 12, 0, 16, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 5, 'Where are they dragging those bodies? What are they doing to them?', 12, 0, 16, 0, 0, 0, 'Moodle'), +(@MOODLE, 5, 0, 'This fight''s all yours', 12, 0, 10, 0, 0, 0, 'Moodle'), +(@MOODLE, 6, 0, 'It''s a small comfort to see that they haven''t brought any back in undeath.', 12, 0, 100, 0, 0, 0, 'Moodle'), +(@GOREGEK,0,0,'Home! You better have brought back meat for Goregek, slave.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,1,'Goregek get some sleep. Go bring foodstuffs back, slave thing.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,2,'Goregek go get drink. You sit in corner til Goregek ready.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,3,'Goregek hungry. Go get on fire spit, slave thing. Tell Goregek when you well roasted.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,4,'Gorgek gonna catch chicken good!',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,5,'You wait until Goregek ready.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,6,'You wait, slave thing. Goregek eating.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,1,0,'Goregek best hunter... ever.',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,1,'Hah! Goregek''s kill!',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,2,'Next time, maybe Goregek let you try.',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,3,'I stabbed it in the face! Goregek so good.',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,4,'Squeal! Squeal! So good!',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,5,'Frenzyheart the strongest!',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,6,'That how it done, slave thing. Maybe you figure out how someday.',12,0,10,0,0,0,'Goregek'), +(@GOREGEK,2,0,'Why Goregek even bring you. You useless.',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,2,1,'Elder maybe says other stuff, but you always be slave thing to Goregek.',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,2,2,'Pitch was weakling anyway... why else you think Goregek not bother with him?',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,2,3,'You just get yourself beat up! Hah! You so dumb, slave thing.',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,3,0,'Careful slave thing, the big bad softnuckles might eat you! Hah!',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,1,'Hardknuckles still walk on hands... seem kind of dumb to Goregek.',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,2,'Run away dumb softknuckle! We gonna poke you more!',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,3,'Run away softknuckle! Goregek gonna get you!',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,4,'You just watch slave thing, Goregek take care of these hardknuckles!',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,3,5,'Better not get in Goregek''s way!',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,3,6,'Get out of way silly slave thing! Goregek''s kill!',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,3,7,'There were hundreds of times these hardknuckles before Goregek.',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,4,0,'Hah! Goregek the greatest hunter ever! Goregek get biggest hardknuckle!',12,0,100,0,0,0,'Goregek'), +(@GOREGEK,5,0,'Frenzyheart feed Kartak big-tongue so Kartak not eat us. That why we smarter than you, slave thing.',12,0,100,0,0,0,'Goregek'), +(@DAJIK,0,0,'Frenzyheart came here not long ago for new home... big-tongue homes pretty nice, so we maybe take those too. They ugly anyway.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,1,'Lot of strong Frenzyheart here. Dajik taught most of them. First time I teach something like you though. You not a Frenzyheart, you know.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,2,'Let''s just eat bristlepine instead, okay? All done with chasing.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,3,'There reason Frenzyheart not chase back chickens. Look kind of dumb to lose to chicken.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,4,'Maybe you not notice, chicken move kind of fast.',12,0,13,0,0,0,'Dajik'), +(@DAJIK,0,5,'Time for more smart Dajik tip! If Goregek let chickens out again, make Goregek get chickens back again.',12,0,13,0,0,0,'Dajik'), +(@DAJIK,0,6,'I placed most of the spikes. Good amount of pointiness I think. You like?',12,0,13,0,0,0,'Dajik'), +(@DAJIK,0,7,'Oh! Dajik has idea! Make chicken sounds and maybe they come to you!',12,0,13,0,0,0,'Dajik'), +(@DAJIK,1,0,'Get the stuff off of body! Dajik hate it when he go skin something and there stuff in the way. So annoying.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,1,'Did you see face? Looked so scared, "Ah, big thing going to smash me!" Hah.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,2,'Hah! Maybe you learn a little after all!',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,3,'Yes! Stab few more time just in case! Stab good!',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,4,'Not sure how thing got here. Not matter if dead though',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,0,'We came for something, yes? Can''t remember.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,1,'Make sure you not forget anything! I forgot stuff once.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,2,'Dajik not think he seen you eat anything. You eat sometimes, yeah?',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,3,'I was going to draw picture of best attack plan... but you have my chalk.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,4,'Time for more smart Dajik tip! Make sure thing dead before reach in mouth for loots.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,0,'Seem like there more wasps every time Dajik come back. Why they not run out?',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,1,'Time for more smart Dajik tip! Try not to catch stinger with face. Not work so much.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,2,'In case you wonder, wasp sting not feel so good. No need to try.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,3,'Drone things not as tough as they look. Wasp things a bit nastier.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,4,'Try not to catch stinger with face. Not work so much.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,4,0,'No! You killed the queen thing! What have you... wait, nevermind. Sorry, that okay.',12,0,100,0,7000,0,'Dajik'), +(@DAJIK,5,0,'Dajik''s last learner eaten by sand-thing. We do better this time though!',12,0,100,0,0,0,'Dajik'), +(@DAJIK,6,0,'This not first queen slain by Frenzyheart. Seem like there always more.',12,0,100,0,0,0,'Dajik'), +(@DAJIK,7,0,'Sometimes big-tongues try to come get crystals. Not now because they not like it when we kill them.',12,0,34,0,0,0,'Dajik'), +(@DAJIK,7,1,'Time for more smart Dajik tip! Crystals work little too good for back scratch. No try.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,7,2,'Something big make pillars and crystals and everything. Frenzyheart not care much cause it not here anymore.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,8,0,'If you here to poke more softnuckles, Dajik going to poke you too.That a bad Goregek habit.',12,0,50,0,0,0,'Dajik'), +(@DAJIK,8,1,'Huh... where are we? This not right. I not tell you find hardknuckles, did I?',12,0,50,0,0,0,'Dajik'), +(@DAJIK,9,0,'Time for more smart Dajik tip! Lot of dead things mean lot of chance of being dead thing. Dajik leaving now.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,9,1,'Dead thing there already learn lesson of broken pillar. Leave this lesson for dumb, dead things. Going home now.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,9,2,'You all done with learning! Yup! All done! Dajik leave you and evil red pillar thing now.',12,0,34,0,0,0,'Dajik'), +(@ZEPIK,0,0,'Bring back good meat and the camp treat you like high-shaman for a day. Good deal.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,1,'Elder Harkek pretty good Frenzyheart. He help me a lot when I was littler and not liking Dajik.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,2,'I not in a big hurry. We can rest here a while if want.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,3,'I not live here always... I traveled lot of world on my own not long ago. I like all the stories of beasts and dragons and gods and stuff.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,4,'You should go let chickens out again and say Goregek did it. Never get old.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,1,0,'Hahah! You see that? Lightning bolt hit him right in the head!',12,0,33,0,0,0,'Zepik'), +(@ZEPIK,1,1,'Good one! It not even see it coming.',12,0,33,0,0,0,'Zepik'), +(@ZEPIK,1,2,'No more play?',12,0,34,0,0,0,'Zepik'), +(@ZEPIK,2,0,'You ever fought big dragon or god or anything? Zepik like hearing stories.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,1,'You pretty good! Natural at hunt, like me.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,2,'Goregek think he the boss of everyone, but he eat too much and hunt too little.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,3,'Bring back good meat and the camp treat you like high-shaman for a day. Good deal.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,4,'Dajik forget what he doing, where he at... sometime even forget his own name. Make him not so good teacher sometimes.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,2,5,'Elder Harkek pretty good Frenzyheart. He help me a lot when I was littler and not liking Dajik.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,2,6,'I think one reason I like hunting big-tongues so much... they not as dumb as the other hunts. They give a real fight.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,2,7,'Dajik tried to show me ways of hunt, but I do better when I do things my way.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,3,0,'Eat it big-tongues!',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,1,'Hah! Leave some for Zepik too.',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,2,'That lake near here actually full of sea things. Not sure how it all get here... maybe in floods?',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,3,'I think one reason I like hunting big-tongues so much... they not as dumb as the other hunts. They give a real fight.',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,4,'Mist big-tongues are smart with their shrine thing sometimes... cover whole area with mist and it get hard to find any.',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,5,'Hah! This the fun part!',12,0,15,0,0,0,'Zepik'), +(@ZEPIK,3,6,'Flame! Death! Destruction! The black fire rages within my heart! I must... release it! Hahah!',12,0,15,0,0,0,'Zepik'), +(@ZEPIK,4,0,'Trust me - you going love this!',12,0,100,0,0,0,'Zepik'), +(@ZEPIK,5,0,'BOOM! That so good! More! More!',12,0,100,0,0,0,'Zepik'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9678 AND `SourceEntry`=13137; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (@FRENZYAURA,@RAINSPEAKERAURA,@WOLVARPING,@GORLOCPING,@DESSAWNRETAINER,@TREASUREPING,@DIGGINGFORTEASURE,@MOSSWALKERAURA,@SPEARBORNAURA,@MISTWHISPERAURA,@SAPPHIREHIVEAURA,@SKYREACHPILLARAURA); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,7,@FRENZYAURA,0,31,@GOREGEK,0,0,0,0,'','Spell Frenzyheart Hill Aura targets Goregek the Bristlepine Hunter'), +(13,7,@FRENZYAURA,1,31,@DAJIK,0,0,0,0,'','Spell Frenzyheart Hill Aura targets Dajik the Wasp Hunter'), +(13,7,@FRENZYAURA,2,31,@ZEPIK,0,0,0,0,'','Spell Frenzyheart Hill Aura targets Zepik the Gorloc Hunter'), +(13,7,@RAINSPEAKERAURA,0,31,@LAFOO,0,0,0,0,'','Spell Rainspeaker Canopy Aura targets Lafoo'), +(13,7,@RAINSPEAKERAURA,1,31,@MOODLE,0,0,0,0,'','Spell Rainspeaker Canopy Aura targets Jaloot'), +(13,7,@RAINSPEAKERAURA,2,31,@JALOOT,0,0,0,0,'','Spell Rainspeaker Canopy Aura targets Moodle'), +(13,7,@WOLVARPING,0,31,@GOREGEK,0,0,0,0,'','Spell Wolvar Location Ping targets Goregek the Bristlepine Hunter'), +(13,7,@WOLVARPING,1,31,@DAJIK,0,0,0,0,'','Spell Wolvar Location Ping targets Dajik the Wasp Hunter'), +(13,7,@WOLVARPING,2,31,@ZEPIK,0,0,0,0,'','Spell Wolvar Location Ping targets Zepik the Gorloc Hunter'), +(13,7,@GORLOCPING,0,31,@LAFOO,0,0,0,0,'','Spell Gorloc Location Ping targets Lafoo'), +(13,7,@GORLOCPING,1,31,@JALOOT,0,0,0,0,'','Spell Gorloc Location Ping targets Jaloot'), +(13,7,@GORLOCPING,2,31,@MOODLE,0,0,0,0,'','Spell Gorloc Location Ping targets Moodle'), +(13,7,@DESSAWNRETAINER,0,31,@LAFOO,0,0,0,0,'','Spell Dessawn Retainer targets Lafoo'), +(13,7,@DESSAWNRETAINER,1,31,@DAJIK,0,0,0,0,'','Spell Dessawn Retainer targets Dajik the Wasp Hunter'), +(13,7,@DESSAWNRETAINER,2,31,@ZEPIK,0,0,0,0,'','Spell Dessawn Retainer targets Zepik the Gorloc Hunter'), +(13,7,@DESSAWNRETAINER,3,31,@JALOOT,0,0,0,0,'','Spell Dessawn Retainer targets Jaloot '), +(13,7,@DESSAWNRETAINER,4,31,@MOODLE,0,0,0,0,'','Spell Dessawn Retainer targets Moodle'), +(13,7,@DESSAWNRETAINER,5,31,@GOREGEK,0,0,0,0,'','Spell Dessawn Retainer targets Goregek'), +(13,7,@TREASUREPING,0,31,@LAFOO,0,0,0,0,'','Spell Dessawn Retainer targets Lafoo'), +(13,7,@TREASUREPING,1,31,@JALOOT,0,0,0,0,'','Spell Dessawn Retainer targets Jaloot '), +(13,7,@TREASUREPING,2,31,@MOODLE,0,0,0,0,'','Spell Dessawn Retainer targets Moodle'), +(13,7,@DIGGINGFORTEASURE,0,31,@GLINTINGDIRT,0,0,0,0,'','digging for treasure targets glinting dirt'), +(13,7,@MOSSWALKERAURA,0,31,@MOODLE,0,0,0,0,'','Mosswalker village aura targets moodle'), +(13,7,@SPEARBORNAURA,0,31,@JALOOT,0,0,0,0,'','spearborn encampment aura targets moodle'), +(13,7,@MISTWHISPERAURA,0,31,@ZEPIK,0,0,0,0,'','mistwhisper refuge aura targets zepik'), +(13,7,@SAPPHIREHIVEAURA,0,31,@DAJIK,0,0,0,0,'','sapphire hive aura targets dajik'), +(13,7,@SKYREACHPILLARAURA,0,31,@DAJIK,0,0,0,0,'','skyreach pillar aura targets dajik'), +(14,9678,13137,0,5,1104,7,0,0,0,'','Shaman Vekjik - Show different gossip if player is hated, hostile or unfriendly with Frenzyheart Tribe'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(@GLINTINGDIRT,@LAFOO,@JALOOT,@MOODLE,@GOREGEK,@DAJIK,@ZEPIK,@MOSSWALKERBUNNY) AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,@LAFOO,0,0,9,0,12704,0,0,0,0,'','Lafoo SAI only activates if player is on and has not completed the Appeasing the Great rainstone'), +(22,1,@LAFOO,0,0,29,0,@GLINTINGDIRT,10,0,0,0,'','Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@LAFOO,0,1,9,0,12572,0,0,0,0,'','Lafoo SAI only activates if player is on and has not completed the Gods like shiny things'), +(22,1,@LAFOO,0,1,29,0,@GLINTINGDIRT,10,0,0,0,'','Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@JALOOT,0,0,9,0,12704,0,0,0,0,'','Jaloot SAI only activates if player is on and has not completed the Appeasing the Great rainstone'), +(22,1,@JALOOT,0,0,29,0,@GLINTINGDIRT,10,0,0,0,'','Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@MOODLE,0,0,9,0,12704,0,0,0,0,'','Moodle SAI only activates if player is on and has not completed the Appeasing the Great rainstone'), +(22,1,@MOODLE,0,0,29,0,@GLINTINGDIRT,10,0,0,0,'','Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@GLINTINGDIRT,0,0,29,1,@LAFOO,5,0,0,0,'','Execute SAI only if Lafoo within 2 yards'), +(22,1,@GLINTINGDIRT,0,1,29,1,@JALOOT,5,0,0,0,'','Execute SAI only if Jaloot within 2 yards'), +(22,1,@GLINTINGDIRT,0,2,29,1,@MOODLE,5,0,0,0,'','Execute SAI only if Moodle within 2 yards'), +(22,13,@MOODLE,0,0,23,1,4297,0,0,1,0,'','Moodle dont execute SAI in Mosswalker Village'), +(22,9,@GOREGEK,0,0,23,1,4303,0,0,1,0,'','Goregek dont execute SAI in Hardknuckle Clearing'), +(22,10,@ZEPIK,0,0,23,1,4306,0,0,1,0,'','Zepik dont execute SAI in Mistwhisper Refuge'), +(22,12,@GOREGEK,0,0,23,1,4303,0,0,0,0,'','Goregek execute SAI in only in Hardknuckle Clearing'), +(22,9,@DAJIK,0,0,23,1,4304,0,0,1,0,'','Dajik Dont execute SAI in Sapphire Hive'), +(22,9,@DAJIK,0,0,23,1,4303,0,0,1,0,'','Dajik execute SAI in Hardknuckle Clearing'), +(22,9,@DAJIK,0,0,23,1,4388,0,0,1,0,'','Dajik execute SAI in Wintergrasp River'), +(22,9,@DAJIK,0,0,23,1,4295,0,0,1,0,'','Dajik execute SAI in The Sundered Shard'), +(22,19,@DAJIK,0,0,23,1,4303,0,0,0,0,'','Dajik execute SAI only in Hardknuckle Clearing'), +(22,11,@LAFOO,0,0,23,1,4291,0,0,1,0,'','Lafoo dont execute sai in rainspeaker canopy'), +(22,13,@JALOOT,0,0,23,1,4291,0,0,1,0,'','Jaloot dont execute sai in rainspeaker canopy'), +(22,13,@JALOOT,0,1,23,1,4308,0,0,1,0,'','Jaloot dont execute sai in spearborn encampment'), +(22,13,@MOODLE,0,0,23,1,4291,0,0,1,0,'','Moodle dont execute sai in rainspeaker canopy'), +(22,9,@GOREGEK,0,0,23,1,4292,0,0,1,0,'','Goregek dont execute sai in frenzyheart hill'), +(22,9,@DAJIK,0,0,23,1,4292,0,0,1,0,'','Dajik dont execute sai in frenzyheart hill'), +(22,10,@ZEPIK,0,0,23,1,4292,0,0,1,0,'','Zepik dont execute sai in frenzyheart hill'), +(22,2,@MOSSWALKERBUNNY,0,0,1,0,@SHOLAZARGUARDIANHEARTBEAT,0,0,0,0,'','Mosswalker Bunny execute SAI only if player has sholazar guardian heartbeat aura'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @HARDKNUCKLEMATRIARCH; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@HARDKNUCKLEMATRIARCH; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@HARDKNUCKLEMATRIARCH; +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 +(@HARDKNUCKLEMATRIARCH, 0, 0, 1, 4, 0, 100, 0, 0, 0, 0, 0, 11, 54287, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hardknuckle Matriarch - On Agro - Cast Enrage'), +(@HARDKNUCKLEMATRIARCH, 0, 1, 0,61, 0, 100, 0, 0, 0, 0, 0, 1 , 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hardknuckle Matriarch - Linked with Previous Event - Say'), +(@HARDKNUCKLEMATRIARCH, 0, 2, 0, 0, 0, 100, 0, 6000, 10000, 12000, 15000, 11 , 61580, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hardknuckle Matriarch - In Combat - Cast Cast Thunderstomp'), +(@HARDKNUCKLEMATRIARCH, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, @GOREGEK, 0, 50, 0, 0, 0, 0, 'Hardknuckle Matriarch - On Death Send Data to Goregek'); + +DELETE FROM `creature_ai_texts` WHERE `entry`= -738; +DELETE FROM `creature_text` WHERE `entry`=@HARDKNUCKLEMATRIARCH; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@HARDKNUCKLEMATRIARCH, 0, 0, 'We are Not Amused', 12, 0, 100, 0, 0, 0, 'Hardknuckle Matriarch'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @SAPPHIREQUEEN; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@SAPPHIREQUEEN; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SAPPHIREQUEEN; +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 +(@SAPPHIREQUEEN, 0, 0, 0, 0, 0, 100, 0, 6000, 9000, 9000, 14000, 11, 48193, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Sapphire Hive Queen - IC - Cast Poison Stinger'), +(@SAPPHIREQUEEN, 0, 1, 0, 2, 0, 100, 0, 0, 30, 12000, 15000, 11, 54761, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sapphire Hive Queen - On 30% Hp - Cast Enrage'), +(@SAPPHIREQUEEN, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, @DAJIK, 0, 50, 0, 0, 0, 0, 'Sapphire Hive Queen - On Death - Set Data Dajik'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @VENOMTIP; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@VENOMTIP; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@VENOMTIP; +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 +(@VENOMTIP, 0, 0, 0, 0, 0, 100, 0, 7000, 9000, 17000, 20000, 11, 61550, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Venomtip - IC - Cast Cobra Strike'), +(@VENOMTIP, 0, 1, 0, 9, 0, 100, 0, 0, 30, 7000, 12000, 11, 32330, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Venomtip - On Range - Cast Poison Spit'), +(@VENOMTIP, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, @LAFOO, 0, 50, 0, 0, 0, 0, 'Venomtip - On Death - Set Data Lafoo'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_00_world_sai.sql new file mode 100644 index 00000000000..4e304843d4f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_00_world_sai.sql @@ -0,0 +1,927 @@ +SET @HO_SOOSAY := 28027; +SET @HO_GOSSIP := 9742; +SET @O_STATE := 50503; +SET @T_STORM := 53071; +SET @FI_LAFOO := 52547; +SET @FI_JALOOT := 52548; +SET @FI_MOODLE := 52549; +SET @SEEINVIS := 52214; +SET @RAINSPEAKERAURA := 51639; +SET @TREASUREPING := 51420; +SET @GORLOCPING := 51794; +SET @WOLVARPING := 51791; +SET @DIGUPGLINTINGBUG := 51443; +SET @DIGUPSPARKINGHARE := 51441; +SET @DIGUPSHININGCRYSTAL := 51397; +SET @DIGUPGLINTINGARMOR := 51398; +SET @DIGUPGLOWINGGEM := 51400; +SET @DIGUPPOLISHEDPLATTER := 51401; +SET @DIGUPSPARKINGTREASURE := 51402; +SET @BLESSINGOFTHESPARKINGHARE := 51442; +SET @JALOOTSINTENSITY := 52119; +SET @RAINSPEAKERBUNNY := 28455; +SET @LAFOO := 28120; +SET @MOODLE := 28122; +SET @JALOOT := 28121; +SET @GLINTINGDIRT := 28362; +SET @GLINTINGBUG := 28372; +SET @SPARKLINGHARE := 28371; +SET @GLINTINGDIRTSCRIPT := 2836201; +SET @GORLOCTREASURESCRIPT := 2812000; +SET @ELDER_HARKEK := 28138; +SET @SHAMAN_RAKJAK := 28082; +SET @EH_GOSSIP := 9741; +SET @FRENZYAURA := 51234; +SET @FRENZYBUNNY := 28299; +SET @GOREGEK := 28214; +SET @DAJIK := 28215; +SET @ZEPIK := 28216; +SET @FI_GOREGEK := 52542; +SET @FI_DAJIK := 52544; +SET @FI_ZEPIK := 52545; +SET @CHICKENSEEINVIS := 50735; +SET @DESSAWNRETAINER := 53163; +SET @MOSSWALKERAURA := 51644; +SET @MOSSWALKERBUNNY := 28459; +SET @ANGRYGORLOCCREDIT := 54057; +SET @MISTWHISPERAURA := 51239; +SET @MISTWHISPERBUNNY := 28300; +SET @SPEARBORNAURA := 51642; +SET @SPEARBORNBUNNY := 28457; +SET @KARTAKHOLDAURA := 51643; +SET @KARTAKHOLDBUNNY := 28458; +SET @SPARKTOUCHEDAURA := 51641; +SET @SPARKTOUCHEDBUNNY := 28456; +SET @SAPPHIREHIVEAURA := 51651; +SET @LIFEBLOODPILLARBUNNY := 28460; +SET @LIFEBLOODPILLARAURA:= 51649; +SET @SKYREACHPILLARBUNNY := 28454; +SET @SKYREACHPILLARAURA:= 51645; +SET @SAPPHIREHIVEBUNNY := 28462; +SET @GORLOCLOCATIONPERIODIC := 51793; +SET @WOLVARLOCATIONPERIODIC := 51792; +SET @LOOKINGFORTREASUREAURA := 51407; +SET @SHOLAZARGUARDIANHEARTBEAT := 51623; +SET @DIGGINGFORTEASURE := 51405; +SET @GOREGEKSSHACKLE := 38619; +SET @DAJIKSCHALK := 38621; +SET @ZEPIKSHUNTINGHORN := 38512; +SET @LAFOOSBUGBAG := 38622; +SET @JALOOTSCRYSTAL := 38623; +SET @MOODLESSTRESSBALL := 38624; +SET @INVISIBILTY := 52213; +SET @CHICKENLOCATIONPING := 51843; +SET @CHICKENNET := 51959; +SET @CHICKENESCAPEE := 28161; +SET @HARDKNUCKLE := 28096; +SET @HARDKNUCKLEMATRIARCH := 28213; +SET @SOFTKNUCKLE := 28127; +SET @SAPPHIREQUEEN := 28087; +SET @VENOMTIP := 28358; +SET @SERFEXTHEREAVER := 28083; +SET @MISTWHISPERLIGHTNINGCLOUD := 28253; +SET @MISTWHISPERLIGHTNINGTARGET := 28254; +SET @ARRANGEDCRYSTALFORMATIONBUNNY := 28273; +SET @SCAREDSOFTKNUCKLE := 50979; +SET @PITCH := 28097; +SET @TRACKERGEKGEK := 28095; +SET @MOSSWALKERVICTIM := 28113; + +SET @GOBJGUID := 4598; -- Needs 2 gobject guids for Lightning Definitly strikes twice, one for spellfocus, other for arranged crystal formation since cant find spell to spawn this, +SET @QUESTPOOL := 359; -- Needs 4, 2 for oracles and 2 for frenzyheart, + +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry` IN(@DAJIK,@ZEPIK); +UPDATE `creature_template` SET `minlevel`=77, `maxlevel`=77, `exp`=2,`mindmg`=371, `maxdmg`=522,`attackpower`=478 WHERE `entry`IN (@GOREGEK,@DAJIK,@ZEPIK); +UPDATE `creature_template` SET `unit_flags` =33555200 WHERE `entry`IN (@MOSSWALKERBUNNY,@MISTWHISPERBUNNY,@SPEARBORNBUNNY,@KARTAKHOLDBUNNY,@SPARKTOUCHEDBUNNY,@SAPPHIREHIVEBUNNY,@LIFEBLOODPILLARBUNNY,@SKYREACHPILLARBUNNY); +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN(@HO_SOOSAY,@ELDER_HARKEK,@SHAMAN_RAKJAK); +DELETE FROM `creature_ai_scripts` WHERE `creature_id`IN(@HO_SOOSAY,@ELDER_HARKEK,@SHAMAN_RAKJAK); +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(@HO_SOOSAY,@ELDER_HARKEK,@SHAMAN_RAKJAK); +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 +(@HO_SOOSAY,0,0,0,1,0,100,0,0,0,0,0,75,@O_STATE,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High-Oracle Soo-say - Out of combat - Add Oracle State Aura'), +(@HO_SOOSAY,0,1,0,0,0,100,0,5000,10000,12000,16000,11,@T_STORM,0,0,0,0,0,2,0,0,0,0,0,0,0, 'High-Oracle Soo-say - In Combat - Cast Thunderstorm'), +(@HO_SOOSAY,0,2,8,62,0,100,0,@HO_GOSSIP,0,0,0,85,@FI_LAFOO,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Lafoo'), +(@HO_SOOSAY,0,3,8,62,0,100,0,@HO_GOSSIP,1,0,0,85,@FI_LAFOO,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Lafoo'), +(@HO_SOOSAY,0,4,8,62,0,100,0,@HO_GOSSIP,2,0,0,85,@FI_JALOOT,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Jaloot'), +(@HO_SOOSAY,0,5,8,62,0,100,0,@HO_GOSSIP,3,0,0,85,@FI_JALOOT,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Jaloot'), +(@HO_SOOSAY,0,6,8,62,0,100,0,@HO_GOSSIP,4,0,0,85,@FI_MOODLE,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Moodle'), +(@HO_SOOSAY,0,7,8,62,0,100,0,@HO_GOSSIP,5,0,0,85,@FI_MOODLE,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Spellcast Forceitem Moodle'), +(@HO_SOOSAY,0,8,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On gossip select - Close gossip'), +(@HO_SOOSAY,0,9,0,20,0,100,0,12704,0,0,0,28,@SEEINVIS,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On Quest Complete - Remove Aura Rainspeaker Treasures: See Invisibility'), +(@HO_SOOSAY,0,10,0,19,0,100,0,12704,0,0,0,85,@SEEINVIS,2,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On Quest Accept - Invoker Cast Rainspeaker Treasures: See Invisibility'), +(@HO_SOOSAY,0,11,0,20,0,100,0,12572,0,0,0,28,@SEEINVIS,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On Quest Complete - Remove Aura Rainspeaker Treasures: See Invisibility'), +(@HO_SOOSAY,0,12,0,19,0,100,0,12574,0,0,0,57,@LAFOOSBUGBAG,1,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On Quest Accept - Remove Lafoos Bug bag'), +(@HO_SOOSAY,0,13,0,20,0,100,0,12577,0,0,0,57,@JALOOTSCRYSTAL,1,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On Quest Complete - Remove Jaloots favourite crystal'), +(@HO_SOOSAY,0,14,0,20,0,100,0,12581,0,0,0,57,@MOODLESSTRESSBALL,1,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Oracle Soo-say - On Quest Complete - Remove Moodles Stress Ball'), +(@SHAMAN_RAKJAK,0,0,0,19,0,100,0,12529,0,0,0,11,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Goregek'), +(@SHAMAN_RAKJAK,0,1,0,19,0,100,0,12530,0,0,0,11,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Goregek'), +(@SHAMAN_RAKJAK,0,2,0,19,0,100,0,12533,0,0,0,11,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Dajik'), +(@SHAMAN_RAKJAK,0,3,0,19,0,100,0,12534,0,0,0,11,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Dajik'), +(@SHAMAN_RAKJAK,0,4,0,19,0,100,0,12536,0,0,0,11,@FI_ZEPIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On quest accept - Spellcast Forceitem Zepik'), +(@SHAMAN_RAKJAK,0,15,0,19,0,100,0,12533,0,0,0,57,@GOREGEKSSHACKLE,1,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On Quest Accept - Remove Goregeks Shackes'), +(@SHAMAN_RAKJAK,0,16,0,19,0,100,0,12536,0,0,0,57,@DAJIKSCHALK,1,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On Quest Accept - Remove Dajiks Chalk'), +(@SHAMAN_RAKJAK,0,17,0,19,0,100,0,12540,0,0,0,57,@ZEPIKSHUNTINGHORN,1,0,0,0,0,7,0,0,0,0,0,0,0, 'High-Shaman Rakjak - On Quest Accept - Remove Zepiks Hunting Horn'), +(@ELDER_HARKEK,0,4,10,62,0,100,0,@EH_GOSSIP,0,0,0,85,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Goregek'), +(@ELDER_HARKEK,0,5,10,62,0,100,0,@EH_GOSSIP,1,0,0,85,@FI_GOREGEK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Goregek'), +(@ELDER_HARKEK,0,6,10,62,0,100,0,@EH_GOSSIP,2,0,0,85,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Dajik'), +(@ELDER_HARKEK,0,7,10,62,0,100,0,@EH_GOSSIP,3,0,0,85,@FI_DAJIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Dajik'), +(@ELDER_HARKEK,0,8,10,62,0,100,0,@EH_GOSSIP,4,0,0,85,@FI_ZEPIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Zepik'), +(@ELDER_HARKEK,0,9,10,62,0,100,0,@EH_GOSSIP,5,0,0,85,@FI_ZEPIK,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Spellcast Forceitem Zepik'), +(@ELDER_HARKEK,0,10,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On gossip select - Close gossip'), +(@ELDER_HARKEK,0,3,0,20,0,100,0,12702,0,0,0,28,@CHICKENSEEINVIS,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On Quest Complete - Remove Aura Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK,0,2,0,20,0,100,0,12532,0,0,0,28,@CHICKENSEEINVIS,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On Quest Complete - Remove Aura Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK,0,1,0,19,0,100,0,12702,0,0,0,85,@CHICKENSEEINVIS,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On Quest Accept - Invoker Cast Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK,0,0,0,19,0,100,0,12532,0,0,0,85,@CHICKENSEEINVIS,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On Quest Accept - Invoker Cast Frenzyheart Chicken: See Invisibility'), +(@ELDER_HARKEK,0,11,0,19,0,100,0,12534,0,0,0,57,@GOREGEKSSHACKLE,1,0,0,0,0,7,0,0,0,0,0,0,0, 'Elder Harkek - On Quest Accept - Remove Goregeks Shackes'); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN(@HO_GOSSIP,@EH_GOSSIP) AND `id` IN(0,1,2,3,4,5); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(@HO_GOSSIP,0,0, 'I need to find Lafoo, do you have his bug bag?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,1,0, 'I need to find Lafoo, do you have his bug bag?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,2,0, 'I need to find Jaloot, do you have his favorite crystal?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,3,0, 'I need to find Jaloot, do you have his favorite crystal?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,4,0, 'I need to find Moodle, do you have his stress ball?',1,1,0,0,0,0, ''), +(@HO_GOSSIP,5,0, 'I need to find Moodle, do you have his stress ball?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,0,0, 'I need to find Goregek, do you have his shackles?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,1,0, 'I need to find Goregek, do you have his shackles?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,2,0, 'I need to find Dajik, do you have his chalk?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,3,0, 'I need to find Dajik, do you have his chalk?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,4,0, 'I need to find Zepik, do you have his hunting horn?',1,1,0,0,0,0, ''), +(@EH_GOSSIP,5,0, 'I need to find Zepik, do you have his hunting horn?',1,1,0,0,0,0, ''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`IN(@HO_GOSSIP,@EH_GOSSIP); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,@HO_GOSSIP,0,0,0,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,0,0,0,9,0,12571,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest Make the Bad Snake go away'), +(15,@HO_GOSSIP,0,0,2,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,0,0,2,8,0,12571,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Quest Make the Bad Snake go away'), +(15,@HO_GOSSIP,0,0,1,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,0,0,1,28,0,12571,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has completed Quest Make the Bad Snake go away'), +(15,@HO_GOSSIP,0,0,0,8,0,12573,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Making Peace'), +(15,@HO_GOSSIP,0,0,1,8,0,12573,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Making Peace'), +(15,@HO_GOSSIP,0,0,2,8,0,12573,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Making Peace'), +(15,@HO_GOSSIP,1,0,0,8,0,12695,0,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has rewarded quest Return of the Friendly Dryskin'), +(15,@HO_GOSSIP,1,0,0,5,0,1105,224,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player is at least honored with The Oracles'), +(15,@HO_GOSSIP,1,0,0,2,0,@LAFOOSBUGBAG,1,0,1,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has no item Lafoo''s Bug Bag'), +(15,@HO_GOSSIP,4,0,0,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,0,9,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,2,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,2,8,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,1,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,1,28,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Completed Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,0,8,0,12579,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Lifeblood of the Mosswalker Shrine'), +(15,@HO_GOSSIP,4,0,1,8,0,12579,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Lifeblood of the Mosswalker Shrine'), +(15,@HO_GOSSIP,4,0,2,8,0,12579,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest Lifeblood of the Mosswalker Shrine'), +(15,@HO_GOSSIP,4,0,3,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,3,9,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,5,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,5,8,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,4,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Moodle''s Stress Ball'), +(15,@HO_GOSSIP,4,0,4,28,0,12578,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Completed Quest The Angry Gorloc'), +(15,@HO_GOSSIP,4,0,3,8,0,12580,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest The Mosswalker Savior'), +(15,@HO_GOSSIP,4,0,4,8,0,12580,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest The Mosswalker Savior'), +(15,@HO_GOSSIP,4,0,5,8,0,12580,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Quest The Mosswalker Savior'), +(15,@HO_GOSSIP,3,0,0,8,0,12695,0,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has rewarded quest Return of the Friendly Dryskin'), +(15,@HO_GOSSIP,3,0,0,5,0,1105,224,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player is at least honored with The Oracles'), +(15,@HO_GOSSIP,3,0,0,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has no item Jaloot''s Favorite Crystal'), +(15,@HO_GOSSIP,2,0,0,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Jaloot''s Favourite Crystal'), +(15,@HO_GOSSIP,2,0,0,9,0,12574,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Taken Quest Back so soon?'), +(15,@HO_GOSSIP,2,0,2,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Jaloot''s Favourite Crystal'), +(15,@HO_GOSSIP,2,0,2,8,0,12574,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Rewarded Back so soon?'), +(15,@HO_GOSSIP,2,0,1,2,0,@JALOOTSCRYSTAL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player doesn''t already have Jaloot''s Favourite Crystal'), +(15,@HO_GOSSIP,2,0,1,28,0,12574,0,0,0,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has Completed Back so soon?'), +(15,@HO_GOSSIP,2,0,0,8,0,12577,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Home Time'), +(15,@HO_GOSSIP,2,0,1,8,0,12577,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Home Time'), +(15,@HO_GOSSIP,2,0,2,8,0,12577,0,0,1,0,0, '', 'High-Oracle Soo-say - Show Gossip if player Has not completed Home Time'), +(15,@HO_GOSSIP,5,0,0,8,0,12695,0,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has rewarded quest Return of the Friendly Dryskin'), +(15,@HO_GOSSIP,5,0,0,5,0,1105,224,0,0,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player is at least honored with The Oracles'), +(15,@HO_GOSSIP,5,0,0,2,0,@MOODLESSTRESSBALL,1,0,1,0,0, '', 'High-Oracle Soo-say - Show gossip option only if player has no item Moodle''s Stress Ball'), +(15,@EH_GOSSIP,0,0,0,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,0,9,0,12529,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest The Ape Hunters Slave'), +(15,@EH_GOSSIP,0,0,2,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,2,8,0,12529,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest The Ape Hunters Slave'), +(15,@EH_GOSSIP,0,0,1,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,1,28,0,12529,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest The Ape Hunters Slave'), +(15,@EH_GOSSIP,0,0,3,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,3,9,0,12530,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest Tormenting the Softknuckles'), +(15,@EH_GOSSIP,0,0,4,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,4,8,0,12530,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest Tormenting the Softknuckles'), +(15,@EH_GOSSIP,0,0,5,2,0,@GOREGEKSSHACKLE,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Gorekeks Shackles'), +(15,@EH_GOSSIP,0,0,5,28,0,12530,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest Tormenting the Softknuckles'), +(15,@EH_GOSSIP,0,0,0,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,1,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,2,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,3,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,4,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,5,14,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,0,0,0,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,1,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,2,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,3,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,4,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,0,0,5,14,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest The Underground Menace '), +(15,@EH_GOSSIP,2,0,0,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,0,9,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,2,0,2,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,2,8,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,2,0,1,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,1,28,0,12533,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest The Wasp Hunters Apprentice'), +(15,@EH_GOSSIP,2,0,3,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,3,9,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest The Underground Menace'), +(15,@EH_GOSSIP,2,0,4,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,4,8,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest The Underground Menace'), +(15,@EH_GOSSIP,2,0,5,2,0,@DAJIKSCHALK,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Dajiks Worn Chalk'), +(15,@EH_GOSSIP,2,0,5,28,0,12534,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest The Underground Menace'), +(15,@EH_GOSSIP,2,0,0,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,1,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,2,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,3,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,4,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,2,0,5,14,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,0,2,0,@ZEPIKSHUNTINGHORN,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Zepiks Hunting Horn'), +(15,@EH_GOSSIP,4,0,0,9,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Taken Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,2,2,0,@ZEPIKSHUNTINGHORN,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Zepiks Hunting Horn'), +(15,@EH_GOSSIP,4,0,2,8,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has Rewarded Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,1,2,0,@ZEPIKSHUNTINGHORN,1,1,1,0,0, '', 'Elder Harkek - Show Gossip if player doesn''t already have Zepiks Hunting Horn'), +(15,@EH_GOSSIP,4,0,1,28,0,12536,0,0,0,0,0, '', 'Elder Harkek - Show Gossip if player Has completed Quest A Rough Ride'), +(15,@EH_GOSSIP,4,0,0,8,0,12539,0,0,1,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest Hoofing It'), +(15,@EH_GOSSIP,4,0,1,8,0,12539,0,0,1,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest Hoofing It'), +(15,@EH_GOSSIP,4,0,2,8,0,12539,0,0,1,0,0, '', 'Elder Harkek - Show Gossip if player Has not completed Quest Hoofing It'); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,@EH_GOSSIP,1,0,8,12692,0,0,0,0, '', 'Elder Harkek - Show gossip option only if player has rewarded quest Return of the Lich Hunter'), +(15,@EH_GOSSIP,1,0,5,1104,224,0,0,0, '', 'Elder Harkek - Show gossip option only if player is at least honored with Frenzheart Tribe'), +(15,@EH_GOSSIP,1,0,2,@GOREGEKSSHACKLE,1,0,1,0, '', 'Elder Harkek - Show gossip option only if player has no item Goregek''s Shackles'), +(15,@EH_GOSSIP,3,0,8,12692,0,0,0,0, '', 'Elder Harkek - Show gossip option only if player has rewarded quest Return of the Lich Hunter'), +(15,@EH_GOSSIP,3,0,5,1104,224,0,0,0, '', 'Elder Harkek - Show gossip option only if player is at least honored with Frenzheart Tribe'), +(15,@EH_GOSSIP,3,0,2,@DAJIKSCHALK,1,0,1,0, '', 'Elder Harkek - Show gossip option only if player has no item Dajiks Worn Chalk'), +(15,@EH_GOSSIP,5,0,8,12692,0,0,0,0, '', 'Elder Harkek - Show gossip option only if player has rewarded quest Return of the Lich Hunter'), +(15,@EH_GOSSIP,5,0,5,1104,224,0,0,0, '', 'Elder Harkek - Show gossip option only if player is at least honored with Frenzheart Tribe'), +(15,@EH_GOSSIP,5,0,2,@ZEPIKSHUNTINGHORN,1,0,1,0, '', 'Elder Harkek - Show gossip option only if player has no item Zepiks Hunting Horn'); +-- Jaloot's Itensity and Blessing of the Sparkling Hare don't stack +DELETE FROM `spell_group` WHERE `id`=@BLESSINGOFTHESPARKINGHARE; +INSERT INTO `spell_group` (`id`,`spell_id`) VALUES +(@BLESSINGOFTHESPARKINGHARE,@BLESSINGOFTHESPARKINGHARE), +(@BLESSINGOFTHESPARKINGHARE,@JALOOTSINTENSITY); + +DELETE FROM `spell_group_stack_rules` WHERE `group_id`=@BLESSINGOFTHESPARKINGHARE; +INSERT INTO `spell_group_stack_rules` (`group_id`,`stack_rule`) VALUES +(@BLESSINGOFTHESPARKINGHARE,1); + +DELETE FROM `creature_template_addon` WHERE `entry`IN(@GLINTINGDIRT,@LAFOO,@JALOOT,@MOODLE,@GLINTINGBUG,@GOREGEK,@DAJIK,@ZEPIK); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@GLINTINGBUG, 0, 0, 0, 1, 0, '51444'), +(@GOREGEK, 0, 0, 0, 1, 0,'54178'), +(@DAJIK, 0, 0, 0, 1, 0,'52734'), +(@ZEPIK, 0, 0, 0, 1, 0,'54176'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=@SEEINVIS AND `spell_effect`=@LOOKINGFORTREASUREAURA; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(@SEEINVIS, @LOOKINGFORTREASUREAURA, 2, 'Looking for treasure aura triggered by Rainspeaker Treasures: See Invisibility'); + +DELETE FROM `spell_area` WHERE `spell`=@SEEINVIS; +DELETE FROM `spell_area` WHERE `spell`=@ANGRYGORLOCCREDIT; +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@GLINTINGDIRT; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@GLINTINGDIRT; +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN @GLINTINGDIRTSCRIPT AND @GLINTINGDIRTSCRIPT+5; +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 +(@GLINTINGDIRT,0,0 ,0,38, 0,100,1,1,1,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - On Data Set - Increment Phase'), +(@GLINTINGDIRT,0,1 ,0,1, 1,100,1,0,0,0,0,87,@GLINTINGDIRTSCRIPT,@GLINTINGDIRTSCRIPT+1,@GLINTINGDIRTSCRIPT+2,@GLINTINGDIRTSCRIPT+3,@GLINTINGDIRTSCRIPT+4,@GLINTINGDIRTSCRIPT+5,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Run Random Script'), +(@GLINTINGDIRT,0,2 ,0,1, 1,40,1,100,300,3500,3500,11,@DIGUPGLINTINGBUG,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Cast Dig up Glinting Bug'), +(@GLINTINGDIRT,0,3 ,0,1, 1,40,1,100,300,3500,3500,11,@DIGUPGLINTINGBUG,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Cast Dig up Glinting Bug'), +(@GLINTINGDIRT,0,4 ,0,1, 1,40,1,100,300,3500,3500,11,@DIGUPGLINTINGBUG,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Cast Dig up Glinting Bug'), +(@GLINTINGDIRT,0,5 ,0,1, 1,100,1,400,400,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - OOC (Phase 2) - Despawn'), +(@GLINTINGDIRT,0,6 ,0,11, 0,100,0,0,0,0,0,11,@INVISIBILTY,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - On Spawn - Cast Rainspeaker Treasures: Invisibility'), +(@GLINTINGDIRTSCRIPT,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPSPARKINGHARE,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Sparking Hare'), +(@GLINTINGDIRTSCRIPT,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+1,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPSHININGCRYSTAL,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Shining Crystal'), +(@GLINTINGDIRTSCRIPT+1,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+2,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPGLINTINGARMOR,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Glinting Armor'), +(@GLINTINGDIRTSCRIPT+2,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+3,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPGLOWINGGEM,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Glowing Gem'), +(@GLINTINGDIRTSCRIPT+3,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+4,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPPOLISHEDPLATTER,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Polished Platter'), +(@GLINTINGDIRTSCRIPT+4,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'), +(@GLINTINGDIRTSCRIPT+5,9,0 ,0,0, 0,100,0,5000,5000,0,0,11,@DIGUPSPARKINGTREASURE,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Cast Dig Up Sparking Treasure'), +(@GLINTINGDIRTSCRIPT+5,9,1 ,0,0, 0,100,0,5500,5500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Dirt - Script - Despawn'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN(@RAINSPEAKERBUNNY,@FRENZYBUNNY,@MOSSWALKERBUNNY,@MISTWHISPERBUNNY,@SPEARBORNBUNNY,@KARTAKHOLDBUNNY,@SPARKTOUCHEDBUNNY,@SAPPHIREHIVEBUNNY,@LIFEBLOODPILLARBUNNY,@SKYREACHPILLARBUNNY); +UPDATE `creature_template` SET `AIName`= 'SmartAI',`unit_flags`=32776,`InhabitType`=3 WHERE `entry`In(@LAFOO,@MOODLE,@JALOOT,@GOREGEK,@DAJIK,@ZEPIK); +UPDATE `creature_template` SET `gossip_menu_id`=9747, `npcflag`=`npcflag`|1, `speed_run`=1.30952 WHERE `entry`=@JALOOT; +UPDATE `creature_template` SET `npcflag`=`npcflag`|1, `speed_run`=1.19048 WHERE `entry`=@MOODLE; +UPDATE `gossip_menu_option` SET `action_menu_id`=9684 WHERE `menu_id`=9677; +UPDATE `creature_template` SET `gossip_menu_id`=9745 WHERE `entry`=28106; +UPDATE `creature_template` SET `speed_walk`=0.66667, `speed_run`=0.99206 WHERE `entry`=@GOREGEK; +UPDATE `creature_template` SET `speed_walk`=0.66667, `speed_run`=0.99206, `npcflag`=`npcflag`|1 WHERE `entry`=@ZEPIK; +UPDATE `gossip_menu_option` SET `action_menu_id`=9684 WHERE `menu_id`=9677; +DELETE FROM `creature_involvedrelation` WHERE `id`=28216 AND `quest`=12582; + +DELETE FROM `gossip_menu` WHERE `entry`=9747; +DELETE FROM `gossip_menu` WHERE `entry`=9562 AND `text_id`=12883; +DELETE FROM `gossip_menu` WHERE `entry`=9570 AND `text_id`=12905; +DELETE FROM `gossip_menu` WHERE `entry`=9678 AND `text_id`=13136; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(9562,12883), +(9570,12905), +(9678,13136), +(9747,13367); + +DELETE FROM `npc_text` WHERE `ID`=13136; +INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`lang0`,`prob0`,`em0_0`,`em0_1`,`em0_2`,`em0_3`,`em0_4`,`em0_5`,`text1_0`,`text1_1`,`lang1`,`prob1`,`em1_0`,`em1_1`,`em1_2`,`em1_3`,`em1_4`,`em1_5`,`text2_0`,`text2_1`,`lang2`,`prob2`,`em2_0`,`em2_1`,`em2_2`,`em2_3`,`em2_4`,`em2_5`,`text3_0`,`text3_1`,`lang3`,`prob3`,`em3_0`,`em3_1`,`em3_2`,`em3_3`,`em3_4`,`em3_5`,`text4_0`,`text4_1`,`lang4`,`prob4`,`em4_0`,`em4_1`,`em4_2`,`em4_3`,`em4_4`,`em4_5`,`text5_0`,`text5_1`,`lang5`,`prob5`,`em5_0`,`em5_1`,`em5_2`,`em5_3`,`em5_4`,`em5_5`,`text6_0`,`text6_1`,`lang6`,`prob6`,`em6_0`,`em6_1`,`em6_2`,`em6_3`,`em6_4`,`em6_5`,`text7_0`,`text7_1`,`lang7`,`prob7`,`em7_0`,`em7_1`,`em7_2`,`em7_3`,`em7_4`,`em7_5`,`WDBVerified`) VALUES +(13136,'Vekjik no want to be bothered.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,12340); + +DELETE FROM `creature_equip_template` WHERE `entry` IN (@GOREGEK,@DAJIK,@ZEPIK); +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@GOREGEK,1,36488,0,0), +(@DAJIK,1,28325,0,0), +(@ZEPIK,1,28914,0,5258); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(@LAFOO,@MOODLE,@JALOOT,@GOREGEK,@DAJIK,@ZEPIK,@GORLOCTREASURESCRIPT,@RAINSPEAKERBUNNY,@FRENZYBUNNY,@MOSSWALKERBUNNY,@MISTWHISPERBUNNY,@SPEARBORNBUNNY,@KARTAKHOLDBUNNY,@SPARKTOUCHEDBUNNY,@SAPPHIREHIVEBUNNY,@LIFEBLOODPILLARBUNNY,@SKYREACHPILLARBUNNY); +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 +(@GOREGEK,0,0 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Spawn - Set React State'), +(@GOREGEK,0,1,0,8,0,100,0,@FRENZYAURA,0,45000,70000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On spellhit - Say line'), +(@GOREGEK,0,2,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On spellhit - Despawn'), +(@GOREGEK,0,3,0,0,0,100,0,3000,6000,8000,16000,11,54188,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Goregek - IC - Cast Sunder Armor'), +(@GOREGEK,0,4,0,0,0,100,0,5000,8000,15000,20000,11,52743,2,0,0,0,0,2,0,0,0,0,0,0,0, 'Goregek - IC - Cast Head Smack'), +(@GOREGEK,0,5,0,2,0,100,0,0,30,60000,60000,11,52748,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Less than 30% HP - Cast Voracious Appetite'), +(@GOREGEK,0,6,0,13,0,100,0,12000,20000,0,0,11,6713,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Target Casting - Cast Disarm'), +(@GOREGEK,0,7 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Creature Death - Say'), +(@GOREGEK,0,8 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Gorekek - OOC - Say'), +(@GOREGEK,0,9 ,0,11,0,100,0,0,0,0,0,11,@WOLVARLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Spawn - Cast Wolvar Location Periodic'), +(@GOREGEK,0,10 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@GOREGEK,0,11 ,0,1,0,100,0,10000,40000,45000,90000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Gorekek - OOC - Say'), +(@GOREGEK,0,12 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - OOC - Set Phase 2'), +(@GOREGEK,0,13 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Agro - Set Phase 1'), +(@GOREGEK,0,14 ,0,38,0,100,0,1,1,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On Data Set - Say'), +(@GOREGEK,0,15,0,8,2,100,0,@KARTAKHOLDAURA,0,40000,70000,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - On spellhit - Say line'), +(@GOREGEK,0,16,0,8,2,100,0,@CHICKENLOCATIONPING,0,6000,10000,11,@CHICKENNET,0,0,0,0,0,19,@CHICKENESCAPEE,5,0,0,0,0,0, 'Goregek - On spellhit - Cast Chicken Net'), +(@DAJIK,0,0 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Spawn - Set React State'), +(@DAJIK,0,1,0,8,0,100,0,@FRENZYAURA,0,45000,70000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,2,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Despawn'), +(@DAJIK,0,3,0,0,0,100,0,3000,6000,8000,12000,11,54195,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Dajik - IC - Cast Earth''s Wrath'), +(@DAJIK,0,4,0,0,0,100,0,5000,8000,15000,20000,11,54193,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Dajik - IC - Cast Earth''s Fury'), +(@DAJIK,0,5,0,2,0,100,0,0,30,60000,60000,11,54206,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Less than 30% HP - Cast Mend'), +(@DAJIK,0,6 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Creature Death - Say'), +(@DAJIK,0,8 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - OOC - Say'), +(@DAJIK,0,9,0,8,2,100,0,@SAPPHIREHIVEAURA,0,40000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,10 ,0,11,0,100,0,0,0,0,0,11,@WOLVARLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Spawn - Cast Wolvar Location Periodic'), +(@DAJIK,0,11 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik -Goregek - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@DAJIK,0,12 ,0,38,0,100,0,1,1,0,0,1,4,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Creature Death (Sapphire Queen) - Say'), +(@DAJIK,0,13 ,0,38,0,100,0,1,2,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Creature Death (Serfex the Reaver) - Say'), +(@DAJIK,0,14 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - OOC - Set Phase 2'), +(@DAJIK,0,15 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On Agro - Set Phase 1'), +(@DAJIK,0,16 ,0,52,0,100,0,4,@DAJIK,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik On - Text Over - Say'), +(@DAJIK,0,17,0,8,2,100,0,@SKYREACHPILLARAURA,0,40000,70000,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,18 ,0,1,0,100,0,10000,40000,45000,90000,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - OOC - Say'), +(@DAJIK,0,19,0,8,2,100,0,@LIFEBLOODPILLARAURA,0,40000,70000,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Dajik - On spellhit - Say line'), +(@DAJIK,0,20,0,8,2,100,0,@CHICKENLOCATIONPING,0,6000,10000,11,@CHICKENNET,0,0,0,0,0,19,@CHICKENESCAPEE,5,0,0,0,0,0, 'Dajik - On spellhit - Cast Chicken Net'), +(@ZEPIK,0,0 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Spawn - Set React State'), +(@ZEPIK,0,1,0,8,0,100,0,@FRENZYAURA,0,45000,70000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On spellhit - Say line'), +(@ZEPIK,0,2,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On spellhit - Despawn'), +(@ZEPIK,0,3,0,0,0,100,0,4000,7000,15000,18000,11,52761,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Barbed Net'), +(@ZEPIK,0,4,0,0,0,100,0,5000,8000,12000,15000,11,52889,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Envenomed Shot'), +(@ZEPIK,0,5,0,0,0,100,0,0,6000,15000,18000,11,52873,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Open Wound'), +(@ZEPIK,0,6,0,0,0,100,0,3000,5000,3000,7000,11,52758,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - IC - Cast Piercing Arrow'), +(@ZEPIK,0,7,0,2,0,100,0,0,30,60000,60000,11,52895,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik the Gorloc Hunter - On Less than 30% HP Cast Bandage - Cast Bandage'), +(@ZEPIK,0,8 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Creature Death - Say'), +(@ZEPIK,0,9 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - OOC - Say'), +(@ZEPIK,0,10,0,8,2,100,0,@MISTWHISPERAURA,0,40000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On spellhit - Say line'), +(@ZEPIK,0,11 ,0,11,0,100,0,0,0,0,0,11,@WOLVARLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Spawn - Cast Wolvar Location Periodic'), +(@ZEPIK,0,12 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@ZEPIK,0,13 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Goregek - OOC - Set Phase 2'), +(@ZEPIK,0,14 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Agro - Set Phase 1'), +(@ZEPIK,0,15 ,0,38,0,100,0,1,2,0,0,1,4,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Data Set - Say'), +(@ZEPIK,0,16 ,0,52,0,100,0,4,@ZEPIK,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zepik - On Text Over - Say'), +(@ZEPIK,0,17,0,8,2,100,0,@CHICKENLOCATIONPING,0,6000,10000,11,@CHICKENNET,0,0,0,0,0,19,@CHICKENESCAPEE,5,0,0,0,0,0, 'Zepik - On spellhit - Cast Chicken Net'), +(@LAFOO,0,0 ,1,8, 2,100,1,@TREASUREPING,0,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spellhit - Say'), +(@LAFOO,0,1 ,0,61, 0,100,0,0,0,0,0,80,@GORLOCTREASURESCRIPT,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - Linked with Previous Event - Run Script'), +(@LAFOO,0,2 ,0,11,0,100,0,0,0,0,0,11,@GORLOCLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spawn - Cast Gorloc Location Periodic'), +(@LAFOO,0,3 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@LAFOO,0,4 ,0,38, 0,100,0,1,1,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Data Set - Say'), +(@GORLOCTREASURESCRIPT,9,0 ,0,61, 0,100,0,0,0,0,0,69,0,0,0,0,0,0,11,28362,10,0,0,0,0,0, 'Lafoo - Script - Move to Glinting Dirt'), +(@GORLOCTREASURESCRIPT,9,1 ,0,61, 0,100,0,1000,1000,0,0,45,1,1,0,0,0,0,9,@GLINTINGDIRT,0,2,0,0,0,0, 'Lafoo - Script - Set Data'), +(@GORLOCTREASURESCRIPT,9,2 ,0,61, 0,100,0,1500,1500,0,0,11,51405,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - Script - Cast Digging for Treasure'), +(@GORLOCTREASURESCRIPT,9,3 ,0,61, 0,100,0,5000,5000,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - Script - Evade'), +(@LAFOO,0,6 ,0,0, 0,100,0,0,5000,10000,12000,11,52931,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Lafoo - IC - Cast Toxic Spit'), +(@LAFOO,0,7 ,0,2,0,100,0,0,50,60000,60000,11,52940,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Friendly Health - Cast Sleepy Time'), +(@LAFOO,0,8 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Spawn - Set React State'), +(@LAFOO,0,9 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Creature Death - Say'), +(@LAFOO,0,10 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - OOC - Say'), +(@LAFOO,0,11,0,8,0,100,0,@RAINSPEAKERAURA,0,45000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On spellhit - Say line'), +(@LAFOO,0,12,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On spellhit - Despawn'), +(@LAFOO,0,13,0,19,0,100,0,12572,0,0,0,85,@SEEINVIS,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Lafoo - On Quest Accept - Invoker Cast Rainspeaker Treasures: See Invisibility'), +(@LAFOO,0,14 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - OOC - Set Phase 2'), +(@LAFOO,0,15 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lafoo - On Agro - Set Phase 1'), +(@JALOOT,0,0 ,1,8, 2,100,1,@TREASUREPING,0,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spellhit - Say'), +(@JALOOT,0,1 ,0,61, 0,100,0,0,0,0,0,80,@GORLOCTREASURESCRIPT,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - Linked with Previous Event - Run Script'), +(@JALOOT,0,2 ,0,11,0,100,0,0,0,0,0,11,@GORLOCLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Cast Gorloc Location Periodic'), +(@JALOOT,0,3 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@JALOOT,0,4 ,0,38, 0,100,0,1,1,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Data Set - Say'), +(@JALOOT,0,6,0,0,0,100,0,9000,15000,20000,25000,11,52943,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Jaloot - IC - Cast Lightning Whirl'), +(@JALOOT,0,7,0,0,0,100,0,5000,8000,15000,18000,11,52944,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Jaloot - IC - Cast Lightning Strike'), +(@JALOOT,0,8,0,0,0,100,0,7000,15000,20000,25000,11,52964,2,0,0,0,0,5,0,0,0,0,0,0,0, 'Jaloot - IC - Cast Spark Frenzy'), +(@JALOOT,0,9,0,2,0,100,0,0,30,30000,45000,11,52969,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Less than 30% HP - Cast Energy Siphon'), +(@JALOOT,0,10 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Set React State'), +(@JALOOT,0,11 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Creature Death - Say'), +(@JALOOT,0,12 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - OOC - Say'), +(@JALOOT,0,13,0,8,0,100,0,@RAINSPEAKERAURA,0,45000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On spellhit - Say line'), +(@JALOOT,0,14,0,11,0,100,0,0,0,0,0,11,@JALOOTSINTENSITY,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Spawn - Cast Jaloot''s Intensity'), +(@JALOOT,0,15,0,8,0,100,0,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On spellhit - Despawn'), +(@JALOOT,0,16,0,8,2,100,0,@SPEARBORNAURA,0,40000,70000,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On spellhit - Say line'), +(@JALOOT,0,17 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - OOC - Set Phase 2'), +(@JALOOT,0,18 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jaloot - On Agro - Set Phase 1'), +(@MOODLE,0,0 ,1,8, 2,100,1,@TREASUREPING,0,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spellhit - Say'), +(@MOODLE,0,1 ,0,61, 0,100,0,0,0,0,0,80,@GORLOCTREASURESCRIPT,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - Linked with Previous Event - Run Script'), +(@MOODLE,0,2 ,0,11,0,100,0,0,0,0,0,11,@GORLOCLOCATIONPERIODIC,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spawn - Cast Gorloc Location Periodic'), +(@MOODLE,0,3 ,0,11,0,100,0,0,0,0,0,11,@SHOLAZARGUARDIANHEARTBEAT,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spawn - Cast Sholazar Guardian Heartbeat'), +(@MOODLE,0,4 ,0,0, 0,100,0,0,5000,20000,30000,11,52974,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - IC - Cast Vicious Roar'), +(@MOODLE,0,5 ,0,20, 0,100,0,12580,0,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Quest Complete - Say'), +(@MOODLE,0,6 ,0,0, 0,100,0,0,5000,20000,24000,11,52973,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Moodle - IC - Cast Frost Breath'), +(@MOODLE,0,7,0,0,0,100,0,9000,15000,20000,25000,11,52979,0,0,0,0,0,5,0,0,0,0,0,0,0, 'Moodle - IC - Cast Whirlwind'), +(@MOODLE,0,8,0,0,0,100,0,2000,10000,40000,50000,11,52972,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - IC - Cast Dispersal'), +(@MOODLE,0,9 ,0,2,0,100,0,0,50,60000,60000,11,52979,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On less than 50% HP - Cast Frigid Absorbtion'), +(@MOODLE,0,10 ,0,11,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Spawn - Set React State'), +(@MOODLE,0,11 ,0,5,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Creature Death - Say'), +(@MOODLE,0,12 ,0,1,0,100,0,10000,40000,45000,90000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - OOC - Say'), +(@MOODLE,0,13,0,8,0,100,0,@RAINSPEAKERAURA,0,45000,70000,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On spellhit - Say line'), +(@MOODLE,0,14,0,8,0,100,1,@DESSAWNRETAINER,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On spellhit - Despawn'), +(@MOODLE,0,15,0,8,2,100,0,@MOSSWALKERAURA,0,40000,70000,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On spellhit - Say line'), +(@MOODLE,0,16 ,0,61, 0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - Linked with Previous Event - Run Passive'), +(@MOODLE,0,17 ,0,19, 0,100,0,12581,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Quest Accept - Say'), +(@MOODLE,0,18 ,0,1,0,100,0,10000,10000,10000,10000,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - OOC - Set Phase 2'), +(@MOODLE,0,19 ,0,4,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Moodle - On Agro - Set Phase 1'), +(@RAINSPEAKERBUNNY,0,0,0,10,0,100,0,1,150,10000,10000,11,@RAINSPEAKERAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Rainspeaker Canopy Bunny - On update OOC - Spellcast Rainspeaker Canopy Aura'), +(@FRENZYBUNNY,0,0,0,10,0,100,0,1,150,10000,10000,11,@FRENZYAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Frenzyheart Hill Bunny - On update OOC - Spellcast Frenzyheart Hill Aura'), +(@MOSSWALKERBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@MOSSWALKERAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Mosswalker Village Bunny - On update OOC - Spellcast Mosswalker Village Aura'), +(@MOSSWALKERBUNNY,0,1,0,10,0,100,0,1,200,1000,1000,85,@ANGRYGORLOCCREDIT,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Mosswalker Village Bunny - On update OOC - Cast quest credit'), +(@MISTWHISPERBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@MISTWHISPERAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Mistwhisper Refuge Bunny - On update OOC - Spellcast Mistwhisper Refuge Aura'), +(@SPEARBORNBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SPEARBORNAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Spearborn Encampment Bunny - On update OOC - Spellcast Spearborn Encampment Aura'), +(@KARTAKHOLDBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@KARTAKHOLDAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Kartak Hold Bunny - On update OOC - Spellcast Kartak Hold Aura'), +(@SPARKTOUCHEDBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SPARKTOUCHEDAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Sparktouched Haven Bunny - On update OOC - Spellcast Sparktouched Haven Aura'), +(@SAPPHIREHIVEBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SAPPHIREHIVEAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Sapphire Hive Bunny - On update OOC - Spellcast Sapphire Hive Aura'), +(@SKYREACHPILLARBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@SKYREACHPILLARAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Skyreach Pillar Bunny - On update OOC - Spellcast Skyreach Pillar Aura'), +(@LIFEBLOODPILLARBUNNY,0,0,0,10,0,100,0,1,200,10000,10000,11,@LIFEBLOODPILLARAURA,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Lifeblood Pillar Bunny - On update OOC - Spellcast Lifeblood Pillar Aura'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@SPARKLINGHARE; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@SPARKLINGHARE; +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 +(@SPARKLINGHARE,0,0 ,0,6, 0,100,0,0,0,0,0,11,@BLESSINGOFTHESPARKINGHARE,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Sparking Hare - On Death - Cast Blessing of the Sparkling Hare'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@GLINTINGBUG; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@GLINTINGBUG; +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 +(@GLINTINGBUG,0,0 ,0,11, 0,100,0,0,0,0,0,89,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Glinting Bug - On Spawn - Set Random Movement'); + +DELETE FROM `creature_text` WHERE `entry` IN(@LAFOO,@JALOOT,@MOODLE,@GOREGEK,@DAJIK,@ZEPIK); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@LAFOO, 0, 0, 'Ooh! Shinies!', 12, 0, 18, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 1, 'Maybe more shiny bugs! We like bugs!', 12, 0, 17, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 2, 'Treasure for Lafoo! Treasure for shrine!', 12, 0, 17, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 3, 'Dig, dig, dig...', 12, 0, 16, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 4, 'Crunchy bugs so delicious. Want?', 12, 0, 16, 0, 0, 0, 'Lafoo'), +(@LAFOO, 0, 5, 'That weird. Someone took our bugs. You have maybe?', 12, 0, 16, 0, 0, 0, 'Lafoo'), +(@LAFOO, 1, 0, 'No come back this time!', 12, 0, 100, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 0, 'One day maybe you can be Soo-dryskin. You like?', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 1, 'You have pie? Someone gave us pie year ago. Really yummy.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 2, 'Big comfy tree. Good Home.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 3, 'Never meet Great Ones. Nope, just met their shrines.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 2, 4, 'You got funny looking eyeballs.', 12, 0, 20, 0, 0, 0, 'Lafoo'), +(@LAFOO, 3, 0, 'Home good, but not stay long! More adventures!.', 12, 0, 100, 0, 0, 0, 'Lafoo'), +(@LAFOO, 4, 0, 'Hiss... hiss... dead. All dead', 12, 0, 100, 0, 0, 0, 'Lafoo'), +(@JALOOT, 0, 0, 'Shiny things! Shiny things! Not as shiny as my crystal, but still shiny!', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 0, 1, 'More treasures! Treasures of all kinds! Yay treasures!', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 0, 2, 'Can never have too many shiny crystals! Nope!', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 0, 3, 'We are fast digger! Really fast! See... all done! That was fast, huh?', 12, 0, 25, 0, 0, 0, 'Jaloot'), +(@JALOOT, 1, 0, 'You like that? Bet not! Bet not cause you dead! Hahah!', 12, 0, 34, 0, 0, 0, 'Jaloot'), +(@JALOOT, 1, 1, 'Vic...tor...ious! Dun nun nun dun da da!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 1, 2, 'Killing Spree!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 0, 'Mistcaller really good at controlling weather with shrine. They know just which crystals to use! Really good!', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 1, 'Ever trip over own feet? We have. Kind of hurt. No do it, not fun. Nope.', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 2, 'Want us to help with something? What we help with? We good at helping.', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 3, 'Hello! You''re pretty strong and nice and stuff. I like you. Lets stay friends, okay?', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 4, 'Misty. Very misty. Seem sort of misty to you? Maybe not so much.', 12, 0, 16, 0, 0, 0, 'Jaloot'), +(@JALOOT, 2, 5, 'Lets go jump off tree! Fun fun!', 12, 0, 15, 0, 0, 0, 'Jaloot'), +(@JALOOT, 3, 0, 'Chase the hatchlings! Chase the hatchlings! So fast!', 12, 0, 34, 0, 0, 0, 'Jaloot'), +(@JALOOT, 3, 1, 'Great Ones keep home safe because they like Oracles I think! They know we good and nice.', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 3, 2, 'Home home home... place of the shinies!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 4, 0, 'We know you have dragon thing! We not scared! We going to get you and dragon thing!', 12, 0, 34, 0, 0, 0, 'Jaloot'), +(@JALOOT, 4, 1, 'Teach you to steal our treasures! Our treasures are... ours, okay?', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 4, 2, 'Time to hide puppy-men! We are coming for you!', 12, 0, 33, 0, 0, 0, 'Jaloot'), +(@JALOOT, 5, 0, 'Tartek no match for you! You got the skills. Yeah!', 12, 0, 100, 0, 0, 0, 'Jaloot'), +(@MOODLE, 0, 0, 'What the heck are shiny rabbits doing here anyway?', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 0, 1, 'Here I am, digging up some useless bauble on the will of someone I just met...does that seem right to you?', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 0, 2, 'Hey, maybe we''ll find some more useless bugs!', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 0, 3, 'Yay... more dirt.', 12, 0, 25, 0, 0, 0, 'Moodle'), +(@MOODLE, 1, 0, 'I can''t believe ... they''re all ... dead', 12, 0, 50, 0, 0, 0, 'Moodle'), +(@MOODLE, 1, 1, 'Another one falls to our Onslaught, As it should be.', 12, 0, 50, 0, 0, 0, 'Moodle'), +(@MOODLE, 2, 0, 'There some reason why we''re still here? I''d love to hear it', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 2, 1, 'Yeah, let''s go now', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 2, 2, 'I''m done here', 12, 0, 34, 0, 0, 0, 'Moodle'), +(@MOODLE, 3, 0, 'Going to go take a nap? I apologize in advance for accidentally stepping on your face while you sleep.', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 3, 1, 'Planning to sit on your butt some more, or are we going to go do something that''s actually useful?', 12, 0, 34, 0, 0, 0, 'Moodle'), +(@MOODLE, 3, 2, 'Here I am, brain the size of a planet, and they ask me to take you to the other village. Call that job satisfaction? ''Cause I don''t.', 12, 0, 33, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 0, 'The Mosswalkers were good people... they did not deserve this.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 1, 'I know I talk down to them, but I never want to see any of my people die.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 2, 'It''s good to see some of the mosswalker were more resilient than I thought.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 3, 'It''s hard to believe any of them survived this.', 12, 0, 17, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 4, 'There are more that might still be alive! We need to keep moving.', 12, 0, 16, 0, 0, 0, 'Moodle'), +(@MOODLE, 4, 5, 'Where are they dragging those bodies? What are they doing to them?', 12, 0, 16, 0, 0, 0, 'Moodle'), +(@MOODLE, 5, 0, 'This fight''s all yours', 12, 0, 10, 0, 0, 0, 'Moodle'), +(@MOODLE, 6, 0, 'It''s a small comfort to see that they haven''t brought any back in undeath.', 12, 0, 100, 0, 0, 0, 'Moodle'), +(@GOREGEK,0,0,'Home! You better have brought back meat for Goregek, slave.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,1,'Goregek get some sleep. Go bring foodstuffs back, slave thing.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,2,'Goregek go get drink. You sit in corner til Goregek ready.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,3,'Goregek hungry. Go get on fire spit, slave thing. Tell Goregek when you well roasted.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,4,'Gorgek gonna catch chicken good!',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,5,'You wait until Goregek ready.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,0,6,'You wait, slave thing. Goregek eating.',12,0,20,0,0,0,'Goregek'), +(@GOREGEK,1,0,'Goregek best hunter... ever.',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,1,'Hah! Goregek''s kill!',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,2,'Next time, maybe Goregek let you try.',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,3,'I stabbed it in the face! Goregek so good.',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,4,'Squeal! Squeal! So good!',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,5,'Frenzyheart the strongest!',12,0,15,0,0,0,'Goregek'), +(@GOREGEK,1,6,'That how it done, slave thing. Maybe you figure out how someday.',12,0,10,0,0,0,'Goregek'), +(@GOREGEK,2,0,'Why Goregek even bring you. You useless.',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,2,1,'Elder maybe says other stuff, but you always be slave thing to Goregek.',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,2,2,'Pitch was weakling anyway... why else you think Goregek not bother with him?',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,2,3,'You just get yourself beat up! Hah! You so dumb, slave thing.',12,0,25,0,0,0,'Goregek'), +(@GOREGEK,3,0,'Careful slave thing, the big bad softnuckles might eat you! Hah!',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,1,'Hardknuckles still walk on hands... seem kind of dumb to Goregek.',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,2,'Run away dumb softknuckle! We gonna poke you more!',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,3,'Run away softknuckle! Goregek gonna get you!',12,0,13,0,0,0,'Goregek'), +(@GOREGEK,3,4,'You just watch slave thing, Goregek take care of these hardknuckles!',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,3,5,'Better not get in Goregek''s way!',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,3,6,'Get out of way silly slave thing! Goregek''s kill!',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,3,7,'There were hundreds of times these hardknuckles before Goregek.',12,0,12,0,0,0,'Goregek'), +(@GOREGEK,4,0,'Hah! Goregek the greatest hunter ever! Goregek get biggest hardknuckle!',12,0,100,0,0,0,'Goregek'), +(@GOREGEK,5,0,'Frenzyheart feed Kartak big-tongue so Kartak not eat us. That why we smarter than you, slave thing.',12,0,100,0,0,0,'Goregek'), +(@DAJIK,0,0,'Frenzyheart came here not long ago for new home... big-tongue homes pretty nice, so we maybe take those too. They ugly anyway.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,1,'Lot of strong Frenzyheart here. Dajik taught most of them. First time I teach something like you though. You not a Frenzyheart, you know.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,2,'Let''s just eat bristlepine instead, okay? All done with chasing.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,3,'There reason Frenzyheart not chase back chickens. Look kind of dumb to lose to chicken.',12,0,12,0,0,0,'Dajik'), +(@DAJIK,0,4,'Maybe you not notice, chicken move kind of fast.',12,0,13,0,0,0,'Dajik'), +(@DAJIK,0,5,'Time for more smart Dajik tip! If Goregek let chickens out again, make Goregek get chickens back again.',12,0,13,0,0,0,'Dajik'), +(@DAJIK,0,6,'I placed most of the spikes. Good amount of pointiness I think. You like?',12,0,13,0,0,0,'Dajik'), +(@DAJIK,0,7,'Oh! Dajik has idea! Make chicken sounds and maybe they come to you!',12,0,13,0,0,0,'Dajik'), +(@DAJIK,1,0,'Get the stuff off of body! Dajik hate it when he go skin something and there stuff in the way. So annoying.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,1,'Did you see face? Looked so scared, "Ah, big thing going to smash me!" Hah.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,2,'Hah! Maybe you learn a little after all!',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,3,'Yes! Stab few more time just in case! Stab good!',12,0,20,0,0,0,'Dajik'), +(@DAJIK,1,4,'Not sure how thing got here. Not matter if dead though',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,0,'We came for something, yes? Can''t remember.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,1,'Make sure you not forget anything! I forgot stuff once.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,2,'Dajik not think he seen you eat anything. You eat sometimes, yeah?',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,3,'I was going to draw picture of best attack plan... but you have my chalk.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,2,4,'Time for more smart Dajik tip! Make sure thing dead before reach in mouth for loots.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,0,'Seem like there more wasps every time Dajik come back. Why they not run out?',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,1,'Time for more smart Dajik tip! Try not to catch stinger with face. Not work so much.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,2,'In case you wonder, wasp sting not feel so good. No need to try.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,3,'Drone things not as tough as they look. Wasp things a bit nastier.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,3,4,'Try not to catch stinger with face. Not work so much.',12,0,20,0,0,0,'Dajik'), +(@DAJIK,4,0,'No! You killed the queen thing! What have you... wait, nevermind. Sorry, that okay.',12,0,100,0,7000,0,'Dajik'), +(@DAJIK,5,0,'Dajik''s last learner eaten by sand-thing. We do better this time though!',12,0,100,0,0,0,'Dajik'), +(@DAJIK,6,0,'This not first queen slain by Frenzyheart. Seem like there always more.',12,0,100,0,0,0,'Dajik'), +(@DAJIK,7,0,'Sometimes big-tongues try to come get crystals. Not now because they not like it when we kill them.',12,0,34,0,0,0,'Dajik'), +(@DAJIK,7,1,'Time for more smart Dajik tip! Crystals work little too good for back scratch. No try.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,7,2,'Something big make pillars and crystals and everything. Frenzyheart not care much cause it not here anymore.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,8,0,'If you here to poke more softnuckles, Dajik going to poke you too.That a bad Goregek habit.',12,0,50,0,0,0,'Dajik'), +(@DAJIK,8,1,'Huh... where are we? This not right. I not tell you find hardknuckles, did I?',12,0,50,0,0,0,'Dajik'), +(@DAJIK,9,0,'Time for more smart Dajik tip! Lot of dead things mean lot of chance of being dead thing. Dajik leaving now.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,9,1,'Dead thing there already learn lesson of broken pillar. Leave this lesson for dumb, dead things. Going home now.',12,0,33,0,0,0,'Dajik'), +(@DAJIK,9,2,'You all done with learning! Yup! All done! Dajik leave you and evil red pillar thing now.',12,0,34,0,0,0,'Dajik'), +(@ZEPIK,0,0,'Bring back good meat and the camp treat you like high-shaman for a day. Good deal.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,1,'Elder Harkek pretty good Frenzyheart. He help me a lot when I was littler and not liking Dajik.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,2,'I not in a big hurry. We can rest here a while if want.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,3,'I not live here always... I traveled lot of world on my own not long ago. I like all the stories of beasts and dragons and gods and stuff.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,0,4,'You should go let chickens out again and say Goregek did it. Never get old.',12,0,20,0,0,0,'Zepik'), +(@ZEPIK,1,0,'Hahah! You see that? Lightning bolt hit him right in the head!',12,0,33,0,0,0,'Zepik'), +(@ZEPIK,1,1,'Good one! It not even see it coming.',12,0,33,0,0,0,'Zepik'), +(@ZEPIK,1,2,'No more play?',12,0,34,0,0,0,'Zepik'), +(@ZEPIK,2,0,'You ever fought big dragon or god or anything? Zepik like hearing stories.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,1,'You pretty good! Natural at hunt, like me.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,2,'Goregek think he the boss of everyone, but he eat too much and hunt too little.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,3,'Bring back good meat and the camp treat you like high-shaman for a day. Good deal.',12,0,12,0,0,0,'Zepik'), +(@ZEPIK,2,4,'Dajik forget what he doing, where he at... sometime even forget his own name. Make him not so good teacher sometimes.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,2,5,'Elder Harkek pretty good Frenzyheart. He help me a lot when I was littler and not liking Dajik.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,2,6,'Goregek never ''stumble'' into chicken hut... Goregek always have to feed his dumb belly. Always one chicken missing when we catch them all.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,2,7,'Dajik tried to show me ways of hunt, but I do better when I do things my way.',12,0,13,0,0,0,'Zepik'), +(@ZEPIK,3,0,'Eat it big-tongues!',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,1,'Hah! Leave some for Zepik too.',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,2,'That lake near here actually full of sea things. Not sure how it all get here... maybe in floods?',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,3,'I think one reason I like hunting big-tongues so much... they not as dumb as the other hunts. They give a real fight.',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,4,'Mist big-tongues are smart with their shrine thing sometimes... cover whole area with mist and it get hard to find any.',12,0,14,0,0,0,'Zepik'), +(@ZEPIK,3,5,'Hah! This the fun part!',12,0,15,0,0,0,'Zepik'), +(@ZEPIK,3,6,'Flame! Death! Destruction! The black fire rages within my heart! I must... release it! Hahah!',12,0,15,0,0,0,'Zepik'), +(@ZEPIK,4,0,'Trust me - you going love this!',12,0,100,0,0,0,'Zepik'), +(@ZEPIK,5,0,'BOOM! That so good! More! More!',12,0,100,0,0,0,'Zepik'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9678 AND `SourceEntry`=13137; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (@FRENZYAURA,@RAINSPEAKERAURA,@WOLVARPING,@GORLOCPING,@DESSAWNRETAINER,@TREASUREPING,@DIGGINGFORTEASURE,@MOSSWALKERAURA,@SPEARBORNAURA,@MISTWHISPERAURA,@SAPPHIREHIVEAURA,@SKYREACHPILLARAURA,@CHICKENLOCATIONPING,51846); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,7,@FRENZYAURA,0,31,@GOREGEK,0,0,0,0,'','Spell Frenzyheart Hill Aura targets Goregek the Bristlepine Hunter'), +(13,7,@FRENZYAURA,1,31,@DAJIK,0,0,0,0,'','Spell Frenzyheart Hill Aura targets Dajik the Wasp Hunter'), +(13,7,@FRENZYAURA,2,31,@ZEPIK,0,0,0,0,'','Spell Frenzyheart Hill Aura targets Zepik the Gorloc Hunter'), +(13,7,@RAINSPEAKERAURA,0,31,@LAFOO,0,0,0,0,'','Spell Rainspeaker Canopy Aura targets Lafoo'), +(13,7,@RAINSPEAKERAURA,1,31,@MOODLE,0,0,0,0,'','Spell Rainspeaker Canopy Aura targets Jaloot'), +(13,7,@RAINSPEAKERAURA,2,31,@JALOOT,0,0,0,0,'','Spell Rainspeaker Canopy Aura targets Moodle'), +(13,7,@WOLVARPING,0,31,@GOREGEK,0,0,0,0,'','Spell Wolvar Location Ping targets Goregek the Bristlepine Hunter'), +(13,7,@WOLVARPING,1,31,@DAJIK,0,0,0,0,'','Spell Wolvar Location Ping targets Dajik the Wasp Hunter'), +(13,7,@WOLVARPING,2,31,@ZEPIK,0,0,0,0,'','Spell Wolvar Location Ping targets Zepik the Gorloc Hunter'), +(13,7,@GORLOCPING,0,31,@LAFOO,0,0,0,0,'','Spell Gorloc Location Ping targets Lafoo'), +(13,7,@GORLOCPING,1,31,@JALOOT,0,0,0,0,'','Spell Gorloc Location Ping targets Jaloot'), +(13,7,@GORLOCPING,2,31,@MOODLE,0,0,0,0,'','Spell Gorloc Location Ping targets Moodle'), +(13,7,@DESSAWNRETAINER,0,31,@LAFOO,0,0,0,0,'','Spell Dessawn Retainer targets Lafoo'), +(13,7,@DESSAWNRETAINER,1,31,@DAJIK,0,0,0,0,'','Spell Dessawn Retainer targets Dajik the Wasp Hunter'), +(13,7,@DESSAWNRETAINER,2,31,@ZEPIK,0,0,0,0,'','Spell Dessawn Retainer targets Zepik the Gorloc Hunter'), +(13,7,@DESSAWNRETAINER,3,31,@JALOOT,0,0,0,0,'','Spell Dessawn Retainer targets Jaloot '), +(13,7,@DESSAWNRETAINER,4,31,@MOODLE,0,0,0,0,'','Spell Dessawn Retainer targets Moodle'), +(13,7,@DESSAWNRETAINER,5,31,@GOREGEK,0,0,0,0,'','Spell Dessawn Retainer targets Goregek'), +(13,7,@TREASUREPING,0,31,@LAFOO,0,0,0,0,'','Spell looking for treasure ping targets Lafoo'), +(13,7,@TREASUREPING,1,31,@JALOOT,0,0,0,0,'','Spell looking for treasure ping targets Jaloot '), +(13,7,@TREASUREPING,2,31,@MOODLE,0,0,0,0,'','Spell looking for treasure ping targets Moodle'), +(13,7,@CHICKENLOCATIONPING,0,31,@GOREGEK,0,0,0,0,'','Spell chicken ping targets Goregek'), +(13,7,@CHICKENLOCATIONPING,1,31,@DAJIK,0,0,0,0,'','Spell chicken ping targets Dajik '), +(13,7,@CHICKENLOCATIONPING,2,31,@ZEPIK,0,0,0,0,'','Spell chicken ping targets Zepik'), +(13,7,@DIGGINGFORTEASURE,0,31,@GLINTINGDIRT,0,0,0,0,'','digging for treasure targets glinting dirt'), +(13,7,@MOSSWALKERAURA,0,31,@MOODLE,0,0,0,0,'','Mosswalker village aura targets moodle'), +(13,7,@SPEARBORNAURA,0,31,@JALOOT,0,0,0,0,'','spearborn encampment aura targets moodle'), +(13,7,@MISTWHISPERAURA,0,31,@ZEPIK,0,0,0,0,'','mistwhisper refuge aura targets zepik'), +(13,7,@SAPPHIREHIVEAURA,0,31,@DAJIK,0,0,0,0,'','sapphire hive aura targets dajik'), +(13,7,@SKYREACHPILLARAURA,0,31,@DAJIK,0,0,0,0,'','skyreach pillar aura targets dajik'), +(13,7,51846,0,31,@CHICKENESCAPEE,0,0,0,0,'','Scared Chicken targets only chicken escapee'), +(14,9678,13137,0,5,1104,7,0,0,0,'','Shaman Vekjik - Show different gossip if player is hated, hostile or unfriendly with Frenzyheart Tribe'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(@GLINTINGDIRT,@LAFOO,@JALOOT,@MOODLE,@GOREGEK,@DAJIK,@ZEPIK,@MOSSWALKERBUNNY) AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,17,@GOREGEK,0,0,9,0,12702,0,0,0,0, '', 'Goregek SAI only activates if player is on and has not completed the Chicken Party!'), +(22,17,@GOREGEK,0,0,29,0,@CHICKENESCAPEE,5,0,0,0, '', 'Execute SAI only if there is chicken escapee within 5 yards'), +(22,21,@DAJIK,0,1,9,0,12532,0,0,0,0, '', 'Dajik SAI only activates if player is on and has not completed Flown the Coop!'), +(22,21,@DAJIK,0,1,29,0,@CHICKENESCAPEE,5,0,0,0, '', 'Execute SAI only if there is chicken escapee within 5 yards'), +(22,21,@DAJIK,0,0,9,0,12702,0,0,0,0, '', 'Dajik SAI only activates if player is on and has not completed the Chicken Party!'), +(22,21,@DAJIK,0,0,29,0,@CHICKENESCAPEE,5,0,0,0, '', 'Execute SAI only if there is chicken escapee within 5 yards'), +(22,18,@ZEPIK,0,0,9,0,12702,0,0,0,0, '', 'Dajik SAI only activates if player is on and has not completed the Chicken Party!'), +(22,18,@ZEPIK,0,0,29,0,@CHICKENESCAPEE,5,0,0,0, '', 'Execute SAI only if there is chicken escapee within 5 yards'), +(22,1,@LAFOO,0,0,9,0,12704,0,0,0,0, '', 'Lafoo SAI only activates if player is on and has not completed the Appeasing the Great rainstone'), +(22,1,@LAFOO,0,0,29,0,@GLINTINGDIRT,10,0,0,0, '', 'Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@LAFOO,0,1,9,0,12572,0,0,0,0, '', 'Lafoo SAI only activates if player is on and has not completed the Gods like shiny things'), +(22,1,@LAFOO,0,1,29,0,@GLINTINGDIRT,10,0,0,0, '', 'Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@JALOOT,0,0,9,0,12704,0,0,0,0, '', 'Jaloot SAI only activates if player is on and has not completed the Appeasing the Great rainstone'), +(22,1,@JALOOT,0,0,29,0,@GLINTINGDIRT,10,0,0,0, '', 'Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@MOODLE,0,0,9,0,12704,0,0,0,0, '', 'Moodle SAI only activates if player is on and has not completed the Appeasing the Great rainstone'), +(22,1,@MOODLE,0,0,29,0,@GLINTINGDIRT,10,0,0,0, '', 'Execute SAI only if there is glinting dirt within 5 yards'), +(22,1,@GLINTINGDIRT,0,0,29,1,@LAFOO,5,0,0,0, '', 'Execute SAI only if Lafoo within 2 yards'), +(22,1,@GLINTINGDIRT,0,1,29,1,@JALOOT,5,0,0,0, '', 'Execute SAI only if Jaloot within 2 yards'), +(22,1,@GLINTINGDIRT,0,2,29,1,@MOODLE,5,0,0,0, '', 'Execute SAI only if Moodle within 2 yards'), +(22,13,@MOODLE,0,0,23,1,4297,0,0,1,0, '', 'Moodle dont execute SAI in Mosswalker Village'), +(22,9,@GOREGEK,0,0,23,1,4303,0,0,1,0, '', 'Goregek dont execute SAI in Hardknuckle Clearing'), +(22,10,@ZEPIK,0,0,23,1,4306,0,0,1,0, '', 'Zepik dont execute SAI in Mistwhisper Refuge'), +(22,12,@GOREGEK,0,0,23,1,4303,0,0,0,0, '', 'Goregek execute SAI in only in Hardknuckle Clearing'), +(22,9,@DAJIK,0,0,23,1,4304,0,0,1,0, '', 'Dajik Dont execute SAI in Sapphire Hive'), +(22,9,@DAJIK,0,0,23,1,4303,0,0,1,0, '', 'Dajik execute SAI in Hardknuckle Clearing'), +(22,9,@DAJIK,0,0,23,1,4388,0,0,1,0, '', 'Dajik execute SAI in Wintergrasp River'), +(22,9,@DAJIK,0,0,23,1,4295,0,0,1,0, '', 'Dajik execute SAI in The Sundered Shard'), +(22,19,@DAJIK,0,0,23,1,4303,0,0,0,0, '', 'Dajik execute SAI only in Hardknuckle Clearing'), +(22,11,@LAFOO,0,0,23,1,4291,0,0,1,0, '', 'Lafoo dont execute sai in rainspeaker canopy'), +(22,13,@JALOOT,0,0,23,1,4291,0,0,1,0, '', 'Jaloot dont execute sai in rainspeaker canopy'), +(22,13,@JALOOT,0,1,23,1,4308,0,0,1,0, '', 'Jaloot dont execute sai in spearborn encampment'), +(22,13,@MOODLE,0,0,23,1,4291,0,0,1,0, '', 'Moodle dont execute sai in rainspeaker canopy'), +(22,9,@GOREGEK,0,0,23,1,4292,0,0,1,0, '', 'Goregek dont execute sai in frenzyheart hill'), +(22,9,@DAJIK,0,0,23,1,4292,0,0,1,0, '', 'Dajik dont execute sai in frenzyheart hill'), +(22,10,@ZEPIK,0,0,23,1,4292,0,0,1,0, '', 'Zepik dont execute sai in frenzyheart hill'), +(22,2,@MOSSWALKERBUNNY,0,0,1,0,@SHOLAZARGUARDIANHEARTBEAT,0,0,0,0, '', 'Mosswalker Bunny execute SAI only if player has sholazar guardian heartbeat aura'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @SOFTKNUCKLE; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SOFTKNUCKLE; +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 +(@SOFTKNUCKLE,0,0,0,8,0,20 ,0,@SCAREDSOFTKNUCKLE,0,10000,10000,45,1,1,0,0,0,0,10,100797,@HARDKNUCKLEMATRIARCH,0,0,0,0,0, 'Softknuckle - On Spellhit - Set Data on Hardknuckle Matriach'); +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @HARDKNUCKLE; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@HARDKNUCKLE; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@HARDKNUCKLE; +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 +(@HARDKNUCKLE,0,0,0,9,0,100,0,10,30,15000,21000,11,49758,2,0,0,0,0,2,0,0,0,0,0,0,0, 'Hardknuckle Charger - On Range - Cast Charge'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @HARDKNUCKLEMATRIARCH; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@HARDKNUCKLEMATRIARCH; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@HARDKNUCKLEMATRIARCH; +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 +(@HARDKNUCKLEMATRIARCH,0,0,1,4,0,100,0,0,0,0,0,11,54287,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - On Agro - Cast Enrage'), +(@HARDKNUCKLEMATRIARCH,0,1,0,61,0,100,0,0,0,0,0,1 ,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Say'), +(@HARDKNUCKLEMATRIARCH,0,2,0,0,0,100,0,6000,10000,12000,15000,11 ,61580,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - In Combat - Cast Cast Thunderstomp'), +(@HARDKNUCKLEMATRIARCH,0,3,4,38,0,100,0,1,1,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - On Data Set 1 1 - Set Data 10'), +(@HARDKNUCKLEMATRIARCH,0,4,5,61,0,100,0,0,0,0,0,19,756,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Remove unit flags'), +(@HARDKNUCKLEMATRIARCH,0,5,6,61,0,100,0,0,0,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Set Visible'), +(@HARDKNUCKLEMATRIARCH,0,6,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,500,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Attack closest player'), +(@HARDKNUCKLEMATRIARCH,0,7,8,11,0,100,0,0,0,0,0,18,756,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - On spawn - Add unit flags'), +(@HARDKNUCKLEMATRIARCH,0,8,0,61,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Set Invisible'), +(@HARDKNUCKLEMATRIARCH,0,9,10,21,0,100,0,0,0,0,0,18,756,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - On Creature reached home - Add unit flags'), +(@HARDKNUCKLEMATRIARCH,0,10,0,61,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Set Invisible'), +(@HARDKNUCKLEMATRIARCH,0,11,12,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,9,@GOREGEK,0,50,0,0,0,0, 'Hardknuckle Matriarch - On Death Send Data to Goregek'), +(@HARDKNUCKLEMATRIARCH,0,12,0,61,0,100,0,0,0,0,0,41,60000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hardknuckle Matriarch - Linked with Previous Event - Despawn after 1m'); + +DELETE FROM `creature_ai_texts` WHERE `entry`=-738; +DELETE FROM `creature_text` WHERE `entry` =@HARDKNUCKLEMATRIARCH; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@HARDKNUCKLEMATRIARCH, 0, 0, 'We are Not Amused', 12, 0, 100, 0, 0, 0, 'Hardknuckle Matriarch'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =@SOFTKNUCKLE; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,2,@SOFTKNUCKLE,0,0,23,0,4303,0,0,0,0, '', 'Softknuckle - Only execute SAI in hardknuckle clearing'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`IN(13,17) AND `SourceEntry`=@SCAREDSOFTKNUCKLE; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(17,0,@SCAREDSOFTKNUCKLE,0,0,31,1,3,@SOFTKNUCKLE,0,0,0, '', 'Scared Softknuckle only hits Softknuckle'), +(13,0,@SCAREDSOFTKNUCKLE,0,0,31,1,3,@SOFTKNUCKLE,0,0,0, '', 'Scared Softknuckle only hits Softknuckle'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @SAPPHIREQUEEN; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@SAPPHIREQUEEN; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SAPPHIREQUEEN; +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 +(@SAPPHIREQUEEN,0,0,0,0,0,100,0,6000,9000,9000,14000,11,48193,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Sapphire Hive Queen - IC - Cast Poison Stinger'), +(@SAPPHIREQUEEN,0,1,0,2,0,100,0,0,30,12000,15000,11,54761,1,0,0,0,0,1,0,0,0,0,0,0,0, 'Sapphire Hive Queen - On 30% Hp - Cast Enrage'), +(@SAPPHIREQUEEN,0,2,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,9,@DAJIK,0,50,0,0,0,0, 'Sapphire Hive Queen - On Death - Set Data Dajik'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @VENOMTIP; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@VENOMTIP; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@VENOMTIP; +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 +(@VENOMTIP,0,0,0,0,0,100,0,7000,9000,17000,20000,11,61550,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Venomtip - IC - Cast Cobra Strike'), +(@VENOMTIP,0,1,0,9,0,100,0,0,30,7000,12000,11,32330,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Venomtip - On Range - Cast Poison Spit'), +(@VENOMTIP,0,2,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,9,@LAFOO,0,50,0,0,0,0, 'Venomtip - On Death - Set Data Lafoo'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @SERFEXTHEREAVER; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@SERFEXTHEREAVER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SERFEXTHEREAVER; +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 +(@SERFEXTHEREAVER,0,0,1,1,0,100,0,0,0,60000,90000,11,20567,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - OOC - Cast Submerge Visual'), +(@SERFEXTHEREAVER,0,1,0,61,0,100,0,0,0,0,0,18,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Set Unselectable and Unattackable Flags'), +(@SERFEXTHEREAVER,0,2,3,4,0,100,0,0,0,0,0,28,20567,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - On Agro - Remove Submerge Visual'), +(@SERFEXTHEREAVER,0,3,4,61,0,100,0,0,0,0,0,28,29147,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Remove Submerge Visual'), +(@SERFEXTHEREAVER,0,4,5,61,0,100,0,0,0,0,0,11,37752,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Cast Stand'), +(@SERFEXTHEREAVER,0,5,6,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Stop Combat Movement'), +(@SERFEXTHEREAVER,0,6,7,61,0,100,0,0,0,0,0,19,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Remove Unselectable and Unattackable Flags'), +(@SERFEXTHEREAVER,0,7,0,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Set Phase 1'), +(@SERFEXTHEREAVER,0,8,0,0,1,100,0,1000,1000,2100,4500,11,20567,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Serfex the Reaver - IC - Cast Poison'), +(@SERFEXTHEREAVER,0,9,10,9,0,100,0,40,60,0,0,11,68909,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - On Range - Cast Submerge Visual'), +(@SERFEXTHEREAVER,0,10,11,61,0,100,0,0,0,0,0,11,29147,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Cast Stand'), +(@SERFEXTHEREAVER,0,11,0,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Set Phase 2'), +(@SERFEXTHEREAVER,0,12,13,9,1,100,0,0,8,0,0,28,20567,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - On Range - Remove Submerge Visual'), +(@SERFEXTHEREAVER,0,13,14,61,1,100,0,0,0,0,0,11,37752,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Cast Stand'), +(@SERFEXTHEREAVER,0,14,15,61,1,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Stop Combat Movement'), +(@SERFEXTHEREAVER,0,15,0 ,61,1,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Set Phase 1'), +(@SERFEXTHEREAVER,0,16,17,7,0,100,0,0,0,0,0,11,20567,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Evade - Cast Submerge Visual'), +(@SERFEXTHEREAVER,0,17,18,61,0,100,0,0,0,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Allow Combat Movement'), +(@SERFEXTHEREAVER,0,18,19,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Linked with Previous Event - Set Phase 0'), +(@SERFEXTHEREAVER,0,19,20,61,0,100,0,0,0,0,0,11,29147,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Evade - Cast Submerge Visual'), +(@SERFEXTHEREAVER,0,20,21,61,0,100,0,0,0,0,0,14,100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Evade - Set Threat'), +(@SERFEXTHEREAVER,0,21,0,61,0,100,0,0,0,0,0,18,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Serfex the Reaver - Evade - Set Untargetable flags'), +(@SERFEXTHEREAVER,0,22,0,6,0,100,0,0,0,0,0,45,1,2,0,0,0,0,9,@DAJIK,0,50,0,0,0,0, 'Serfex the Reaver - On Death - Set Data Dajik'); + +DELETE FROM `gameobject` WHERE `guid` IN (@GOBJGUID,@GOBJGUID+1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@GOBJGUID,300213,571,1,1,6206.71,4951.67,-98.9126,3.84683,0,0,0.938472,-0.345355,300,0,1), +(@GOBJGUID+1,190502,571,1,1,6206.71,4951.67,-98.9126,3.84683,0,0,0.938472,-0.345355,-5000,0,1); + +DELETE FROM `event_scripts` WHERE `id`IN(18475,18474); +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(18475,2,9,@GOBJGUID+1,60,0,0,0,0,0), +(18474,1,10,@MISTWHISPERLIGHTNINGCLOUD,60000,0,6202.683105,4948.736328,-86,0); + +UPDATE `creature_template` SET `AIName`= 'SmartAI',`InhabitType`=4 WHERE `entry`=@MISTWHISPERLIGHTNINGCLOUD; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@MISTWHISPERLIGHTNINGCLOUD; +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 +(@MISTWHISPERLIGHTNINGCLOUD,0,0,0,1, 0,100,1,10000,10000,0,0,15,12537,0,0,0,0,0,18,40,0,0,0,0,0,0, 'Mistwhisper Lightning Cloud - OOC - Give Quest Credit'), +(@MISTWHISPERLIGHTNINGCLOUD,0,1,0,1, 0,100,0,3000,5000,2000,11000,11,51172,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Mistwhisper Lightning Cloud - OOC - Cloud to Lightning'), +(@MISTWHISPERLIGHTNINGCLOUD,0,2,3,11, 0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,106338,28273,0,0,0,0,0, 'Mistwhisper Lightning Cloud - On Spawn - Send Data to Arranged Crystal Formation Bunny'), +(@MISTWHISPERLIGHTNINGCLOUD,0,3,0,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,9,@ZEPIK,0,50,0,0,0,0, 'Mistwhisper Lightning Cloud - Linked with Previous Event - Set Data Zepik'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=51172; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,7,51172,0,0,31,0,3,@MISTWHISPERLIGHTNINGTARGET,0,0,0,0, '', 'Cloud to Lightning hits Mistwhisper Lightning Target'), +(13,7,51172,0,1,31,0,3,@MISTWHISPERLIGHTNINGCLOUD,0,0,0,0, '', 'Cloud to Lightning hits Mistwhisper Lightning Cloud'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@ARRANGEDCRYSTALFORMATIONBUNNY; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@ARRANGEDCRYSTALFORMATIONBUNNY; +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 +(@ARRANGEDCRYSTALFORMATIONBUNNY,0,0,1,38, 0,100,0,1,1,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Arranged Crystal Formation Bunny - On Receive Data - Reset Data'), +(@ARRANGEDCRYSTALFORMATIONBUNNY,0,1,2,61, 0,100,0,0,0,0,0,11,51150,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Arranged Crystal Formation Bunny - Linked with Previous Event - Cast Crystal Shatter Visual'), +(@ARRANGEDCRYSTALFORMATIONBUNNY,0,2,3,61, 0,100,0,0,0,0,0,11,51172,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Arranged Crystal Formation Bunny - Linked with Previous Event - Cast Lightning to Cloud'), +(@ARRANGEDCRYSTALFORMATIONBUNNY,0,3,0,61, 0,100,0,0,0,0,0,70,1,0,0,0,0,0,14,@GOBJGUID+1,190502,0,0,0,0,0, 'Arranged Crystal Formation Bunny - Linked with Previous Event - Despawn Arranged Crystal formation'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN(19,20) AND `SourceGroup`=0 AND `SourceEntry`=12528; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(19,0,12528,0,8,12654,0,0,0,0,'','Playing Along can be taken if player has quest part time hunter completed in log'), +(20,0,12528,0,8,12654,0,0,0,0,'','Playing Along can be taken if player has quest part time hunter completed in log'), +(19,0,12528,1,9,12654,0,0,0,0,'','Playing Along can be taken if player has quest part time hunter taken in log'), +(20,0,12528,1,9,12654,0,0,0,0,'','Playing Along can be taken if player has quest part time hunter taken in log'), +(19,0,12528,2,28,12654,0,0,0,0,'','Playing Along can be taken if player has quest part time hunter rewarded'), +(20,0,12528,2,28,12654,0,0,0,0,'','Playing Along can be taken if player has quest part time hunter rewarded'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @PITCH; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@PITCH; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@PITCH; +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 +(@PITCH,0,0,0,9,0,100,0,5,30,9000,12000,11,54487,2,0,0,0,0,2,0,0,0,0,0,0,0, 'Pitch - On Range - Cast Jump Attack'), +(@PITCH,0,1,0,0,0,100,0,5000,8000,7000,13000,11,24332,2,0,0,0,0,2,0,0,0,0,0,0,0, 'Pitch - In Combat - Cast Rake'), +(@PITCH,0,2,0,11,0,100,0,0,0,0,0,45,1,1,0,0,0,0,9,@TRACKERGEKGEK,0,200,0,0,0,0, 'Pitch - On Spawn - Set Data Tracker Gekgek'), +(@PITCH,0,3,0,6,0,100,0,0,0,0,0,45,1,2,0,0,0,0,9,@TRACKERGEKGEK,0,200,0,0,0,0, 'Pitch - On Death - Set Data Tracker Gekgek'), +(@PITCH,0,4,0,4,0,100,0,0,0,0,0,45,1,3,0,0,0,0,9,@TRACKERGEKGEK,0,200,0,0,0,0, 'Pitch - On Aggro - Set Data Tracker Gekgek'), +(@PITCH,0,5,0,7,0,100,0,0,0,0,0,45,1,4,0,0,0,0,9,@TRACKERGEKGEK,0,200,0,0,0,0, 'Pitch - On Evade - Set Data Tracker Gekgek'); + +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @TRACKERGEKGEK; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@TRACKERGEKGEK; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@TRACKERGEKGEK; +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 +(@TRACKERGEKGEK,0,0,0,0,0,100,0,3000,6000,4000,7000,11,50533,2,0,0,0,0,2,0,0,0,0,0,0,0, 'Tracker Gekgek - In Combat - Cast Flip Attack'), +(@TRACKERGEKGEK,0,1,2,38,0,100,0,1,1,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - On Data Set (Pitch Spawn 1 1) - Set Data 1 0'), +(@TRACKERGEKGEK,0,2,3,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Remove Quest Giver Flag'), +(@TRACKERGEKGEK,0,3,0,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Set Phase 2'), +(@TRACKERGEKGEK,0,4,5,38,0,100,0,1,2,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - On Data Set (Pitch Die 1 2) - Set Data 1 0'), +(@TRACKERGEKGEK,0,5,6,61,0,100,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Add Quest Giver Flag'), +(@TRACKERGEKGEK,0,6,7,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Say'), +(@TRACKERGEKGEK,0,7,0,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Set Phase 0'), +(@TRACKERGEKGEK,0,8,9,38,0,100,0,1,3,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - On Data Set (Pitch Aggro 1 3) - Set Data 1 0'), +(@TRACKERGEKGEK,0,9,10,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Say'), +(@TRACKERGEKGEK,0,10,0,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Set Phase 0'), +(@TRACKERGEKGEK,0,10,11,38,0,100,0,1,4,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - On Data Set (Pitch Evade 1 4) - Set Data 1 0'), +(@TRACKERGEKGEK,0,11,0,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - Linked with Previous Event- Say'), +(@TRACKERGEKGEK,0,12,0,10,2,100,0,1,100,30000,90000,1,2,2,0,0,0,0,1,0 ,0,0,0,0,0,0, 'Tracker Gekgek - On Los OOC - Say'), +(@TRACKERGEKGEK,0,13,0,11,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Tracker Gekgek - On Spawn - Set Phase 2'); + +DELETE FROM `creature_text` WHERE `entry` =@TRACKERGEKGEK; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@TRACKERGEKGEK,0,0, 'No! You steal kill! Now you owe Gekgek!', 12, 0, 100, 0, 0, 0, 'Tracker Gekgek'), +(@TRACKERGEKGEK,1,0, 'Dumb! Don''t shoot at it! Gekgek want trophy in one piece!', 12, 0, 100, 0, 0, 0, 'Tracker Gekgek'), +(@TRACKERGEKGEK,2,0, 'No let it get away! We got it this time.', 12, 0, 33, 0, 0, 0, 'Tracker Gekgek'), +(@TRACKERGEKGEK,2,1, 'Careful! No let it scratch you like last time.', 12, 0, 33, 0, 0, 0, 'Tracker Gekgek'), +(@TRACKERGEKGEK,2,2, 'Ahh! It''s coming right for us!', 12, 0, 34, 0, 0, 0, 'Tracker Gekgek'); + +UPDATE `creature_template` SET `AIName` = 'SmartAI',`unit_flags`=`unit_flags`&~33554432 WHERE `entry` = @MOSSWALKERVICTIM; +UPDATE `creature` SET `MovementType` = 0, `spawndist`=0 WHERE `id` = @MOSSWALKERVICTIM; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(28113,2811301,2811302); +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 +(@MOSSWALKERVICTIM,0,0,1,62,0,100,0,9728,0,0,0,87,(@MOSSWALKERVICTIM*100)+1,(@MOSSWALKERVICTIM*100)+2,(@MOSSWALKERVICTIM*100)+1,(@MOSSWALKERVICTIM*100)+2,(@MOSSWALKERVICTIM*100)+1,(@MOSSWALKERVICTIM*100)+2,1,0,0,0,0.0,0.0,0.0,0.0, 'Mosswalker Victim - On Gossip Select - Random Script Start'), +(@MOSSWALKERVICTIM,0,1,2,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0, 'Mosswalker Victim - Linked with Previous Event - Remove Gossip Flag'), +(@MOSSWALKERVICTIM,0,2,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0, 'Mosswalker Victim - Linked with Previous Event - Close Gossip'), +(@MOSSWALKERVICTIM,0,3,0,25,0,100,0,0,0,0,0,11,58806,0,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0, 'Mosswalker Victim - On Spawn - Cast Permament Feign Death on Self'), +((@MOSSWALKERVICTIM*100)+1,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mosswalker Victim - Script 1 - Say'), +((@MOSSWALKERVICTIM*100)+1,9,1,0,0,0,100,0,2000,2000,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mosswalker Victim - Script 1 - Die'), +((@MOSSWALKERVICTIM*100)+2,9,0,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mosswalker Victim - Script 2 - Say'), +((@MOSSWALKERVICTIM*100)+2,9,1,0,0,0,100,0,1000,1000,0,0,85,52157,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Mosswalker Victim -Script 2 - Credit'), +((@MOSSWALKERVICTIM*100)+2,9,2,0,0,0,100,0,100,100,0,0,28,58806,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mosswalker Victim - Script 2 - Remove Permament Feign Death'), +((@MOSSWALKERVICTIM*100)+2,9,3,0,0,0,100,0,15000,15000,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mosswalker Victim - Script 2 - Set Invisible'), +((@MOSSWALKERVICTIM*100)+2,9,4,0,0,0,100,0,15500,15500,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Mosswalker Victim - Script 2 - Die'); + +DELETE FROM `creature_text` WHERE `entry` = @MOSSWALKERVICTIM; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@MOSSWALKERVICTIM,0,0, 'Please take... my shinies. All done...', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,0,1, 'We not do anything... to them... I no understand.', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,0,2, 'Use my shinies... make weather good again... make undead things go away.', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,0,3, 'We gave shinies to shrine... we not greedy... why this happen?', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,0,4, 'I do something bad? I sorry...', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,1,0, 'We saved. You nice, dryskin.', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,1,1, 'Maybe you make weather better too?', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,1,2, 'You save us! Yay for you!', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'), +(@MOSSWALKERVICTIM,1,3, 'Thank you! You good!', 12, 0, 100, 0, 0, 0, 'Mosswalker Victim'); + +DELETE FROM `conditions` WHERE `SourceGroup`=9728 AND `SourceTypeOrReferenceId`=15 ; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry` ,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3` ,`ErrorTextId`,`ScriptName`,`Comment`) +VALUES (15,9728,0 ,0,9,12580,0 ,0,0 ,0, 'Only show gossip when quest player in on and has not completed the mosswalker saviour'); + +-- set correct previous quest for obtaining oracles or frenzyheart dailys, return of the lich hunter or return of the friendly dry skin not heros burden +UPDATE `quest_template` SET `PrevQuestId`=12695 WHERE `Id`IN(12735,12737,12736,12726,12761,12762,12705,12704); +UPDATE `quest_template` SET `PrevQuestId`=12692 WHERE `Id`IN(12703,12760,12759,12758,12734,12741,12732,12702); + +-- Pooling/grouping for Oracles/Frenzyheart Dailys +-- already exclusive grouped just not pooled +DELETE FROM `pool_quest` WHERE `pool_entry`=@QUESTPOOL; +INSERT INTO `pool_quest` (`entry`, `pool_entry`, `description`) VALUES +(12735, @QUESTPOOL, 'Oracle Soo-nee - A Cleansing Song'), +(12737, @QUESTPOOL, 'Oracle Soo-nee - Song of Fecundity'), +(12736, @QUESTPOOL, 'Oracle Soo-nee - Song of Reflection'), +(12726, @QUESTPOOL, 'Oracle Soo-nee - Song of Wind and Water'); +UPDATE `quest_template` SET `ExclusiveGroup`=12761 WHERE `Id`IN(12761,12762,12705); +DELETE FROM `pool_quest` WHERE `pool_entry`=@QUESTPOOL+1; +INSERT INTO `pool_quest` (`entry`, `pool_entry`, `description`) VALUES +(12761, @QUESTPOOL+1, 'Oracle Soo-dow - Mastery of the Crystals'), +(12762, @QUESTPOOL+1, 'Oracle Soo-dow - Power of the Great Ones'), +(12705, @QUESTPOOL+1, 'Oracle Soo-dow - Will of the Titans'); +DELETE FROM `pool_quest` WHERE `pool_entry`=@QUESTPOOL+2; +UPDATE `quest_template` SET `ExclusiveGroup`=12758 WHERE `Id`IN(12758,12734,12741,12732); +INSERT INTO `pool_quest` (`entry`, `pool_entry`, `description`) VALUES +(12758, @QUESTPOOL+2, 'Rejek - A Hero''s Headgear'), +(12734, @QUESTPOOL+2, 'Rejek - Rejek: First Blood'), +(12741, @QUESTPOOL+2, 'Rejek - Strength of the Tempest'), +(12732, @QUESTPOOL+2, 'Rejek - The Heartblood''s Strength'); +UPDATE `quest_template` SET `ExclusiveGroup`=12703 WHERE `Id`IN(12703,12760,12759); +DELETE FROM `pool_quest` WHERE `pool_entry`=@QUESTPOOL+3; +INSERT INTO `pool_quest` (`entry`, `pool_entry`, `description`) VALUES +(12703, @QUESTPOOL+3, 'Vekgar - Kartak''s Rampage'), +(12760, @QUESTPOOL+3, 'Vekgar - Secret Strength of the Frenzyheart'), +(12759, @QUESTPOOL+3, 'Vekgar - Tools of War'); +DELETE FROM `pool_template` WHERE `entry` BETWEEN @QUESTPOOL AND @QUESTPOOL+3; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@QUESTPOOL, 1, 'Oracle Soo-nee Dailies'), +(@QUESTPOOL+1, 1, 'Oracle Soo-dow Dailies'), +(@QUESTPOOL+2, 1, 'Rejek Dailies'), +(@QUESTPOOL+3, 1, 'Vekgar Dailies'); +-- Return of the lich hunter should be takable by both factions not only horde +UPDATE `quest_template` SET `RequiredRaces`=0 WHERE `Id`=12692; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_01_world_misc.sql new file mode 100644 index 00000000000..816a4f5c0fa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_01_world_misc.sql @@ -0,0 +1,91 @@ +SET @LAFOO := 28120; +SET @MOODLE := 28122; +SET @JALOOT := 28121; +SET @CHICKENESCAPEE := 28161; +SET @GOREGEK := 28214; +SET @DAJIK := 28215; +SET @ZEPIK := 28216; +SET @MISTWHISPERLIGHTNINGCLOUD := 28253; +SET @MISTWHISPERLIGHTNINGTARGET := 28254; +SET @GLINTINGDIRT := 28362; +SET @RHUNOK := 28416; +SET @TORMENTOR := 28575; +SET @SCAREDSOFTKNUCKLE := 50979; +SET @LIGHTNING := 51172; +SET @FRENZYAURA := 51234; +SET @MISTWHISPERAURA := 51239; +SET @DIGGINGFORTEASURE := 51405; +SET @TREASUREPING:= 51420; +SET @THROWSPEAR := 51603; +SET @CHAINS1 := 51606; +SET @CHAINS2 := 51607; +SET @RAINSPEAKERAURA := 51639; +SET @SPEARBORNAURA := 51642; +SET @MOSSWALKERAURA := 51644; +SET @SKYREACHPILLARAURA:= 51645; +SET @SAPPHIREHIVEAURA := 51651; +SET @WOLVARPING := 51791; +SET @GORLOCPING := 51794; +SET @CHICKENLOCATIONPING := 51843; +SET @SCAREDCHICKEN := 51846; +SET @DESSAWNRETAINER := 53163; + +DELETE FROM `creature_text` WHERE `entry`=@TORMENTOR; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@TORMENTOR,0,0,'Filthy $R intruder. DIE!',12,0,100,0,0,0,'Rhunok''s Tormentor'), +(@TORMENTOR,0,1,'If Rhunok regains his strength, we all die!',12,0,100,0,0,0,'Rhunok''s Tormentor'), +(@TORMENTOR,0,2,'There are intruders about. Slay them before they ruin everything!',12,0,100,0,0,0,'Rhunok''s Tormentor'), +(@TORMENTOR,0,3,'The bear god must be kept enfeebled so that the prophet can finish the ritual.',12,0,100,0,0,0,'Rhunok''s Tormentor'), +(@TORMENTOR,0,4,'Keep him weak!',12,0,100,0,0,0,'Rhunok''s Tormentor'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@TORMENTOR; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@TORMENTOR; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-113481,-113482,-113483,-113558,@TORMENTOR) 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 +(@TORMENTOR,0,0,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Rhunok''s Tormentor - On aggro - Say line'), +(@TORMENTOR,0,1,0,0,0,100,0,3000,8000,10000,20000,11,38556,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Rhunok''s Tormentor - On update IC - Spellcast Throw'), +(@TORMENTOR,0,2,0,0,0,100,0,5000,30000,30000,35000,11,54526,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Rhunok''s Tormentor - On update IC - Spellcast Torment'), +(@TORMENTOR,0,3,0,1,0,100,0,5000,30000,30000,40000,11,@THROWSPEAR,0,0,0,0,0,10,95460,@RHUNOK,0,0,0,0,0, 'Rhunok''s Tormentor - On update OOC - Spellcast Throw Spear'), + +(-113481,0,0,0,1,0,100,0,0,0,5000,5000,11,@CHAINS1,0,0,0,0,0,10,95460,@RHUNOK,0,0,0,0,0, 'ELM General Purpose Bunny - On update OOC - Spellcast Rhunok''s Chains'), +(-113482,0,0,0,1,0,100,0,0,0,5000,5000,11,@CHAINS2,0,0,0,0,0,10,95460,@RHUNOK,0,0,0,0,0, 'ELM General Purpose Bunny - On update OOC - Spellcast Rhunok''s Chains'), +(-113483,0,0,0,1,0,100,0,0,0,5000,5000,11,@CHAINS1,0,0,0,0,0,10,95460,@RHUNOK,0,0,0,0,0, 'ELM General Purpose Bunny - On update OOC - Spellcast Rhunok''s Chains'), +(-113558,0,0,0,1,0,100,0,0,0,5000,5000,11,@CHAINS2,0,0,0,0,0,10,95460,@RHUNOK,0,0,0,0,0, 'ELM General Purpose Bunny - On update OOC - Spellcast Rhunok''s Chains'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (@THROWSPEAR,@CHAINS1,@CHAINS2,@LIGHTNING,@SCAREDSOFTKNUCKLE,@FRENZYAURA,@RAINSPEAKERAURA,@WOLVARPING,@GORLOCPING,@DESSAWNRETAINER,@CHICKENLOCATIONPING,@TREASUREPING,@DIGGINGFORTEASURE,@MOSSWALKERAURA,@SPEARBORNAURA,@MISTWHISPERAURA,@SAPPHIREHIVEAURA,@SCAREDCHICKEN,@SKYREACHPILLARAURA); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,@LIGHTNING,0,31,3,@MISTWHISPERLIGHTNINGTARGET,0,0,0, '', 'Cloud to Lightning hits Mistwhisper Lightning Target'), +(13,1,@LIGHTNING,1,31,3,@MISTWHISPERLIGHTNINGCLOUD,0,0,0, '', 'Cloud to Lightning hits Mistwhisper Lightning Cloud'), +(13,1,@FRENZYAURA,0,31,3,@GOREGEK,0,0,0,'','Spell Frenzyheart Hill Aura targets Goregek the Bristlepine Hunter'), +(13,1,@FRENZYAURA,1,31,3,@DAJIK,0,0,0,'','Spell Frenzyheart Hill Aura targets Dajik the Wasp Hunter'), +(13,1,@FRENZYAURA,2,31,3,@ZEPIK,0,0,0,'','Spell Frenzyheart Hill Aura targets Zepik the Gorloc Hunter'), +(13,1,@RAINSPEAKERAURA,0,31,3,@LAFOO,0,0,0,'','Spell Rainspeaker Canopy Aura targets Lafoo'), +(13,1,@RAINSPEAKERAURA,1,31,3,@MOODLE,0,0,0,'','Spell Rainspeaker Canopy Aura targets Jaloot'), +(13,1,@RAINSPEAKERAURA,2,31,3,@JALOOT,0,0,0,'','Spell Rainspeaker Canopy Aura targets Moodle'), +(13,1,@WOLVARPING,0,31,3,@GOREGEK,0,0,0,'','Spell Wolvar Location Ping targets Goregek the Bristlepine Hunter'), +(13,1,@WOLVARPING,1,31,3,@DAJIK,0,0,0,'','Spell Wolvar Location Ping targets Dajik the Wasp Hunter'), +(13,1,@WOLVARPING,2,31,3,@ZEPIK,0,0,0,'','Spell Wolvar Location Ping targets Zepik the Gorloc Hunter'), +(13,1,@GORLOCPING,0,31,3,@LAFOO,0,0,0,'','Spell Gorloc Location Ping targets Lafoo'), +(13,1,@GORLOCPING,1,31,3,@JALOOT,0,0,0,'','Spell Gorloc Location Ping targets Jaloot'), +(13,1,@GORLOCPING,2,31,3,@MOODLE,0,0,0,'','Spell Gorloc Location Ping targets Moodle'), +(13,1,@DESSAWNRETAINER,0,31,3,@LAFOO,0,0,0,'','Spell Dessawn Retainer targets Lafoo'), +(13,1,@DESSAWNRETAINER,1,31,3,@DAJIK,0,0,0,'','Spell Dessawn Retainer targets Dajik the Wasp Hunter'), +(13,1,@DESSAWNRETAINER,2,31,3,@ZEPIK,0,0,0,'','Spell Dessawn Retainer targets Zepik the Gorloc Hunter'), +(13,1,@DESSAWNRETAINER,3,31,3,@JALOOT,0,0,0,'','Spell Dessawn Retainer targets Jaloot '), +(13,1,@DESSAWNRETAINER,4,31,3,@MOODLE,0,0,0,'','Spell Dessawn Retainer targets Moodle'), +(13,1,@DESSAWNRETAINER,5,31,3,@GOREGEK,0,0,0,'','Spell Dessawn Retainer targets Goregek'), +(13,1,@TREASUREPING,0,31,3,@LAFOO,0,0,0,'','Spell Dessawn Retainer targets Lafoo'), +(13,1,@TREASUREPING,1,31,3,@JALOOT,0,0,0,'','Spell Dessawn Retainer targets Jaloot '), +(13,1,@TREASUREPING,2,31,3,@MOODLE,0,0,0,'','Spell Dessawn Retainer targets Moodle'), +(13,1,@CHICKENLOCATIONPING,0,31,3,@GOREGEK,0,0,0,'','Spell chicken ping targets Goregek'), +(13,1,@CHICKENLOCATIONPING,1,31,3,@DAJIK,0,0,0,'','Spell chicken ping targets Dajik '), +(13,1,@CHICKENLOCATIONPING,2,31,3,@ZEPIK,0,0,0,'','Spell chicken ping targets Zepik'), +(13,3,@SCAREDCHICKEN,0,31,3,@CHICKENESCAPEE,0,0,0,'','Scared Chicken targets only chicken escapee'), +(13,1,@MOSSWALKERAURA,0,31,3,@MOODLE,0,0,0,'','Mosswalker village aura targets moodle'), +(13,1,@SPEARBORNAURA,0,31,3,@JALOOT,0,0,0,'','spearborn encampment aura targets moodle'), +(13,1,@MISTWHISPERAURA,0,31,3,@ZEPIK,0,0,0,'','mistwhisper refuge aura targets zepik'), +(13,1,@SAPPHIREHIVEAURA,0,31,3,@DAJIK,0,0,0,'','sapphire hive aura targets dajik'), +(13,1,@THROWSPEAR,0,31,3,@RHUNOK,0,0,0,'','Spell Throw Spear targets Rhunok'), +(13,1,@CHAINS1,0,31,3,@RHUNOK,0,0,0,'','Spell Rhunok''s Chains targets Rhunok'), +(13,1,@CHAINS2,0,31,3,@RHUNOK,0,0,0,'','Spell Rhunok''s Chains targets Rhunok'), +(13,1,@SKYREACHPILLARAURA,0,31,3,@DAJIK,0,0,0,'','skyreach pillar aura targets dajik'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_02_world_creature_ai_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_02_world_creature_ai_scripts.sql new file mode 100644 index 00000000000..311ae1781f8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_05_02_world_creature_ai_scripts.sql @@ -0,0 +1 @@ +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=28371; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_00_world_quest_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_00_world_quest_template.sql new file mode 100644 index 00000000000..ebd4ad2ffcc --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_00_world_quest_template.sql @@ -0,0 +1,10 @@ +UPDATE `quest_template` SET `NextQuestId`=12931,`NextQuestIdChain`=12931 WHERE `Id`=12930; +UPDATE `quest_template` SET `PrevQuestId`=12930,`ExclusiveGroup`=-12931 WHERE `Id` IN (12931,12937); +UPDATE `quest_template` SET `PrevQuestId`=12931,`ExclusiveGroup`=-12957 WHERE `Id` IN (12957,12964); +UPDATE `quest_template` SET `PrevQuestId`=12957,`ExclusiveGroup`=-12965 WHERE `Id` IN (12965,12978); +UPDATE `quest_template` SET `NextQuestId`=12984 WHERE `Id`=12980; +UPDATE `quest_template` SET `PrevQuestId`=12980,`NextQuestId`=12988 WHERE `Id`=12984; +UPDATE `quest_template` SET `ExclusiveGroup`=-12988 WHERE `Id`=12988; +UPDATE `quest_template` SET `PrevQuestId`=12984,`ExclusiveGroup`=-12988 WHERE `Id`=12991; +UPDATE `quest_template` SET `PrevQuestId`=12988,`NextQuestId`=12998 WHERE `Id` =12993; +UPDATE `quest_template` SET `PrevQuestId`=12993,`NextQuestIdChain`=13007 WHERE `Id` =12998; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_01_world_npc_trainer.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_01_world_npc_trainer.sql new file mode 100644 index 00000000000..b975f29d8c8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_01_world_npc_trainer.sql @@ -0,0 +1,4 @@ +-- Add Enchant Boots - Lesser Accuracy to appropriate trainers +DELETE FROM `npc_trainer` WHERE `spell`=63746; +INSERT INTO `npc_trainer` (`entry`,`spell`,`spellcost`,`reqskill`,`reqskillvalue`,`reqlevel`) VALUES +(201009,63746,5000,333,225,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_02_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_02_world_creature.sql new file mode 100644 index 00000000000..e2658210522 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_02_world_creature.sql @@ -0,0 +1,39 @@ +SET @GUID := 110224; +SET @DIRT := 28362; + +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID+0 AND @GUID+33; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@GUID+0 ,@DIRT,571,1,1,0,5652.974,4494.586,-136.6679,2.600541,300,0,0), +(@GUID+1 ,@DIRT,571,1,1,0,5682.897,4479.211,-135.6831,4.817109,300,0,0), +(@GUID+2 ,@DIRT,571,1,1,0,5616.783,4507.514,-136.2347,2.792527,300,0,0), +(@GUID+3 ,@DIRT,571,1,1,0,5566.848,4608.069,-140.0046,0.08726646,300,0,0), +(@GUID+4 ,@DIRT,571,1,1,0,5726.52,4535.192,-138.999,1.256637,300,0,0), +(@GUID+5 ,@DIRT,571,1,1,0,5693.346,4629.685,-138.3224,4.921828,300,0,0), +(@GUID+6 ,@DIRT,571,1,1,0,5733.776,4598.793,-134.9071,0.8028514,300,0,0), +(@GUID+7 ,@DIRT,571,1,1,0,5752.648,4496.542,-132.4478,4.886922,300,0,0), +(@GUID+8 ,@DIRT,571,1,1,0,5705.064,4435.867,-141.0292,5.986479,300,0,0), +(@GUID+9 ,@DIRT,571,1,1,0,5736.984,4459.437,-134.9569,1.291544,300,0,0), +(@GUID+10,@DIRT,571,1,1,0,5579.51,4442.721,-139.8728,5.5676,300,0,0), +(@GUID+11,@DIRT,571,1,1,0,5726.514,4370.49,-138.5187,3.106686,300,0,0), +(@GUID+12,@DIRT,571,1,1,0,5801.268,4529.366,-134.282,3.228859,300,0,0), +(@GUID+13,@DIRT,571,1,1,0,5806.822,4481.874,-131.8635,4.607669,300,0,0), +(@GUID+14,@DIRT,571,1,1,0,5868.016,4498.958,-133.2091,3.525565,300,0,0), +(@GUID+15,@DIRT,571,1,1,0,5865.933,4563.596,-133.3011,3.525565,300,0,0), +(@GUID+16,@DIRT,571,1,1,0,5847.393,4599.288,-136.0588,5.532694,300,0,0), +(@GUID+17,@DIRT,571,1,1,0,5768.064,4605.938,-137.6851,3.874631,300,0,0), +(@GUID+18,@DIRT,571,1,1,0,5743.717,4645.34,-135.1314,3.071779,300,0,0), +(@GUID+19,@DIRT,571,1,1,0,5789.393,4640.829,-135.5909,5.532694,300,0,0), +(@GUID+20,@DIRT,571,1,1,0,5906.656,4612.754,-132.0416,2.600541,300,0,0), +(@GUID+21,@DIRT,571,1,1,0,5842.542,4682.008,-134.9288,4.677482,300,0,0), +(@GUID+22,@DIRT,571,1,1,0,5822.073,4726.694,-132.8639,6.195919,300,0,0), +(@GUID+23,@DIRT,571,1,1,0,5917.018,4735.479,-137.8103,1.43117,300,0,0), +(@GUID+24,@DIRT,571,1,1,0,5863.843,4759.619,-131.9068,5.166174,300,0,0), +(@GUID+25,@DIRT,571,1,1,0,5656.485,4679.363,-132.4746,0.8552113,300,0,0), +(@GUID+26,@DIRT,571,1,1,0,5699.089,4671.949,-135.4732,5.986479,300,0,0), +(@GUID+27,@DIRT,571,1,1,0,5731.342,4688.484,-134.2571,3.438299,300,0,0), +(@GUID+28,@DIRT,571,1,1,0,5760.655,4690.131,-134.4649,5.585053,300,0,0), +(@GUID+29,@DIRT,571,1,1,0,5677.118,4725.341,-135.5663,3.577925,300,0,0), +(@GUID+30,@DIRT,571,1,1,0,5704.706,4763.644,-137.0218,5.009095,300,0,0), +(@GUID+31,@DIRT,571,1,1,0,5751.76,4767.774,-134.9354,3.979351,300,0,0), +(@GUID+32,@DIRT,571,1,1,0,5786.583,4751.955,-133.6232,0.7679449,300,0,0), +(@GUID+33,@DIRT,571,1,1,0,5807.025,4767.91,-134.8856,3.560472,300,0,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_03_world_misc.sql new file mode 100644 index 00000000000..6cc441d9e5a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_06_03_world_misc.sql @@ -0,0 +1,25 @@ +DELETE FROM `gameobject_loot_template` WHERE `entry`=24320 AND `item` IN (38340,38341,38397); +DELETE FROM `gameobject_loot_template` WHERE `entry`=24326 AND `item`=38397; +DELETE FROM `gameobject_loot_template` WHERE `entry`=24330 AND `item`=38335; +DELETE FROM `gameobject_loot_template` WHERE `entry`=25028 AND `item`=38337; + +UPDATE `gameobject_loot_template` SET `ChanceOrQuestChance`=100 WHERE `entry` BETWEEN 24319 AND 24340; +UPDATE `gameobject_loot_template` SET `ChanceOrQuestChance`=100 WHERE `entry` IN (25026,25027,25028); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (51060,51068,51088,51094); +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(51060,51226,1,'On spellhit Have Withered Batwing - Spellcast Withered Batwing Kill Credit'), +(51068,51227,1,'On spellhit Have Muddy Mire Maggot - Spellcast Muddy Mire Maggot Kill Credit'), +(51088,51228,1,'On spellhit Have Amberseed - Spellcast Amberseed Kill Credit'), +(51094,51229,1,'On spellhit Have Chilled Serpent Mucus - Spellcast Chilled Serpent Mucus Kill Credit'); + +DELETE FROM `spell_dbc` WHERE `Id`=50574; +INSERT INTO `spell_dbc` (`Id`,`Attributes`,`CastingTimeIndex`,`ProcChance`,`RangeIndex`,`EquippedItemClass`,`Effect1`,`EffectMiscValue1`,`EffectImplicitTargetA1`,`SchoolMask`,`Comment`) VALUES +(50574,256,1,101,11,-1,90,28042,25,1,'Captain Brandon Kill Credit'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9668 AND `SourceEntry` IN (13098,13119); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9668 AND `SourceEntry`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,9668,13098,0,9,12587,0,0,0,'','Alchemist Finklestein - Show different gossip if player has taken quest Troll Patrol'), +(14,9668,13119,0,9,12541,0,0,0,'','Alchemist Finklestein - Show different gossip if player has taken quest Troll Patrol: The Alchemist''s Apprentice'), +(15,9668,0,0,9,12541,0,0,0,'','Alchemist Finklestein - Show gossip option only if player has taken quest Troll Patrol: The Alchemist''s Apprentice'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_07_00_world_areatrigger_teleport.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_07_00_world_areatrigger_teleport.sql new file mode 100644 index 00000000000..b9669aaf9c0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_07_00_world_areatrigger_teleport.sql @@ -0,0 +1,27 @@ +DELETE FROM `areatrigger_teleport` WHERE `id` IN (4917, 4919, 4921, 4922, 4923, 4924, 4925, 4927, 4928, 4929, 4930, 4931, 4932, 4933, 4934, 4935, 4936, 4941, 4944, 5326, 5328, 5329, 5330, 5331, 5447); +INSERT INTO `areatrigger_teleport` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`, `name`) VALUES +(4917, 559, 4054.57, 2923.23, 13.8179, 0, 'Arena - Nagrand - Teleport Target - Game On'), +(4919, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(4921, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(4922, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(4923, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(4924, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(4925, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(4927, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4928, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4929, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4930, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4931, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4932, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4933, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4934, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4935, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4936, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4941, 572, 1286.57, 1667.4, 39.602, 0, 'Arena - Undercity - Teleport Target - Game On'), +(4944, 562, 6238.89, 264.155, 0.894302, 0, 'Arena - Bladesedge - Teleport Target - Game On'), +(5326, 617, 1291.57, 792.965, 8.11463, 0, 'Arena - Dalaran Arena - Teleport Target'), +(5328, 617, 1291.57, 792.965, 8.11463, 0, 'Arena - Dalaran Arena - Teleport Target'), +(5329, 617, 1291.57, 792.965, 8.11463, 0, 'Arena - Dalaran Arena - Teleport Target'), +(5330, 617, 1291.57, 792.965, 8.11463, 0, 'Arena - Dalaran Arena - Teleport Target'), +(5331, 617, 1291.57, 792.965, 8.11463, 0, 'Arena - Dalaran Arena - Teleport Target'), +(5447, 618, 763.365, -284.29, 28.2767, 0, 'Arena - Orgrimmar - Teleport Target 3'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_08_00_world_areatrigger_teleport.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_08_00_world_areatrigger_teleport.sql new file mode 100644 index 00000000000..10e1668136c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_08_00_world_areatrigger_teleport.sql @@ -0,0 +1,14 @@ +DELETE FROM `areatrigger_teleport` WHERE `id` IN (5127, 5128, 5129, 5130, 5131, 5132, 5133, 5134, 5135, 5136, 5137, 5138); +INSERT INTO `areatrigger_teleport` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`, `name`) VALUES +(5127, 0, 2462.76, -5598.19, 550.22, 3.66519, 'Ebon Hold (E.K.) Top Return Target'), +(5128, 0, 2472.67, -5530.1, 420.642, 4.50295, 'Ebon Hold (E.K.) Top West Target'), +(5129, 0, 2462.76, -5598.19, 550.22, 3.66519, 'Ebon Hold (E.K.) Top Return Target'), +(5130, 0, 2397.37, -5581.06, 420.643, 6.07375, 'Ebon Hold (E.K.) Top South Target'), +(5131, 0, 2462.76, -5598.19, 550.22, 3.66519, 'Ebon Hold (E.K.) Top Return Target'), +(5132, 0, 2522.45, -5605.7, 420.642, 2.94961, 'Ebon Hold (E.K.) Top North Target'), +(5133, 0, 2462.76, -5598.19, 550.22, 3.66519, 'Ebon Hold (E.K.) Top Return Target'), +(5134, 0, 2448.02, -5655.82, 420.643, 1.3439, 'Ebon Hold (E.K.) Top East Target'), +(5135, 0, 2435.77, -5610.34, 366.82, 0.610865, 'Ebon Hold (E.K.) Middle -> Bottom Target'), +(5136, 0, 2435.77, -5610.34, 366.82, 0.610865, 'Ebon Hold (E.K.) Middle -> Bottom Target'), +(5137, 0, 2472.9, -5530.64, 420.643, 4.45059, 'Ebon Hold (E.K.) Bottom -> Middle Target'), +(5138, 0, 2415.16, -5733.04, 153.922, 3.64774, 'Ebon Hold (E.K.) Bottom -> Ground Target'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_00_world_misc.sql new file mode 100644 index 00000000000..53e2ffcb716 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_00_world_misc.sql @@ -0,0 +1,168 @@ +SET @NPC_URSOC := 26633; +SET @NPC_RAGEPAW := 27328; +SET @NPC_SPIRIT := 27373; +SET @NPC_BLOOD := 28854; + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9496 AND `id`=0; +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9497 AND `id` IN (0,1,2); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(9496,0,0, 'We have the purified ashes of Vordrassil''s sapling. If we can subdue Ursoc, we might be able to heal his soul.',1,1,9497,0,0,0, ''), +(9497,0,0, 'Assume your druidic bear form, Tur.',1,1,0,0,0,0, ''), +(9497,1,0, 'Help us subdue him.',1,1,0,0,0,0, ''), +(9497,2,0, 'We could use a healer.',1,1,0,0,0,0, ''); + +DELETE FROM `gossip_menu` WHERE `entry`=9496 AND `text_id`=12785; +DELETE FROM `gossip_menu` WHERE `entry`=9497 AND `text_id`=12787; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(9496,12785), +(9497,12787); + +UPDATE `creature_template` SET `faction_A`=16, `faction_H`=16, `dmg_multiplier`=4.6, `unit_flags`=32832 WHERE `entry`=@NPC_URSOC; +UPDATE `creature_template` SET `gossip_menu_id`=9496, `speed_walk`=0.666667, `speed_run`=0.992063 WHERE `entry`=@NPC_RAGEPAW; +UPDATE `creature_template` SET `speed_run`=0.357143 WHERE `entry`=@NPC_BLOOD; + +UPDATE `creature_model_info` SET `bounding_radius`=3.666, `combat_reach`=9 WHERE `modelid`=23964; + +DELETE FROM `creature_template_addon` WHERE `entry`=28854; +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES +(28854,1,'52561'); + +UPDATE `creature` SET `spawntimesecs`=0 WHERE `guid` IN (104065,104066,114077); + +DELETE FROM `creature_addon` WHERE `guid` IN (104065,104066,104068,104069,104070,104071); +INSERT INTO `creature_addon` (`guid`,`auras`) VALUES +(104065,'16245'), +(104066,'16245'), +(104068,'16245'), +(104069,'16245'), +(104070,'16245'), +(104071,'16245'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (48398,48399); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9496 AND `SourceEntry`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry` IN (52551,52554); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@NPC_RAGEPAW; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,48398,0,0,31,0,3,24921,0,0,'','Spell Tur''s Chains targets Cosmetic Trigger - LAB'), +(13,1,48398,0,0,29,0,@NPC_RAGEPAW,2,0,0,'','Spell Tur''s Chains target needs to be within 2y of Tur Ragepaw'), +(13,1,48399,0,0,31,0,3,24921,0,0,'','Spell Tur''s Chains targets Cosmetic Trigger - LAB'), +(13,1,48399,0,0,29,0,@NPC_RAGEPAW,2,0,0,'','Spell Tur''s Chains target needs to be within 2y of Tur Ragepaw'), +(15,9496,0,0,0,9,0,12236,0,0,0,'','Tur Ragepaw - Show gossip option only if player has taken quest Ursoc, the Bear God'), +(15,9496,0,0,1,9,0,12249,0,0,0,'','Tur Ragepaw - Show gossip option only if player has taken quest Ursoc, the Bear God'), +(17,0,52551,0,0,38,1,80,4,0,0,'','Spell Lifebloom will be casted only if target has less than 80% health'), +(17,0,52554,0,0,38,1,65,4,0,0,'','Spell Nourish will be casted only if target has less than 65% health'), +(22,14,@NPC_RAGEPAW,0,0,1,1,48368,1,0,0,'','SAI of Tur Ragepaw triggers only if under the effect of aura Bearform'), +(22,16,@NPC_RAGEPAW,0,0,1,1,48369,1,0,0,'','SAI of Tur Ragepaw triggers only if under the effect of aura Moonkin Form'), +(22,17,@NPC_RAGEPAW,0,0,1,1,48371,1,0,0,'','SAI of Tur Ragepaw triggers only if under the effect of aura Tree of Life'); + +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_RAGEPAW,@NPC_SPIRIT); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_RAGEPAW,0,0, 'Stay behind me, $r. I will do my best to protect you.',12,0,100,0,0,0, 'Tur Ragepaw'), +(@NPC_RAGEPAW,1,0, 'My freedom means nothing if we fail to save Ursoc. Make haste, $N.',12,0,100,0,0,0, 'Tur Ragepaw'), +(@NPC_RAGEPAW,2,0, 'I will watch over you and your allies, $r.',12,0,100,0,0,0, 'Tur Ragepaw'), +(@NPC_RAGEPAW,3,0, 'Ursoc, brother of Ursol and guardian of the furbolg tribes... show yourself!',12,0,100,0,0,0, 'Tur Ragepaw'), +(@NPC_SPIRIT,0,0, 'I thank you all. The druids of old were wise to tear down Vordrassil, for its roots seep deep into the dwelling of an ancient evil.',12,0,100,0,0,0, 'Spirit of Ursoc'), +(@NPC_SPIRIT,1,0, 'You know their kind as old gods. Beware Yogg-Saron, the beast with a thousand maws. His evil extends beyond Vordrassil''s roots.',12,0,100,0,0,0, 'Spirit of Ursoc'); + +DELETE FROM `waypoints` WHERE `entry`=@NPC_RAGEPAW; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(@NPC_RAGEPAW, 1, 4688.4, -3854.87, 327.0471, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 2, 4705.639, -3845.388, 327.5565, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 3, 4726.497, -3846.529, 330.2256, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 4, 4743.628, -3848.904, 332.7676, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 5, 4756.063, -3847.442, 333.9136, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 6, 4782.305, -3843.417, 333.9443, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 7, 4813.348, -3838.03, 336.6674, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 8, 4835.112, -3837.782, 338.4213, 'Tur Ragepaw'), +(@NPC_RAGEPAW, 9, 4865.375, -3842.427, 338.2963, 'Tur Ragepaw'); + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (@NPC_URSOC,@NPC_BLOOD); +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_URSOC,@NPC_RAGEPAW,@NPC_SPIRIT,@NPC_BLOOD); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-104065,-104066,-104068,-104069,-104070,-104071,@NPC_URSOC,@NPC_RAGEPAW,@NPC_SPIRIT,@NPC_BLOOD) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_RAGEPAW*100+0,@NPC_RAGEPAW*100+1,@NPC_RAGEPAW*100+2,@NPC_RAGEPAW*100+3,@NPC_SPIRIT*100) AND `source_type`=9; +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 +(-104068,0,0,0,38,0,100,0,0,1,0,0,11,48399,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104068,0,1,0,38,0,100,0,0,2,0,0,11,48334,0,0,0,0,0,19,@NPC_RAGEPAW,20,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104069,0,0,0,38,0,100,0,0,1,0,0,11,48398,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104069,0,1,0,38,0,100,0,0,2,0,0,11,48334,0,0,0,0,0,19,@NPC_RAGEPAW,20,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104070,0,0,0,38,0,100,0,0,1,0,0,11,48399,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104070,0,1,0,38,0,100,0,0,2,0,0,11,48334,0,0,0,0,0,19,@NPC_RAGEPAW,20,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104071,0,0,0,38,0,100,0,0,1,0,0,11,48398,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104071,0,1,0,38,0,100,0,0,2,0,0,11,48334,0,0,0,0,0,19,@NPC_RAGEPAW,20,0,0,0,0,0,'Cosmetic Trigger - LAB - On data 0 1 set - Spellcast Tur''s Chains'), +(-104065,0,0,0,8,0,100,0,48399,0,0,0,69,1,0,0,0,0,0,8,0,0,0,4672.254,-3872.959,327.6967,0,'Cosmetic Trigger - LAB - On spellhit Tur''s Chains - Move to position'), +(-104065,0,1,0,34,0,100,0,0,1,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cosmetic Trigger - LAB - On movement inform - Despawn'), +(-104066,0,0,0,8,0,100,0,48398,0,0,0,69,1,0,0,0,0,0,8,0,0,0,4677.567,-3874.965,323.9017,0,'Cosmetic Trigger - LAB - On spellhit Tur''s Chains - Move to position'), +(-104066,0,1,0,34,0,100,0,0,1,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cosmetic Trigger - LAB - On movement inform - Despawn'), + +(@NPC_URSOC,0,0,0,54,0,100,0,0,0,0,0,5,53,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ursoc - Just summoned - Play emote'), +(@NPC_URSOC,0,1,0,0,0,100,0,7000,8000,20000,20000,11,52560,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ursoc - On update IC - Spellcast Summon Blood of the Old God'), +(@NPC_URSOC,0,2,0,0,0,100,0,10000,13000,21000,25000,11,52583,0,0,0,0,0,18,50,0,0,0,0,0,0,'Ursoc - On update IC - Spellcast Old God''s Influence'), +(@NPC_URSOC,0,3,0,9,0,100,0,0,5,9000,12000,11,52581,0,0,0,0,0,2,0,0,0,0,0,0,0,'Ursoc - On target within 5y - Spellcast Crunch Armor'), +(@NPC_URSOC,0,4,0,8,0,100,0,48549,0,0,0,12,@NPC_SPIRIT,3,25000,0,0,0,1,0,0,0,0,0,0,0,'Ursoc - On spellhit Ashes of Vordrassil - Summon Spirit of Ursoc'), +(@NPC_URSOC,0,5,0,6,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,114077,@NPC_RAGEPAW,0,0,0,0,0,'Ursoc - On death - Set data 0 1 Tur Ragepaw'), + +(@NPC_RAGEPAW,0,0,1,11,0,100,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On spawn - Set faction default'), +(@NPC_RAGEPAW,0,1,2,61,0,100,0,0,0,0,0,45,0,2,0,0,0,0,9,24921,2,20,0,0,0,0,'Tur Ragepaw - On spawn - Set data 0 2 Cosmetic Trigger - LAB'), +(@NPC_RAGEPAW,0,2,3,61,0,100,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On spawn - Set unit_field_bytes1 (kneel)'), +(@NPC_RAGEPAW,0,3,4,61,0,100,0,0,0,0,0,82,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On spawn - Set npcflag gossip'), +(@NPC_RAGEPAW,0,4,0,61,0,100,0,0,0,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On spawn - Set reaction defensive'), +(@NPC_RAGEPAW,0,5,8,62,0,100,0,9497,0,0,0,80,@NPC_RAGEPAW*100+0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On gossip select - Run script 0'), +(@NPC_RAGEPAW,0,6,8,62,0,100,0,9497,1,0,0,80,@NPC_RAGEPAW*100+1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On gossip select - Run script 1'), +(@NPC_RAGEPAW,0,7,8,62,0,100,0,9497,2,0,0,80,@NPC_RAGEPAW*100+2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On gossip select - Run script 2'), +(@NPC_RAGEPAW,0,8,9,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Tur Ragepaw - On gossip select - Close gossip'), +(@NPC_RAGEPAW,0,9,10,61,0,100,0,0,0,0,0,83,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On gossip select - Remove npcflag gossip'), +(@NPC_RAGEPAW,0,10,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,9,24921,2,20,0,0,0,0,'Tur Ragepaw - On gossip select - Set data 0 1 Cosmetic Trigger - LAB'), +(@NPC_RAGEPAW,0,11,0,38,0,100,0,0,1,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On data 0 1 set - Despawn'), +(@NPC_RAGEPAW,0,12,0,40,0,100,0,9,@NPC_RAGEPAW,0,0,80,@NPC_RAGEPAW*100+3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On WP 9 Reached - Run script 3'), +(@NPC_RAGEPAW,0,13,14,25,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On reset - Set event phase 1'), +(@NPC_RAGEPAW,0,14,0,61,0,100,0,0,0,0,0,28,52507,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On reset - Remove aura Ragepaw''s Presence'), +(@NPC_RAGEPAW,0,15,0,25,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On reset - Set event phase 2'), +(@NPC_RAGEPAW,0,16,0,25,0,100,0,0,0,0,0,22,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On reset - Set event phase 3'), +(@NPC_RAGEPAW,0,17,0,4,1,100,0,0,0,0,0,11,52507,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On aggro (phase 1) - Spellcast Ragepaw''s Presence'), +(@NPC_RAGEPAW,0,18,0,9,1,100,0,0,5,2500,4000,11,52504,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tur Ragepaw - On target within 5y (phase 1) - Spellcast Lacerate'), +(@NPC_RAGEPAW,0,19,0,9,1,100,0,0,5,6000,8000,11,52506,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tur Ragepaw - On target within 5y (phase 1) - Spellcast Maul'), +(@NPC_RAGEPAW,0,20,0,14,1,100,0,2000,30,20000,20000,11,6795,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tur Ragepaw - On friendly attacked (phase 1) - Spellcast Growl'), +(@NPC_RAGEPAW,0,21,0,4,2,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On aggro (phase 2) - Stop combat movement'), +(@NPC_RAGEPAW,0,22,0,9,2,100,0,0,40,2500,4000,11,52501,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tur Ragepaw - On target within 40y (phase 2) - Spellcast Wrath'), +(@NPC_RAGEPAW,0,23,0,9,2,100,0,0,40,13000,14000,11,52502,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tur Ragepaw - On target within 40y (phase 2) - Spellcast Moonfire'), +(@NPC_RAGEPAW,0,24,0,0,4,100,0,0,0,1500,1500,11,52554,0,0,0,0,0,18,40,0,0,0,0,0,0,'Tur Ragepaw - On update IC (phase 4) - Spellcast Nourish'), +(@NPC_RAGEPAW,0,25,0,0,4,100,0,50,50,1700,1700,11,52551,0,0,0,0,0,18,40,0,0,0,0,0,0,'Tur Ragepaw - On update IC (phase 4) - Spellcast Lifebloom'), +(@NPC_RAGEPAW,0,26,0,4,4,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw - On aggro (phase 4) - Set reaction aggressive'), + +(@NPC_SPIRIT,0,0,0,54,0,100,0,0,0,0,0,80,@NPC_SPIRIT*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Spirit of Ursoc - Just summoned - Run script'), + +(@NPC_BLOOD,0,0,0,9,0,100,1,0,1.5,0,0,11,52564,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blood of the Old God - On target within 1.5y - Spellcast Corruption of the Old God'), + +(@NPC_RAGEPAW*100+0,9,0,0,0,0,100,0,0,0,0,0,11,48368,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Spellcast Bearform'), +(@NPC_RAGEPAW*100+0,9,1,0,0,0,100,0,300,300,0,0,2,250,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Set faction'), +(@NPC_RAGEPAW*100+0,9,2,0,0,0,100,0,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Remove unit_field_bytes1 (kneel)'), +(@NPC_RAGEPAW*100+0,9,3,0,0,0,100,0,2500,2500,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Say line'), +(@NPC_RAGEPAW*100+0,9,4,0,0,0,100,0,4700,4700,0,0,53,1,@NPC_RAGEPAW,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Start WP movement'), +(@NPC_RAGEPAW*100+0,9,6,0,0,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Set reaction aggressive'), +(@NPC_RAGEPAW*100+0,9,5,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 0 - Set event phase 1'), + +(@NPC_RAGEPAW*100+1,9,0,0,0,0,100,0,0,0,0,0,11,48369,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Spellcast Moonkin Form'), +(@NPC_RAGEPAW*100+1,9,1,0,0,0,100,0,300,300,0,0,2,250,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Set faction'), +(@NPC_RAGEPAW*100+1,9,2,0,0,0,100,0,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Remove unit_field_bytes1 (kneel)'), +(@NPC_RAGEPAW*100+1,9,3,0,0,0,100,0,0,0,0,0,11,24905,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Spellcast Moonkin Form (Passive)'), +(@NPC_RAGEPAW*100+1,9,4,0,0,0,100,0,0,0,0,0,11,24907,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Spellcast Moonkin Aura'), +(@NPC_RAGEPAW*100+1,9,5,0,0,0,100,0,400,400,0,0,11,52503,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Spellcast Empowered Moonkin Aura'), +(@NPC_RAGEPAW*100+1,9,6,0,0,0,100,0,2500,2500,0,0,1,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Say line'), +(@NPC_RAGEPAW*100+1,9,7,0,0,0,100,0,4700,4700,0,0,53,1,@NPC_RAGEPAW,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Start WP movement'), +(@NPC_RAGEPAW*100+1,9,8,0,0,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Set reaction aggressive'), +(@NPC_RAGEPAW*100+1,9,9,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 1 - Set event phase 2'), + +(@NPC_RAGEPAW*100+2,9,0,0,0,0,100,0,0,0,0,0,11,48371,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Spellcast Tree of Life'), +(@NPC_RAGEPAW*100+2,9,1,0,0,0,100,0,100,100,0,0,11,52553,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Spellcast Empowered Tree of Life'), +(@NPC_RAGEPAW*100+2,9,2,0,0,0,100,0,0,0,0,0,2,113,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Set faction'), +(@NPC_RAGEPAW*100+2,9,3,0,0,0,100,0,0,0,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Remove unit_field_bytes1 (kneel)'), +(@NPC_RAGEPAW*100+2,9,4,0,0,0,100,0,2600,2600,0,0,1,2,0,0,0,0,0,7,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Say line'), +(@NPC_RAGEPAW*100+2,9,5,0,0,0,100,0,4700,4700,0,0,53,1,@NPC_RAGEPAW,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Start WP movement'), +(@NPC_RAGEPAW*100+2,9,6,0,0,0,100,0,0,0,0,0,22,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 2 - Set event phase 3'), + +(@NPC_RAGEPAW*100+3,9,0,0,0,0,100,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 3 - Set homeposition'), +(@NPC_RAGEPAW*100+3,9,1,0,0,0,100,0,6000,6000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tur Ragepaw script 3 - Say line'), +(@NPC_RAGEPAW*100+3,9,2,0,0,0,100,0,300,300,0,0,12,@NPC_URSOC,6,60000,0,0,0,8,0,0,0,4893.267,-3842.415,337.6485,3.124139,'Tur Ragepaw script 3 - Summon Ursoc'), + +(@NPC_SPIRIT*100,9,0,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Spirit of Ursoc script 0 - Say line'), +(@NPC_SPIRIT*100,9,1,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Spirit of Ursoc script 0 - Say line'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_01_world_misc.sql new file mode 100644 index 00000000000..699f65f1c5a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_01_world_misc.sql @@ -0,0 +1,64 @@ +SET @NPC_LARRY := 19720; +SET @NPC_MALONE := 19725; +SET @NPC_JACK := 19726; + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=8033; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`) VALUES +(8033, 0, 0, 'Ezekiel said that you might have a certain book...', 1, 1, 0, 0, 0, 0, ''); + +UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry` IN (@NPC_LARRY,@NPC_MALONE,@NPC_JACK); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_LARRY,@NPC_MALONE,@NPC_JACK) 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 +(@NPC_LARRY,0,0,1,25,0,100,0,0,0,0,0,2,1194,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Dirty" Larry - On reset - Set faction'), +(@NPC_LARRY,0,1,2,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Dirty" Larry - On reset - Set unit_flags IMMUNE_TO_PC'), +(@NPC_LARRY,0,2,3,61,0,100,0,0,0,0,0,81,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Dirty" Larry - On reset - Set npcflag gossip, questgiver'), +(@NPC_LARRY,0,3,4,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,10,70376,@NPC_MALONE,0,0,0,0,0,'Dirty" Larry - On reset - Set data 1 2 "Epic" Malone'), +(@NPC_LARRY,0,4,0,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,10,70377,@NPC_JACK,0,0,0,0,0,'Dirty" Larry - On reset - Set data 1 2 "Creepjack"'), +(@NPC_LARRY,0,5,6,62,0,100,0,8033,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Dirty" Larry - On gossip select - Store targetlist'), +(@NPC_LARRY,0,6,7,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Dirty" Larry - On gossip select - Close Gossip'), +(@NPC_LARRY,0,7,8,61,0,100,0,0,0,0,0,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On gossip select - Say line'), +(@NPC_LARRY,0,8,9,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On gossip select - Set npcflag none'), +(@NPC_LARRY,0,9,10,61,0,100,0,0,0,0,0,70,0,0,0,0,0,0,10,70376,@NPC_MALONE,0,0,0,0,0,'Dirty" Larry - On gossip select - Respawn "Epic" Malone '), +(@NPC_LARRY,0,10,0,61,0,100,0,0,0,0,0,70,0,0,0,0,0,0,10,70377,@NPC_JACK,0,0,0,0,0,'Dirty" Larry - On gossip select - Respawn "Creepjack" '), +(@NPC_LARRY,0,11,0,52,0,100,0,0,@NPC_LARRY,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On text over - Say line'), +(@NPC_LARRY,0,12,0,52,0,100,0,1,@NPC_LARRY,0,0,1,2,2000,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On text over - Say line'), +(@NPC_LARRY,0,13,0,52,0,100,0,2,@NPC_LARRY,0,0,1,3,2000,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On text over - Say line'), +(@NPC_LARRY,0,14,0,52,0,100,0,3,@NPC_LARRY,0,0,1,4,2000,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On text over - Say line'), +(@NPC_LARRY,0,15,16,52,0,100,0,4,@NPC_LARRY,0,0,2,14,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On text over - Set faction'), +(@NPC_LARRY,0,16,17,61,0,100,0,0,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On text over - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_LARRY,0,17,18,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'Dirty" Larry - On text over - Attack'), +(@NPC_LARRY,0,18,19,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,70376,@NPC_MALONE,0,0,0,0,0,'Dirty" Larry - On text over - Send targetlist to "Epic" Malone'), +(@NPC_LARRY,0,19,20,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,70376,@NPC_MALONE,0,0,0,0,0,'Dirty" Larry - On text over - Set data 1 1 "Epic" Malone'), +(@NPC_LARRY,0,20,21,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,70377,@NPC_JACK,0,0,0,0,0,'Dirty" Larry - On text over - Send targetlist to "Creepjack"'), +(@NPC_LARRY,0,21,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,70377,@NPC_JACK,0,0,0,0,0,'Dirty" Larry - On text over - Set data 1 1 "Creepjack"'), +(@NPC_LARRY,0,22,23,2,0,100,0,0,20,0,0,15,10231,0,0,0,0,0,16,0,0,0,0,0,0,0,'Dirty" Larry - On health below 20% - Quest credit'), +(@NPC_LARRY,0,23,24,61,0,100,0,0,0,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On health below 20% - Say line'), +(@NPC_LARRY,0,24,3,61,0,100,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On health below 20% - Evade'), +(@NPC_LARRY,0,25,0,11,0,100,0,0,0,0,0,42,0,15,0,0,0,0,1,0,0,0,0,0,0,0,'Dirty" Larry - On spawn - Set invincibility HP level'), + +(@NPC_MALONE,0,0,1,25,0,100,0,0,0,0,0,2,1194,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Epic" Malone - On reset - Set faction'), +(@NPC_MALONE,0,1,0,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Epic" Malone - On reset - Set unit_flags IMMUNE_TO_PC'), +(@NPC_MALONE,0,2,3,38,0,100,0,1,1,0,0,2,14,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Epic" Malone - On data 1 1 set - Set faction'), +(@NPC_MALONE,0,3,4,61,0,100,0,0,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Epic" Malone - On data 1 1 set - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_MALONE,0,4,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'"Epic" Malone - On data 1 1 set - Attack'), +(@NPC_MALONE,0,5,0,38,0,100,0,1,2,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Epic" Malone - On data 1 2 set - Evade'), + +(@NPC_JACK,0,0,1,25,0,100,0,0,0,0,0,2,1194,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Creepjack" - On reset - Set faction'), +(@NPC_JACK,0,1,0,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Creepjack" - On reset - Set unit_flags IMMUNE_TO_PC'), +(@NPC_JACK,0,2,3,38,0,100,0,1,1,0,0,2,14,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Creepjack" - On data 1 1 set - Set faction'), +(@NPC_JACK,0,3,4,61,0,100,0,0,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Creepjack" - On data 1 1 set - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_JACK,0,4,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'"Creepjack" - On data 1 1 set - Attack'), +(@NPC_JACK,0,5,0,38,0,100,0,1,2,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'"Creepjack" - On data 1 2 set - Evade'); + +DELETE FROM `creature_text` WHERE `entry`=@NPC_LARRY; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@NPC_LARRY, 0, 0, 'Time to teach you a lesson in manners, little boy! ', 12, 0, 100, 0, 0, 0, '"Dirty" Larry'), +(@NPC_LARRY, 1, 0, 'I''m now going to give you to the count of "3" to get out of here before I sick the dogs on you.', 12, 0, 100, 0, 0, 0, '"Dirty" Larry'), +(@NPC_LARRY, 2, 0, '1...', 12, 0, 100, 0, 0, 0, '"Dirty" Larry'), +(@NPC_LARRY, 3, 0, '2...', 12, 0, 100, 0, 0, 0, '"Dirty" Larry'), +(@NPC_LARRY, 4, 0, 'Time to meet your maker!', 12, 0, 100, 0, 0, 0, '"Dirty" Larry'), +(@NPC_LARRY, 5, 0, 'Alright, we give up! Don''t hurt us!', 12, 0, 100, 0, 0, 0, '"Dirty" Larry'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8033; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,8033,0,0,9,10231,0,0,0,'','"Dirty" Larry only show gossip if player is on and has not completed What Book? I Dont See Any Book'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_02_world_misc.sql new file mode 100644 index 00000000000..be9652a13bb --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_02_world_misc.sql @@ -0,0 +1,69 @@ +SET @NPC_HEBJIN := 28636; +SET @NPC_BAT := 28639; +SET @GO_DRUM := 190695; + +DELETE FROM `creature` WHERE `guid` IN (117079,117301); + +UPDATE `creature_template` SET `speed_run`=0.857143, `unit_flags`=33024, `AIName`='SmartAI' WHERE `entry`=@NPC_HEBJIN; +UPDATE `creature_template` SET `speed_run`=2, `unit_flags`=256, `AIName`='SmartAI', `InhabitType`=4 WHERE `entry`=@NPC_BAT; + +DELETE FROM `event_scripts` WHERE `id`=18773; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(18773,0,10,@NPC_HEBJIN,180000,0,5988.715,-3878.036,417.1502,2.356194); + +DELETE FROM `creature_text` WHERE `entry`=@NPC_HEBJIN; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_HEBJIN,0,0,'Who''s that beatin'' on my drum?',14,0,100,5,0,12009,'Heb''Jin'), +(@NPC_HEBJIN,1,0,'I''m gonna come down there and kill you good, $r!',14,0,100,15,0,0,'Heb''Jin'), +(@NPC_HEBJIN,2,0,'Now you gonna die!',14,0,100,0,0,0,'Heb''Jin'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=52151; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,52151,0,31,3,@NPC_BAT,0,0,'','Spell Bat Net targets Heb''Jin''s Bat'); + +DELETE FROM `waypoints` WHERE `entry`=@NPC_BAT; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@NPC_BAT,1,5982.633,-3879.573,422.4082,'Heb''Jin''s Bat'), +(@NPC_BAT,2,5968.549,-3869.597,420.1865,'Heb''Jin''s Bat'), +(@NPC_BAT,3,5954.345,-3851.714,395.2976,'Heb''Jin''s Bat'), +(@NPC_BAT,4,5934.977,-3822.782,369.5197,'Heb''Jin''s Bat'); + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=@GO_DRUM; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_HEBJIN,@NPC_BAT) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GO_DRUM AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_HEBJIN*100,@NPC_BAT*100) AND `source_type`=9; +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 +(@NPC_HEBJIN,0,0,0,54,0,100,0,0,0,0,0,80,@NPC_HEBJIN*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin - Just summoned - Run script'), +(@NPC_HEBJIN,0,1,2,38,0,100,0,0,1,0,0,11,52354,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Heb''Jin - On data 0 1 set - Spellcast Script Effect - Creature Attack GUID from Dot Variable'), +(@NPC_HEBJIN,0,2,3,61,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,5937.22,-3820.871,366.5563,0, 'Heb''Jin - On data 0 1 set - Move to position'), +(@NPC_HEBJIN,0,3,4,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin - On data 0 1 set - Say line'), +(@NPC_HEBJIN,0,4,5,61,0,100,0,0,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin - On data 0 1 set - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_HEBJIN,0,5,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Heb''Jin - On data 0 1 set - Start attack'), +(@NPC_HEBJIN,0,6,0,0,0,100,0,1000,1000,7000,8000,11,12734,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin - On update IC - Spellcast Ground Smash'), +(@NPC_HEBJIN,0,7,0,0,0,100,0,5000,5000,10000,12000,11,15548,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin - On update IC - Spellcast Thunder Clap'), +(@NPC_HEBJIN,0,8,0,13,0,100,0,12000,15000,0,0,11,12555,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Heb''Jin - On target casting - Spellcast Pummel'), + +(@NPC_BAT,0,0,1,11,0,100,0,0,0,0,0,91,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On spawn - Remove unit_field_bytes1 (dead)'), +(@NPC_BAT,0,1,2,61,0,100,0,0,0,0,0,11,52353,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Heb''Jin''s Bat - On spawn - Spellcast Script Effect - Creature Capture GUID to Dot Variable'), +(@NPC_BAT,0,2,0,61,0,100,0,0,0,0,0,4,10892,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On spawn - Play sound'), +(@NPC_BAT,0,3,0,27,0,100,1,0,0,0,0,53,1,@NPC_BAT,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On passenger boarded - Start WP movement'), +(@NPC_BAT,0,4,5,40,0,100,0,4,@NPC_BAT,0,0,28,43671,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On WP 4 reached - Remove aura Ride Vehicle'), +(@NPC_BAT,0,5,6,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@NPC_HEBJIN,10,0,0,0,0,0, 'Heb''Jin''s Bat - On WP 4 reached - Set data 0 1 Heb''Jin'), +(@NPC_BAT,0,6,0,61,0,100,0,0,0,0,0,80,@NPC_BAT*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On WP 4 reached - Run script'), +(@NPC_BAT,0,7,8,8,0,100,0,52151,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On spellhit Bat Net - Set unit_flags IMMUNE_TO_PC'), +(@NPC_BAT,0,8,9,61,0,100,0,0,0,0,0,90,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On spellhit Bat Net - Set unit_field_bytes1 (dead)'), +(@NPC_BAT,0,9,0,61,0,100,0,0,0,0,0,41,5000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat - On spellhit Bat Net - Despawn after 5 seconds'), + +(@GO_DRUM,1,0,1,70,0,100,0,2,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Heb''Jin''s Drum - On state changed - Store targetlist'), +(@GO_DRUM,1,1,0,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@NPC_HEBJIN,100,0,0,0,0,0, 'Heb''Jin''s Drum - On state changed - Send targetlist to Heb''Jin'), + +(@NPC_HEBJIN*100,9,0,0,0,0,100,0,0,0,0,0,11,52353,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Heb''Jin script - Spellcast Script Effect - Creature Capture GUID to Dot Variable'), +(@NPC_HEBJIN*100,9,1,0,0,0,100,0,3200,3200,0,0,11,52154,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin script - Spellcast Taunt'), +(@NPC_HEBJIN*100,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin script - Say line'), +(@NPC_HEBJIN*100,9,3,0,0,0,100,0,300,300,0,0,12,@NPC_BAT,8,0,0,0,0,8,0,0,0,5984.547,-3882.621,417.4379,1.919862, 'Heb''Jin script - Summon Heb''Jin''s Bat'), +(@NPC_HEBJIN*100,9,4,0,0,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@NPC_BAT,10,0,0,0,0,0, 'Heb''Jin script - Send targetlist'), +(@NPC_HEBJIN*100,9,5,0,0,0,100,0,5700,5700,0,0,1,1,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Heb''Jin script - Say line'), +(@NPC_HEBJIN*100,9,6,0,0,0,100,0,2400,2400,0,0,11,43671,0,0,0,0,0,19,@NPC_BAT,10,0,0,0,0,0, 'Heb''Jin script - Spellcast Ride Vehicle'), + +(@NPC_BAT*100,9,0,0,0,0,100,0,2000,2000,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Heb''Jin''s Bat script 1 - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_BAT*100,9,1,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Heb''Jin''s Bat script 1 - Start attack'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_03_world_misc.sql new file mode 100644 index 00000000000..5f1e89d631d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_11_03_world_misc.sql @@ -0,0 +1,8 @@ +DELETE FROM `spell_target_position` WHERE `id`=52464; +INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES +(52464, 609, 2384.13, -5900.07, 107.998, 0); + +UPDATE `gameobject_template` SET `ScriptName`='' WHERE `entry`=190767; + +DELETE FROM `creature` WHERE `guid`=129164; +DELETE FROM `creature_addon` WHERE `guid`=129164; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_12_00_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_12_00_world_smart_scripts.sql new file mode 100644 index 00000000000..6e7dddee60c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_12_00_world_smart_scripts.sql @@ -0,0 +1,4 @@ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=37120; +DELETE FROM `smart_scripts` WHERE `entryorguid`=37120; +INSERT INTO `smart_scripts` (`entryorguid`,`event_type`,`event_param1`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(37120,20,24549,57,49888,1,7,'Highlord Darion Mograine - On quest rewarded - Remove item from player'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_00_world_misc.sql new file mode 100644 index 00000000000..b2c6d11d9d9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_00_world_misc.sql @@ -0,0 +1,4 @@ +-- Malcrom +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2305 AND `source_type`=0 AND `id`=2; +-- Kirkhammett +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=15656 AND `source_type`=0 AND `id`=0 AND `link`=1; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_01_world_misc.sql new file mode 100644 index 00000000000..8b8afe05026 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_01_world_misc.sql @@ -0,0 +1,22 @@ +-- Runtime errors +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=1124 AND `source_type`=0 AND `id`=14 AND `link`=15; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=1124 AND `source_type`=0 AND `id`=15 AND `link`=16; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=5710 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=5997 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=7843 AND `source_type`=0 AND `id`=9 AND `link`=10; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=8564 AND `source_type`=0 AND `id`=12 AND `link`=13; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=10824 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=12236 AND `source_type`=0 AND `id`=3 AND `link`=4; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=12236 AND `source_type`=0 AND `id`=4 AND `link`=5; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=12236 AND `source_type`=0 AND `id`=9 AND `link`=10; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=12322 AND `source_type`=0 AND `id`=8 AND `link`=9; +-- Timed action scripts aren't supposed to have links set on them +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=2 AND `link`=3; +UPDATE `smart_scripts` SET `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=3 AND `link`=0; +-- Aforementioned issue about links on timed scripts +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=305400 AND `source_type`=9 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `event_type`=0 WHERE `entryorguid`=305400 AND `source_type`=9 AND `id`=2 AND `link`=0; +-- Missing AI's +UPDATE `creature_template` SET `ScriptName`='SmartAI' WHERE `entry` IN +(10876,14389,13326,13328,12050,12053,10981,10986,10990,11678,11839,12051,12127,13179,13284,13438,13442,13443,13447,13577,13798,14282,14283,10987,10982,11603,11605,13089,13097,13089); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_02_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_02_world_smart_scripts.sql new file mode 100644 index 00000000000..78ef1e82a00 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_02_world_smart_scripts.sql @@ -0,0 +1,7 @@ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=19354; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=19354; +DELETE FROM `smart_scripts` WHERE `entryorguid`=19354 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`event_type`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(19354,0,0,0,8000,12000,8000,14000,11,16856,0,2,'Arzeth the Merciless - Cast Mortal Strike'), +(19354,1,9,0,0,30,12000,14000,11,15245,1,2,'Arzeth the Merciless - Cast Shadow Bolt Volley'), +(19354,2,8,1,35460,0,0,0,36,20680,1,1,'Arzeth the Merciless - Change Template to Arzeth the Powerless after using Staff of the Dreghood Elders'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_03_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_03_world_smart_scripts.sql new file mode 100644 index 00000000000..15302e15008 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_13_03_world_smart_scripts.sql @@ -0,0 +1,5 @@ +UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (589,476,95) AND `id`=0 AND `source_type`=0; + +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=3448 AND `source_type`=0 AND `id`=3; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=61 AND `source_type`=1 AND `id`=3; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=22231 AND `source_type`=0 AND `id`=0; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_14_00_world_game_event.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_14_00_world_game_event.sql new file mode 100644 index 00000000000..82929053e8c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_14_00_world_game_event.sql @@ -0,0 +1,2 @@ +ALTER TABLE `game_event` +ADD COLUMN `announce` tinyint(3) unsigned NULL DEFAULT 2 COMMENT '0 dont announce, 1 announce, 2 value from config' AFTER `world_event`; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_14_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_14_00_world_misc.sql new file mode 100644 index 00000000000..1f239cf0d1f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_14_00_world_misc.sql @@ -0,0 +1,146 @@ +SET @CGUID := 110258; + +SET @NPC_BUNNY := 23837; +SET @NPC_WARRIOR := 28388; +SET @NPC_KUTUBESA := 28494; +SET @NPC_GAWANIL := 28495; +SET @NPC_CHULO := 28496; +SET @NPC_MEDICINEMAN := 28504; + +UPDATE `creature` SET `spawntimesecs`=600 WHERE `id`=@NPC_KUTUBESA; +DELETE FROM `creature` WHERE `guid` IN (117763,117764,117766); +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+00 AND @CGUID+25; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+00, @NPC_MEDICINEMAN, 571, 1, 1, 5591.043, -3475.191, 351.5252, 0.1047198, 300, 0, 0), +(@CGUID+01, @NPC_MEDICINEMAN, 571, 1, 1, 5566.45, -3498.799, 351.0538, 4.590216, 300, 0, 0), +(@CGUID+02, @NPC_MEDICINEMAN, 571, 1, 1, 5547.046, -3498.974, 350.4519, 2.339428, 300, 0, 2), +(@CGUID+03, @NPC_MEDICINEMAN, 571, 1, 1, 5526.021, -3355.056, 364.3894, 4.677482, 300, 0, 0), +(@CGUID+04, @NPC_MEDICINEMAN, 571, 1, 1, 5517.316, -3449.934, 351.4341, 3.054326, 300, 0, 0), +(@CGUID+05, @NPC_BUNNY, 571, 1, 1, 5493.355, -3456.877, 350.4105, 2.024582, 300, 0, 0), +(@CGUID+06, @NPC_MEDICINEMAN, 571, 1, 1, 5521.364, -3386.496, 350.327, 5.654867, 300, 0, 2), +(@CGUID+07, @NPC_MEDICINEMAN, 571, 1, 1, 5492.875, -3459.563, 350.4502, 1.58825, 300, 0, 0), +(@CGUID+08, @NPC_MEDICINEMAN, 571, 1, 1, 5529.104, -3382.233, 350.4102, 2.356194, 300, 0, 0), +(@CGUID+09, @NPC_MEDICINEMAN, 571, 1, 1, 5541.636, -3425.828, 350.7735, 1.58825, 300, 0, 0), +(@CGUID+10, @NPC_WARRIOR, 571, 1, 1, 5674.67, -3491.495, 364.4726, 0.5366452, 300, 0, 0), +(@CGUID+11, @NPC_WARRIOR, 571, 1, 1, 5648.147, -3448.292, 362.8895, 5.986479, 300, 0, 0), +(@CGUID+12, @NPC_WARRIOR, 571, 1, 1, 5666.273, -3428.566, 365.5977, 6.085189, 300, 0, 0), +(@CGUID+13, @NPC_WARRIOR, 571, 1, 1, 5503.863, -3369.427, 363.1629, 4.918784, 300, 0, 0), +(@CGUID+14, @NPC_WARRIOR, 571, 1, 1, 5533.224, -3322.825, 366.5383, 0.8552113, 300, 0, 0), +(@CGUID+15, @NPC_WARRIOR, 571, 1, 1, 5528.603, -3501.259, 350.6893, 0.7853982, 300, 0, 0), +(@CGUID+16, @NPC_WARRIOR, 571, 1, 1, 5646.593, -3513.597, 362.6178, 0.2094395, 300, 0, 0), +(@CGUID+17, @NPC_WARRIOR, 571, 1, 1, 5525.68, -3477.987, 350.4114, 5.487214, 300, 0, 0), +(@CGUID+18, @NPC_BUNNY, 571, 1, 1, 5527.289, -3380.66, 350.4102, 1.867502, 120, 0, 0), +(@CGUID+19, @NPC_GAWANIL, 571, 1, 1, 5601.297, -3501.478, 350.4102, 2.059489, 600, 0, 0), +(@CGUID+20, @NPC_CHULO, 571, 1, 1, 5508.03, -3418.04, 350.9052, 5.689773, 600, 0, 0), +(@CGUID+21, @NPC_BUNNY, 571, 1, 1, 5627.774, -3505.409, 355.8583, 5.044002, 120, 0, 0), +(@CGUID+22, @NPC_BUNNY, 571, 1, 1, 5637.709, -3478.724, 354.5638, 4.502949, 120, 0, 0), +(@CGUID+23, @NPC_BUNNY, 571, 1, 1, 5553.081, -3459.962, 350.4102, 6.213372, 120, 0, 0), +(@CGUID+24, @NPC_BUNNY, 571, 1, 1, 5618.041, -3450.443, 353.8071, 4.939282, 120, 0, 0), +(@CGUID+25, @NPC_BUNNY, 571, 1, 1, 5647.352, -3502.605, 362.8272, 4.39823, 120, 0, 0); + +DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+02,@CGUID+06,@CGUID+19,@CGUID+20); +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`emote`) VALUES +(@CGUID+02,(@CGUID+02)*10,1,0), +(@CGUID+06,(@CGUID+06)*10,1,0), +(@CGUID+19,0,1,375), +(@CGUID+20,0,1,375); + +DELETE FROM `waypoint_data` WHERE `id` IN ((@CGUID+02)*10,(@CGUID+06)*10); +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +((@CGUID+02)*10,1,5495.677,-3457.071,350.3303,0,10000,0,(@CGUID+02)*100+1,100,0), +((@CGUID+02)*10,2,5579.755,-3533.386,350.4519,0,10000,0,(@CGUID+02)*100+2,100,0), +((@CGUID+06)*10,1,5525.278,-3382.127,350.3272,0,10000,0,(@CGUID+06)*100+1,100,0), +((@CGUID+06)*10,2,5521.364,-3386.496,350.327,0,0,0,0,100,0), +((@CGUID+06)*10,3,5611.445,-3474.975,350.4102,0,10000,0,(@CGUID+06)*100+2,100,0), +((@CGUID+06)*10,4,5521.364,-3386.496,350.327,0,0,0,0,100,0); + +DELETE FROM `waypoint_scripts` WHERE `id` IN ((@CGUID+02)*100+1,(@CGUID+02)*100+2,(@CGUID+06)*100+1,(@CGUID+06)*100+2); +INSERT INTO `waypoint_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`,`guid`) VALUES +((@CGUID+02)*100+1,0,30,0,0,0,0,0,0,3.001966,858), +((@CGUID+02)*100+1,1,15,51733,1,0,0,0,0,0,859), +((@CGUID+02)*100+2,1,15,51733,1,0,0,0,0,0,860), +((@CGUID+06)*100+1,1,15,51733,1,0,0,0,0,0,861), +((@CGUID+06)*100+2,1,15,51733,1,0,0,0,0,0,862); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=51511; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (@NPC_KUTUBESA,@NPC_GAWANIL,@NPC_CHULO); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,3,51511,0,31,0,3,@NPC_BUNNY,0,0,'','Spell Toss Ice Boulder targets ELM General Purpose Bunny'), +(13,3,51511,1,31,0,3,@NPC_WARRIOR,0,0,'','Spell Toss Ice Boulder targets Jin''Alai Warrior'), +(13,3,51511,2,31,0,3,@NPC_MEDICINEMAN,0,0,'','Spell Toss Ice Boulder targets Jin''Alai Medicine Man'), +(22,1,@NPC_KUTUBESA,0,38,1,100,0,0,0,'','SAI Kutub''sa triggers only when at full health'), +(22,1,@NPC_GAWANIL,0,38,1,100,0,0,0,'','SAI Gawanil triggers only when at full health'), +(22,1,@NPC_CHULO,0,38,1,100,0,0,0,'','SAI Chulo the Mad triggers only when at full health'); + +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_WARRIOR; +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`emote`) VALUES +(@NPC_WARRIOR,1,375); + +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_KUTUBESA,@NPC_GAWANIL,@NPC_CHULO); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_KUTUBESA,0,0,'Death to the Zandalari and their puppets! Nothing can stop us now!',14,0,100,15,0,0,'Kutube''sa'), +(@NPC_GAWANIL,0,0,'Kill them! Kill them all and take back Zim''Torga!',14,0,100,15,0,0,'Gawanil'), +(@NPC_CHULO,0,0,'Hah! You''ll not get my treasure!',14,0,100,15,0,0,'Chulo the Mad'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (28387,@NPC_WARRIOR,@NPC_KUTUBESA,@NPC_GAWANIL,@NPC_CHULO,@NPC_MEDICINEMAN); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (190618,190619,190620,190630); +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (28387,@NPC_WARRIOR,@NPC_KUTUBESA,@NPC_GAWANIL,@NPC_CHULO,@NPC_MEDICINEMAN); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-98550,-98551,-(@CGUID+05),-(@CGUID+18),28387,@NPC_WARRIOR,@NPC_KUTUBESA,@NPC_GAWANIL,@NPC_CHULO,@NPC_MEDICINEMAN) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (190618,190619,190620,190630) AND `source_type`=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 +(-98550,0,0,0,38,0,100,0,0,1,0,0,11,51848,0,0,0,0,0,1,0,0,0,0,0,0,0,'ELM General Purpose Bunny - On event triggered - Spellcast Cauldron Disturbed'), +(-98551,0,0,0,38,0,100,0,0,1,0,0,11,51848,0,0,0,0,0,1,0,0,0,0,0,0,0,'ELM General Purpose Bunny - On event triggered - Spellcast Cauldron Disturbed'), +(-(@CGUID+05),0,0,0,38,0,100,0,0,1,0,0,11,51848,0,0,0,0,0,1,0,0,0,0,0,0,0,'ELM General Purpose Bunny - On event triggered - Spellcast Cauldron Disturbed'), +(-(@CGUID+18),0,0,0,38,0,100,0,0,1,0,0,11,51848,0,0,0,0,0,1,0,0,0,0,0,0,0,'ELM General Purpose Bunny - On event triggered - Spellcast Cauldron Disturbed'), + +(28387,0,0,0,0,0,100,0,5000,7000,10000,14000,11,54673,0,0,0,0,0,2,0,0,0,0,0,0,0,'Zim''Torga Defender - On update IC - Spellcast Ice Boulder'), +(28387,0,1,0,1,0,100,0,20000,30000,30000,30000,11,51511,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zim''Torga Defender - On update OOC - Spellcast Toss Ice Boulder'), + +(@NPC_WARRIOR,0,0,0,4,0,100,0,0,0,0,0,11,38556,0,0,0,0,0,2,0,0,0,0,0,0,0,'Jin''Alai Warrior - On aggro - Spellcast Throw'), +(@NPC_WARRIOR,0,1,0,0,0,100,0,5000,6000,10000,12000,11,54630,0,0,0,0,0,2,0,0,0,0,0,0,0,'Jin''Alai Warrior - On update IC - Spellcast Poison Tipped Spear'), +(@NPC_WARRIOR,0,2,0,6,0,10,0,0,0,0,0,45,0,1,0,0,0,0,10,@CGUID+20,@NPC_CHULO,0,0,0,0,0,'Jin''Alai Warrior - On death (10% chance) - Set data 0 1 Chulo the Mad'), +(@NPC_WARRIOR,0,3,0,6,0,10,0,0,0,0,0,45,0,1,0,0,0,0,10,103225,@NPC_KUTUBESA,0,0,0,0,0,'Jin''Alai Warrior - On death (10% chance) - Set data 0 1 Kutube''sa'), +(@NPC_WARRIOR,0,4,0,6,0,10,0,0,0,0,0,45,0,1,0,0,0,0,10,@CGUID+19,@NPC_GAWANIL,0,0,0,0,0,'Jin''Alai Warrior - On death (10% chance) - Set data 0 1 Gawanil'), + +(@NPC_KUTUBESA,0,0,1,38,0,100,0,0,1,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On data 0 1 set - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_KUTUBESA,0,1,2,61,0,100,0,0,0,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On data 0 1 set - Set visible'), +(@NPC_KUTUBESA,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On data 0 1 set - Say line'), +(@NPC_KUTUBESA,0,3,0,4,0,100,0,0,0,0,0,11,57793,0,0,0,0,0,2,0,0,0,0,0,0,0,'Kutube''sa - On aggro - Spellcast Heroic Leap'), +(@NPC_KUTUBESA,0,4,0,0,0,100,0,3000,5000,17500,20000,11,35144,0,0,0,0,0,2,0,0,0,0,0,0,0,'Kutube''sa - On update IC - Spellcast Vicious Rend'), +(@NPC_KUTUBESA,0,5,0,0,0,100,0,6000,8000,20000,25000,11,49807,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On update IC - Spellcast Whirlwind'), +(@NPC_KUTUBESA,0,6,0,6,0,100,0,0,0,0,0,11,51815,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On death - The Leaders at Jin''Alai: Summon the Treasure of Kutube''sa'), +(@NPC_KUTUBESA,0,7,8,11,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On spawn - Set invisible'), +(@NPC_KUTUBESA,0,8,0,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Kutube''sa - On spawn - Set unit_flags IMMUNE_TO_PC'), + +(@NPC_GAWANIL,0,0,1,38,0,100,0,0,1,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gawanil - On data 0 1 set - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_GAWANIL,0,1,2,61,0,100,0,0,0,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gawanil - On data 0 1 set - Set visible'), +(@NPC_GAWANIL,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gawanil - On data 0 1 set - Say line'), +(@NPC_GAWANIL,0,3,0,9,0,100,0,0,40,3400,4800,11,20791,0,0,0,0,0,2,0,0,0,0,0,0,0,'Gawanil - On target within 40y - Spellcast Shadow Bolt'), +(@NPC_GAWANIL,0,4,0,9,0,100,0,0,30,16500,18000,11,14868,0,0,0,0,0,2,0,0,0,0,0,0,0,'Gawanil - On target within 30y - Spellcast Curse of Agony'), +(@NPC_GAWANIL,0,5,0,9,0,100,0,0,30,16500,18000,11,39212,0,0,0,0,0,2,0,0,0,0,0,0,0,'Gawanil - On target within 30y - Spellcast Corruption'), +(@NPC_GAWANIL,0,6,0,2,0,100,0,0,70,20000,25000,11,35195,0,0,0,0,0,2,0,0,0,0,0,0,0,'Gawanil - On health below 70% - Spellcast Siphon Life'), +(@NPC_GAWANIL,0,7,0,6,0,100,0,0,0,0,0,11,51814,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gawanil - On death - Spellcast The Leaders at Jin''Alai: Summon the Treasure of Gawanil'), +(@NPC_GAWANIL,0,8,9,11,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gawanil - On spawn - Set invisible'), +(@NPC_GAWANIL,0,9,0,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gawanil - On spawn - Set unit_flags IMMUNE_TO_PC'), + +(@NPC_CHULO,0,0,1,38,0,100,0,0,1,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On data 0 1 set - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_CHULO,0,1,2,61,0,100,0,0,0,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On data 0 1 set - Set visible'), +(@NPC_CHULO,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On data 0 1 set - Say line'), +(@NPC_CHULO,0,3,0,0,0,100,0,3000,5000,17500,20000,11,17687,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On update IC - Spellcast Flurry'), +(@NPC_CHULO,0,4,0,0,0,100,0,6000,8000,20000,25000,11,50188,0,0,0,0,0,2,0,0,0,0,0,0,0,'Chulo the Mad - On update IC - Spellcast Wildly Flailing'), +(@NPC_CHULO,0,5,0,6,0,100,0,0,0,0,0,11,51813,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On death - The Leaders at Jin''Alai: Summon the Treasure of Chulo the Mad'), +(@NPC_CHULO,0,6,7,11,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On spawn - Set invisible'), +(@NPC_CHULO,0,7,0,61,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Chulo the Mad - On spawn - Set unit_flags IMMUNE_TO_PC'), + +(@NPC_MEDICINEMAN,0,0,0,11,0,100,0,0,0,0,0,11,51733,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jin''Alai Medicine Man - On spawn - Spellcast Shadow Channelling'), +(@NPC_MEDICINEMAN,0,1,0,21,0,100,0,0,0,0,0,11,51733,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jin''Alai Medicine Man - On homeposition - Spellcast Shadow Channelling'), +(@NPC_MEDICINEMAN,0,2,0,0,0,100,0,5000,6000,15000,20000,11,54626,0,0,0,0,0,2,0,0,0,0,0,0,0,'Jin''Alai Medicine Man - On update IC - Spellcast Vial of Poison'), +(@NPC_MEDICINEMAN,0,3,0,2,0,100,1,0,50,0,0,11,54633,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jin''Alai Medicine Man - On health below 50% - Spellcast Drink Healing Potion'), +(@NPC_MEDICINEMAN,0,4,0,6,0,10,0,0,0,0,0,45,0,1,0,0,0,0,10,@CGUID+20,@NPC_CHULO,0,0,0,0,0,'Jin''Alai Medicine Man - On death (10% chance) - Set data 0 1 Chulo the Mad'), +(@NPC_MEDICINEMAN,0,5,0,6,0,10,0,0,0,0,0,45,0,1,0,0,0,0,10,103225,@NPC_KUTUBESA,0,0,0,0,0,'Jin''Alai Medicine Man - On death (10% chance) - Set data 0 1 Kutube''sa'), +(@NPC_MEDICINEMAN,0,6,0,6,0,10,0,0,0,0,0,45,0,1,0,0,0,0,10,@CGUID+19,@NPC_GAWANIL,0,0,0,0,0,'Jin''Alai Medicine Man - On death (10% chance) - Set data 0 1 Gawanil'), + +(190618,1,0,0,70,0,100,0,2,0,0,0,45,0,1,0,0,0,0,19,@NPC_BUNNY,5,0,0,0,0,0,'Blue Cauldron - On state changed - Set data 0 1 ELM General Purpose Bunny'), +(190619,1,0,0,70,0,100,0,2,0,0,0,45,0,1,0,0,0,0,19,@NPC_BUNNY,5,0,0,0,0,0,'Purple Cauldron - On state changed - Set data 0 1 ELM General Purpose Bunny'), +(190620,1,0,0,70,0,100,0,2,0,0,0,45,0,1,0,0,0,0,19,@NPC_BUNNY,5,0,0,0,0,0,'Red Cauldron - On state changed - Set data 0 1 ELM General Purpose Bunny'), +(190630,1,0,0,70,0,100,0,2,0,0,0,45,0,1,0,0,0,0,19,@NPC_BUNNY,5,0,0,0,0,0,'Green Cauldron - On state changed - Set data 0 1 ELM General Purpose Bunny'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_00_world_sai.sql new file mode 100644 index 00000000000..c45fd63a256 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_00_world_sai.sql @@ -0,0 +1,54 @@ +SET @NPC_BUNNY1 := 23921; +SET @NPC_BUNNY2 := 23922; +SET @NPC_BUNNY3 := 23923; +SET @NPC_BUNNY4 := 23924; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=42564; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,42564,0,31,3,@NPC_BUNNY1,0,0,'','Spell Ever-burning Torch targets Halgrind Torch Bunny 01'), +(13,1,42564,1,31,3,@NPC_BUNNY2,0,0,'','Spell Ever-burning Torch targets Halgrind Torch Bunny 02'), +(13,1,42564,2,31,3,@NPC_BUNNY3,0,0,'','Spell Ever-burning Torch targets Halgrind Torch Bunny 03'), +(13,1,42564,3,31,3,@NPC_BUNNY4,0,0,'','Spell Ever-burning Torch targets Halgrind Torch Bunny 04'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_BUNNY1,@NPC_BUNNY2,@NPC_BUNNY3,@NPC_BUNNY4); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_BUNNY1,@NPC_BUNNY2,@NPC_BUNNY3,@NPC_BUNNY4) 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 +(@NPC_BUNNY1,0,0,1,8,0,100,0,42564,0,0,0,11,42632,0,0,0,0,0,7,0,0,0,0,0,0,0,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Spellcast Mission: Eternal Flame: Bunny 01 Kill Credit'), +(@NPC_BUNNY1,0,1,2,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,868.8023,-4339.792,182.2122,1.937312,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY1,0,2,3,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,870.0853,-4333.663,175.9133,2.059488,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY1,0,3,4,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,863.741,-4335.814,175.8825,2.809975,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY1,0,4,5,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,865.0932,-4329.501,184.862,-1.239183,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY1,0,5,6,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,868.7471,-4339.819,182.2086,-2.216565,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY1,0,6,7,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,870.0593,-4333.669,175.9119,-3.019413,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY1,0,7,8,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,863.8395,-4335.782,175.8698,2.251473,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY1,0,8,0,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,865.0274,-4329.538,184.8592,-2.513274,'Halgrind Torch Bunny 01 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), + +(@NPC_BUNNY2,0,0,1,8,0,100,0,42564,0,0,0,11,42633,0,0,0,0,0,7,0,0,0,0,0,0,0,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Spellcast Mission: Eternal Flame: Bunny 02 Kill Credit'), +(@NPC_BUNNY2,0,1,2,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,990.3699,-4312.481,169.8106,-0.1396245,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY2,0,2,3,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,986.9997,-4317.327,175.7941,-0.9948372,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY2,0,3,4,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,984.7455,-4311.373,170.311,0.9250239,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY2,0,4,5,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,989.3688,-4306.89,178.847,-0.6806787,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY2,0,5,6,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,986.9559,-4317.405,175.7507,-0.7853968,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY2,0,6,7,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,990.3775,-4312.451,169.8137,-1.605702,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY2,0,7,8,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,984.8902,-4311.392,170.2798,-1.169369,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY2,0,8,0,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,989.3943,-4306.688,178.8235,1.448622,'Halgrind Torch Bunny 02 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), + +(@NPC_BUNNY3,0,0,1,8,0,100,0,42564,0,0,0,11,42634,0,0,0,0,0,7,0,0,0,0,0,0,0,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Spellcast Mission: Eternal Flame: Bunny 03 Kill Credit'), +(@NPC_BUNNY3,0,1,2,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,1082.445,-4486.045,197.2445,2.268925,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY3,0,2,3,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,1084.6,-4491.493,190.9798,1.239183,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY3,0,3,4,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,1088.523,-4486.683,191.1761,2.652894,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY3,0,4,5,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,1091.084,-4492.35,199.8263,1.53589,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY3,0,5,6,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,1082.465,-4486.012,197.2427,-2.530723,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY3,0,6,7,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,1084.627,-4491.507,190.978,2.583081,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY3,0,7,8,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,1088.549,-4486.602,191.1885,-0.4886912,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY3,0,8,0,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,1090.992,-4492.313,199.8432,-1.937316,'Halgrind Torch Bunny 03 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), + +(@NPC_BUNNY4,0,0,1,8,0,100,0,42564,0,0,0,11,42635,0,0,0,0,0,7,0,0,0,0,0,0,0,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Spellcast Mission: Eternal Flame: Bunny 04 Kill Credit'), +(@NPC_BUNNY4,0,1,2,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,800.0019,-4499.426,192.1779,0.5934101,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY4,0,2,3,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,793.686,-4502.086,187.2915,1.53589,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY4,0,3,4,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,798.1101,-4505.706,186.7136,-0.4886912,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY4,0,4,5,61,0,100,0,0,0,0,0,50,186457,20,0,0,0,0,8,0,0,0,794.305,-4506.923,196.7457,0.7330382,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Blacksmith Smoke (x2.0)'), +(@NPC_BUNNY4,0,5,6,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,800.0145,-4499.367,192.1402,-1.047198,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY4,0,6,7,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,793.655,-4502.067,187.294,2.268925,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY4,0,7,8,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,798.0519,-4505.68,186.7271,0.2094394,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'), +(@NPC_BUNNY4,0,8,0,61,0,100,0,0,0,0,0,50,186459,20,0,0,0,0,8,0,0,0,794.0874,-4507.057,196.7687,-0.2268925,'Halgrind Torch Bunny 04 - On spellhit Ever-burning Torch - Summon Stratholme Fire Medium'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_01_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_01_world_smart_scripts.sql new file mode 100644 index 00000000000..02af2caf3b3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_01_world_smart_scripts.sql @@ -0,0 +1 @@ +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=2369 AND `source_type`=0 AND `id`=7 AND `link`=8; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_02_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_02_world_creature_text.sql new file mode 100644 index 00000000000..034c632d12a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_16_02_world_creature_text.sql @@ -0,0 +1,44 @@ +UPDATE `creature_text` SET `entry`=29227 WHERE `entry`=29173 AND `groupid`=76; +UPDATE `creature_text` SET `entry`=36794 WHERE `entry`=36658 AND `groupid` IN (1,2); + +DELETE FROM `creature_text` WHERE `entry` IN (18879,17491); +INSERT INTO `creature_text`(`entry`,`groupid`,`id`,`text`,`type`,`comment`) VALUES +(18879,0,0,'The %s is very weak',16,'Phase Hunter - Emote'), +(17491,0,0,'Gakarah ma!',12,'Laughing Skull Rogue'), +(17491,0,1,'We are the true Horde!',12,'Laughing Skull Rogue'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=26670; +INSERT INTO `smart_scripts` VALUES +(26670,0,0,1,1,0,100,6,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - Out Of Combat - Allow Combat Movement'), +(26670,0,1,0,61,0,100,0,0,0,0,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - Out Of Combat - Start Auto Attack'), +(26670,0,2,3,4,0,100,3,0,0,0,0,11,48854,0,0,0,0,0,2,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - On Aggro - Cast Shoot'), +(26670,0,3,0,61,0,100,0,0,0,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - On Aggro - Increment Phase'), +(26670,0,4,5,9,1,100,2,5,30,5000,8000,11,48854,0,0,0,0,0,2,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - At 5 - 30 Range - Cast Shoot'), +(26670,0,5,0,61,0,100,0,0,0,0,0,40,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - At 5 - 30 Range - Display ranged weapon'), +(26670,0,6,7,4,0,100,5,0,0,0,0,11,59241,0,0,0,0,0,2,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - On Aggro - Cast Shoot'), +(26670,0,7,0,61,0,100,0,0,0,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - On Aggro - Increment Phase'), +(26670,0,8,9,9,1,100,4,5,30,5000,8000,11,59241,0,0,0,0,0,2,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - At 5 - 30 Range - Cast Shoot'), +(26670,0,9,0,61,0,100,0,0,0,0,0,40,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - At 5 - 30 Range - Display ranged weapon'), +(26670,0,10,11,9,1,100,6,25,80,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 25 - 80 Range - Allow Combat Movement'), +(26670,0,11,0,61,0,100,0,0,0,0,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 25 - 80 Range - Start Auto Attack'), +(26670,0,12,13,9,1,100,6,0,5,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 0 - 5 Range - Allow Combat Movement'), +(26670,0,13,14,61,0,100,0,0,0,0,0,40,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 0 - 5 Range - Display melee weapon'), +(26670,0,14,0,61,0,100,0,0,0,0,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 0 - 5 Range - Start Auto Attack'), +(26670,0,15,16,9,1,100,6,5,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 5 - 15 Range - Allow Combat Movement'), +(26670,0,16,0,61,0,100,0,0,0,0,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 5 - 15 Range - Start Auto Attack'),(26670,0,17,17,0,0,100,2,9000,14000,22000,26000,11,48871,0,0,0,0,0,5,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - In Combat - Cast Aimed Shot'),(26670,0,18,0,61,0,100,0,0,0,0,0,40,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - In Combat - Display ranged weapon'),(26670,0,19,20,0,0,100,4,9000,14000,22000,26000,11,59243,0,0,0,0,0,5,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - In Combat - Cast Aimed Shot'),(26670,0,20,0,61,0,100,0,0,0,0,0,40,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - In Combat - Display ranged weapon'),(26670,0,21,22,0,0,100,2,14000,17000,24000,27000,11,48872,1,0,0,0,0,6,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - In Combat - Cast Multi-Shot'),(26670,0,22,0,61,0,100,0,0,0,0,0,40,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Normal) - In Combat - Display ranged weapon'),(26670,0,23,24,0,0,100,4,14000,17000,24000,27000,11,59244,1,0,0,0,0,6,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - In Combat - Cast Multi-Shot'),(26670,0,24,0,61,0,100,0,0,0,0,0,40,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter (Heroic) - In Combat - Display ranged weapon'),(26670,0,25,0,2,0,100,7,0,15,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 15% HP - Increment Phase'),(26670,0,26,27,2,2,100,7,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 15% HP - Allow Combat Movement'),(26670,0,27,0,61,0,100,0,0,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - At 15% HP - Flee For Assist'),(26670,0,28,0,7,0,100,6,0,0,0,0,40,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ymirjar Flesh Hunter - On Evade - Display melee weapon'); + +DELETE FROM `creature_text` WHERE `entry` IN (23980,23954); +INSERT INTO `creature_text`(`entry`,`groupid`,`text`,`type`,`sound`,`comment`) VALUES +(23954,0,'I\'ll paint my face with your blood!',14,13207,'ingvar SAY_AGGRO_FIRST'), +(23954,1,'Mjul orm agn gjor!',14,13212,'ingvar SAY_KILL_FIRST'), +(23954,2,'My life for the... death god!',14,13213,'ingvar SAY_DEATH_FIRST'), +(23980,0,'I return! A second chance to carve out your skull!',14,13209,'ingvar SAY_AGGRO_SECOND'), +(23980,1,'I am a warrior born!',14,13214,'ingvar SAY_KILL_SECOND'), +(23980,2,'No! I can do... better! I can...',14,13211,'ingvar SAY_DEATH_SECOND'); + +DELETE FROM `creature_text` WHERE `entry`=11440; +INSERT INTO `creature_text`(`entry`,`id`,`text`,`type`,`probability`,`comment`) VALUES +(11440,0,'I\'ll crush you!',12,100,'Gordok Enforcer Aggro'), +(11440,1,'Me not feel so good.',12,100,'Gordok Enforcer Aggro'), +(11440,2,'Me smash! You die!',12,100,'Gordok Enforcer Aggro'), +(11440,3,'Raaar!!! Me smash $R!',12,100,'Gordok Enforcer Aggro'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_19_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_19_00_world_sai.sql new file mode 100644 index 00000000000..9ea635824ea --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_19_00_world_sai.sql @@ -0,0 +1,10 @@ +-- Event flag additions +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=0 AND `link`=1; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=1 AND `link`=0; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=2 AND `link`=3; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=3 AND `link`=0; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=4 AND `link`=5; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=5 AND `link`=0; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=6 AND `link`=7; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=7023 AND `source_type`=0 AND `id`=7 AND `link`=0; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2244 AND `source_type`=0 AND `id`=11 AND `link`=12; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_20_00_world_creature_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_20_00_world_creature_loot_template.sql new file mode 100644 index 00000000000..70bb2735f90 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_20_00_world_creature_loot_template.sql @@ -0,0 +1,4 @@ +-- Insert Frozen Orb into The Prophet Tharon'ja's loot template +DELETE FROM `creature_loot_template` WHERE `entry`=31360 and `item`=43102; +INSERT INTO `creature_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES +(31360,43102,100,1,0,1,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_20_01_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_20_01_world_conditions.sql new file mode 100644 index 00000000000..3f4ce559256 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_20_01_world_conditions.sql @@ -0,0 +1,38 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (20761,17051,17022,17018,17023,19444); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (19219,17017,17025,19330,19448,17059,17060,17049,19206); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (19220,19332,19333,19331,19449,19209,19208,19207,17053,17052); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=23 AND `SourceGroup`=12944 AND `SourceEntry` IN (19211,19210,19212,20040); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +-- Conditon rep Friendly +(23,12944,20761,0,0,5,0,59,16|32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17051,0,0,5,0,59,16|32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17022,0,0,5,0,59,16|32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17018,0,0,5,0,59,16|32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,17023,0,0,5,0,59,16|32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +(23,12944,19444,0,0,5,0,59,16|32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Friendly with Thorium Brotherhood'), +-- Conditon rep Honored +(23,12944,19219,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17017,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17025,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,19330,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,19448,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17059,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17060,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,17049,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +(23,12944,19206,0,0,5,0,59,32|64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Honored with Thorium Brotherhood'), +-- Conditon rep Revered +(23,12944,19220,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19332,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19333,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19331,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19449,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19209,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19208,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,19207,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,17053,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +(23,12944,17052,0,0,5,0,59,64|128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Revered with Thorium Brotherhood'), +-- Conditon rep Exalted +(23,12944,19211,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'), +(23,12944,19210,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'), +(23,12944,19212,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'), +(23,12944,20040,0,0,5,0,59,128,0,0,0, '', 'Lokhtos Darkbargainer - Only sell item if Exalted with Thorium Brotherhood'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_00_world_gameobject_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_00_world_gameobject_loot_template.sql new file mode 100644 index 00000000000..54b91b9fd44 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_00_world_gameobject_loot_template.sql @@ -0,0 +1,23 @@ +-- Updating maxcount for Scarab Scarab Bag +UPDATE `item_loot_template` SET `maxcount`=5 WHERE `entry`=21156 AND `item` IN (20858,20859,20860,20861,20862,20863,20864,20865); +UPDATE `reference_loot_template` SET `maxcount`=2 WHERE `entry`=14001 AND `item` IN (20866,20867,20868,20869,20870,20871,20872,20873); +-- Updating loot for Scarab Coffer +DELETE FROM `gameobject_loot_template` WHERE `entry` IN (17532,17533); +INSERT INTO `gameobject_loot_template` VALUES +-- Scarab Coffer +(17532,21156,-100,1,0,1,1), -- Always drop a Sacrab Bag +(17532,1,100,1,0,-14001,1), -- Drop a AQ20 idol from reference +-- Large Scarab Coffer +(17533,21156,-100,1,0,1,1), -- Always drop a Sacrab Bag +(17533,1,100,1,0,-14502,1); -- Drop a AQ40 idol from reference +-- Updating loot for Large Scarab Coffer +DELETE FROM `reference_loot_template` WHERE `entry`=14502; +INSERT INTO `reference_loot_template` VALUES +(14502,20877,0,1,1,1,3), -- 1 to 3 Idol of the Sage +(14502,20879,0,1,1,1,3), -- 1 to 3 Idol of Life +(14502,20878,0,1,1,1,3), -- 1 to 3 Idol of Rebirth +(14502,20881,0,1,1,1,3), -- 1 to 3 Idol of Strife +(14502,20874,0,1,1,1,3), -- 1 to 3 Idol of the Sun +(14502,20882,0,1,1,1,3), -- 1 to 3 Idol of War +(14502,20876,0,1,1,1,3), -- 1 to 3 Idol of Death +(14502,20875,0,1,1,1,3); -- 1 to 3 Idol of Night diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_00_world_skinning_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_00_world_skinning_loot_template.sql new file mode 100644 index 00000000000..b9daf120d7a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_00_world_skinning_loot_template.sql @@ -0,0 +1,7 @@ +-- Simplify skinloot for Axtroz and make sure something drops as well +UPDATE `skinning_loot_template` SET `ChanceOrQuestChance`=50 WHERE `entry`=12899 AND `item`=8170; +UPDATE `skinning_loot_template` SET `ChanceOrQuestChance`=35 WHERE `entry`=12899 AND `item`=15414; +UPDATE `skinning_loot_template` SET `ChanceOrQuestChance`=10 WHERE `entry`=12899 AND `item`=8165; +UPDATE `skinning_loot_template` SET `ChanceOrQuestChance`=0 WHERE `entry`=12899 AND `item`=4304; +-- Update dropchance for rare items on Axtroz +UPDATE `creature_loot_template` SET `ChanceOrQuestChance`=5 WHERE `entry`=12899 AND `mincountOrRef`=-24020; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_01_world_gameobject_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_01_world_gameobject_template.sql new file mode 100644 index 00000000000..6888545c123 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_01_world_gameobject_template.sql @@ -0,0 +1,3 @@ +DELETE FROM `gameobject_template` WHERE `entry`=202193; +INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `AIName`, `ScriptName`, `WDBVerified`) VALUES +(202193, 5, 9050, 'Silver Covenant Banner', '', '', '', 0, 0, 0.8, 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, '', '', 15595); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_02_world_sai.sql new file mode 100644 index 00000000000..75dc64161ef --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_21_02_world_sai.sql @@ -0,0 +1,10 @@ +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=17210 AND `source_type`=0 AND `id`=2 AND `link`=3; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=23619 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=23623 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=23624 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=23625 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=23626 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0, `event_type`=0 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=0 AND `link`=1; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=1173 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=23339 AND `source_type`=0 AND `id`=8 AND `link`=9; +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry` IN (10981,10982,10986,10987,10990,11602,11603,11605,11678,11839,12050,12051,12053,12127,13078,13080,13089,13097,13098,13179,13284,13316,13317,13326,13328,13396,13438,13442,13443,13447,13577,13797,13798,14283); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_22_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_22_00_world_misc.sql new file mode 100644 index 00000000000..99eee20ffef --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_22_00_world_misc.sql @@ -0,0 +1,7 @@ +DROP TABLE IF EXISTS ip2nation; +DROP TABLE IF EXISTS ip2nationCountries; + +DELETE FROM `command` WHERE `name` in ('account lock', 'account lock ip', 'account lock country'); +INSERT INTO `command` (`name`,`security`,`help`) VALUES +('account lock ip', 0, 'Syntax: .account lock ip [on|off]\nAllow login from account only from current used IP or remove this requirement.'), +('account lock country', 0, 'Syntax: .account lock country [on|off]\nAllow login from account only from current used Country or remove this requirement.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_27_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_27_00_world_misc.sql new file mode 100644 index 00000000000..4c7561a0e69 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_27_00_world_misc.sql @@ -0,0 +1,10 @@ +DELETE FROM `command` WHERE `name` = 'guild rename'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES +('guild rename', 3, 'Syntax: .guild rename "$GuildName" "$NewGuildName" \n\n Rename a guild named $GuildName with $NewGuildName. Guild name and new guild name must in quotes.'); + +SET @ENTRY1 := 96; +SET @ENTRY2 := 97; +DELETE FROM `trinity_string` WHERE `entry` IN (@ENTRY1, @ENTRY2); +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(@ENTRY1, 'The guild name \'%s\' is already taken'), +(@ENTRY2, 'Changed guild name \'%s\' to \'%s\''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_27_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_27_01_world_misc.sql new file mode 100644 index 00000000000..c07a3f76b5f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_27_01_world_misc.sql @@ -0,0 +1 @@ +DROP TABLE IF EXISTS `autobroadcast`; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_29_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_29_00_world_misc.sql new file mode 100644 index 00000000000..716a77be584 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_04_29_00_world_misc.sql @@ -0,0 +1,11 @@ +DELETE FROM `command` WHERE `name` = 'character rename'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES +('character rename', 2, 'Syntax: .character rename [$name] [$newName] \n\nMark selected in game or by $name in command character for rename at next login.\n\nIf $newName then the player will be forced rename.'); + +SET @ENTRY := 98; +SET @ENTRY1 := 167; +DELETE FROM `trinity_string` WHERE `entry` IN (@ENTRY, @ENTRY+1, @ENTRY1); +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(@ENTRY, '\'%s\' already exists as character name, choose another one'), +(@ENTRY+1, 'Player \'%s\' forced rename to \'%s\''), +(@ENTRY1, 'This name is reserved, choose another one'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_04_00_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_04_00_world_creature_template.sql new file mode 100644 index 00000000000..01037f835de --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_04_00_world_creature_template.sql @@ -0,0 +1,46 @@ +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` +|1 -- CHARM +|2 -- DISORIENTED +|4 -- DISARM +|8 -- DISTRACT +|16 -- FEAR +|32 -- GRIP +|64 -- ROOT +|256 -- SILENCE +|512 -- SLEEP +|1024 -- SNARE +|2048 -- STUN +|4096 -- FREEZE +|8192 -- KNOCKOUT +|65536 -- POLYMORPH +|131072 -- BANISH +|524288 -- SHACKLE +|4194304 -- TURN +|8388608 -- HORROR +|67108864 -- DAZE +|536870912 -- SAPPED +WHERE `entry` IN +(28859,31734, -- Malygos +39863,39864,39944,39945,40142,40143,40144,40145, -- Halion +39746,39805, -- General Zarithrian +39747,39823, -- Saviana Ragefire +39751,39899,39920,39922, -- Baltharus the Warborn +37025,38064,37217,38103, -- Stinky & Precious +10184,36538, -- Onyxia +33113,34003, -- Flame Leviathan +33293,33885, -- XT-002 Deconstructor +32857,33694, -- Stormcaller Brundir +32927,33692, -- Runemaster Molgeim +32867,33693, -- Steelbreaker +32930,33909, -- Kologarn +32933,32934, -- Kologarn Arms +33515,34175, -- Auriaya +32906,33360, -- Freya +32915,33391, -- Elder Brightleaf +32914,33393, -- Elder Stonebark +32913,33392, -- Elder Ironbranch +33350, -- Mimiron +32865,33147, -- Thorim +33271,33449, -- General Vezax +32871,33070, -- Algalon the Observer +33288,33955); -- Yogg-Saron diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_04_01_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_04_01_world_creature_template.sql new file mode 100644 index 00000000000..899a912fca5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_04_01_world_creature_template.sql @@ -0,0 +1,11 @@ +UPDATE `creature_text` SET `sound`=16912 WHERE `entry`=36494 AND `groupid`=0 AND `id`=0; +UPDATE `creature_text` SET `sound`=16916 WHERE `entry`=36494 AND `groupid`=1 AND `id`=0; +UPDATE `creature_text` SET `sound`=16917 WHERE `entry`=36494 AND `groupid`=2 AND `id`=0; +UPDATE `creature_text` SET `sound`=16915 WHERE `entry`=36494 AND `groupid`=3 AND `id`=0; +UPDATE `creature_text` SET `type`=14, `sound`=16913 WHERE `entry`=36494 AND `groupid`=4 AND `id`=0; +UPDATE `creature_text` SET `type`=14, `sound`=16914 WHERE `entry`=36494 AND `groupid`=4 AND `id`=1; +UPDATE `creature_text` SET `type`=42 WHERE `entry`=36494 AND `groupid`=5 AND `id`=0; + +DELETE FROM `creature_template_addon` WHERE `entry`=36494; +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(36494, 0, 0x0, 0x1, '68792'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_11_00_world_spell_target_position.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_11_00_world_spell_target_position.sql new file mode 100644 index 00000000000..0e6b14682ae --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_11_00_world_spell_target_position.sql @@ -0,0 +1 @@ +UPDATE `spell_target_position` SET `target_map`=0 WHERE `id`=53821; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_12_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_12_00_world_misc.sql new file mode 100644 index 00000000000..88e79b8a409 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_12_00_world_misc.sql @@ -0,0 +1,198 @@ +DELETE FROM `creature` WHERE `guid` IN (116020,116021,116022,116023,116024,116025,116026,116029,116030,116031,116032,116033,116035,116037,116038,116039,116040,116042,116043,116044,116045,116046,116047,116049,116050,116051,116053,116054,116055,116056,116057,116058,116059,116060,116061,116065); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (47374,47469,47634,50546,50547,50548); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry` IN (47374,47469,47634); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorType`,`ScriptName`,`Comment`) VALUES +(13,1,47374,0,31,0,3,23837,0,0,'','Spell Ley Line Focus Control Ring targets ELM General Purpose Bunny'), +(13,1,47469,0,31,0,3,23837,0,0,'','Spell Ley Line Focus Control Amulet targets ELM General Purpose Bunny'), +(13,1,47634,0,31,0,3,23837,0,0,'','Spell Ley Line Focus Control Talisman targets ELM General Purpose Bunny'), +(13,1,50546,0,31,0,3,23837,0,0,'','Spell The Focus on the Beach: Ley Line Focus Control Ring Effect targets ELM General Purpose Bunny'), +(13,1,50547,0,31,0,3,23837,0,0,'','Spell Atop the Woodlands: Ley Line Focus Control Amulet Effect targets ELM General Purpose Bunny'), +(13,1,50548,0,31,0,3,23837,0,0,'','Spell The End of the Line: Ley Line Focus Control Talisman Effect targets ELM General Purpose Bunny'), +(17,0,47374,0,29,0,23837,7,0,97,'','Spell Ley Line Focus Control Ring can be casted only within 7y from ELM General Purpose Bunny'), +(17,0,47469,0,29,0,23837,7,0,97,'','Spell Ley Line Focus Control Amulet can be casted only within 7y from ELM General Purpose Bunny'), +(17,0,47634,0,29,0,23837,7,0,97,'','Spell Ley Line Focus Control Talisman can be casted only within 7y from ELM General Purpose Bunny'); + +DELETE FROM `creature_text` WHERE `entry` IN (26762,26815); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(26762,0,0,'Keep them away from the focus!',12,0,100,0,0,0,'Captain Emmy Malin'), +(26815,0,0,'Ya shouldn''a taken the boat north, mon!',12,0,100,0,0,0,'Lieutenant Ta''zinni'); + +DELETE FROM `spell_scripts` WHERE `id` IN (47393,47615,47638); +INSERT INTO `spell_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(47393,0,14,47391,0,0,0,0,0,0), +(47615,0,14,47473,0,0,0,0,0,0), +(47638,0,14,47636,0,0,0,0,0,0); + +DELETE FROM `areatrigger_scripts` WHERE `entry`=4956; +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(4956,'SmartTrigger'); + +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=26873; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (26762,26815); +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (26762,26815); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-98534,-98535,-98537,-98564,-98599,-98617,-115920,-115921,-115922,-115923,-115924,-115925,-115926,-115927,-115945,-115946,-115947,-115948,-115958,-115959,-115973,-115974,-115975,-115976,24021,26762,26815) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4956 AND `source_type`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid` BETWEEN 24021*100+0 AND 24021*100+16 AND `source_type`=9; +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 +(-98534,0,0,0,8,0,100,0,47469,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Ley Line Focus Control Amulet - Store targetlist'), +(-98534,0,1,0,8,0,100,0,50547,0,0,0,11,47472,0,0,0,0,0,12,1,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Atop the Woodlands: Ley Line Focus Control Amulet Effect - Spellcast Atop the Woodlands: Ley Line Focus Bunny Beam'), +(-98535,0,0,0,8,0,100,0,47469,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Ley Line Focus Control Amulet - Store targetlist'), +(-98535,0,1,0,8,0,100,0,50547,0,0,0,11,47472,0,0,0,0,0,12,1,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Atop the Woodlands: Ley Line Focus Control Amulet Effect - Spellcast Atop the Woodlands: Ley Line Focus Bunny Beam'), +(-98537,0,0,0,8,0,100,0,47374,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Ley Line Focus Control Ring - Store targetlist'), +(-98537,0,1,0,8,0,100,0,50546,0,0,0,11,47390,0,0,0,0,0,12,1,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit The Focus on the Beach: Ley Line Focus Control Ring Effect - Spellcast The Focus on the Beach: Ley Line Focus Bunny Beam'), +(-98564,0,0,0,8,0,100,0,47634,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Ley Line Focus Control Talisman - Store targetlist'), +(-98564,0,1,0,8,0,100,0,50548,0,0,0,11,47635,0,0,0,0,0,12,1,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit The End of the Line: Ley Line Focus Control Talisman Effect - Spellcast The End of the Line: Ley Line Focus Bunny Beam'), +(-98599,0,0,0,8,0,100,0,47374,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Ley Line Focus Control Ring - Store targetlist'), +(-98599,0,1,0,8,0,100,0,50546,0,0,0,11,47390,0,0,0,0,0,12,1,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit The Focus on the Beach: Ley Line Focus Control Ring Effect - Spellcast The Focus on the Beach: Ley Line Focus Bunny Beam'), +(-98617,0,0,0,8,0,100,0,47634,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit Ley Line Focus Control Talisman - Store targetlist'), +(-98617,0,1,0,8,0,100,0,50548,0,0,0,11,47635,0,0,0,0,0,12,1,0,0,0,0,0,0, 'ELM General Purpose Bunny - On spellhit The End of the Line: Ley Line Focus Control Talisman Effect - Spellcast The End of the Line: Ley Line Focus Bunny Beam'), + +(-115924,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+1,24021*100+2,24021*100+3,24021*100+4,24021*100+5,24021*100+6,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115925,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+1,24021*100+2,24021*100+3,24021*100+4,24021*100+5,24021*100+6,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115926,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+1,24021*100+2,24021*100+3,24021*100+4,24021*100+5,24021*100+6,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115927,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+1,24021*100+2,24021*100+3,24021*100+4,24021*100+5,24021*100+6,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115947,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+1,24021*100+2,24021*100+3,24021*100+4,24021*100+5,24021*100+6,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115948,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+1,24021*100+2,24021*100+3,24021*100+4,24021*100+5,24021*100+6,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), + +(-115920,0,0,0,1,0,100,0,0,1000,20000,21000,87,24021*100+7,24021*100+8,24021*100+9,24021*100+10,24021*100+11,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115921,0,0,0,1,0,100,0,0,1000,20000,21000,87,24021*100+7,24021*100+8,24021*100+9,24021*100+10,24021*100+11,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115922,0,0,0,1,0,100,0,0,1000,20000,21000,87,24021*100+7,24021*100+8,24021*100+9,24021*100+10,24021*100+11,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115923,0,0,0,1,0,100,0,0,1000,20000,21000,87,24021*100+7,24021*100+8,24021*100+9,24021*100+10,24021*100+11,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115945,0,0,0,1,0,100,0,0,1000,20000,21000,87,24021*100+7,24021*100+8,24021*100+9,24021*100+10,24021*100+11,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115946,0,0,0,1,0,100,0,0,1000,20000,21000,87,24021*100+7,24021*100+8,24021*100+9,24021*100+10,24021*100+11,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), + +(-115958,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+12,24021*100+13,24021*100+14,24021*100+15,24021*100+16,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115959,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+12,24021*100+13,24021*100+14,24021*100+15,24021*100+16,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115973,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+12,24021*100+13,24021*100+14,24021*100+15,24021*100+16,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115974,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+12,24021*100+13,24021*100+14,24021*100+15,24021*100+16,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115975,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+12,24021*100+13,24021*100+14,24021*100+15,24021*100+16,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), +(-115976,0,0,0,1,0,100,0,0,1000,24000,25000,87,24021*100+12,24021*100+13,24021*100+14,24021*100+15,24021*100+16,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On update OOC - Run random script'), + +(24021,0,0,0,54,0,100,0,0,0,0,0,80,24021*100+0,2,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - Just summoned - Run script'), + +(26762,0,0,0,11,0,100,0,0,0,0,0,11,46906,0,0,0,0,0,10,115948,24021,0,0,0,0,0, 'Captain Emmy Malin - On spawn - Spellcast Surge Needle Beam'), +(26762,0,1,0,21,0,100,0,0,0,0,0,11,46906,0,0,0,0,0,10,115948,24021,0,0,0,0,0, 'Captain Emmy Malin - On homeposition reached - Spellcast Surge Needle Beam'), +(26762,0,2,0,9,0,100,0,0,40,3000,4000,11,20792,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Captain Emmy Malin - On target within 40y - Spellcast Frostbolt'), +(26762,0,3,0,0,0,100,0,7000,10000,9000,12000,11,49906,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Captain Emmy Malin - On update IC - Spellcast Ice Lance'), +(26762,0,4,0,9,0,100,0,0,5,9000,12000,11,11831,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Captain Emmy Malin - On target within 5y - Spellcast Frost Nova'), +(26762,0,5,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Captain Emmy Malin - On aggro - Say line'), + +(26815,0,0,0,9,0,100,0,0,40,3000,4000,11,51779,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Lieutenant Ta''zinni - On target within 40y - Spellcast Frostfirebolt'), +(26815,0,1,0,9,0,100,0,0,10,12000,18000,11,35250,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lieutenant Ta''zinni - On target within 10y - Spellcast Dragon''s Breath'), +(26815,0,2,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lieutenant Ta''zinni - On aggro - Say line'), + +(4956,2,0,0,46,0,100,0,4956,0,0,0,33,26889,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Areatrigger Azure Dragonshire - On trigger - Quest credit'), + +(24021*100+0,9,0,0,0,0,100,0,0,0,0,0,11,47334,0,0,0,0,0,7,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large script 0 - Spellcast Ley Line Beam (no cast kit)'), +(24021*100+0,9,1,0,0,0,100,0,3000,4000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large script 0 - Despawn'), + +(24021*100+1,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3126.05,2140.401,17.8579,5.585053, 'ELM General Purpose Bunny Large script 1 - Summon ELM General Purpose Bunny Large'), +(24021*100+1,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3125.524,2146.786,15.84835,2.129302, 'ELM General Purpose Bunny Large script 1 - Summon ELM General Purpose Bunny Large'), +(24021*100+1,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3121.857,2144.208,19.87348,0.3141593, 'ELM General Purpose Bunny Large script 1 - Summon ELM General Purpose Bunny Large'), +(24021*100+1,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3131.571,2143.177,19.43405,0.4014257, 'ELM General Purpose Bunny Large script 1 - Summon ELM General Purpose Bunny Large'), +(24021*100+1,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3128.101,2141.035,17.94403,1.902409, 'ELM General Purpose Bunny Large script 1 - Summon ELM General Purpose Bunny Large'), +(24021*100+1,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3123.163,2141.134,16.98522,3.316126, 'ELM General Purpose Bunny Large script 1 - Summon ELM General Purpose Bunny Large'), + +(24021*100+2,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3125.091,2140.601,17.71151,2.443461, 'ELM General Purpose Bunny Large script 2 - Summon ELM General Purpose Bunny Large'), +(24021*100+2,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3132.777,2149.866,15.00388,5.986479, 'ELM General Purpose Bunny Large script 2 - Summon ELM General Purpose Bunny Large'), +(24021*100+2,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3127.046,2144.976,16.4135,5.183628, 'ELM General Purpose Bunny Large script 2 - Summon ELM General Purpose Bunny Large'), +(24021*100+2,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3122.372,2139.047,17.24562,5.009095, 'ELM General Purpose Bunny Large script 2 - Summon ELM General Purpose Bunny Large'), +(24021*100+2,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3126.123,2142.99,17.00723,2.792527, 'ELM General Purpose Bunny Large script 2 - Summon ELM General Purpose Bunny Large'), +(24021*100+2,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3128.526,2145.889,15.85672,0.2443461, 'ELM General Purpose Bunny Large script 2 - Summon ELM General Purpose Bunny Large'), + +(24021*100+3,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3126.866,2149.983,13.7796,1.832596, 'ELM General Purpose Bunny Large script 3 - Summon ELM General Purpose Bunny Large'), +(24021*100+3,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3131.825,2144.75,17.25836,1.570796, 'ELM General Purpose Bunny Large script 3 - Summon ELM General Purpose Bunny Large'), +(24021*100+3,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3121.043,2140.726,16.30317,4.24115, 'ELM General Purpose Bunny Large script 3 - Summon ELM General Purpose Bunny Large'), +(24021*100+3,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3129.281,2141.083,18.61101,3.124139, 'ELM General Purpose Bunny Large script 3 - Summon ELM General Purpose Bunny Large'), +(24021*100+3,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3125.717,2146.401,16.13597,5.72468, 'ELM General Purpose Bunny Large script 3 - Summon ELM General Purpose Bunny Large'), +(24021*100+3,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3123.911,2142.552,17.50746,4.380776, 'ELM General Purpose Bunny Large script 3 - Summon ELM General Purpose Bunny Large'), + +(24021*100+4,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3130.754,2151.47,14.37193,5.183628, 'ELM General Purpose Bunny Large script 4 - Summon ELM General Purpose Bunny Large'), +(24021*100+4,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3124.838,2143.604,17.12428,0.4014257, 'ELM General Purpose Bunny Large script 4 - Summon ELM General Purpose Bunny Large'), +(24021*100+4,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3127.993,2143.675,16.80205,5.148721, 'ELM General Purpose Bunny Large script 4 - Summon ELM General Purpose Bunny Large'), +(24021*100+4,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3121.175,2142.392,17.06362,0.9075712, 'ELM General Purpose Bunny Large script 4 - Summon ELM General Purpose Bunny Large'), +(24021*100+4,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3128.526,2145.889,15.85672,0.2443461, 'ELM General Purpose Bunny Large script 4 - Summon ELM General Purpose Bunny Large'), +(24021*100+4,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3134.843,2147.028,18.17949,5.864306, 'ELM General Purpose Bunny Large script 4 - Summon ELM General Purpose Bunny Large'), + +(24021*100+5,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3122.565,2142.866,17.20188,3.647738, 'ELM General Purpose Bunny Large script 5 - Summon ELM General Purpose Bunny Large'), +(24021*100+5,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3126.29,2142.063,17.4064,5.72468, 'ELM General Purpose Bunny Large script 5 - Summon ELM General Purpose Bunny Large'), +(24021*100+5,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3129.656,2149.474,14.7912,5.550147, 'ELM General Purpose Bunny Large script 5 - Summon ELM General Purpose Bunny Large'), +(24021*100+5,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3124.519,2149.514,14.5581,4.29351, 'ELM General Purpose Bunny Large script 5 - Summon ELM General Purpose Bunny Large'), +(24021*100+5,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3127.796,2138.372,19.97332,0.01745329, 'ELM General Purpose Bunny Large script 5 - Summon ELM General Purpose Bunny Large'), +(24021*100+5,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3132.397,2147.686,15.91525,0.9599311, 'ELM General Purpose Bunny Large script 5 - Summon ELM General Purpose Bunny Large'), + +(24021*100+6,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3131.072,2147.995,15.61533,1.466077, 'ELM General Purpose Bunny Large script 6 - Summon ELM General Purpose Bunny Large'), +(24021*100+6,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3128.782,2144.123,16.61955,5.742133, 'ELM General Purpose Bunny Large script 6 - Summon ELM General Purpose Bunny Large'), +(24021*100+6,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3123.601,2139.016,17.71019,0.4537856, 'ELM General Purpose Bunny Large script 6 - Summon ELM General Purpose Bunny Large'), +(24021*100+6,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3133.935,2143.841,21.74682,6.178465, 'ELM General Purpose Bunny Large script 6 - Summon ELM General Purpose Bunny Large'), +(24021*100+6,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3126.675,2146.103,16.11657,1.43117, 'ELM General Purpose Bunny Large script 6 - Summon ELM General Purpose Bunny Large'), +(24021*100+6,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3130.211,2145.085,16.58946,2.827433, 'ELM General Purpose Bunny Large script 6 - Summon ELM General Purpose Bunny Large'), + +(24021*100+7,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2894.85,1820.674,131.0997,1.012291, 'ELM General Purpose Bunny Large script 7 - Summon ELM General Purpose Bunny Large'), +(24021*100+7,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2891.408,1818.045,128.5932,0.541052, 'ELM General Purpose Bunny Large script 7 - Summon ELM General Purpose Bunny Large'), +(24021*100+7,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2888.546,1816.658,131.655,2.024582, 'ELM General Purpose Bunny Large script 7 - Summon ELM General Purpose Bunny Large'), +(24021*100+7,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2890.363,1810.202,129.936,0.7679449, 'ELM General Purpose Bunny Large script 7 - Summon ELM General Purpose Bunny Large'), +(24021*100+7,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2889.329,1822.168,130.1942,2.600541, 'ELM General Purpose Bunny Large script 7 - Summon ELM General Purpose Bunny Large'), +(24021*100+7,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2892.142,1809.754,129.4616,5.689773, 'ELM General Purpose Bunny Large script 7 - Summon ELM General Purpose Bunny Large'), + +(24021*100+8,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2894.762,1813.133,132.1913,1.256637, 'ELM General Purpose Bunny Large script 8 - Summon ELM General Purpose Bunny Large'), +(24021*100+8,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2888.24,1811.167,131.9773,3.473205, 'ELM General Purpose Bunny Large script 8 - Summon ELM General Purpose Bunny Large'), +(24021*100+8,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2891.765,1820.341,128.2378,2.443461, 'ELM General Purpose Bunny Large script 8 - Summon ELM General Purpose Bunny Large'), +(24021*100+8,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2889.968,1816.515,130.1833,3.577925, 'ELM General Purpose Bunny Large script 8 - Summon ELM General Purpose Bunny Large'), +(24021*100+8,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2895.262,1817.665,131.9376,4.415683, 'ELM General Purpose Bunny Large script 8 - Summon ELM General Purpose Bunny Large'), +(24021*100+8,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2892.956,1819.63,129.6165,3.106686, 'ELM General Purpose Bunny Large script 8 - Summon ELM General Purpose Bunny Large'), + +(24021*100+9,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2890.813,1812.197,129.4449,4.24115, 'ELM General Purpose Bunny Large script 9 - Summon ELM General Purpose Bunny Large'), +(24021*100+9,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2894.83,1810.606,132.5347,1.37881, 'ELM General Purpose Bunny Large script 9 - Summon ELM General Purpose Bunny Large'), +(24021*100+9,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2891.949,1816.533,128.7643,4.502949, 'ELM General Purpose Bunny Large script 9 - Summon ELM General Purpose Bunny Large'), +(24021*100+9,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2888.356,1820.349,131.507,3.839724, 'ELM General Purpose Bunny Large script 9 - Summon ELM General Purpose Bunny Large'), +(24021*100+9,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2893.333,1820.718,129.6705,1.48353, 'ELM General Purpose Bunny Large script 9 - Summon ELM General Purpose Bunny Large'), + +(24021*100+10,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2889.118,1823.984,130.3343,3.455752, 'ELM General Purpose Bunny Large script 10 - Summon ELM General Purpose Bunny Large'), +(24021*100+10,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2896.332,1820.913,131.8123,5.689773, 'ELM General Purpose Bunny Large script 10 - Summon ELM General Purpose Bunny Large'), +(24021*100+10,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2894.166,1819.122,130.8789,3.211406, 'ELM General Purpose Bunny Large script 10 - Summon ELM General Purpose Bunny Large'), +(24021*100+10,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2890.605,1822.912,128.89,1.762783, 'ELM General Purpose Bunny Large script 10 - Summon ELM General Purpose Bunny Large'), +(24021*100+10,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2888.642,1809.098,131.9985,3.385939, 'ELM General Purpose Bunny Large script 10 - Summon ELM General Purpose Bunny Large'), +(24021*100+10,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2892.705,1812.745,129.8363,1.308997, 'ELM General Purpose Bunny Large script 10 - Summon ELM General Purpose Bunny Large'), + +(24021*100+11,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2895.333,1822.925,131.1403,2.879793, 'ELM General Purpose Bunny Large script 11 - Summon ELM General Purpose Bunny Large'), +(24021*100+11,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2891.805,1822.136,128.129,6.161012, 'ELM General Purpose Bunny Large script 11 - Summon ELM General Purpose Bunny Large'), +(24021*100+11,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2894.475,1823.367,130.2928,1.937315, 'ELM General Purpose Bunny Large script 11 - Summon ELM General Purpose Bunny Large'), +(24021*100+11,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2889.26,1810.871,130.8892,0.8726646, 'ELM General Purpose Bunny Large script 11 - Summon ELM General Purpose Bunny Large'), +(24021*100+11,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,2893.049,1810.656,130.546,1.396263, 'ELM General Purpose Bunny Large script 11 - Summon ELM General Purpose Bunny Large'), + +(24021*100+12,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3057.062,1394.183,113.0584,5.8294, 'ELM General Purpose Bunny Large script 12 - Summon ELM General Purpose Bunny Large'), +(24021*100+12,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3054.48,1394.618,112.7426,1.762783, 'ELM General Purpose Bunny Large script 12 - Summon ELM General Purpose Bunny Large'), +(24021*100+12,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3060.249,1394.656,113.9411,0.3141593, 'ELM General Purpose Bunny Large script 12 - Summon ELM General Purpose Bunny Large'), +(24021*100+12,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3055.488,1393.478,112.698,3.141593, 'ELM General Purpose Bunny Large script 12 - Summon ELM General Purpose Bunny Large'), +(24021*100+12,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3061.458,1396.66,115.1446,0.1570796, 'ELM General Purpose Bunny Large script 12 - Summon ELM General Purpose Bunny Large'), +(24021*100+12,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3051.968,1401.044,116.3351,0.9424778, 'ELM General Purpose Bunny Large script 12 - Summon ELM General Purpose Bunny Large'), + +(24021*100+13,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3054.074,1397.247,113.4051,0.4712389, 'ELM General Purpose Bunny Large script 13 - Summon ELM General Purpose Bunny Large'), +(24021*100+13,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3057.188,1403.892,115.3656,4.380776, 'ELM General Purpose Bunny Large script 13 - Summon ELM General Purpose Bunny Large'), +(24021*100+13,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3052.451,1405.315,117.081,0.8552113, 'ELM General Purpose Bunny Large script 13 - Summon ELM General Purpose Bunny Large'), +(24021*100+13,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3059.104,1401.156,116.369,5.096361, 'ELM General Purpose Bunny Large script 13 - Summon ELM General Purpose Bunny Large'), +(24021*100+13,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3049.546,1404.567,114.6574,4.24115, 'ELM General Purpose Bunny Large script 13 - Summon ELM General Purpose Bunny Large'), +(24021*100+13,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3060.958,1399.016,117.6381,0.3665192, 'ELM General Purpose Bunny Large script 13 - Summon ELM General Purpose Bunny Large'), + +(24021*100+14,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3056.078,1396.021,113.2624,1.919862, 'ELM General Purpose Bunny Large script 14 - Summon ELM General Purpose Bunny Large'), +(24021*100+14,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3051.097,1400.683,119.1771,3.124139, 'ELM General Purpose Bunny Large script 14 - Summon ELM General Purpose Bunny Large'), +(24021*100+14,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3061.056,1398.113,116.3519,2.303835, 'ELM General Purpose Bunny Large script 14 - Summon ELM General Purpose Bunny Large'), +(24021*100+14,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3057.511,1398.638,114.0719,0.4886922, 'ELM General Purpose Bunny Large script 14 - Summon ELM General Purpose Bunny Large'), +(24021*100+14,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3055.962,1397.876,113.629,4.171337, 'ELM General Purpose Bunny Large script 14 - Summon ELM General Purpose Bunny Large'), +(24021*100+14,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3053.035,1396.689,115.7215,3.054326, 'ELM General Purpose Bunny Large script 14 - Summon ELM General Purpose Bunny Large'), + +(24021*100+15,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3054.111,1406.132,118.344,5.183628, 'ELM General Purpose Bunny Large script 15 - Summon ELM General Purpose Bunny Large'), +(24021*100+15,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3058.348,1399.74,114.4599,1.117011, 'ELM General Purpose Bunny Large script 15 - Summon ELM General Purpose Bunny Large'), +(24021*100+15,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3060.409,1401.954,119.1423,4.433136, 'ELM General Purpose Bunny Large script 15 - Summon ELM General Purpose Bunny Large'), +(24021*100+15,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3055.117,1405.109,116.396,1.867502, 'ELM General Purpose Bunny Large script 15 - Summon ELM General Purpose Bunny Large'), +(24021*100+15,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3051.709,1402.488,113.6939,5.009095, 'ELM General Purpose Bunny Large script 15 - Summon ELM General Purpose Bunny Large'), +(24021*100+15,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3059.448,1404.954,119.1292,4.712389, 'ELM General Purpose Bunny Large script 15 - Summon ELM General Purpose Bunny Large'), + +(24021*100+16,9,0,0,0,0,100,0,0,0,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3056.558,1406.72,119.7402,3.124139, 'ELM General Purpose Bunny Large script 16 - Summon ELM General Purpose Bunny Large'), +(24021*100+16,9,1,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3052.471,1393.973,116.9445,5.637414, 'ELM General Purpose Bunny Large script 16 - Summon ELM General Purpose Bunny Large'), +(24021*100+16,9,2,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3061.914,1394.956,114.8677,0.7853982, 'ELM General Purpose Bunny Large script 16 - Summon ELM General Purpose Bunny Large'), +(24021*100+16,9,3,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3054.167,1403.503,114.3343,1.256637, 'ELM General Purpose Bunny Large script 16 - Summon ELM General Purpose Bunny Large'), +(24021*100+16,9,4,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3049.392,1406.412,118.5037,2.80998, 'ELM General Purpose Bunny Large script 16 - Summon ELM General Purpose Bunny Large'), +(24021*100+16,9,5,0,0,0,100,0,4000,4000,0,0,12,24021,8,4000,0,0,0,8,0,0,0,3057.68,1392.579,112.8306,2.792527, 'ELM General Purpose Bunny Large script 16 - Summon ELM General Purpose Bunny Large'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_13_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_13_00_world_misc.sql new file mode 100644 index 00000000000..af20a0f5c02 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_13_00_world_misc.sql @@ -0,0 +1,5 @@ +SET @ENTRY := 176; +DELETE FROM `trinity_string` WHERE `entry` IN(@ENTRY, @ENTRY+1); +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(@ENTRY, 'Invalid gameobject type, must be a destructible building.'), +(@ENTRY+1, 'Gameobject %s (GUID: %u) damaged %u (actual health: %u).'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_13_00_world_spell_target_position.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_13_00_world_spell_target_position.sql new file mode 100644 index 00000000000..c4ef5521094 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_13_00_world_spell_target_position.sql @@ -0,0 +1,5 @@ +ALTER TABLE `spell_target_position` ADD COLUMN `effIndex` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `id`; +ALTER TABLE `spell_target_position` DROP INDEX `PRIMARY`, ADD PRIMARY KEY (`id`, `effIndex`); + +UPDATE `spell_target_position` SET `effIndex`='1' WHERE `id` IN (53821, 68081, 46473, 73655, 72546, 72340, 67838, 67835, 67836, 67837, 67834, 49098, 49097, 54963, 11012, 8606); +UPDATE `spell_target_position` SET `effIndex`='2' WHERE `id` IN (36801, 71765, 71763, 71762, 71744, 71712, 71751, 43209, 51852); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_14_00_world_instance_ulduar.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_14_00_world_instance_ulduar.sql new file mode 100644 index 00000000000..1594a8c44a9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_14_00_world_instance_ulduar.sql @@ -0,0 +1,473 @@ +-- NPCs +SET @VOICE_OF_YOGG_SARON := 33280; +SET @YOGG_SARON := 33288; +SET @YOGG_SARON_H := 33955; +SET @SARA := 33134; +SET @SARA_H := 34332; +SET @BRAIN_OF_YOGG_SARON := 33890; +SET @BRAIN_OF_YOGG_SARON_H := 33954; +SET @OMINOUS_CLOUD := 33292; +SET @GUARDIAN_OF_YOGG_SARON := 33136; +SET @GUARDIAN_OF_YOGG_SARON_H := 33968; +SET @CORRUPTOR_TENTACLE := 33985; +SET @CORRUPTOR_TENTACLE_H := 33986; +SET @CONSTRICTOR_TENTACLE := 33983; +SET @CONSTRICTOR_TENTACLE_H := 33984; +SET @CRUSHER_TENTACLE := 33966; +SET @CRUSHER_TENTACLE_H := 33967; +SET @LAUGHING_SKULL := 33990; +SET @DEATH_RAY := 33881; +SET @DEATH_ORB := 33882; +SET @GARONA := 33436; +SET @KING_LLANE := 33437; +SET @SUIT_OF_ARMOR := 33433; +SET @THE_LICH_KING := 33441; +SET @IMMOLATED_CHAMPION := 33442; +SET @TURNED_CHAMPION := 33962; +SET @DEATHSWORN_ZEALOT := 33567; +SET @NELTHARION := 33523; +SET @ALEXSTRASZA := 33536; +SET @YSERA := 33495; +SET @MALYGOS := 33535; +SET @OBSIDIAN_CONSORT := 33720; +SET @AZURE_CONSORT := 33717; +SET @EMERALD_CONSORT := 33719; +SET @RUBY_CONSORT := 33716; +SET @YOGG_SARON_ILLUSIONS := 33552; +SET @TRIGGER := 28332; -- Generic Trigger LAB (Large AOI), maybe to start illusion events? +SET @FREYA_GOSSIP := 33241; +SET @HODIR_GOSSIP := 33213; +SET @THORIM_GOSSIP := 33242; +SET @MIMIRON_GOSSIP := 33244; +SET @FREYA_YS := 33410; +SET @HODIR_YS := 33411; +SET @MIMIRON_YS := 33412; +SET @THORIM_YS := 33413; +SET @IMMORTAL_GUARDIAN := 33988; +SET @IMMORTAL_GUARDIAN_H := 33989; +SET @MARKED_IMMORTAL_GUARDIAN := 36064; +SET @MARKED_IMMORTAL_GUARDIAN_H := 36067; +SET @SANITY_WELL := 33991; +SET @INFLUENCE_TENTACLE := 33943; +SET @INFLUENCE_TENTACLE_H := 33959; +SET @DESCEND_INTO_MADNESS := 34072; + +SET @GUID := 62015; + +-- GameObjects +SET @FLEE_TO_THE_SURFACE := 194625; +SET @DRAGON_SOUL := 194462; +SET @INSTANCE_PORTAL := 194338; +SET @CHAIR := 194360; + +SET @GO_GUID := 17800; + +DELETE FROM `creature_text` WHERE `entry` IN (@SARA,@YOGG_SARON,@VOICE_OF_YOGG_SARON,@GARONA,@KING_LLANE,@THE_LICH_KING,@IMMOLATED_CHAMPION,@NELTHARION,@YSERA,@MALYGOS,@YOGG_SARON_ILLUSIONS,@FREYA_GOSSIP,@HODIR_GOSSIP,@THORIM_GOSSIP,@MIMIRON_GOSSIP,@OMINOUS_CLOUD,@BRAIN_OF_YOGG_SARON); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@SARA,0,0,'Help me! Please get them off me!',14,0,100,0,0,15771,'Sara - SAY_SARA_ULDUAR_SCREAM_1'), +(@SARA,1,0,'What do you want from me? Leave me alone!',14,0,100,0,0,15772,'Sara - SAY_SARA_ULDUAR_SCREAM_2'), +(@SARA,2,0,'The time to strike at the head of the beast will soon be upon us! Focus your anger and hatred on his minions!',14,0,100,457,0,15775,'Sara - SAY_SARA_AGGRO'), +(@SARA,3,0,'Yes! YES! Show them no mercy! Give no pause to your attacks!',14,0,100,0,0,15773,'Sara - SAY_SARA_FERVOR_HIT'), +(@SARA,4,0,'Let hatred and rage guide your blows!',14,0,100,0,0,15774,'SAY_SARA_BLESSING_HIT'), +(@SARA,5,0,'Could they have been saved?',14,0,100,0,0,15779,'Sara - SAY_SARA_KILL'), +(@SARA,5,1,'Powerless to act...',14,0,100,0,0,15778,'Sara - SAY_SARA_KILL'), +(@SARA,6,0,'I am the lucid dream.',14,0,100,457,0,15754,'Sara - SAY_SARA_TRANSFORM_1'), +(@SARA,7,0,'The monster in your nightmares.',14,0,100,457,0,0,'Sara - SAY_SARA_TRANSFORM_2'), +(@SARA,8,0,'The fiend of a thousand faces.',14,0,100,457,0,0,'Sara - SAY_SARA_TRANSFORM_3'), +(@SARA,9,0,'Cower before my true form.',14,0,100,457,0,0,'Sara - SAY_SARA_TRANSFORM_4'), +(@SARA,10,0,'Tremble, mortals, before the coming of the end!',14,0,100,0,0,15777,'Sara - SAY_SARA_DEATH_RAY'), +(@SARA,11,0,'Suffocate upon your own hate!',14,0,100,0,0,15776,'Sara - SAY_SARA_PSYCHOSIS_HIT'), +(@OMINOUS_CLOUD,0,0,'%s begins to boil upon touching $n!',16,0,100,0,0,0,'Ominous Cloud - EMOTE_OMINOUS_CLOUD_PLAYER_TOUCH'), +(@YOGG_SARON,0,0,'BOW DOWN BEFORE THE GOD OF DEATH!',14,0,100,0,0,0,'Yogg-Saron - SAY_YOGG_SARON_SPAWN'), +(@YOGG_SARON,1,0,'MADNESS WILL CONSUME YOU!',14,0,100,0,0,15756,'Yogg-Saron - SAY_YOGG_SARON_MADNESS'), +(@YOGG_SARON,2,0,'Portals open into %s''s mind!',41,0,100,0,0,0,'Yogg-Saron - EMOTE_YOGG_SARON_MADNESS'), +(@YOGG_SARON,3,0,'Look upon the true face of death and know that your end comes soon!',14,0,100,0,0,15755,'Yogg-Saron - SAY_YOGG_SARON_PHASE_3'), +(@YOGG_SARON,4,0,'Eternal suffering awaits!',14,0,100,0,0,15758,'Yogg-Saron - SAY_YOGG_SARON_DEAFENING_ROAR'), +(@YOGG_SARON,5,0,'%s opens his mouth wide!',41,0,100,0,0,0,'Yogg-Saron - EMOTE_YOGG_SARON_DEAFENING_ROAR'), +(@YOGG_SARON,6,0,'Your fate is sealed. The end of days is finally upon you and ALL who inhabit this miserable little seedling. Uulwi ifis halahs gag erh''ongg w''ssh.',14,0,100,0,0,15761,'Yogg-Saron - SAY_YOGG_SARON_DEATH'), +(@YOGG_SARON,7,0,'%s prepares to unleash Empowering Shadows!',41,0,100,0,0,0,'Yogg-Saron - EMOTE_YOGG_SARON_EMPOWERING_SHADOWS'), +(@YOGG_SARON,8,0,'%s goes berserk, extinguishing all life!',41,0,100,0,0,0,'Yogg-Saron - EMOTE_YOGG_SARON_EXTINGUISH_ALL_LIFE'), +(@VOICE_OF_YOGG_SARON,0,0,'Weak-minded fools!',15,0,100,0,0,15780,'Voice of Yogg-Saron - WHISPER_VOICE_PHASE_1_WIPE'), +(@VOICE_OF_YOGG_SARON,1,0,'Your will is no longer your own...',15,0,100,0,0,15759,'Voice of Yogg-Saron - WHISPER_VOICE_INSANE'), +(@VOICE_OF_YOGG_SARON,1,1,'Destroy them minion, your master commands it!',15,0,100,0,0,15760,'Voice of Yogg-Saron - WHISPER_VOICE_INSANE'), +(@BRAIN_OF_YOGG_SARON,0,0,'The illusion shatters and a path to the central chamber opens!',41,0,100,0,0,0,'Brain of Yogg-Saron - EMOTE_BRAIN_ILLUSION_SHATTERED'), +(@GARONA,0,0,'Bad news sire.',12,0,100,66,0,15538,'Garona'), +(@GARONA,1,0,'The clans are united under Blackhand in this assault. They will stand together until Stormwind has fallen.',12,0,100,274,0,15539,'Garona'), +(@GARONA,2,0,'Gul''dan is bringing up his warlocks by nightfall. Until then, the Blackrock clan will be trying to take the Eastern Wall.',12,0,100,1,0,15540,'Garona'), +(@GARONA,3,0,'The orc leaders agree with your assessment.',12,0,100,0,0,15541,'Garona'), +(@KING_LLANE,0,0,'We will hold until the reinforcements come. As long as men with stout hearts are manning the walls and throne Stormwind will hold.',12,0,100,274,0,15585,'King Llane'), +(@THE_LICH_KING,0,0,'Your resilience is admirable.',12,0,100,0,0,15598,'The Lich King'), +(@THE_LICH_KING,1,0,'I will break you as I broke him.',12,0,100,0,0,15599,'The Lich King'), +(@IMMOLATED_CHAMPION,0,0,'Arrrrrrgh!',14,0,100,0,0,15470,'Immolated Champion'), +(@IMMOLATED_CHAMPION,1,0,'I''m not afraid of you!',12,0,100,0,0,15471,'Immolated Champion'), +(@NELTHARION,0,0,'It is done... All have been given that which must be given. I now seal the Dragon Soul forever...',12,0,100,0,0,15631,'Neltharion'), +(@NELTHARION,1,0,'For it to be as it must, yes.',12,0,100,273,0,15632,'Neltharion'), +(@YSERA,0,0,'That terrible glow... should that be?',12,0,100,0,0,15702,'Ysera'), -- or sound 15784? they are the same +(@MALYGOS,0,0,'It is a weapon like no other. It must be like no other.',12,0,100,1,0,15610,'Malygos'), +(@YOGG_SARON_ILLUSIONS,0,0,'A thousand deaths... or one murder.',12,0,100,0,0,15762,'Yogg-Saron'), -- sound splited! 15763 - "or one murder". +(@YOGG_SARON_ILLUSIONS,1,0,'Your petty quarrels only make me stronger!',12,0,100,0,0,15764,'Yogg-Saron'), +(@YOGG_SARON_ILLUSIONS,2,0,'Yrr n''lyeth... shuul anagg!',12,0,100,0,0,15766,'Yogg-Saron'), +(@YOGG_SARON_ILLUSIONS,3,0,'He will learn... no king rules forever; only death is eternal!',12,0,100,0,0,15767,'Yogg-Saron'), +(@YOGG_SARON_ILLUSIONS,4,0,'His brood learned their lesson before too long. You will soon learn yours!',12,0,100,0,0,15765,'Yogg-Saron'), +(@FREYA_GOSSIP,0,0,'As you wish, $N.',12,0,100,0,0,0,'Freya (Observation Ring) - On Gossip Select'), +(@FREYA_GOSSIP,1,0,'Eonar, your servant calls for your blessing!',14,0,100,0,0,15535,'Freya (Observation Ring) - On Gossip Select'), +(@HODIR_GOSSIP,0,0,'As you wish, $N.',12,0,100,0,0,0,'Hodir (Observation Ring) - On Gossip Select'), +(@HODIR_GOSSIP,1,0,'The veil of winter will protect you, champions!',14,0,100,0,0,15559,'Hodir (Observation Ring) - On Gossip Select'), +(@THORIM_GOSSIP,0,0,'As you wish, $N.',12,0,100,0,0,0,'Thorim (Observation Ring) - On Gossip Select'), +(@THORIM_GOSSIP,1,0,'Golganneth, lend me your strengh! Grant my mortal allies the power of thunder!',14,0,100,0,0,15750,'Thorim (Observation Ring) - On Gossip Select'), +(@MIMIRON_GOSSIP,0,0,'As you wish, $N.',12,0,100,0,0,0,'Mimiron (Observation Ring) - On Gossip Select'), +(@MIMIRON_GOSSIP,1,0,'Combat matrix enhanced. Behold wonderous rapidity!',14,0,100,0,0,15630,'Mimiron (Observation Ring) - On Gossip Select'); + +DELETE FROM `npc_text` WHERE `ID` IN (14332,14333); +INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`lang0`,`prob0`,`em0_0`,`em0_1`,`em0_2`,`em0_3`,`em0_4`,`em0_5`,`text1_0`,`text1_1`,`lang1`,`prob1`,`em1_0`,`em1_1`,`em1_2`,`em1_3`,`em1_4`,`em1_5`,`text2_0`,`text2_1`,`lang2`,`prob2`,`em2_0`,`em2_1`,`em2_2`,`em2_3`,`em2_4`,`em2_5`,`text3_0`,`text3_1`,`lang3`,`prob3`,`em3_0`,`em3_1`,`em3_2`,`em3_3`,`em3_4`,`em3_5`,`text4_0`,`text4_1`,`lang4`,`prob4`,`em4_0`,`em4_1`,`em4_2`,`em4_3`,`em4_4`,`em4_5`,`text5_0`,`text5_1`,`lang5`,`prob5`,`em5_0`,`em5_1`,`em5_2`,`em5_3`,`em5_4`,`em5_5`,`text6_0`,`text6_1`,`lang6`,`prob6`,`em6_0`,`em6_1`,`em6_2`,`em6_3`,`em6_4`,`em6_5`,`text7_0`,`text7_1`,`lang7`,`prob7`,`em7_0`,`em7_1`,`em7_2`,`em7_3`,`em7_4`,`em7_5`,`WDBVerified`) VALUES +(14332,'Mortals, I am indebted to you for freeing me from the terrible corruption that besets this place. Though I have not yet recovered fully, I can help you battle Yogg-Saron.$B$BI can grant you and your friends the Resilience of Nature, increasing your damage and increasing healing taken from spells and effects. In addition, I can conjure Sanity Wells that will allow you to recover your Sanity when your grip on reality falters.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,1), +(14333,'Mortals, I am indebted to you for freeing me from the terrible corruption that besets this place. Though I have not yet recovered fully, I can help you battle Yogg-Saron.$B$BI can grant you and your friends the Fury of the Storm, increasing your damage and maximum health. Should you be faced with evil so malevolent that it cannot be destroyed, I can channel all my power into a final Titanic Storm that will destroy even Immortals.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,1); + +DELETE FROM `gossip_menu` WHERE `entry` IN (10324,10333,10335,10336,10337); +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(10324,14332), +(10333,14325), +(10335,14326), +(10337,14333), +(10336,14334); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (10324,10333,10335,10336,10337); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(10324,0,0,'Lend us your aid, keeper. Together we will defeat Yogg-Saron.',1,1,10333,0,0,0,''), +(10333,0,0,'Yes.',1,1,0,0,0,0,''), -- not sure if this menu_id is shared for all keepers +(10335,0,0,'Lend us your aid, keeper. Together we will defeat Yogg-Saron.',1,1,10333,0,0,0,''), +(10337,0,0,'Lend us your aid, keeper. Together we will defeat Yogg-Saron.',1,1,10333,0,0,0,''), +(10336,0,0,'Lend us your aid, keeper. Together we will defeat Yogg-Saron.',1,1,10333,0,0,0,''); + +DELETE FROM `gameobject` WHERE `id` IN (@FLEE_TO_THE_SURFACE,@DRAGON_SOUL,@INSTANCE_PORTAL+0,@INSTANCE_PORTAL+1,@CHAIR+0,@CHAIR+1,@CHAIR+2,@CHAIR+3,@CHAIR+4,@CHAIR+5); +DELETE FROM `gameobject` WHERE `guid` BETWEEN @GO_GUID+0 AND @GO_GUID+11; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@GO_GUID+0,@FLEE_TO_THE_SURFACE,603,3,1,1999.761,-57.29888,243.5464,0,0,0,0,1,604800,0,0), +(@GO_GUID+1,@FLEE_TO_THE_SURFACE,603,3,1,1943.855,-25.59109,243.7952,0,0,0,0,1,604800,0,0), +(@GO_GUID+2,@FLEE_TO_THE_SURFACE,603,3,1,2000.26,5.519748,243.1853,0,0,0,0,1,604800,0,0), +(@GO_GUID+3,@DRAGON_SOUL,603,3,1,2104.028,-25.21278,242.6467,0,0,0,0,1,604800,0,0), +(@GO_GUID+4,@INSTANCE_PORTAL+0,603,2,1,2178.255,-24.15329,248.345,3.141593,0,0,-1,0,604800,0,0), +(@GO_GUID+5,@INSTANCE_PORTAL+1,603,1,1,2178.255,-24.15329,248.345,3.141593,0,0,-1,0,604800,0,0), +(@GO_GUID+6,@CHAIR+0,603,3,1,1954.696,91.8725,239.6242,5.989951,0,0,-0.1460924,0.9892709,604800,0,0), +(@GO_GUID+7,@CHAIR+1,603,3,1,1961.835,65.23161,239.6471,3.686116,0,0,-0.9631653,0.2689101,604800,0,0), +(@GO_GUID+8,@CHAIR+2,603,3,1,1886.634,72.21145,239.6242,1.713894,0,0,0.755847,0.6547483,604800,0,0), +(@GO_GUID+9,@CHAIR+3,603,3,1,1944.326,106.1581,239.6471,3.686116,0,0,-0.9631653,0.2689101,604800,0,0), +(@GO_GUID+10,@CHAIR+4,603,3,1,1899.228,45.58289,239.6471,1.417184,0,0,0.6507654,0.7592788,604800,0,0), +(@GO_GUID+11,@CHAIR+5,603,3,1,1923.472,28.16412,239.6471,2.289849,0,0,0.9106789,0.413115,604800,0,0); + +DELETE FROM `creature` WHERE `id` IN (@VOICE_OF_YOGG_SARON,@SARA,@BRAIN_OF_YOGG_SARON,@OMINOUS_CLOUD,@LAUGHING_SKULL,@THE_LICH_KING,@IMMOLATED_CHAMPION,@DEATHSWORN_ZEALOT,@GARONA,@KING_LLANE,@SUIT_OF_ARMOR,@NELTHARION,@MALYGOS,@ALEXSTRASZA,@YSERA,@OBSIDIAN_CONSORT,@AZURE_CONSORT,@EMERALD_CONSORT,@RUBY_CONSORT,@YOGG_SARON_ILLUSIONS,@TRIGGER,@SANITY_WELL); +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID+0 AND @GUID+7; +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,@VOICE_OF_YOGG_SARON,603,3,1,0,0,1980.137,-25.74376,326.4671,0,604800,0,0,0,0,0,0,0,0), +(@GUID+1,@SARA,603,3,1,0,0,1980.43,-25.7708,329.3963,3.124139,604800,0,0,0,0,0,0,0,0), +(@GUID+2,@BRAIN_OF_YOGG_SARON,603,3,1,0,0,1981.622,-25.89063,261.6898,0.1047198,604800,0,0,0,0,0,0,0,0), +(@GUID+3,@SANITY_WELL,603,3,1,0,0,1899.941,0.330621,332.2957,0,604800,0,0,0,0,0,0,0,0), +(@GUID+4,@SANITY_WELL,603,3,1,0,0,1900.478,-51.23861,332.1303,0,604800,0,0,0,0,0,0,0,0), +(@GUID+5,@SANITY_WELL,603,3,1,0,0,1987.125,-91.27024,330.1858,0,604800,0,0,0,0,0,0,0,0), +(@GUID+6,@SANITY_WELL,603,3,1,0,0,1975.885,40.02165,331.0996,0,604800,0,0,0,0,0,0,0,0), +(@GUID+7,@SANITY_WELL,603,3,1,0,0,2042.559,-40.3667,329.2744,0,604800,0,0,0,0,0,0,0,0); +-- (@GUID+8,@TRIGGER,603,3,1,0,0,,604800,0,0,0,0,0,0,0,0), -- spawn was not found in sniffs (Icecrown vision) +-- (@GUID+9,@TRIGGER,603,3,1,0,0,1928.978,67.9108,242.4596,0,604800,0,0,0,0,0,0,0,0), +-- (@GUID+10,@TRIGGER,603,3,1,0,0,2113.323,-28.4375,242.8768,0,604800,0,0,0,0,0,0,0,0); + +DELETE FROM `creature_summon_groups` WHERE `summonerId` IN (@VOICE_OF_YOGG_SARON,@BRAIN_OF_YOGG_SARON); +INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES +(@VOICE_OF_YOGG_SARON,0,0,@OMINOUS_CLOUD,1993.538,-17.93403,324.9728,0,6,0), +(@VOICE_OF_YOGG_SARON,0,0,@OMINOUS_CLOUD,1968.158,-42.65644,324.9676,0,6,0), +(@VOICE_OF_YOGG_SARON,0,0,@OMINOUS_CLOUD,1952.901,-27.36388,325.6934,0,6,0), +(@VOICE_OF_YOGG_SARON,0,0,@OMINOUS_CLOUD,1991.673,-65.39913,328.3430,0,6,0), +(@VOICE_OF_YOGG_SARON,0,0,@OMINOUS_CLOUD,2018.573,4.088733,328.8741,0,6,0), +(@VOICE_OF_YOGG_SARON,0,0,@OMINOUS_CLOUD,2034.443,-25.29962,329.0554,0,6,0), +(@VOICE_OF_YOGG_SARON,0,1,@DESCEND_INTO_MADNESS,1964.596,-42.70562,325.0845,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,1,@DESCEND_INTO_MADNESS,1986.936,-46.21083,324.9798,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,1,@DESCEND_INTO_MADNESS,1989.495,-6.69694,325.0786,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,1,@DESCEND_INTO_MADNESS,1965.521,-8.089301,324.9476,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,2,@DESCEND_INTO_MADNESS,2000.841,-25.40006,325.192,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,2,@DESCEND_INTO_MADNESS,1960.216,-26.14138,325.0096,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,2,@DESCEND_INTO_MADNESS,1976.303,-47.82541,325.1116,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,2,@DESCEND_INTO_MADNESS,1997.688,-37.46083,325.039,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,2,@DESCEND_INTO_MADNESS,1998.07,-13.35666,325.1668,0,3,60000), +(@VOICE_OF_YOGG_SARON,0,2,@DESCEND_INTO_MADNESS,1976.992,-3.959093,325.1694,0,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@NELTHARION,2117.713,-25.27073,242.73,3.141593,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@MALYGOS,2107.963,-37.29351,242.73,2.024582,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@ALEXSTRASZA,2092.347,-25.26042,242.7301,6.265732,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@YSERA,2109.765,-14.37967,242.73,4.206244,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@OBSIDIAN_CONSORT,2146.88,-17.03125,239.8058,3.351032,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@OBSIDIAN_CONSORT,2146.24,-34.40451,239.8058,3.01942,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@AZURE_CONSORT,2113.33,-65.71007,239.8058,1.780236,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@AZURE_CONSORT,2139.83,-50.28646,239.8058,2.460914,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@EMERALD_CONSORT,2116.931,11.375,239.8058,4.415683,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@EMERALD_CONSORT,2136.641,-1.996528,239.8058,3.839724,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@RUBY_CONSORT,2069.479,-5.699653,239.8058,5.427974,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@RUBY_CONSORT,2069.298,-43.53168,239.8006,0.4712389,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@YOGG_SARON_ILLUSIONS,2109.695,-25.09549,222.3250,0,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2134.533,18.86881,239.8042,1.850049,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2063.156,27.95839,244.2707,5.288348,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2070.133,-73.0108,242.5237,1.308997,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2135.219,-41.44271,239.8027,5.846853,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2088.254,5.053657,239.8672,0.9948376,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2119.228,1.421441,239.8039,0,3,60000), +(@BRAIN_OF_YOGG_SARON,0,0,@LAUGHING_SKULL,2102.441,-75.04541,239.8635,1.658063,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@THE_LICH_KING,1908.557,-152.4427,240.0719,4.328416,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@IMMOLATED_CHAMPION,1903.599,-160.3576,240.1064,1.082104,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@TURNED_CHAMPION,1919.113,-160.9657,240.0659,2.700784,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1917.559,-135.7448,240.0730,4.188790,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1919.125,-140.9566,240.0730,3.979351,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1948.469,-136.2951,240.0707,3.438299,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1956.444,-138.4028,240.1078,3.368485,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1952.965,-130.5295,240.1347,3.804818,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1902.132,-111.3594,240.0698,4.852015,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1905.326,-104.7865,240.0523,4.764749,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1897.345,-106.6076,240.1444,4.939282,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@DEATHSWORN_ZEALOT,1912.129,-136.9340,240.0730,4.188790,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@YOGG_SARON_ILLUSIONS,1906.226,-155.8941,223.4727,0,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1863.897,-100.9364,240.073,5.235988,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1948.668,-152.4481,240.073,1.919862,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1932.213,-93.62798,240.073,4.852015,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1964.457,-149.5943,240.073,3.385939,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1992.463,-131.2119,240.073,3.455752,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1901.194,-90.4624,240.073,0.1396263,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1923.746,-164.5339,240.073,3.455752,3,60000), +(@BRAIN_OF_YOGG_SARON,0,1,@LAUGHING_SKULL,1905.937,-133.1651,240.073,5.77704,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@GARONA,1931.064,60.5659,241.5013,2.084251,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@KING_LLANE,1928.349,66.05186,242.4596,5.113815,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1956.503,72.19462,239.7495,3.281219,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1951.04,49.88875,239.7495,2.495821,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1931.14,38.46949,239.7495,1.710423,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1908.993,44.26659,239.7495,0.9250245,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1897.344,64.31419,239.7495,0.1396263,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1903.393,86.60285,239.7495,5.61996,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1923.342,98.01228,239.7495,4.834562,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@SUIT_OF_ARMOR,1945.442,92.17952,239.7495,4.049164,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@YOGG_SARON_ILLUSIONS,1929.160,67.75694,221.7322,0,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@LAUGHING_SKULL,1941.561,109.4812,239.7496,3.316126,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@LAUGHING_SKULL,1922.55,54.68001,241.1263,0.1919862,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@LAUGHING_SKULL,1893.146,44.24343,239.7496,0,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@LAUGHING_SKULL,1926.526,43.26215,239.7496,0.9948376,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@LAUGHING_SKULL,1904.3,73.70443,239.7496,4.276057,3,60000), +(@BRAIN_OF_YOGG_SARON,0,2,@LAUGHING_SKULL,1955.173,85.26153,239.7496,4.049164,3,60000); + +-- ScriptNames +UPDATE `creature_template` SET `ScriptName`='boss_voice_of_yogg_saron' WHERE `entry`=@VOICE_OF_YOGG_SARON; +UPDATE `creature_template` SET `ScriptName`='boss_yogg_saron' WHERE `entry`=@YOGG_SARON; +UPDATE `creature_template` SET `ScriptName`='boss_sara' WHERE `entry`=@SARA; +UPDATE `creature_template` SET `ScriptName`='boss_brain_of_yogg_saron' WHERE `entry`=@BRAIN_OF_YOGG_SARON; +UPDATE `creature_template` SET `ScriptName`='npc_ominous_cloud' WHERE `entry`=@OMINOUS_CLOUD; +UPDATE `creature_template` SET `ScriptName`='npc_guardian_of_yogg_saron' WHERE `entry`=@GUARDIAN_OF_YOGG_SARON; +UPDATE `creature_template` SET `ScriptName`='npc_immortal_guardian' WHERE `entry` IN (@IMMORTAL_GUARDIAN,@MARKED_IMMORTAL_GUARDIAN); +UPDATE `creature_template` SET `ScriptName`='npc_corruptor_tentacle' WHERE `entry`=@CORRUPTOR_TENTACLE; +UPDATE `creature_template` SET `ScriptName`='npc_constrictor_tentacle' WHERE `entry`=@CONSTRICTOR_TENTACLE; +UPDATE `creature_template` SET `ScriptName`='npc_crusher_tentacle' WHERE `entry`=@CRUSHER_TENTACLE; -- should have UNIT_FLAG_PACIFIED? but it breaks tentacle's AI +UPDATE `creature_template` SET `ScriptName`='npc_descend_into_madness' WHERE `entry`=@DESCEND_INTO_MADNESS; +UPDATE `creature_template` SET `ScriptName`='npc_influence_tentacle' WHERE `entry` IN (@SUIT_OF_ARMOR,@DEATHSWORN_ZEALOT,@RUBY_CONSORT,@EMERALD_CONSORT,@OBSIDIAN_CONSORT,@AZURE_CONSORT,@INFLUENCE_TENTACLE); +UPDATE `creature_template` SET `ScriptName`='npc_observation_ring_keeper' WHERE `entry` IN (@FREYA_GOSSIP,@HODIR_GOSSIP,@THORIM_GOSSIP,@MIMIRON_GOSSIP); +UPDATE `creature_template` SET `ScriptName`='npc_yogg_saron_keeper' WHERE `entry` IN (@FREYA_YS,@HODIR_YS,@THORIM_YS,@MIMIRON_YS); +UPDATE `creature_template` SET `ScriptName`='npc_laughing_skull' WHERE `entry`=@LAUGHING_SKULL; +UPDATE `creature_template` SET `ScriptName`='npc_yogg_saron_illusions' WHERE `entry`=@YOGG_SARON_ILLUSIONS; +UPDATE `creature_template` SET `ScriptName`='npc_garona' WHERE `entry`=@GARONA; +UPDATE `creature_template` SET `ScriptName`='npc_turned_champion' WHERE `entry`=@TURNED_CHAMPION; + +-- Difficulty entries +UPDATE `creature_template` SET `difficulty_entry_1`=@BRAIN_OF_YOGG_SARON_H WHERE `entry`=@BRAIN_OF_YOGG_SARON; +UPDATE `creature_template` SET `difficulty_entry_1`=@GUARDIAN_OF_YOGG_SARON_H WHERE `entry`=@GUARDIAN_OF_YOGG_SARON; +UPDATE `creature_template` SET `difficulty_entry_1`=@CORRUPTOR_TENTACLE_H WHERE `entry`=@CORRUPTOR_TENTACLE; +UPDATE `creature_template` SET `difficulty_entry_1`=@CONSTRICTOR_TENTACLE_H WHERE `entry`=@CONSTRICTOR_TENTACLE; +UPDATE `creature_template` SET `difficulty_entry_1`=@CRUSHER_TENTACLE_H WHERE `entry`=@CRUSHER_TENTACLE; +UPDATE `creature_template` SET `difficulty_entry_1`=@IMMORTAL_GUARDIAN_H WHERE `entry`=@IMMORTAL_GUARDIAN; +UPDATE `creature_template` SET `difficulty_entry_1`=@MARKED_IMMORTAL_GUARDIAN_H WHERE `entry`=@MARKED_IMMORTAL_GUARDIAN; +UPDATE `creature_template` SET `difficulty_entry_1`=@INFLUENCE_TENTACLE_H WHERE `entry`=@INFLUENCE_TENTACLE; + +-- creature_template updates +UPDATE `creature_template` SET `gossip_menu_id`=10324,`npcflag`=1 WHERE `entry`=@FREYA_GOSSIP; +UPDATE `creature_template` SET `gossip_menu_id`=10335,`npcflag`=1 WHERE `entry`=@HODIR_GOSSIP; +UPDATE `creature_template` SET `gossip_menu_id`=10337,`npcflag`=1 WHERE `entry`=@THORIM_GOSSIP; +UPDATE `creature_template` SET `gossip_menu_id`=10336,`npcflag`=1 WHERE `entry`=@MIMIRON_GOSSIP; +UPDATE `creature_template` SET `minlevel`=81,`maxlevel`=81,`unit_flags`=33554432 WHERE `entry`=@SANITY_WELL; +UPDATE `creature_template` SET `faction_A`=14,`faction_H`=14,`minlevel`=80,`maxlevel`=80,`unit_flags`=33554432 WHERE `entry` IN (@VOICE_OF_YOGG_SARON,@DEATH_ORB); +UPDATE `creature_template` SET `faction_A`=14,`faction_H`=14,`minlevel`=81,`maxlevel`=81,`unit_flags`=33554432 WHERE `entry` IN (@LAUGHING_SKULL,@DEATH_RAY); +UPDATE `creature_template` SET `faction_A`=16,`faction_H`=16,`minlevel`=82,`maxlevel`=82 WHERE `entry` IN (@CRUSHER_TENTACLE,@CRUSHER_TENTACLE_H); +UPDATE `creature_template` SET `exp`=2,`faction_A`=16,`faction_H`=16,`minlevel`=82,`maxlevel`=82 WHERE `entry` IN (@GUARDIAN_OF_YOGG_SARON,@GUARDIAN_OF_YOGG_SARON_H); +UPDATE `creature_template` SET `faction_A`=190,`faction_H`=190,`minlevel`=82,`maxlevel`=82 WHERE `entry` IN (@SUIT_OF_ARMOR,@DEATHSWORN_ZEALOT,@RUBY_CONSORT,@EMERALD_CONSORT,@OBSIDIAN_CONSORT,@AZURE_CONSORT,@INFLUENCE_TENTACLE,@INFLUENCE_TENTACLE_H); +UPDATE `creature_template` SET `faction_A`=16,`faction_H`=16 WHERE `entry` IN (@YOGG_SARON,@YOGG_SARON_H,@BRAIN_OF_YOGG_SARON,@BRAIN_OF_YOGG_SARON_H,@IMMORTAL_GUARDIAN,@IMMORTAL_GUARDIAN_H,@CONSTRICTOR_TENTACLE,@CONSTRICTOR_TENTACLE_H,@CORRUPTOR_TENTACLE,@CORRUPTOR_TENTACLE_H); +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (@SARA,@SARA_H,@BRAIN_OF_YOGG_SARON,@BRAIN_OF_YOGG_SARON_H,@VOICE_OF_YOGG_SARON,@DEATH_ORB); +UPDATE `creature_template` SET `minlevel`=60,`maxlevel`=60,`unit_flags`=33554688,`InhabitType`=4 WHERE `entry`=@YOGG_SARON_ILLUSIONS; +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=@DESCEND_INTO_MADNESS; + +-- Creature immunities +UPDATE `creature_template` SET `mechanic_immune_mask`=617299839 WHERE `entry` IN (@YOGG_SARON,@YOGG_SARON_H,@BRAIN_OF_YOGG_SARON,@BRAIN_OF_YOGG_SARON_H); +UPDATE `creature_template` SET `mechanic_immune_mask`=13312063 WHERE `entry` IN (@CRUSHER_TENTACLE,@CRUSHER_TENTACLE_H,@CONSTRICTOR_TENTACLE,@CONSTRICTOR_TENTACLE_H,@CORRUPTOR_TENTACLE,@CORRUPTOR_TENTACLE_H,@SUIT_OF_ARMOR,@DEATHSWORN_ZEALOT,@RUBY_CONSORT,@EMERALD_CONSORT,@OBSIDIAN_CONSORT,@AZURE_CONSORT,@INFLUENCE_TENTACLE,@INFLUENCE_TENTACLE_H); + +UPDATE `creature_model_info` SET `bounding_radius`=0.31,`combat_reach`=33 WHERE `modelid`=28951; + +DELETE FROM `creature_template_addon` WHERE `entry` IN (@OMINOUS_CLOUD,@VOICE_OF_YOGG_SARON,@BRAIN_OF_YOGG_SARON,@BRAIN_OF_YOGG_SARON_H,@SARA,@SARA_H,@DEATH_ORB,@DEATHSWORN_ZEALOT); +INSERT INTO `creature_template_addon`(`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(@OMINOUS_CLOUD,0,0,0,0,0,'63029'), +(@VOICE_OF_YOGG_SARON,0,0,50331648,0,0,''), +(@BRAIN_OF_YOGG_SARON,0,0,33554432,0,0,''), +(@BRAIN_OF_YOGG_SARON_H,0,0,33554432,0,0,''), +(@SARA,0,0,50331648,0,0,''), +(@SARA_H,0,0,50331648,0,0,''), +(@DEATH_ORB,0,0,50331648,0,0,''), +(@DEATHSWORN_ZEALOT,0,0,8,0,0,''); + +DELETE FROM `spell_dbc` WHERE `Id`=63029; +INSERT INTO `spell_dbc` (`Id`,`Dispel`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`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 +(63029,0,0,0x00000100,0x10000000,0,0,0,0,0,0,0,0,0,1,0,0,101,0,0,70,70,21,1,0,-1,0,0,6,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,23,0,0,1000,0,0,0,0,0,0,0,0,0,0,0,63030,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,'Ominous Cloud - SPELL_BOIL_OMINOUSLY_PERIODIC'); + +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (63795,62714,64468,64159,64125); +INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`,`spellid2`,`spellid3`) VALUES +(63795,63795,65301,0,0), +(62714,62714,65209,0,0), +(64468,64468,64486,0,0), +(64159,64159,64160,0,0), +(64125,64125,64126,0,0); + +DELETE FROM `spell_script_names` WHERE `spell_id` IN (62650,62670,62671,62702,63030,63050,63120,63305,63802,63830,63881,63984,64125,64174,64465,64466,64467,64132,64131,64161,63744,63745,63747,65206,64172,64059,64069,65238,63882,63993,64010,64013,64012,64148,64164,64168,64184,63795,63803,65301,64555); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(62650,'spell_yogg_saron_keeper_aura'), +(62670,'spell_yogg_saron_keeper_aura'), +(62671,'spell_yogg_saron_keeper_aura'), +(62702,'spell_yogg_saron_keeper_aura'), +(63030,'spell_yogg_saron_boil_ominously'), +(63050,'spell_yogg_saron_sanity'), +(63120,'spell_yogg_saron_insane'), +(63305,'spell_yogg_saron_grim_reprisal'), +(63802,'spell_yogg_saron_brain_link'), +(63803,'spell_yogg_saron_brain_link_damage'), +(63795,'spell_yogg_saron_psychosis'), +(65301,'spell_yogg_saron_psychosis'), +(63830,'spell_yogg_saron_malady_of_the_mind'), +(63881,'spell_yogg_saron_malady_of_the_mind'), +(63984,'spell_yogg_saron_hate_to_zero'), +(64125,'spell_yogg_saron_squeeze'), +(64174,'spell_yogg_saron_hodirs_protective_gaze'), +(64465,'spell_yogg_saron_shadow_beacon'), +(64466,'spell_yogg_saron_empowering_shadows_range_check'), +(64467,'spell_yogg_saron_empowering_shadows_missile'), +(64132,'spell_yogg_saron_constrictor_tentacle'), +(64131,'spell_yogg_saron_lunge'), +(64161,'spell_yogg_saron_empowered'), +(63744,'spell_yogg_saron_target_selectors'), +(63745,'spell_yogg_saron_target_selectors'), +(63747,'spell_yogg_saron_target_selectors'), +(65206,'spell_yogg_saron_target_selectors'), +(64172,'spell_yogg_saron_titanic_storm'), +(64059,'spell_yogg_saron_induce_madness'), +(64069,'spell_yogg_saron_match_health'), +(65238,'spell_yogg_saron_shattered_illusion'), +(63882,'spell_yogg_saron_death_ray_warning_visual'), +(63993,'spell_yogg_saron_cancel_illusion_room_aura'), +(64010,'spell_yogg_saron_nondescript'), +(64013,'spell_yogg_saron_nondescript'), +(64012,'spell_yogg_saron_revealed_tentacle'), +(64148,'spell_yogg_saron_diminsh_power'), +(64164,'spell_yogg_saron_lunatic_gaze'), +(64168,'spell_yogg_saron_lunatic_gaze'), +(64184,'spell_yogg_saron_in_the_maws_of_the_old_god'), +(64555,'spell_yogg_saron_insane_periodic'); + +DELETE FROM `spell_target_position` WHERE `id` IN (63989,63997,63998,63992); +INSERT INTO `spell_target_position` (`id`,`target_map`,`target_position_x`,`target_position_y`,`target_position_z`,`target_orientation`) VALUES +(63989,603,1954.14,21.522,239.718,2.09439), +(63997,603,2043.12,-25.6981,239.721,0), +(63998,603,1949.13,-80.6744,239.99,4.18879), +(63992,603,1970.61,-25.5988,324.55,3.10346); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=@DESCEND_INTO_MADNESS; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(@DESCEND_INTO_MADNESS,63989,2,0), +(@DESCEND_INTO_MADNESS,63997,2,0), +(@DESCEND_INTO_MADNESS,63998,2,0); + +DELETE FROM `disables` WHERE `SourceType`=4 AND `entry` IN (10187,10189,10293,10294,10388,10409,10410,10412,10414,10415,10416,10417); + +DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (10185,10187,10189,10296,10321,10322,10323,10324,10325,10326,10388,10409,10410,10412,10414,10415,10416,10417); +INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`) VALUES +(10185,18,0,0,''), +(10185,12,0,0,''), +(10187,1,@SARA,0,''), +(10187,7,65157,0,''), +(10187,12,0,0,''), +(10189,1,@SARA,0,''), +(10189,7,65157,0,''), +(10189,12,1,0,''), +(10296,18,0,0,''), +(10296,12,1,0,''), +(10321,18,0,0,''), +(10321,12,1,0,''), +(10322,18,0,0,''), +(10322,12,1,0,''), +(10323,18,0,0,''), +(10323,12,1,0,''), +(10324,18,0,0,''), +(10324,12,0,0,''), +(10325,18,0,0,''), +(10325,12,0,0,''), +(10326,18,0,0,''), +(10326,12,0,0,''), +(10388,18,0,0,''), +(10388,12,0,0,''), +(10409,18,0,0,''), +(10409,12,0,0,''), +(10410,18,0,0,''), +(10410,12,0,0,''), +(10412,18,0,0,''), +(10412,12,0,0,''), +(10414,18,0,0,''), +(10414,12,1,0,''), +(10415,18,0,0,''), +(10415,12,1,0,''), +(10416,18,0,0,''), +(10416,12,1,0,''), +(10417,18,0,0,''), +(10417,12,1,0,''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (62714,65209,62978,63037,63882,63884,63886,64059,64063,64069,64172,64173,64184,65238,63744,63745,63747,64465,64466,64555,65719,65206); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=64184; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=@DESCEND_INTO_MADNESS; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(18,@DESCEND_INTO_MADNESS,63997,0,0,13,0,38,0,0,0,0,0,'','Required instance data for spellclick'), +(18,@DESCEND_INTO_MADNESS,63998,0,0,13,0,38,1,0,0,0,0,'','Required instance data for spellclick'), +(18,@DESCEND_INTO_MADNESS,63989,0,0,13,0,38,2,0,0,0,0,'','Required instance data for spellclick'), +(13,2,62714,0,0,31,0,3,@GUARDIAN_OF_YOGG_SARON,0,0,0,0,'','Shadow Nova'), +(13,2,65209,0,0,31,0,3,@GUARDIAN_OF_YOGG_SARON,0,0,0,0,'','Shadow Nova'), +(13,1,62978,0,0,31,0,3,@OMINOUS_CLOUD,0,0,0,0,'','Summon Guardian'), +(13,1,63037,0,0,31,0,3,@IMMOLATED_CHAMPION,0,0,0,0,'','Deathgrasp'), +(13,1,63744,0,0,31,0,3,@GUARDIAN_OF_YOGG_SARON,0,0,0,0,'','Sara''s Anger'), +(13,1,63745,0,0,31,0,4,0,0,0,0,0,'','Sara''s Blessing'), +(13,1,63747,0,0,31,0,4,0,0,0,0,0,'','Sara''s Fervor'), +(13,1,63882,0,0,31,0,3,@DEATH_ORB,0,0,0,0,'','Death Ray Warning Visual'), +(13,1,63884,0,0,1,0,63120,0,0,1,0,0,'','Death Ray damage'), +(13,1,63884,0,0,1,0,63830,1,0,1,0,0,'','Death Ray damage'), +(13,1,63884,0,0,1,0,63881,1,0,1,0,0,'','Death Ray damage'), +(13,1,63886,0,0,31,0,3,@DEATH_ORB,0,0,0,0,'','Death Ray Damage Visual'), +(13,1,64059,0,0,31,0,4,0,0,0,0,0,'','Induce Madness'), +(13,1,64059,0,0,1,0,63988,0,0,0,0,0,'','Induce Madness'), +(13,1,64063,0,0,31,0,3,@KING_LLANE,0,0,0,0,'','Assassinate'), +(13,1,64069,0,0,31,0,3,@YOGG_SARON,0,0,0,0,'','Match Health'), +(13,1,64172,0,0,31,0,3,@IMMORTAL_GUARDIAN,0,0,0,0,'','Titanic Storm'), +(13,1,64172,0,0,1,0,64162,0,0,0,0,0,'','Titanic Storm'), +(13,1,64172,0,1,31,0,3,@MARKED_IMMORTAL_GUARDIAN,0,0,0,0,'','Titanic Storm'), +(13,1,64172,0,1,1,0,64162,0,0,0,0,0,'','Titanic Storm'), +(13,1,64173,0,0,31,0,3,@SARA,0,0,0,0,'','Shattered Illusion'), +(13,1,64173,0,1,31,0,3,@YOGG_SARON,0,0,0,0,'','Shattered Illusion'), +(13,1,64173,0,2,31,0,3,@CRUSHER_TENTACLE,0,0,0,0,'','Shattered Illusion'), +(13,1,64173,0,3,31,0,3,@CONSTRICTOR_TENTACLE,0,0,0,0,'','Shattered Illusion'), +(13,1,64173,0,4,31,0,3,@CORRUPTOR_TENTACLE,0,0,0,0,'','Shattered Illusion'), +(13,1,64184,0,0,31,0,3,@YOGG_SARON,0,0,0,0,'','In the Maws of the Old God'), +(13,1,65238,0,0,31,0,3,@SARA,0,0,0,0,'','Shattered Illusion remove'), +(13,1,65238,0,1,31,0,3,@YOGG_SARON,0,0,0,0,'','Shattered Illusion remove'), +(13,1,65238,0,2,31,0,3,@CRUSHER_TENTACLE,0,0,0,0,'','Shattered Illusion remove'), +(13,1,65238,0,3,31,0,3,@CONSTRICTOR_TENTACLE,0,0,0,0,'','Shattered Illusion remove'), +(13,1,65238,0,4,31,0,3,@CORRUPTOR_TENTACLE,0,0,0,0,'','Shattered Illusion remove'), +(13,1,64465,0,0,31,0,3,@IMMORTAL_GUARDIAN,0,0,0,0,'','Shadow Beacon'), +(13,1,64465,0,0,1,0,64497,0,0,1,0,0,'','Shadow Beacon'), +(13,1,64466,0,0,31,0,3,@YOGG_SARON,0,0,0,0,'','Empowering Shadows'), +(13,1,64555,0,0,1,0,63050,0,0,1,0,0,'','Insane Periodic'), +(13,1,65719,0,0,31,0,3,@SARA,0,0,0,0,'','Shadow Nova'), +(13,1,65206,0,0,31,0,3,@CORRUPTOR_TENTACLE,0,0,0,0,'','Destabilization Matrix'), +(13,1,65206,0,1,31,0,3,@CRUSHER_TENTACLE,0,0,0,0,'','Destabilization Matrix'); + +-- Loot +UPDATE `creature_loot_template` SET `lootmode`=32-`lootmode` WHERE `entry` IN (@YOGG_SARON,@YOGG_SARON_H); +UPDATE `creature_loot_template` SET `ChanceOrQuestChance`=-100,`lootmode`=32 WHERE `entry`=@YOGG_SARON_H AND `item`=45897; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_16_00_world_spell_target_position.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_16_00_world_spell_target_position.sql new file mode 100644 index 00000000000..421fcae0d01 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_16_00_world_spell_target_position.sql @@ -0,0 +1,2 @@ +-- only for 3.3.5 +UPDATE spell_target_position SET effIndex='0' WHERE id IN (68081, 67837, 67836, 67835, 67838, 67834); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_00_world_creature_addon.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_00_world_creature_addon.sql new file mode 100644 index 00000000000..5ba69949241 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_00_world_creature_addon.sql @@ -0,0 +1 @@ +DELETE FROM `creature_addon` WHERE `guid`=136437; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_01_world_misc.sql new file mode 100644 index 00000000000..55eda1e80a5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_01_world_misc.sql @@ -0,0 +1,35 @@ +-- Prevent multiple template installation tries +UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (474,881,26257) AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (18716,18719) AND `source_type`=0 AND `id`=1; + +-- Remove not existing event links +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=61 AND `id`=0 AND `source_type`=1; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=3594 AND `id`=0 AND `source_type`=0; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=1399 AND `id`=3 AND `source_type`=0; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=305400 AND `id`=0 AND `source_type`=9; + +-- Convert EAI to SAI and add conditions to prevent multiple SMART_ACTION_UPDATE_TEMPLATE calls +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=20778; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=20778; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=20778 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(20778,0,0,2000,6000,7000,10000,11,36519,32,5,'Void Waste - Cast Toxic Burst'), +(20778,1,8,35686,0,0,0,36,20805,0,1,'Void Waste - Change Entry after (proc) Spell 35686'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=2 AND `SourceEntry`=20778 AND `SourceId`=0; +INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ConditionTarget`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`NegativeCondition`,`Comment`) VALUE +(22,2,20778,0,1,31,3,20805,1,'Void Waste may not already be transformed to template entry 20805 when trying to update template to 20805'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=20501; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=20501; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=20501 AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(20501,0,2,0,50,30000,45000,11,36465,0,1,'Seeping Sludge - Cast Seeping Split at 50% HP'), +(20501,1,8,35686,0,0,0,36,20806,0,1,'Seeping Sludge - Change Entry after (proc) Spell 35686'), +(20501,2,11,0,0,0,0,11,35242,0,1,'Seeping Sludge - Darkstalker Birth'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=2 AND `SourceEntry`=20501 AND `SourceId`=0; +INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ConditionTarget`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`NegativeCondition`,`Comment`) VALUE +(22,2,20501,0,1,31,3,20805,1,'Seeping Sludge may not already be transformed to template entry 20806 when trying to update template to 20806'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_02_world_areatrigger_teleport.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_02_world_areatrigger_teleport.sql new file mode 100644 index 00000000000..4b6220161bd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_20_02_world_areatrigger_teleport.sql @@ -0,0 +1,5 @@ +DELETE FROM `areatrigger_teleport` WHERE `id` IN (2547, 2548, 2549); +INSERT INTO `areatrigger_teleport` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`, `name`) VALUES +(2547, 0, 1399.42, -2574.59, 107.786, 6.28319, 'Scholomance - Exit Porch Target 001'), +(2548, 0, 1399.42, -2574.59, 107.786, 6.28319, 'Scholomance - Exit Porch Target 001'), +(2549, 0, 1399.42, -2574.59, 107.786, 6.28319, 'Scholomance - Exit Porch Target 001'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_21_00_world_trinity_strings.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_21_00_world_trinity_strings.sql new file mode 100644 index 00000000000..a8cae5aa19c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_21_00_world_trinity_strings.sql @@ -0,0 +1,24 @@ +DELETE FROM `trinity_string` WHERE entry IN (453, 548, 549, 550, 714, 716, 749, 752, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856); +INSERT INTO `trinity_string` (entry, content_default) VALUES +(453,'│Player %s %s (guid: %u)'), +(548,'│ GM Mode active, Phase: -1'), +(549,'├─ Banned: (Type: %s, Reason: %s, Time: %s, By: %s)'), +(550,'├─ Muted: (Reason: %s, Time: %s, By: %s)'), +(714,'│ Account: %s (ID: %u), GMLevel: %u'), +(716,'│ Last Login: %s (Failed Logins: %u)'), +(749,'│ OS: %s - Latency: %u ms - Mail: %s'), +(752,'│ Last IP: %s (Locked: %s)'), +(843,'│ Level: %u (%u/%u XP (%u XP left))'), +(844,'│ Race: %s %s, %s'), +(845,'│ Alive ?: %s'), +(846,'│ Phase: %u'), +(847,'│ Money: %ug%us%uc'), +(848,'│ Map: %s, Area: %s, Zone: %s'), +(849,'│ Guild: %s (ID: %u)'), +(850,'├─ Rank: %s'), +(851,'├─ Note: %s'), +(852,'├─ O. Note: %s'), +(853,'│ Played time: %s'), +(854,'└ Mails: %d Read/%I64u Total'), +(855,'Male'), +(856,'Female'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_21_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_21_01_world_misc.sql new file mode 100644 index 00000000000..59a7c67833c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_21_01_world_misc.sql @@ -0,0 +1,25 @@ +DELETE FROM `command` WHERE `name` LIKE 'arena%'; +INSERT INTO `command` (`name`, `security`, `help`) VALUES +('arena create', 3, 'Syntax: .arena create $name \"arena name\" #type\n\nA command to create a new Arena-team in game. #type = [2/3/5]'), +('arena disband', 3, 'Syntax: .arena disband #TeamID\n\nA command to disband Arena-team in game.'), +('arena rename', 3, 'Syntax: .arena rename \"oldname\" \"newname\"\n\nA command to rename Arena-team name.'), +('arena captain', 3, 'Syntax: .arena captain #TeamID $name\n\nA command to set new captain to the team $name must be in the team'), +('arena info', 2, 'Syntax: .arena info #TeamID\n\nA command that show info about arena team'), +('arena lookup', 2, 'Syntax: .arena lookup $name\n\nA command that give a list of arenateam with the given $name'); + +DELETE FROM `trinity_string` WHERE `entry` BETWEEN 857 AND 870; +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(857, 'Arena team [%u] not found'), +(858, 'There is already an arena team named \"%s\"'), +(859, '%s is already in an arena team of that size'), +(860, 'Arena Team In Combat'), +(861, 'Arena with name: \"%s\" or silmilar not found'), +(862, '[%s] not member of the team \"%s\"'), +(863, '[%s] already capitan in the team \"%s\"'), +(864, 'New ArenaTeam created [Name: \"%s\"][Id: %u][Type: %u][Captain GUID: %u]'), +(865, 'Arena team Name: \"%s\"[Id: %u] disbanded'), +(866, 'Arena team [Id: %u] change from \"%s\" to \"%s\"'), +(867, 'Arena team Name: \"%s\"[Id: %u] change capitan from[%s] to [%s]'), +(868, 'Arena team: \"%s\"[%u] - Rating: %u - Type: %ux%u'), +(869, 'Name:\"%s\"[guid:%u] - PR: %u - %s'), +(870, '|\"%s\"[ID:%u](%ux%u)|'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_00_world_sai.sql new file mode 100644 index 00000000000..d3dbd8185c0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_00_world_sai.sql @@ -0,0 +1,466 @@ +-- Matthias Lehner quest chain in Icecrown. Sniffed info. +SET @GUID := 62064; -- Need 4 Matthias Lehner guids; one is already spawned. +SET @CGUID := 142254; -- Needs 81 creature guids +SET @OGUID := 76647; -- Needs 85 misc gameobject guids +SET @MATT1 := 32408; -- Matthias Lehner (Near demolisher) +SET @MATT2 := 32404; -- Matthias Lehner (1) +SET @MATT3 := 32423; -- Matthias Lerner (2) +SET @MATT4 := 32497; -- Matthias Lerner (3) +SET @PLSP_FC := 58989; -- Prodigal Leader Force Cast +SET @REF_DEMOLISHER := 32370; -- Refurbished Demolisher +SET @DEMOLISHER := 31868; -- Wrecked Demolisher +SET @L_CAPTAIN := 32414; -- Lordaeron Captain +SET @L_FOOTSOLDIER := 31254; -- Lordaeron Footsoldier +SET @G_MINION := 31276; -- Ghoulish Minion +SET @SFKCB := 58988; -- Skeletal Footsoldier Kill Credit Base +SET @TPL := 31268; -- The Prodigal Leader +SET @NPC_LK := 32443; -- The Lich King +SET @NPC_SIND := 32446; -- Sindragosa +SET @LK := 32326; -- Lich King +SET @ILLIDAN := 32588; -- Illidan Stormrage +SET @BLOODSTAINED_S1 := 194023; -- GO:194023 Event:20722 +SET @BLOODSTAINED_S2 := 194024; -- GO:194024 Event:20723 +SET @BLOODSTAINED_S3 := 193980; -- GO:193980 Event:20724 +SET @EVENT_1 := 20722; -- Spell Event 1 +SET @EVENT_2 := 20723; -- Spell Event 2 +SET @EVENT_3 := 20724; -- Spell Event 3 + +DELETE FROM `creature` WHERE `guid`=@GUID; +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,@MATT1,571,1,1,0,0,7269.866,1178.146,317.4561,1.954769,300,0,0,12600,0,0,0,0,0); +UPDATE `creature_template` SET `exp`=2,`npcflag`=0x2 WHERE `entry`=@MATT1; +DELETE FROM `creature_template_addon` WHERE `entry`=@MATT1; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@MATT1,0,0x10000,0x1,'10848 49414'); -- Quest Invisibility, Shroud of Death + +-- Apply aura (Generic Quest Invisibility Detection 1) when Field Repairs has been rewarded +DELETE FROM `spell_area` WHERE `spell`=49416 AND `area`=4537; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES +(49416,4537,13393,13394,0,1101,2,1,64,9), -- Alliance +(49416,4537,13304,13305,0,690,2,1,64,9); -- Horde +-- Remove aura (Generic Quest Invisibility Detection 1) when "Do Your Worst" (13394/13305) has been completed + +UPDATE `creature_template` SET `exp`=2,`unit_flags`=0x20040000,`dynamicflags`=0x20,`npcflag`=0x2 WHERE `entry`=@DEMOLISHER; + +DELETE FROM `creature_addon` WHERE `guid`=122757; -- Guid based +DELETE FROM `creature_template_addon` WHERE `entry`=@DEMOLISHER; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@DEMOLISHER,0,0x10000,0x1,'49415 29266'); -- Generic Quest Invisibility 2 & Permanent Feign Death + +-- Apply aura (Generic Quest Invisibility Detection 2) when "Field Repairs" has been taken +DELETE FROM `spell_area` WHERE `spell`=49417 AND `area`=4537; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES +(49417,4537,13393,13393,0,1101,2,1,11,11), -- Alliance +(49417,4537,13304,13304,0,690,2,1,11,11); -- Horde +-- Remove aura (Generic Quest Invisibility Detection 1) when Field Repairs has been rewarded + +UPDATE `creature_template` SET `exp`=2,`npcflag`=16777216 WHERE `entry`=@REF_DEMOLISHER; + +DELETE FROM `creature_template_addon` WHERE `entry`=@REF_DEMOLISHER; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@REF_DEMOLISHER,0,0x10000,0x1,'49414'); -- Generic Quest Invisibility 1 + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=@REF_DEMOLISHER; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(@REF_DEMOLISHER,59724,1,0); -- Summon (Refurbished Demolisher) + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=@REF_DEMOLISHER; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(18,@REF_DEMOLISHER,59724,0,0,9,0,13394,0,0,0,0,0,'','Requires quest to be active for spellclick'), +(18,@REF_DEMOLISHER,59724,0,0,28,0,13394,0,0,1,0,0,'','Requires quest not to be completed for spellclick'); + + +DELETE FROM `creature` WHERE `guid`=@GUID+1; +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+1,@REF_DEMOLISHER,571,1,1,0,0,7259.758,1176.801,316.8752,0.9599311,300,0,0,36860,0,0,0,0,0); + +-- Refurbished Demolisher (31830) -- The vehicle +UPDATE `creature_template` SET `exp`=2,`spell1`=59733,`spell2`=50652,`spell3`=59737 WHERE `entry`=31830; + +UPDATE `creature_template` SET `exp`=2,`AIName`='SmartAI',`npcflag`=0x3,`gossip_menu_id`=10226 WHERE `entry`=@MATT2; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@MATT2 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 +(@MATT2,0,0,0,19,0,100,0,13395,0,0,0,11,@PLSP_FC,0,0,0,0,0,7,0,0,0,0,0,0,0,'On quest accept - Cast spell - Invoker'), +(@MATT2,0,1,0,19,0,100,0,13236,0,0,0,11,@PLSP_FC,0,0,0,0,0,7,0,0,0,0,0,0,0,'On quest accept - Cast spell - Invoker'); + +DELETE FROM `creature_template_addon` WHERE `entry`=@MATT2; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@MATT2,0,0x10000,0x1,'10848 49414'); -- Quest Invisibility, Shroud of Death + +DELETE FROM `gossip_menu` WHERE `entry`=10226 AND `text_id`=14218; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(10226,14218); + +DELETE FROM `creature` WHERE `guid`=@GUID+2; +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+2,@MATT2,571,1,1,0,0,7587.631,1398.042,332.4734,0.8203048,300,0,0,12600,0,0,0,0,0); + +-- Apply aura (Generic Quest Invisibility Detection 1) when Do Your Worst has been completed|rewarded. +DELETE FROM `spell_area` WHERE `spell`=49416 AND `area`=4622; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES +(49416,4622,13394,13396,0,1101,2,1,66,11), -- Alliance +(49416,4622,13305,13348,0,690,2,1,66,11); -- Horde +-- Remove aura (Generic Quest Invisibility Detection 1) when Futility is rewarded + +UPDATE `creature_template` SET `exp`=2,`minlevel`=80,`maxlevel`=80 WHERE `entry`=@MATT3; + +DELETE FROM `creature` WHERE `guid`=@GUID+3; +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+3,@MATT3,571,1,3,0,0,7854.05,957.014,450.898,0.628319,300,0,0,12600,0,0,0,0,0); + +DELETE FROM `creature_template_addon` WHERE `entry`=@MATT3; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@MATT3,0,0x10000,0x1,'10848 49414'); -- Quest Invisibility, Shroud of Death + +-- Apply aura (Generic Quest Invisibility Detection 1) when Sindragosa's Fall/Cradle of the Frostbrood has been Taken. +DELETE FROM `spell_area` WHERE `spell`=49416 AND `area`=4533; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES +(49416,4533,13397,13399,0,1101,2,1,74,11), -- Alliance +(49416,4533,13349,13360,0,690,2,1,74,11); -- Horde +-- Remove aura (Generic Quest Invisibility Detection 1) when Time for Answers is rewarded + +UPDATE `creature_template` SET `exp`=2,`minlevel`=80,`maxlevel`=80 WHERE `entry`=@MATT4; + +DELETE FROM `creature` WHERE `guid`=@GUID+4; +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+4,@MATT4,571,1,1,0,0,6369.59,2360.84,471.656,1.22173,300,0,0,12600,0,0,0,0,0); + +DELETE FROM `creature_template_addon` WHERE `entry`=@MATT4; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@MATT4,0,0x10000,0x1,'10848 49414'); -- Quest Invisibility, Shroud of Death + +-- Apply aura (Generic Quest Invisibility Detection 1) when Time for Answers has been completed/rewarded. +DELETE FROM `spell_area` WHERE `spell`=49416 AND `area`=4519; +INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`autocast`,`quest_start_status`,`quest_end_status`) VALUES +(49416,4519,13399,0,0,1101,2,1,66,0), -- Alliance +(49416,4519,13360,0,0,690,2,1,66,0); -- Horde +-- Remove aura (Generic Quest Invisibility Detection 1) when + +-- Army of the Damned (13395/13236) +-- http://www.youtube.com/watch?v=Rimu18yrSx8 + +UPDATE `creature_template` SET `AIName`='SmartAI',`exp`=2,`spell1`=58912,`spell2`=58913,`spell3`=58916,`spell4`=58917,`speed_run`=0.992062866687775,`VehicleId`=269,`minlevel`=82,`maxlevel`=82,`unit_flags`=0x8,`baseattacktime`=3000,`unit_class`=2 WHERE `entry`=@TPL; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@TPL 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 +(@TPL,0,0,0,8,0,100,0,@SFKCB,0,0,0,11,58987,0,0,0,0,0,23,0,0,0,0,0,0,0,'On Spellhit - Cast Spell - Owner'), +(@TPL,0,1,0,27,0,100,1,0,0,0,0,45,1,1,0,0,0,0,11,@L_CAPTAIN,50,0,0,0,0,0,'On Passenger Boarded - Set Data - Creature Distance'); + + +DELETE FROM `creature_equip_template` WHERE `entry`=@TPL; +INSERT INTO `creature_equip_template` (`entry`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@TPL,33475,0,0); + +DELETE FROM `spell_scripts` WHERE `id` IN (58916,58917); +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(58916,0,0,15,58915,0,0,0,0,0,0), +(58917,0,0,15,58919,0,0,0,0,0,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (58916,58917); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,58916,0,0,31,0,3,@L_CAPTAIN,0,0,0,0,'','Gift of the Lich King target Lordaeron Captain'), +(13,1,58916,0,1,31,0,3,@L_FOOTSOLDIER,0,0,0,0,'','Gift of the Lich King target Lordaeron Footsoldier'), +(13,1,58916,0,0,36,0,0,0,0,1,0,0,'','Target needs to be dead'), +(13,1,58916,0,1,36,0,0,0,0,1,0,0,'','Target needs to be dead'), +(13,1,58917,0,0,31,0,3,@G_MINION,0,0,0,0,'','Consume Minions target Ghoulish Minion'); + + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+80; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`curhealth`,`MovementType`) VALUES +(@CGUID+0, @L_CAPTAIN, 571, 1, 2, 7590.981, 1393.571, 332.805, 1.396263, 120, 0, 12600, 0), -- @L_CAPTAIN (Area: 4622) +(@CGUID+1, @L_FOOTSOLDIER, 571, 1, 2, 7597.618, 1305.04, 337.8358, 1.692969, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+2, @L_FOOTSOLDIER, 571, 1, 2, 7592.61, 1305.417, 336.9066, 1.623156, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+3, @L_FOOTSOLDIER, 571, 1, 2, 7587.983, 1305.996, 335.96, 1.570796, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+4, @L_FOOTSOLDIER, 571, 1, 2, 7575.548, 1310.397, 333.8244, 1.43117, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+5, @L_FOOTSOLDIER, 571, 1, 2, 7580.698, 1310.446, 334.4726, 1.500983, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+6, @L_FOOTSOLDIER, 571, 1, 2, 7581.648, 1306.047, 334.8738, 1.518436, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+7, @L_FOOTSOLDIER, 571, 1, 2, 7575.075, 1306.437, 333.991, 1.43117, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+8, @L_FOOTSOLDIER, 571, 1, 2, 7581.489, 1318.208, 334.0107, 1.448623, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+9, @L_FOOTSOLDIER, 571, 1, 2, 7576.248, 1318.982, 333.3188, 1.37881, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+10, @L_FOOTSOLDIER, 571, 1, 2, 7592.329, 1309.999, 336.3537, 1.623156, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+11, @L_FOOTSOLDIER, 571, 1, 2, 7586.704, 1310.507, 335.3659, 1.570796, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+12, @L_FOOTSOLDIER, 571, 1, 2, 7598.781, 1325.946, 335.8446, 1.692969, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+13, @L_FOOTSOLDIER, 571, 1, 2, 7594.156, 1325.512, 335.1556, 1.623156, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+14, @L_FOOTSOLDIER, 571, 1, 2, 7588.168, 1325.119, 334.319, 1.553343, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+15, @L_FOOTSOLDIER, 571, 1, 2, 7582.48, 1325.178, 333.5676, 1.466077, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+16, @L_FOOTSOLDIER, 571, 1, 2, 7577.097, 1325.809, 332.8546, 1.37881, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+17, @L_FOOTSOLDIER, 571, 1, 2, 7598.016, 1318.954, 336.3169, 1.675516, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+18, @L_FOOTSOLDIER, 571, 1, 2, 7592.37, 1318.074, 335.5277, 1.58825, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+19, @L_FOOTSOLDIER, 571, 1, 2, 7587.729, 1318.605, 334.7913, 1.53589, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+20, @L_FOOTSOLDIER, 571, 1, 2, 7581.285, 1353.305, 331.5094, 1.343904, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+21, @L_FOOTSOLDIER, 571, 1, 2, 7578.252, 1356.313, 331.3191, 1.239184, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+22, @L_FOOTSOLDIER, 571, 1, 2, 7574.283, 1359.968, 331.2968, 1.099557, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+23, @L_FOOTSOLDIER, 571, 1, 2, 7570.327, 1363.058, 330.5497, 0.9424778, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+24, @L_FOOTSOLDIER, 571, 1, 2, 7566.075, 1366.799, 329.6888, 0.7853982, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+25, @L_FOOTSOLDIER, 571, 1, 2, 7578.452, 1348.972, 331.6236, 1.291544, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+26, @L_FOOTSOLDIER, 571, 1, 2, 7574.736, 1352.336, 330.9636, 1.186824, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+27, @L_FOOTSOLDIER, 571, 1, 2, 7570.568, 1356.494, 330.5071, 1.047198, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+28, @L_FOOTSOLDIER, 571, 1, 2, 7566.392, 1359.588, 329.7618, 0.9250245, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+29, @L_FOOTSOLDIER, 571, 1, 2, 7562.342, 1362.778, 329.0039, 0.7853982, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+30, @L_FOOTSOLDIER, 571, 1, 2, 7558.438, 1359.295, 328.2628, 0.7853982, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+31, @L_FOOTSOLDIER, 571, 1, 2, 7562.093, 1356.335, 328.9453, 0.8901179, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+32, @L_FOOTSOLDIER, 571, 1, 2, 7566.872, 1352.062, 329.6797, 1.029744, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+33, @L_FOOTSOLDIER, 571, 1, 2, 7571.022, 1348.635, 330.5304, 1.151917, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+34, @L_FOOTSOLDIER, 571, 1, 2, 7575.356, 1345.213, 331.7339, 1.256637, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+35, @L_FOOTSOLDIER, 571, 1, 2, 7555.554, 1355.546, 328.1983, 0.7853982, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+36, @L_FOOTSOLDIER, 571, 1, 2, 7558.832, 1352.613, 329.0146, 0.8901179, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+37, @L_FOOTSOLDIER, 571, 1, 2, 7563.994, 1349.025, 329.8778, 1.012291, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+38, @L_FOOTSOLDIER, 571, 1, 2, 7568.353, 1344.57, 330.5612, 1.134464, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+39, @L_FOOTSOLDIER, 571, 1, 2, 7572.892, 1341.369, 331.6706, 1.239184, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+40, @L_FOOTSOLDIER, 571, 1, 2, 7597.866, 1354.706, 334.6848, 1.762783, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+41, @L_FOOTSOLDIER, 571, 1, 2, 7597.885, 1367.288, 334.5932, 1.867502, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+42, @L_FOOTSOLDIER, 571, 1, 2, 7593.319, 1367.276, 333.7295, 1.692969, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+43, @L_FOOTSOLDIER, 571, 1, 2, 7589.114, 1367.378, 332.953, 1.518436, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+44, @L_FOOTSOLDIER, 571, 1, 2, 7583.886, 1367.601, 331.9132, 1.308997, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+45, @L_FOOTSOLDIER, 571, 1, 2, 7579.366, 1368.245, 331.3056, 1.117011, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+46, @L_FOOTSOLDIER, 571, 1, 2, 7598.125, 1372.082, 334.4693, 1.954769, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+47, @L_FOOTSOLDIER, 571, 1, 2, 7593.253, 1372.027, 333.6238, 1.710423, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+48, @L_FOOTSOLDIER, 571, 1, 2, 7589.304, 1371.93, 333.0089, 1.518436, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+49, @L_FOOTSOLDIER, 571, 1, 2, 7584.049, 1372.177, 332.2688, 1.239184, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+50, @L_FOOTSOLDIER, 571, 1, 2, 7579.457, 1372.116, 331.681, 1.047198, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+51, @L_FOOTSOLDIER, 571, 1, 2, 7598.163, 1375.465, 334.3708, 2.042035, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+52, @L_FOOTSOLDIER, 571, 1, 2, 7593.275, 1375.512, 333.6264, 1.745329, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+53, @L_FOOTSOLDIER, 571, 1, 2, 7589.806, 1375.822, 333.1504, 1.53589, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+54, @L_FOOTSOLDIER, 571, 1, 2, 7584.474, 1376.15, 332.5364, 1.186824, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+55, @L_FOOTSOLDIER, 571, 1, 2, 7580.116, 1376.351, 331.8188, 0.9424778, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+56, @L_FOOTSOLDIER, 571, 1, 2, 7573.417, 1379.314, 330.5734, 0.5759587, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+57, @L_FOOTSOLDIER, 571, 1, 2, 7577.173, 1385.125, 331.072, 0.3839724, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+58, @L_FOOTSOLDIER, 571, 1, 2, 7597.55, 1310.817, 337.1335, 1.692969, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+59, @L_FOOTSOLDIER, 571, 1, 2, 7604.912, 1343.7, 336.2978, 1.867502, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+60, @L_FOOTSOLDIER, 571, 1, 2, 7609.108, 1346.246, 336.7637, 1.954769, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+61, @L_FOOTSOLDIER, 571, 1, 2, 7614.414, 1348.76, 337.1829, 2.094395, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+62, @L_FOOTSOLDIER, 571, 1, 2, 7618.95, 1352.026, 337.3129, 2.199115, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+63, @L_FOOTSOLDIER, 571, 1, 2, 7624.063, 1355.433, 337.9718, 2.321288, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+64, @L_FOOTSOLDIER, 571, 1, 2, 7601.938, 1347.675, 335.5448, 1.832596, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+65, @L_FOOTSOLDIER, 571, 1, 2, 7606.248, 1349.914, 336.0553, 1.937315, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+66, @L_FOOTSOLDIER, 571, 1, 2, 7611.866, 1352.601, 336.4185, 2.076942, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+67, @L_FOOTSOLDIER, 571, 1, 2, 7617.08, 1355.108, 336.8806, 2.216568, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+68, @L_FOOTSOLDIER, 571, 1, 2, 7622.682, 1358.639, 337.6412, 2.356194, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+69, @L_FOOTSOLDIER, 571, 1, 2, 7600.038, 1350.75, 334.9453, 1.797689, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+70, @L_FOOTSOLDIER, 571, 1, 2, 7603.683, 1353.315, 335.4449, 1.902409, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+71, @L_FOOTSOLDIER, 571, 1, 2, 7609.594, 1356.689, 336.257, 2.076942, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+72, @L_FOOTSOLDIER, 571, 1, 2, 7614.948, 1359.268, 337.0087, 2.234021, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+73, @L_FOOTSOLDIER, 571, 1, 2, 7621.068, 1362.548, 337.6258, 2.391101, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+74, @L_FOOTSOLDIER, 571, 1, 2, 7601.229, 1356.915, 335.2959, 1.867502, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+75, @L_FOOTSOLDIER, 571, 1, 2, 7607.468, 1359.978, 336.2152, 2.076942, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+76, @L_FOOTSOLDIER, 571, 1, 2, 7613.156, 1363.574, 336.9086, 2.268928, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+77, @L_FOOTSOLDIER, 571, 1, 2, 7618.365, 1366.665, 337.358, 2.426008, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+78, @L_FOOTSOLDIER, 571, 1, 2, 7600.953, 1385.339, 334.186, 2.687807, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+79, @L_FOOTSOLDIER, 571, 1, 2, 7608.228, 1378.985, 334.8071, 2.565634, 120, 0, 12600, 0), -- @L_FOOTSOLDIER (Area: 4622) +(@CGUID+80, @L_FOOTSOLDIER, 571, 1, 2, 7604.285, 1378.747, 334.8669, 2.443461, 120, 0, 12600, 0); -- @L_FOOTSOLDIER (Area: 4622) + +-- Misc gameobjects +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+84; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 193813, 571, 1, 2, 7541.28, 1320.396, 328.9124, -1.500982, 0, 0, 0, 1, 120, 255, 1), -- 193813 (Area: 4622) +(@OGUID+1, 193814, 571, 1, 2, 7543.634, 1320.439, 329.0549, 2.775071, 0, 0, 0, 1, 120, 255, 1), -- 193814 (Area: 4622) +(@OGUID+2, 193816, 571, 1, 2, 7545.142, 1315.035, 329.4462, -3.010669, 0, 0, 0, 1, 120, 255, 1), -- 193816 (Area: 4622) +(@OGUID+3, 193817, 571, 1, 2, 7543.001, 1315.064, 329.2274, 0.130899, 0, 0, 0, 1, 120, 255, 1), -- 193817 (Area: 4622) +(@OGUID+4, 193818, 571, 1, 2, 7540.648, 1315.594, 328.9768, 1.701696, 0, 0, 0, 1, 120, 255, 1), -- 193818 (Area: 4622) +(@OGUID+5, 193819, 571, 1, 2, 7560.569, 1300.758, 333.2082, 1.806415, 0, 0, 0, 1, 120, 255, 1), -- 193819 (Area: 4622) +(@OGUID+6, 193820, 571, 1, 2, 7554.927, 1309.58, 330.9437, -1.771509, 0, 0, 0, 1, 120, 255, 1), -- 193820 (Area: 4622) +(@OGUID+7, 193807, 571, 1, 2, 7559.165, 1301.401, 332.9652, 2.015855, 0, 0, 0, 1, 120, 255, 1), -- 193807 (Area: 4622) +(@OGUID+8, 193808, 571, 1, 2, 7561.399, 1303.66, 332.1848, 1.370081, 0, 0, 0, 1, 120, 255, 1), -- 193808 (Area: 4622) +(@OGUID+9, 193809, 571, 1, 2, 7557.444, 1303.104, 331.5889, 1.30027, 0, 0, 0, 1, 120, 255, 1), -- 193809 (Area: 4622) +(@OGUID+10, 193815, 571, 1, 2, 7542.429, 1320.442, 329.6358, 1.911133, 0, 0, 0, 1, 120, 255, 1), -- 193815 (Area: 4622) +(@OGUID+11, 193800, 571, 1, 2, 7554.204, 1314.124, 330.6833, 2.338742, 0, 0, 0, 1, 120, 255, 1), -- 193800 (Area: 4622) +(@OGUID+12, 193801, 571, 1, 2, 7545.629, 1307.18, 329.9126, 0.7243106, 0, 0, 0, 1, 120, 255, 1), -- 193801 (Area: 4622) +(@OGUID+13, 193802, 571, 1, 2, 7541.902, 1316.621, 328.9081, 0.1134449, 0, 0, 0, 1, 120, 255, 1), -- 193802 (Area: 4622) +(@OGUID+14, 193810, 571, 1, 2, 7557.45, 1303.402, 332.9673, -1.832593, 0, 0, 0, 1, 120, 255, 1), -- 193810 (Area: 4622) +(@OGUID+15, 193821, 571, 1, 2, 7550.283, 1316.339, 329.959, 2.836153, 0, 0, 0, 1, 120, 255, 1), -- 193821 (Area: 4622) +(@OGUID+16, 193822, 571, 1, 2, 7553.371, 1304.985, 331.0674, -2.277654, 0, 0, 0, 1, 120, 255, 1), -- 193822 (Area: 4622) +(@OGUID+17, 193823, 571, 1, 2, 7551.499, 1304.395, 330.7182, 1.596977, 0, 0, 0, 1, 120, 255, 1), -- 193823 (Area: 4622) +(@OGUID+18, 193824, 571, 1, 2, 7553.543, 1304.755, 331.1079, 0.9424764, 0, 0, 0, 1, 120, 255, 1), -- 193824 (Area: 4622) +(@OGUID+19, 193825, 571, 1, 2, 7550.23, 1316.46, 330.6128, -2.330011, 0, 0, 0, 1, 120, 255, 1), -- 193825 (Area: 4622) +(@OGUID+20, 193826, 571, 1, 2, 7556.107, 1309.794, 331.7017, 1.021015, 0, 0, 0, 1, 120, 255, 1), -- 193826 (Area: 4622) +(@OGUID+21, 193827, 571, 1, 2, 7540.02, 1320.733, 329.4276, 1.596974, 0, 0, 0, 1, 120, 255, 1), -- 193827 (Area: 4622) +(@OGUID+22, 193805, 571, 1, 2, 7560.395, 1300.322, 332.0938, -1.335177, 0, 0, 0, 1, 120, 255, 1), -- 193805 (Area: 4622) +(@OGUID+23, 193811, 571, 1, 2, 7616.356, 1305.621, 341.7527, -1.553341, 0, 0, 0, 1, 120, 255, 1), -- 193811 (Area: 4622) +(@OGUID+24, 193829, 571, 1, 2, 7628.698, 1313.042, 341.731, 2.510756, 0, 0, 0, 1, 120, 255, 1), -- 193829 (Area: 4622) +(@OGUID+25, 193836, 571, 1, 2, 7623.703, 1306.834, 341.2804, -1.304631, 0, 0, 0, 1, 120, 255, 1), -- 193836 (Area: 4622) +(@OGUID+26, 193837, 571, 1, 2, 7623.346, 1306.82, 341.664, 0.3035969, 0, 0, 0, 1, 120, 255, 1), -- 193837 (Area: 4622) +(@OGUID+27, 193812, 571, 1, 2, 7616.432, 1305.333, 340.4039, 1.579521, 0, 0, 0, 1, 120, 255, 1), -- 193812 (Area: 4622) +(@OGUID+28, 193839, 571, 1, 2, 7620.775, 1303.785, 341.3588, 1.776699, 0, 0, 0, 1, 120, 255, 1), -- 193839 (Area: 4622) +(@OGUID+29, 193840, 571, 1, 2, 7619.116, 1305.521, 340.8146, -1.292454, 0, 0, 0, 1, 120, 255, 1), -- 193840 (Area: 4622) +(@OGUID+30, 193833, 571, 1, 2, 7611.557, 1304.096, 341.6903, 2.46209, 0, 0, 0, 1, 120, 255, 1), -- 193833 (Area: 4622) +(@OGUID+31, 193834, 571, 1, 2, 7611.44, 1305.623, 341.8747, 2.385941, 0, 0, 0, 1, 120, 255, 1), -- 193834 (Area: 4622) +(@OGUID+32, 193828, 571, 1, 2, 7628.804, 1312.444, 341.1812, -0.5995114, 0, 0, 0, 1, 120, 255, 1), -- 193828 (Area: 4622) +(@OGUID+33, 193830, 571, 1, 2, 7631.086, 1311.507, 341.5322, 2.199114, 0, 0, 0, 1, 120, 255, 1), -- 193830 (Area: 4622) +(@OGUID+34, 193838, 571, 1, 2, 7628.428, 1307.566, 341.7274, 2.481837, 0, 0, 0, 1, 120, 255, 1), -- 193838 (Area: 4622) +(@OGUID+35, 193831, 571, 1, 2, 7630.328, 1312.191, 341.3887, 1.474802, 0, 0, 0, 1, 120, 255, 1), -- 193831 (Area: 4622) +(@OGUID+36, 193832, 571, 1, 2, 7631.078, 1312.427, 341.4087, 1.210786, 0, 0, 0, 1, 120, 255, 1), -- 193832 (Area: 4622) +(@OGUID+37, 193845, 571, 1, 2, 7625.171, 1305.658, 341.5322, 2.274172, 0, 0, 0, 1, 120, 255, 1), -- 193845 (Area: 4622) +(@OGUID+38, 193803, 571, 1, 2, 7634.984, 1315.54, 341.3336, 0.3839723, 0, 0, 0, 1, 120, 255, 1), -- 193803 (Area: 4622) +(@OGUID+39, 193804, 571, 1, 2, 7612.716, 1303.828, 340.1033, 2.403463, 0, 0, 0, 1, 120, 255, 1), -- 193804 (Area: 4622) +(@OGUID+40, 193799, 571, 1, 2, 7629.829, 1308.381, 341.4977, 2.495816, 0, 0, 0, 1, 120, 255, 1), -- 193799 (Area: 4622) +(@OGUID+41, 193474, 571, 1, 2, 7594.459, 1387.242, 335.4896, 1.509709, 0, 0, 0, 1, 120, 255, 1), -- 193474 (Area: 4622) +(@OGUID+42, 193477, 571, 1, 2, 7565.28, 1388.165, 328.3016, 2.646745, 0, 0, 0, 1, 120, 255, 1), -- 193477 (Area: 4622) +(@OGUID+43, 193478, 571, 1, 2, 7573.998, 1396.272, 329.3516, 1.903219, 0, 0, 0, 1, 120, 255, 1), -- 193478 (Area: 4622) +(@OGUID+44, 193479, 571, 1, 2, 7574.192, 1387.192, 330.1734, -0.721683, 0, 0, 0, 1, 120, 255, 1), -- 193479 (Area: 4622) +(@OGUID+45, 193515, 571, 1, 2, 7572.924, 1386.133, 330.0977, -0.1943158, 0, 0, 0, 1, 120, 255, 1), -- 193515 (Area: 4622) +(@OGUID+46, 193475, 571, 1, 2, 7594.464, 1387.608, 334.2297, -1.596976, 0, 0, 0, 1, 120, 255, 1), -- 193475 (Area: 4622) +(@OGUID+47, 193511, 571, 1, 2, 7572.461, 1387.348, 329.9952, -2.310437, 0, 0, 0, 1, 120, 255, 1), -- 193511 (Area: 4622) +(@OGUID+48, 193523, 571, 1, 2, 7569.051, 1379.311, 329.6375, 0.26714, 0, 0, 0, 1, 120, 255, 1), -- 193523 (Area: 4622) +(@OGUID+49, 193524, 571, 1, 2, 7569.593, 1378.756, 331.6182, 0.2884431, 0, 0, 0, 1, 120, 255, 1), -- 193524 (Area: 4622) +(@OGUID+50, 193525, 571, 1, 2, 7569.944, 1380.115, 331.8074, 0.2884431, 0, 0, 0, 1, 120, 255, 1), -- 193525 (Area: 4622) +(@OGUID+51, 193526, 571, 1, 2, 7578.941, 1388.341, 331.1905, 2.510151, 0, 0, 0, 1, 120, 255, 1), -- 193526 (Area: 4622) +(@OGUID+52, 193527, 571, 1, 2, 7578.064, 1388.368, 330.8582, 0.952802, 0, 0, 0, 1, 120, 255, 1), -- 193527 (Area: 4622) +(@OGUID+53, 193528, 571, 1, 2, 7578.356, 1387.903, 331.3766, 2.996104, 0, 0, 0, 1, 120, 255, 1), -- 193528 (Area: 4622) +(@OGUID+54, 193514, 571, 1, 2, 7587.764, 1391.348, 333.9012, 3.10851, 0, 0, 0, 1, 120, 255, 1), -- 193514 (Area: 4622) +(@OGUID+55, 193472, 571, 1, 2, 7584.512, 1387.774, 335.2943, 1.52716, 0, 0, 0, 1, 120, 255, 1), -- 193472 (Area: 4622) +(@OGUID+56, 193473, 571, 1, 2, 7584.511, 1388.14, 334.0347, -1.579522, 0, 0, 0, 1, 120, 255, 1), -- 193473 (Area: 4622) +(@OGUID+57, 193510, 571, 1, 2, 7585.269, 1391.078, 333.9027, -2.382504, 0, 0, 0, 1, 120, 255, 1), -- 193510 (Area: 4622) +(@OGUID+58, 193529, 571, 1, 2, 7611.424, 1384.339, 335.7021, 0.4115172, 0, 0, 0, 1, 120, 255, 1), -- 193529 (Area: 4622) +(@OGUID+59, 193498, 571, 1, 2, 7608.75, 1388.728, 335.8158, -3.031208, 0, 0, 0, 1, 120, 255, 1), -- 193498 (Area: 4622) +(@OGUID+60, 193512, 571, 1, 2, 7607.569, 1380.687, 334.6062, -2.615315, 0, 0, 0, 1, 120, 255, 1), -- 193512 (Area: 4622) +(@OGUID+61, 193513, 571, 1, 2, 7602.882, 1392.214, 333.8481, 2.86819, 0, 0, 0, 1, 120, 255, 1), -- 193513 (Area: 4622) +(@OGUID+62, 193499, 571, 1, 2, 7607.803, 1387.896, 334.5514, 1.181878, 0, 0, 0, 1, 120, 255, 1), -- 193499 (Area: 4622) +(@OGUID+63, 193500, 571, 1, 2, 7607.761, 1388.981, 335.6974, 2.752486, 0, 0, 0, 1, 120, 255, 1), -- 193500 (Area: 4622) +(@OGUID+64, 193501, 571, 1, 2, 7608.067, 1387.847, 335.6891, 1.57918, 0, 0, 0, 1, 120, 255, 1), -- 193501 (Area: 4622) +(@OGUID+65, 193502, 571, 1, 2, 7606.78, 1387.013, 335.4621, 0.4406689, 0, 0, 0, 1, 120, 255, 1), -- 193502 (Area: 4622) +(@OGUID+66, 193507, 571, 1, 2, 7603.438, 1393.474, 333.8636, 0.8205906, 0, 0, 0, 1, 120, 255, 1), -- 193507 (Area: 4622) +(@OGUID+67, 193508, 571, 1, 2, 7604.211, 1394.048, 334.0117, 0.553567, 0, 0, 0, 1, 120, 255, 1), -- 193508 (Area: 4622) +(@OGUID+68, 193521, 571, 1, 2, 7603.405, 1381.198, 334.5134, 1.028245, 0, 0, 0, 1, 120, 255, 1), -- 193521 (Area: 4622) +(@OGUID+69, 193522, 571, 1, 2, 7609.946, 1383.467, 334.8445, 2.07127, 0, 0, 0, 1, 120, 255, 1), -- 193522 (Area: 4622) +(@OGUID+70, 193505, 571, 1, 2, 7614.041, 1383.107, 335.3358, -1.199282, 0, 0, 0, 1, 120, 255, 1), -- 193505 (Area: 4622) +(@OGUID+71, 193506, 571, 1, 2, 7604.289, 1393.07, 334.0316, -0.001746883, 0, 0, 0, 1, 120, 255, 1), -- 193506 (Area: 4622) +(@OGUID+72, 193466, 571, 1, 2, 7603.318, 1390.261, 333.631, -1.944215, 0, 0, 0, 1, 120, 255, 1), -- 193466 (Area: 4622) +(@OGUID+73, 193467, 571, 1, 2, 7611.13, 1380.281, 334.9095, -2.729541, 0, 0, 0, 1, 120, 255, 1), -- 193467 (Area: 4622) +(@OGUID+74, 193503, 571, 1, 2, 7613.502, 1382.34, 335.2786, 0.381168, 0, 0, 0, 1, 120, 255, 1), -- 193503 (Area: 4622) +(@OGUID+75, 193504, 571, 1, 2, 7613.352, 1382.993, 335.6254, 0.8341318, 0, 0, 0, 1, 120, 255, 1), -- 193504 (Area: 4622) +(@OGUID+76, 193509, 571, 1, 2, 7600.531, 1392.637, 333.3486, 1.351323, 0, 0, 0, 1, 120, 255, 1), -- 193509 (Area: 4622) +(@OGUID+77, 193806, 571, 1, 2, 7559.955, 1299.04, 333.1187, 2.809974, 0, 0, 0, 1, 120, 255, 1), -- 193806 (Area: 4622) +(@OGUID+78, 193798, 571, 1, 2, 7554.067, 1301.211, 331.2181, 1.195549, 0, 0, 0, 1, 120, 255, 1), -- 193798 (Area: 4622) +(@OGUID+79, 193841, 571, 1, 2, 7625.241, 1304.634, 341.6619, 2.192614, 0, 0, 0, 1, 120, 255, 1), -- 193841 (Area: 4622) +(@OGUID+80, 193843, 571, 1, 2, 7626.075, 1302.194, 342.0533, 1.939992, 0, 0, 0, 1, 120, 255, 1), -- 193843 (Area: 4622) +(@OGUID+81, 193842, 571, 1, 2, 7625.737, 1303.095, 341.8933, 2.157538, 0, 0, 0, 1, 120, 255, 1), -- 193842 (Area: 4622) +(@OGUID+82, 193835, 571, 1, 2, 7621.549, 1301.871, 341.7209, -1.390356, 0, 0, 0, 1, 120, 255, 1), -- 193835 (Area: 4622) +(@OGUID+83, 193797, 571, 1, 2, 7622.559, 1303.291, 341.1438, 1.823867, 0, 0, 0, 1, 120, 255, 1), -- 193797 (Area: 4622) +(@OGUID+84, 193844, 571, 1, 2, 7626.616, 1302.82, 342.0193, 1.37313, 0, 0, 0, 1, 120, 255, 1); -- 193844 (Area: 4622) + +-- 193471 +UPDATE `gameobject` SET `phaseMask`=3 WHERE `guid`=62737; + +UPDATE `creature_template` SET `AIName`='SmartAI',`exp`=2,`minlevel`=80,`maxlevel`=80,`faction_A`=2136,`faction_H`=2136 WHERE `entry`=@L_FOOTSOLDIER; +UPDATE `creature_template` SET `AIName`='SmartAI',`exp`=2,`minlevel`=80,`maxlevel`=80,`faction_A`=2136,`faction_H`=2136 WHERE `entry`=@L_CAPTAIN; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@L_CAPTAIN,@L_FOOTSOLDIER) 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 + -- We hide the body; this way to prevent multiple ghoul spawns from the same body +(@L_CAPTAIN,0,0,0,8,0,100,0,58916,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lordaeron Captain - On Spellhit - Set Invisible'), +(@L_CAPTAIN,0,1,0,38,0,100,0,1,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lordaeron Captain - On Data Set - Talk'), +(@L_FOOTSOLDIER,0,0,0,8,0,100,0,58916,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lordaeron Footsoldier - On Spellhit -Set Invisible'), +(@L_FOOTSOLDIER,0,1,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lordaeron Footsoldier - On Aggro - Talk'); + + +DELETE FROM `creature_equip_template` WHERE `entry` IN (@L_CAPTAIN,@L_FOOTSOLDIER); +INSERT INTO `creature_equip_template` (`entry`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@L_CAPTAIN,1895,0,36636), -- Lordaeron Captain @L_CAPTAIN +(@L_FOOTSOLDIER,1895,0,36636); -- Lordaeron Footsoldier @L_FOOTSOLDIER + +DELETE FROM `creature_text` WHERE `entry` IN (@L_FOOTSOLDIER,@L_CAPTAIN); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@L_FOOTSOLDIER,0,0,'The undead are upon us!',12,0,10,0,0,0,'Lordaeron Footsoldier to Ghoulish Minion'), +(@L_FOOTSOLDIER,0,1,'The rumors were true! The prince has gone mad!',12,0,10,0,0,0,'Lordaeron Footsoldier to Ghoulish Minion'), +(@L_CAPTAIN,0,0,'You''ve come to address the men, sir?', 12,0,100,66,0,0,'Lordaeron Captain'); + +UPDATE `creature_template` SET `AIName`='SmartAI',`speed_walk`=0.777776,`minlevel`=82,`maxlevel`=82,`unit_flags`=0x8 WHERE `entry`=@G_MINION; +DELETE FROM `creature_template_addon` WHERE `entry`=@G_MINION; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@G_MINION,0,0x0,0x1,'58946'); -- Hate Aura + + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@G_MINION 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 +(@G_MINION,0,0,0,54,0,100,1,0,0,0,0,11,@SFKCB,0,0,0,0,0,23,0,0,0,0,0,0,0,'On Just Summoned - Cast Spell - Owner'); + +-- Where Dragons Fell (13398/13359) +-- http://www.youtube.com/watch?v=v3FsLm1oY8k + +UPDATE `creature_template` SET `minlevel`=83, `maxlevel`=83, `exp`=2, `unit_class`=2, `InhabitType`=7 WHERE `entry`=@NPC_SIND; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_LK,@NPC_SIND,@NPC_LK*100,@MATT3); +DELETE FROM `smart_scripts` WHERE (`entryorguid` IN (@NPC_LK,@NPC_SIND,@MATT3,@NPC_LK*100) AND `source_type`IN (0,9)); +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 +(@MATT3,0,0,0,20,0,100,0,13398,1,0,0,12,@NPC_LK,1,27000,0,0,0,8,0,0,0,7863.779, 943.377, 451.502, 1.556,'Matthias Lehner - On Quest rewarded - Summon Lich King'), +(@MATT3,0,1,0,20,0,100,0,13359,0,0,0,12,@NPC_LK,1,27000,0,0,0,8,0,0,0,7863.779, 943.377, 451.502, 1.556,'Matthias Lehner - On Quest rewarded - Summon Lich King '), + +(@NPC_LK,0,0,0,54,0,100,0,0,0,0,0,53,0,@NPC_LK,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King - On Summoned - Start WP-Movement'), +(@NPC_LK,0,1,2,58,0,100,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King - On WP-End - Talk'), +(@NPC_LK,0,2,3,61,0,100,0,0,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King - On Link -Add unit field bytes - Kneel'), +(@NPC_LK,0,3,4,61,0,100,0,0,0,0,0,12,@NPC_SIND,8,0,0,0,0,8,0,0,0,7837.523,1054.987,421.766,5.00,'Lich King - On WP-End - Summon Sindragosa'), +(@NPC_LK,0,4,0,61,0,100,0,0,0,0,0,80,@NPC_LK*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King - On Link - Start timed script'), +(@NPC_LK,0,5,0,38,0,100,0,1,1,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King - On data set - Remove unit field bytes'), +(@NPC_LK*100,9,0,0,0,0,100,0,2000,2000,2000,2000,45,1,1,0,0,0,0,1,0,0,0,0,0,0,0,'Lich King - On Script - Set Data'), + +(@NPC_SIND,0,0,0,54,0,100,0,0,0,0,0,53,1,@NPC_SIND,0,0,0,0,1,0,0,0,0,0,0,0,'Sindragosa - On Summoned - Start WP-Movement'), +(@NPC_SIND,0,1,2,58,0,100,0,1,0,0,0,45,1,1,0,0,0,0,1,0,0,0,0,0,0,0,'Sindragosa - On WP-Ended - Set Data on self'), +(@NPC_SIND,0,2,3,61,0,100,0,1,1,0,0,46,200,0,0,0,0,0,1,0,0,0,0,0,0,0,'Sindragosa - On data set - Move forward'), +(@NPC_SIND,0,3,0,61,0,100,0,0,0,0,0,41,15000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Sindragosa - On data set - Despawn'); + +DELETE FROM `creature_template_addon` WHERE entry =@NPC_SIND; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@NPC_SIND,0,0,33554432,0,0,'43775'); + +DELETE FROM `waypoints` WHERE `entry`=@NPC_LK; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@NPC_LK,1,7863.453, 960.661, 450.491,'Lich King - WP1'); + +DELETE FROM `waypoints` WHERE `entry`=@NPC_SIND; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@NPC_SIND,1,7848.635,1027.209,480.763,'Sindragosa- WP1'); + +DELETE FROM `creature_text` WHERE `entry`= @NPC_LK; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_LK,0,0,'Rise, Sindragosa! Rise and lead the Frostbrood into war!',12,0,100,16,0,0,'Lich King'); + + +-- The Hunter and the Prince (13400/13361) +-- Bloodstained Stone +-- GO:194023 Event:20722 +-- GO:194024 Event:20723 +-- GO:193980 Event:20724 + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@MATT4; + +DELETE FROM `smart_scripts` WHERE (`entryorguid`=@MATT4 AND `source_type`=0) OR (`entryorguid` IN (@MATT4*100,@MATT4*100+1,@MATT4*100+2) AND `source_type`=9); +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 +(@MATT4,0,0,0,19,0,100,0,13400,0,0,0,87,@MATT4*100,@MATT4*100+1,@MATT4*100+2,0,0,0,1,0,0,0,0,0,0,0,'On Quest Accepted - Run Script - Self'), +(@MATT4,0,1,0,19,0,100,0,13361,0,0,0,87,@MATT4*100,@MATT4*100+1,@MATT4*100+2,0,0,0,1,0,0,0,0,0,0,0,'On Quest Accepted - Run Script - Self'), +(@MATT4*100,9,0,0,0,0,100,0,0,0,0,0,50,@BLOODSTAINED_S1,30000,0,0,0,0,8,0,0,0,6331.721,2360.052,477.274,0,'On Script - Summon GO - Location'), +(@MATT4*100+1,9,0,0,0,0,100,0,0,0,0,0,50,@BLOODSTAINED_S2,30000,0,0,0,0,8,0,0,0,6359.744,2342.196,472.701,0,'On Script - Summon GO - Location'), +(@MATT4*100+2,9,0,0,0,0,100,0,0,0,0,0,50,@BLOODSTAINED_S3,30000,0,0,0,0,8,0,0,0,6358.710,2383.027,474.682,0,'On Script - Summon GO - Location'); + +-- LK +UPDATE `creature_template` SET `AIName`='',`minlevel`=82,`maxlevel`=82,`EXP`=2,`mindmg`=417,`maxdmg`=582,`attackpower`=608,`baseattacktime`=3000,`unit_class`=2,`minrangedmg`=341,`maxrangedmg`=506,`rangedattackpower`=80,`spell1`=60617,`spell2`=60644,`spell3`=60672,`spell4`=60642,`VehicleId`=300 WHERE `entry`=@LK; +UPDATE `creature_template` SET `Health_mod`=160,`EXP`=0,`rank`=3,`type_flags`=0,`AIName`='SmartAI',`faction_A`=14,`faction_H`=14,`minlevel`=82,`maxlevel`=82,`mindmg`=452,`maxdmg`=678,`attackpower`=169,`baseattacktime`=2000,`unit_class`=1,`minrangedmg`=362,`maxrangedmg`=542,`rangedattackpower`=135 WHERE `entry`= @ILLIDAN; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ILLIDAN 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 +(@ILLIDAN,0,0,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Illidan - On Just Summoned - Talk - Self'), +(@ILLIDAN,0,1,0,0,0,100,0,15000,16000,15000,16000,11,60744,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Illidan - In combat - Immolate'), +(@ILLIDAN,0,2,0,0,0,100,0,6000,7000,6000,7000,11,61101,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Illidan - In combat - Heart Rip'), +(@ILLIDAN,0,4,0,0,0,100,0,19000,19000,19000,19000,11,60742,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Illidan - In combat - Shear'), +(@ILLIDAN,0,5,0,6,0,100,0,0,0,0,0,33,32797,0,0,0,0,0,21,20,0,0,0,0,0,0, 'Illidan - On death - Give quest credit'); + +-- Removing spell from this table in order for Energize (60628) to refund mana. +DELETE FROM `spell_proc_event` WHERE `entry`=60617; + +DELETE FROM `creature_text` WHERE `entry`=@ILLIDAN; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`TEXT`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@ILLIDAN,0,0,'Prepare to die!',12,0,100,0,0,0,'Illidan Stormrage'); + +DELETE FROM `event_scripts` WHERE `id` IN (@EVENT1,@EVENT2,@EVENT3); +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(@EVENT_1,0,10,@ILLIDAN,60000,0,6342.646,2399.023,478.483,5.5137), +(@EVENT_2,0,10,@ILLIDAN,60000,0,6313.481,2345.141,479.379,1.0173), +(@EVENT_3,0,10,@ILLIDAN,60000,0,6351.155,2315.504,474.698,1.2568); + +-- These don't work ... +-- 61752 Illidan Kill Credit Master +-- 61748 Illidan Kill Credit + +-- Addition Dr-j +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=32370 AND `SourceEntry`=59724 AND `ConditionValue1`=13305; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(18,32370,59724,0,1,9,0,13305,0,0,0,0,0, '', 'Required quest active for spellclick'), +(18,32370,59724,0,1,28,0,13305,0,0,1,0,0, '', 'Required quest not completed for spellclick'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_01_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_01_world_gameobject.sql new file mode 100644 index 00000000000..2485b74969b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_01_world_gameobject.sql @@ -0,0 +1,3 @@ +-- Update Frozen Halls & ICC Meeting stone positions from 4.3.4 sniff +UPDATE `gameobject` SET `position_x`=5633.551, `position_y`=2029.531, `position_z`=798.499, `orientation`=4.515394, `rotation2`=0.976296, `rotation3`=-0.2164396 WHERE `guid`=151101; +UPDATE `gameobject` SET `position_x`=5842.831, `position_y`=2218.624, `position_z`=636.288, `orientation`=5.327191, `rotation2`=0.976296, `rotation3`=-0.2164396 WHERE `guid`=151102; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_02_world_sai.sql new file mode 100644 index 00000000000..705fb879151 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_02_world_sai.sql @@ -0,0 +1,11 @@ +-- Creature_AI to Smart_AI Conversion for Proto-Drake Egg (ID 23777) +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` =23777; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=23777; +DELETE FROM `smart_scripts` WHERE `entryorguid` =23777; +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 +(23777,0,0,1,25,0,100,0,0,0, 0, 0, 21 ,0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Proto-Drake Egg - On Spawn - Prevent Combat Movement"), +(23777,0,1,0,61,0,100,0,0,0, 0, 0, 20 ,0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Proto-Drake Egg - Linked with Previous Event - Disable Combat"), +(23777,0,2,3,8 ,0,100,0,46606,0, 0, 0, 12 ,24160, 1, 300000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Proto-Drake Egg - On Spellhit Tillinghast's Plague Canister Dummy - Spawn Plagued Proto-Whelp"), +(23777,0,3,0,61,0,100,0,0,0, 0, 0, 37 ,0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Proto-Drake Egg - Linked with Previous Event - Die"), +(23777,0,4,0,6 ,1,100,0,0,0, 0, 0, 12 ,23688, 1, 300000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Proto-Drake Egg - On Death - Spawn Proto-Whelp"), +(23777,0,5,0,4, 0,100,1,0,0,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0, "Proto-Drake Egg - On Aggro - Set Phase 2"); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_03_world_sai.sql new file mode 100644 index 00000000000..440739f9f82 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_22_03_world_sai.sql @@ -0,0 +1,54 @@ +SET @MYSTIC := 430; +SET @POACHER := 424; +SET @SCOUT := 578; +DELETE FROM `smart_scripts` WHERE entryorguid IN (@POACHER,@MYSTIC,@SCOUT); +-- Redridge Poacher +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 +(@POACHER, 0, 0, 1, 1, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - Out Of Combat - Allow Combat Movement'), +(@POACHER, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - Out Of Combat - Start Auto Attack'), +(@POACHER, 0, 2, 0, 4, 0, 10, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - On Aggro - Say Line 0'), +(@POACHER, 0, 3, 4, 4, 0, 100, 0, 0, 0, 0, 0, 11, 6660, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - On Aggro - Cast Shoot'), +(@POACHER, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - On Aggro - Increment Phase'), +(@POACHER, 0, 5, 6, 9, 0, 100, 0, 5, 30, 3400, 3700, 11, 6660, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 5 - 30 Range - Cast Shoot'), +(@POACHER, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 40, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 5 - 30 Range - Display ranged weapon'), +(@POACHER, 0, 7, 0, 9, 0, 100, 0, 25, 80, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 25 - 80 Range - Allow Combat Movement'), +(@POACHER, 0, 8, 0, 9, 0, 100, 0, 0, 5, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 0 - 5 Range - Allow Combat Movement'), +(@POACHER, 0, 9, 10, 9, 0, 100, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 0 - 5 Range - Display melee weapon'), +(@POACHER, 0, 10, 0, 61, 0, 100, 0, 0, 0, 0, 0, 20, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 0 - 5 Range - Start Auto Attack'), +(@POACHER, 0, 11, 0, 9, 0, 100, 0, 5, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 5 - 15 Range - Allow Combat Movement'), +(@POACHER, 0, 12, 13, 2, 0, 100, 1, 0, 15, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 15% HP - Allow Combat Movement'), +(@POACHER, 0, 13, 0, 61, 0, 100, 0, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - At 15% HP - Flee For Assist'), +(@POACHER, 0, 14, 0, 7, 0, 100, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Poacher - On Evade - Display melee weapon'); +-- Redridge Mystic +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 +(@MYSTIC, 0, 0, 0, 1, 0, 100, 1, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - Out Of Combat - Allow Combat Movement'), +(@MYSTIC, 0, 1, 0, 4, 0, 10, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - On Aggro - Say Line 0'), +(@MYSTIC, 0, 2, 3, 4, 0, 100, 0, 0, 0, 0, 0, 11, 20802, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - On Aggro - Cast Lightning Bolt'), +(@MYSTIC, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - On Aggro - Increment Phase'), +(@MYSTIC, 0, 4, 0, 9, 0, 100, 0, 0, 40, 600, 1800, 11, 20802, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 0 - 40 Range - Cast Lightning Bolt'), +(@MYSTIC, 0, 5, 6, 3, 0, 100, 0, 0, 15, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 15% Mana - Allow Combat Movement'), +(@MYSTIC, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 15% Mana - Increment Phase'), +(@MYSTIC, 0, 7, 0, 9, 0, 100, 1, 35, 80, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 35 - 80 Range - Allow Combat Movement'), +(@MYSTIC, 0, 8, 0, 9, 0, 100, 1, 5, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 5 - 15 Range - Allow Combat Movement'), +(@MYSTIC, 0, 9, 0, 9, 0, 100, 1, 0, 5, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 0 - 5 Range - Allow Combat Movement'), +(@MYSTIC, 0, 10, 0, 3, 0, 100, 0, 30, 100, 100, 100, 23, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 100% Mana - Increment Phase'), +(@MYSTIC, 0, 11, 12, 14, 0, 100, 0, 0, 30, 35800, 35800, 11, 547, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - On Friendly Unit At 0 - 30% Health - Cast Healing Wave'), +(@MYSTIC, 0, 12, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - On Friendly Unit At 0 - 30% Health - Say Line 1'), +(@MYSTIC, 0, 13, 14, 2, 0, 100, 1, 0, 15, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 15% HP - Allow Combat Movement'), +(@MYSTIC, 0, 14, 0, 61, 0, 100, 0, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Redridge Mystic - At 15% HP - Flee For Assist'); +-- Murloc Scout +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 +(@SCOUT, 0, 0, 1, 1, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - Out Of Combat - Allow Combat Movement'), +(@SCOUT, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - Out Of Combat - Start Auto Attack'), +(@SCOUT, 0, 2, 3, 4, 0, 100, 0, 0, 0, 0, 0, 11, 6660, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - On Aggro - Cast Shoot'), +(@SCOUT, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - On Aggro - Increment Phase'), +(@SCOUT, 0, 4, 5, 9, 0, 100, 0, 5, 30, 2600, 3700, 11, 6660, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 5 - 30 Range - Cast Shoot'), +(@SCOUT, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 40, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 5 - 30 Range - Display ranged weapon'), +(@SCOUT, 0, 6, 0, 9, 0, 100, 0, 25, 80, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 25 - 80 Range - Allow Combat Movement'), +(@SCOUT, 0, 7, 8, 9, 0, 100, 0, 0, 5, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 0 - 5 Range - Allow Combat Movement'), +(@SCOUT, 0, 8, 9, 61, 0, 100, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 0 - 5 Range - Display melee weapon'), +(@SCOUT, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 20, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 0 - 5 Range - Start Auto Attack'), +(@SCOUT, 0, 10, 0, 9, 0, 100, 0, 5, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 5 - 15 Range - Allow Combat Movement'), +(@SCOUT, 0, 11, 12, 2, 0, 100, 1, 0, 15, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 15% HP - Allow Combat Movement'), +(@SCOUT, 0, 12, 0, 61, 0, 100, 0, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - At 15% HP - Flee For Assist'), +(@SCOUT, 0, 13, 0, 7, 0, 100, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Murloc Scout - On Evade - Display melee weapon'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_23_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_23_00_world_misc.sql new file mode 100644 index 00000000000..b6b00ce7cf3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_23_00_world_misc.sql @@ -0,0 +1,96 @@ +SET @GUID := 62851; + +SET @TRIGGER := 4951; +SET @ELM_BUNNY := 23837; +SET @ELM_BUNNY_LARGE := 24110; +SET @OACHANOA := 26648; +SET @PEARL := 188422; + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=@PEARL; +UPDATE `creature_template` SET `speed_run`=2.14286, `faction_A`=190, `faction_H`=190, `unit_flags`=33536, `unit_flags2`=2080, `AIName`='SmartAI', `InhabitType`=4 WHERE `entry`=@OACHANOA; + +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID+0 AND @GUID+3; +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,@ELM_BUNNY,571,1,1,11686,0,2452.865,1722.222,61.8313,5.654867,300,0,0,42,0,0,0,0,0), +(@GUID+1,@ELM_BUNNY_LARGE,571,1,1,11686,0,2427.382,1680.861,-0.05963766,2.356194,300,0,0,42,0,0,0,0,0), +(@GUID+2,@ELM_BUNNY_LARGE,571,1,1,11686,0,2407.345,1733.472,7.560452,2.443461,300,0,0,42,0,0,0,0,0), +(@GUID+3,@ELM_BUNNY_LARGE,571,1,1,11686,0,2436.226,1710.697,-0.01387666,5.183628,300,0,0,42,0,0,0,0,0); + +DELETE FROM `areatrigger_scripts` WHERE `entry`=@TRIGGER; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(@TRIGGER,'SmartTrigger'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@TRIGGER AND `SourceId`=2; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@PEARL AND `SourceId`=1; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,@PEARL,1,0,9,0,12032,0,0,0,0,'','SAI only activates if player is on quest Conversing With the Depths'), +(22,1,@TRIGGER,2,0,9,0,12032,0,0,0,0,'','SAI only activates if player is on quest Conversing With the Depths'), +(22,1,@TRIGGER,2,0,1,0,47098,0,0,0,0,'','SAI only activates if player has aura Oacha''noa''s Compulsion'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-(@GUID+0),-(@GUID+1),-(@GUID+2),-(@GUID+3),@OACHANOA) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@PEARL AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@TRIGGER AND `source_type`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@OACHANOA*100,@OACHANOA*100+1,@PEARL*100) AND `source_type`=9; +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 +(-(@GUID+0),0,0,0,38,0,100,0,0,1,0,0,11,38497,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 1 set - Spellcast Cyclone Water Visual'), +(-(@GUID+0),0,1,0,38,0,100,0,0,2,0,0,28,38497,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny - On data 0 2 set - Remove aura Cyclone Water Visual'), +(-(@GUID+1),0,0,0,38,0,100,0,0,1,0,0,11,47479,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On data 0 1 set - Spellcast Water Spout'), +(-(@GUID+2),0,0,0,38,0,100,0,0,1,0,0,11,45849,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On data 0 1 set - Spellcast Camera Shake - Tremor'), +(-(@GUID+3),0,0,0,38,0,100,0,0,1,0,0,11,47479,0,0,0,0,0,1,0,0,0,0,0,0,0, 'ELM General Purpose Bunny Large - On data 0 1 set - Spellcast Water Spout'), + +(@OACHANOA,0,0,1,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On Spawn - Set event phase 1'), +(@OACHANOA,0,1,2,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On Spawn - Set run'), +(@OACHANOA,0,2,0,61,0,100,0,0,0,0,0,69,1,0,0,0,0,0,8,0,0,0,2367.975,1712.07,43.56623,0, 'Oacha''noa - On Spawn - Move to position'), +(@OACHANOA,0,3,0,34,1,100,0,0,1,0,0,80,@OACHANOA*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On movement inform (phase 1) - Run script 0'), +(@OACHANOA,0,4,0,52,1,100,0,3,@OACHANOA,0,0,1,4,10100,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On text 3 over (phase 1) - Say line'), +(@OACHANOA,0,5,6,52,1,100,0,4,@OACHANOA,0,0,1,9,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa - On text 4 over (phase 1) - Say line'), +(@OACHANOA,0,6,7,61,0,100,0,0,0,0,0,6,12032,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa - On text 4 over (phase 1) - Fail quest'), +(@OACHANOA,0,7,0,61,0,100,0,0,0,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On text 4 over (phase 1) - Despawn after 2 seconds'), +(@OACHANOA,0,8,9,38,1,100,0,0,1,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On data 0 1 set (phase 1) - Set event phase 0'), +(@OACHANOA,0,9,0,61,0,100,0,0,0,0,0,80,@OACHANOA*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa - On data 0 1 set (phase 1) - Run script 1'), + +(@TRIGGER,2,0,0,46,0,100,0,0,0,0,0,45,0,1,0,0,0,0,14,21195,@PEARL,0,0,0,0,0, 'On trigger - Set data 0 1 Pearl of the Depths'), + +(@PEARL,1,0,0,70,0,100,0,2,0,0,0,80,@PEARL*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Pearl of the Depths - On state changed - Run script'), +(@PEARL,1,1,0,38,0,100,0,0,1,0,0,45,0,1,0,0,0,0,19,@OACHANOA,100,0,0,0,0,0, 'Pearl of the Depths - On data 0 1 set - Set data 0 1 Oacha''noa'), + +(@OACHANOA*100,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 0 - Turn to'), +(@OACHANOA*100,9,1,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID+1,@ELM_BUNNY_LARGE,0,0,0,0,0, 'Oacha''noa script 0 - Set data 0 1 ELM General Purpose Bunny Large'), +(@OACHANOA*100,9,2,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID+2,@ELM_BUNNY_LARGE,0,0,0,0,0, 'Oacha''noa script 0 - Set data 0 1 ELM General Purpose Bunny Large'), +(@OACHANOA*100,9,3,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID+3,@ELM_BUNNY_LARGE,0,0,0,0,0, 'Oacha''noa script 0 - Set data 0 1 ELM General Purpose Bunny Large'), +(@OACHANOA*100,9,4,0,0,0,100,0,1200,1200,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 0 - Say line'), +(@OACHANOA*100,9,5,0,0,0,100,0,8500,8500,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa script 0 - Say line'), +(@OACHANOA*100,9,6,0,0,0,100,0,9700,9700,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa script 0 - Say line'), +(@OACHANOA*100,9,7,0,0,0,100,0,0,0,0,0,11,47098,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 0 - Spellcast Oacha''noa''s Compulsion'), +(@OACHANOA*100,9,8,0,0,0,100,0,10900,10900,0,0,1,3,10000,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa script 0 - Say line'), + +(@OACHANOA*100+1,9,0,0,0,0,100,0,0,0,0,0,15,12032,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 1 - Complete quest'), +(@OACHANOA*100+1,9,1,0,0,0,100,0,0,0,0,0,1,5,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 1 - Say line'), +(@OACHANOA*100+1,9,2,0,0,0,100,0,10600,10600,0,0,1,6,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 1 - Say line'), +(@OACHANOA*100+1,9,3,0,0,0,100,0,10800,10800,0,0,1,7,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 1 - Say line'), +(@OACHANOA*100+1,9,4,0,0,0,100,0,10700,10700,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.281219, 'Oacha''noa script 1 - Turn to'), +(@OACHANOA*100+1,9,5,0,0,0,100,0,200,200,0,0,1,8,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Oacha''noa script 1 - Say line'), +(@OACHANOA*100+1,9,6,0,0,0,100,0,1000,1000,0,0,5,374,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa script 1 - Play emote'), +(@OACHANOA*100+1,9,7,0,0,0,100,0,0,0,0,0,4,11561,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa script 1 - Play sound'), +(@OACHANOA*100+1,9,8,0,0,0,100,0,2300,2300,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oacha''noa script 1 - Despawn'), + +(@PEARL*100,9,0,0,0,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Pearl of the Depths script - Store targetlist'), +(@PEARL*100,9,1,0,0,0,100,0,0,0,0,0,99,0,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Pearl of the Depths script - Set state'), +(@PEARL*100,9,2,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID+0,@ELM_BUNNY,0,0,0,0,0, 'Pearl of the Depths script - Set data 0 1 ELM General Purpose Bunny'), +(@PEARL*100,9,3,0,0,0,100,0,20000,20000,0,0,45,0,2,0,0,0,0,10,@GUID+0,@ELM_BUNNY,0,0,0,0,0, 'Pearl of the Depths script - Set data 0 2 ELM General Purpose Bunny'), +(@PEARL*100,9,4,0,0,0,100,0,0,0,0,0,12,@OACHANOA,8,0,0,0,0,8,0,0,0,2367.975,1712.07,0.232847,0, 'Pearl of the Depths script - Summon Oacha''noa'), +(@PEARL*100,9,5,0,0,0,100,0,1000,1000,0,0,100,1,0,0,0,0,0,19,@OACHANOA,100,0,0,0,0,0, 'Pearl of the Depths script - Send targetlist'), +(@PEARL*100,9,6,0,0,0,100,0,74000,74000,0,0,99,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Pearl of the Depths script - Set state'); + +DELETE FROM `creature_text` WHERE `entry`=@OACHANOA; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@OACHANOA,0,0,'Little $N, why do you call me forth? Are you working with the trolls of this land? Have you come to kill me and take my power as your own?',14,0,100,33,0,11557,'Oacha''noa'), +(@OACHANOA,1,0,'I sense uncertainty in you, and I do not trust it whether you are with them, or not. If you wish my augury for the Kalu''ak, you will have to prove yourself first.',14,0,100,33,0,11557,'Oacha''noa'), +(@OACHANOA,2,0,'I will lay a mild compulsion upon you. Jump into the depths before me so that you put yourself into my element and thereby display your submission.',14,0,100,33,0,11557,'Oacha''noa'), +(@OACHANOA,3,0,'Though you are compelled, the choice, and the last step before you leap, are yours. You have twenty more seconds to decide.',14,0,100,33,0,11557,'Oacha''noa'), +(@OACHANOA,4,0,'I''m rather curious as to what will happen, should you ignore this and NOT jump into the water.',14,0,100,33,0,11557,'Oacha''noa'), +(@OACHANOA,5,0,'Well done, $N. Your display of respect is duly noted. Now, I have information for you that you must convey to the Kalu''ak.',14,0,100,33,0,11557,'Oacha''noa'), +(@OACHANOA,6,0,'Simply put, you must tell the tuskarr that they cannot run. If they do so, their spirits will be destroyed by the evil rising within Northrend.',15,0,100,0,0,0,'Oacha''noa'), +(@OACHANOA,7,0,'Tell the mystic that his people are to stand and fight alongside the Horde and Alliance against the forces of Malygos and the Lich King.',15,0,100,0,0,0,'Oacha''noa'), +(@OACHANOA,8,0,'Now swim back with the knowledge I have granted you. Do what you can for them, $r.',15,0,100,0,0,0,'Oacha''noa'), +(@OACHANOA,9,0,'Very well, $N, you have failed to act. The prophecy is not yours to learn. Do not call upon me again until you have found your backbone.',14,0,100,33,0,11557,'Oacha''noa'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_23_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_23_01_world_misc.sql new file mode 100644 index 00000000000..143bc3410c6 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_23_01_world_misc.sql @@ -0,0 +1,39 @@ +SET @NARVIR := 30299; +SET @HEART := 192181; + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=@HEART; +UPDATE `creature_template` SET `speed_run`=0.99206, `faction_H`=1954, `faction_A`=1954, `unit_flags`=768, `AIName`='SmartAI' WHERE `entry`=@NARVIR; + +DELETE FROM `creature_equip_template` WHERE `entry`=@NARVIR; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@NARVIR,1,35727,0,0); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NARVIR AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@HEART AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NARVIR*100,@HEART*100) AND `source_type`=9; +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 +(@NARVIR,0,0,0,11,0,100,0,0,0,0,0,80,@NARVIR*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir - On spawn - Run script'), +(@NARVIR,0,1,2,8,0,100,0,40163,0,0,0,33,@NARVIR,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Overseer Narvir - On spellhit Teleport - Quest credit'), +(@NARVIR,0,2,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir - On spellhit Teleport - Despawn'), + +(@HEART,1,0,0,70,0,100,0,2,0,0,0,80,@HEART*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'The Heart of the Storm - On state changed - Run script'), + +(@NARVIR*100,9,0,0,0,0,100,0,20,20,0,0,11,56485,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Overseer Narvir script - Spellcast The Storm''s Fury'), +(@NARVIR*100,9,1,0,0,0,100,0,500,500,0,0,69,0,0,0,0,0,0,8,0,0,0,7312.406,-726.3165,791.6095,0, 'Overseer Narvir script - Move to position'), +(@NARVIR*100,9,2,0,0,0,100,0,6500,6500,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.919862, 'Overseer Narvir script - Turn to'), +(@NARVIR*100,9,3,0,0,0,100,0,1500,1500,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir script - Say line'), +(@NARVIR*100,9,4,0,0,0,100,0,6000,6000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir script - Say line'), +(@NARVIR*100,9,5,0,0,0,100,0,3000,3000,0,0,5,274,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir script - Play emote'), +(@NARVIR*100,9,6,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.385939, 'Overseer Narvir script - Turn to'), +(@NARVIR*100,9,7,0,0,0,100,0,500,500,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir script - Play emotestate'), +(@NARVIR*100,9,8,0,0,0,100,0,3500,3500,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir script - Stop emotestate'), +(@NARVIR*100,9,9,0,0,0,100,0,1500,1500,0,0,11,40163,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Overseer Narvir script - Spellcast Teleport'), + +(@HEART*100,9,0,0,0,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'The Heart of the Storm script - Store targetlist'), +(@HEART*100,9,1,0,0,0,100,0,0,0,0,0,12,@NARVIR,8,0,0,0,0,8,0,0,0,7313.231,-711.5209,791.6917,5.61996, 'The Heart of the Storm script - Summon Overseer Narvir'), +(@HEART*100,9,2,0,0,0,100,0,10,10,0,0,100,1,0,0,0,0,0,19,@NARVIR,50,0,0,0,0,0, 'The Heart of the Storm script - Send targetlist to Overseer Narvir'); + +DELETE FROM `creature_text` WHERE `entry`=@NARVIR; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NARVIR,0,0,'You didn''t think that I was going to let you walk in here and take the Heart of the Storm, did you?',12,0,100,6,0,0,'Overseer Narvir'), +(@NARVIR,1,0,'You may have killed Valduran, but that will not stop me from completing the colossus.',12,0,100,1,0,0,'Overseer Narvir'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_24_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_24_00_world_misc.sql new file mode 100644 index 00000000000..4506dcb1cd3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_24_00_world_misc.sql @@ -0,0 +1,298 @@ +-- Halls Of Reflexion WIP + +DELETE FROM `creature` WHERE `guid` IN (202308,202294,202301,202293); +-- extra spawned Uther -- 202294 +-- extra LK spawn -- 202301 +-- Loralen -- 202293 +-- Lady Jaina Proudmoore -- 202308 +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 +(202308,38112,668,3,1,0,0,5276.583,2037.45,709.4025,5.532694,604800,0,0,0,0,0,0,0,0), +(202294,38113,668,3,1,0,0,5342.232,1975.696,709.4025,2.391101,604800,0,0,0,0,0,0,0,0), +(202301,36723,668,3,2,0,0,5415.538,2117.842,707.7781,3.944444,604800,0,0,0,0,0,0,0,0); +-- Lady Jaina Proudmoore +UPDATE `creature_template` SET `ScriptName`='npc_jaina_or_sylvanas_hor' WHERE `entry`=37221; +-- Lady Sylvanas Windrunner +UPDATE `creature_template` SET `ScriptName`='npc_jaina_or_sylvanas_hor' WHERE `entry`=37223; +-- Frostmourne Altar Bunny (Quel'Delar) +UPDATE `creature_template` SET `InhabitType`=4,`flags_extra`=128 WHERE `entry`=37704; +-- Frostsworn General +UPDATE `creature_template` SET `ScriptName`='npc_frostworn_general' WHERE `entry`=36723; +UPDATE `creature_template` SET `faction_A`=16,`faction_H`=16 WHERE `entry`=37720; -- for hc +-- Spiritual Reflection +UPDATE `creature_template` SET /*`modelid1`=57,*/`ScriptName`='npc_spiritual_reflection' WHERE `entry`=37068; +-- Falric and Marwyn bind players to instance on heroic +UPDATE `creature_template` SET `flags_extra`=1 WHERE `entry` IN (38599,38603); + +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5697,5632); +INSERT INTO `areatrigger_scripts` VALUES +-- AreaTrigger for waves restarter +(5697,'at_hor_waves_restarter'), +-- AreaTrigger for intro start +(5632,'at_hor_intro_start'); + +DELETE FROM `creature_text` WHERE (`entry`=37226 AND `groupid` IN (3,4)) OR `entry`=36723 OR `entry`=36954 OR `entry`=36955 OR `entry`=37554 OR `entry`=30344 OR `entry`=30824; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +-- The Lich King (at start) +(37226,3,0,'Foolish girl. You seek that, which I killed long ago. He is nearly a ghost now. A fate ago in my mind.',14,0,100,0,0,17229,'Lich King SAY_LK_JAINA_INTRO_END'), +(37226,4,0,'I will not make the same mistake again. This time there will be no escape. You fail to serve me in undead. Now, all that remains for you is oblivion!',14,0,100,0,0,17228,'Lich King SAY_LK_SYLVANAS_INTRO_END'), +-- Frostsworn General +(36723,0,0,'You are not worthy to face the Lich King!',14,0,100,0,0,16921,'general SAY_AGGRO'), +(36723,1,0,'Master, I have failed...',14,0,100,0,0,16922,'general SAY_DEATH'), +-- The Lich King (at chase event) +(36954,0,0,'Your allies have arrived, Jaina, just as you promised. You will all become powerful agents of the Scourge.',14,0,100,0,0,17212, 'Lich King SAY_LICH_KING_AGGRO_A'), +(36954,1,0,'I will not make the same mistake again, Sylvanas. This time there will be no escape. You will all serve me in death!',14,0,100,0,0,17213,'Lich King SAY_LICH_KING_AGGRO_H'), +(36954,2,0,'Succumb to the chill of the grave.',14,0,100,0,0,17218,'Lich King SAY_LICH_KING_WALL_02'), +(36954,3,0,'Another dead end.',14,0,100,0,0,17219,'Lich King SAY_LICH_KING_WALL_03'), +(36954,4,0,'How long can you fight it?',14,0,100,0,0,17220,'Lich King SAY_LICH_KING_WALL_04'), +(36954,5,0,'There is no escape!', 14,0,100,0,0,17217,'Lich King SAY_LICH_KING_WALL_01'), +(36954,6,0,'Rise minions, do not left them us!',14,0,100,0,0,17216,'Lich King SAY_LICH_KING_GNOUL'), +(36954,7,0,'Minions sees them. Bring their corpses back to me!',14,0,100,0,0,17222,'Lich King SAY_LICH_KING_ABON'), +(36954,8,0,'Death''s cold embrace awaits.',14,0,100,0,0,17221,'Lich King SAY_LICH_KING_WINTER'), +(36954,9,0,'Nowhere to run! You''re mine now...',14,0,100,0,0,17223,'Lich King SAY_LICH_KING_END_DUN'), +(36954,10,0,'All is lost!',14,0,100,0,0,17215,'Lich King SAY_LICH_KING_WIN'), +-- Lady Jaina Proudmoore (at chase event) +(36955,0,0,'He is too powerful, we must leave this place at once! My magic will hold him in place for only a short time! Come quickly, heroes!',14,0,100,1,0,16644,'Jaina SAY_JAINA_AGGRO'), +(36955,1,0,'I will destroy this barrier. You must hold the undead back!',14,0,100,0,0,16607,'Jaina SAY_JAINA_WALL_01'), +(36955,2,0,'Another ice wall! Keep the undead from interrupting my incantation so that I may bring this wall down!',14,0,100,0,0,16608,'Jaina SAY_JAINA_WALL_02'), +(36955,3,0,'He is toying with us! I will show him what happens to ice when it meets fire!',14,0,100,0,0,16609,'Jaina SAY_JAINA_WALL_03'), +(36955,4,0,'Your barriers can''t hold us back much longer, monster. I will shatter them all!',14,0,100,0,0,16610,'Jaina SAY_JAINA_WALL_04'), +(36955,5,0,'There''s an opening up ahead. GO NOW!', 14,0,100,1,0,16645,'Jaina SAY_JAINA_ESCAPE_01'), +(36955,6,0,'We''re almost there... Don''t give up!',14,0,100,0,0,16646,'Jaina SAY_JAINA_ESCAPE_02'), +(36955,7,0,'It... It''s a dead end. We have no choice but to fight. Steel yourself heroes, for this is our last stand!',14,0,100,1,0,16647,'Jaina SAY_JAINA_TRAP'), +(36955,8,0,'Forgive me heroes, I should have listened to Uther. I ... I had to see for myself, to look into his eyes one last time ... I am sorry.',14,0,100,1,0,16648,'Jaina SAY_JAINA_FINAL_2'), +(36955,9,0,'We now know what must be done. I will deliver this news to King Varian and Highlord Fordring.',14,0,100,1,0,16649,'Jaina SAY_JAINA_FINAL_3'), +-- Lady Sylvanas Windrunner (at chase event) +(37554,0,0,'He''s too powerful! Heroes, quickly, come to me! We must leave this place immediately! I will do what I can do hold him in place while we flee.',14,0,100,0,0,17058,'Sylvanas SAY_SYLVANA_AGGRO'), +(37554,1,0,'No wall can hold the Banshee Queen! Keep the undead at bay, heroes! I will tear this barrier down!',14,0,100,0,0,17029,'Sylvanas SAY_SYLVANA_WALL_01'), +(37554,2,0,'Another barrier? Stand strong, champions! I will bring the wall down!',14,0,100,0,0,17030,'Sylvanas SAY_SYLVANA_WALL_02'), +(37554,3,0,'I grow tired of these games, Arthas! Your walls can\'t stop me!',14,0,100,0,0,17031,'Sylvanas SAY_SYLVANA_WALL_03'), +(37554,4,0,'You won''t impede our escape, fiend. Keep the undead off me while I bring this barrier down!',14,0,100,0,0,17032,'Sylvanas SAY_SYLVANA_WALL_04'), +(37554,5,0,'There''s an opening up ahead. GO NOW!',14,0,100,1,0,17059,'Sylvanas SAY_SYLVANA_ESCAPE_01'), +(37554,6,0,'We''re almost there! Don''t give up!',14,0,100,0,0,17060,'Sylvanas SAY_SYLVANA_ESCAPE_02'), +(37554,7,0,'BLASTED DEAD END! So this is how it ends. Prepare yourselves, heroes, for today we make our final stand!',14,0,100,5,0,17061,'Sylvanas SAY_SYLVANA_TRAP'), +(37554,8,0,'We are safe... for now. His strength has increased tenfold since our last battle. It will take a mighty army to destroy the Lich King. An army greater than even the Horde can rouse.',14,0,100,1,0,17062,'Sylvanas SAY_SYLVANA_FINAL_2'), +-- High Captain Justin Bartlett +(30344,0,0,'Fire, fire!',14,0,100,0,0,16721,'Bartlett SAY_BARTLETT_FIRE'), +(30344,1,0,'Quickly, climb aboard! We mustn''t tarry here. There''s no telling when this whole mountainside will collapse!',14,0,100,0,0,16722,'Bartlett SAY_BARTLETT_FINAL_1'), +-- Sky-Reaver Korm Blackscar +(30824,0,0,'FIRE! FIRE!',14,0,100,0,0,0,'Korm SAY_KORM_FIRE'), +(30824,1,0,'Quickly, climb aboard! We mustn''t tarry here. There''s no telling when this whole mountainside will collapse!',14,0,100,0,0,0,'Korm SAY_KORM_FINAL_1'); + +/* +# 3+4+4+5 +4+4+5+5 = 16+18 +# if 1st boss is dead and we wipe counter starts at wave 6 +SET @CGUID := 400000; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+33; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +-- pos 1 +(@CGUID+4, 38177, 668, 3, 1, 5277.365, 1993.229, 707.7781, 0.4014257, 7200, 0, 0), +(@CGUID+31, 38172, 668, 3, 1, 5280.513, 1997.842, 707.7781, 0.296706, 7200, 0, 0), +(@CGUID+5, 38175, 668, 3, 1, 5275.479, 2001.135, 707.7781, 0.1745329, 7200, 0, 0), +(@CGUID+19, 38172, 668, 3, 1, 5279.649, 2004.656, 707.7781, 0.06981317, 7200, 0, 0), +(@CGUID+10, 38172, 668, 3, 1, 5275.076, 2008.724, 707.7781, 6.213372, 7200, 0, 0), +(@CGUID+25, 38176, 668, 3, 1, 5280.632, 2012.156, 707.7781, 6.056293, 7200, 0, 0), +(@CGUID+15, 38175, 668, 3, 1, 5277.739, 2016.882, 707.7781, 5.969026, 7200, 0, 0), +(@CGUID+29, 38176, 668, 3, 1, 5282.897, 2019.597, 707.7781, 5.88176, 7200, 0, 0), +-- pos 2 +(@CGUID+1, 38172, 668, 3, 1, 5295.885, 2040.342, 707.7781, 5.078908, 7200, 0, 0), +(@CGUID+33, 38176, 668, 3, 1, 5299.25, 2035.998, 707.7781, 5.026548, 7200, 0, 0), +(@CGUID+6, 38172, 668, 3, 1, 5302.448, 2042.222, 707.7781, 4.904375, 7200, 0, 0), +(@CGUID+20, 38173, 668, 3, 1, 5306.057, 2037.002, 707.7781, 4.817109, 7200, 0, 0), +(@CGUID+0, 38175, 668, 3, 1, 5309.577, 2042.668, 707.7781, 4.694936, 7200, 0, 0), +(@CGUID+23, 38175, 668, 3, 1, 5312.752, 2037.122, 707.7781, 4.590216, 7200, 0, 0), +(@CGUID+11, 38173, 668, 3, 1, 5316.701, 2041.55, 707.7781, 4.502949, 7200, 0, 0), +(@CGUID+30, 38177, 668, 3, 1, 5318.704, 2036.108, 707.7781, 4.223697, 7200, 0, 0), +(@CGUID+16, 38173, 668, 3, 1, 5322.964, 2040.288, 707.7781, 4.34587, 7200, 0, 0), +-- pos 3 +(@CGUID+28, 38173, 668, 3, 1, 5336.599, 2017.278, 707.7781, 3.473205, 7200, 0, 0), +(@CGUID+17, 38176, 668, 3, 1, 5343.467, 2015.951, 707.7781, 3.490659, 7200, 0, 0), +(@CGUID+32, 38173, 668, 3, 1, 5337.833, 2010.057, 707.7781, 3.228859, 7200, 0, 0), +(@CGUID+12, 38173, 668, 3, 1, 5344.15, 2007.168, 707.7781, 3.159046, 7200, 0, 0), +(@CGUID+21, 38176, 668, 3, 1, 5337.865, 2003.403, 707.7781, 2.984513, 7200, 0, 0), +(@CGUID+7, 38177, 668, 3, 1, 5343.293, 1999.384, 707.7781, 2.9147, 7200, 0, 0), +(@CGUID+24, 38173, 668, 3, 1, 5335.724, 1996.859, 707.7781, 2.740167, 7200, 0, 0), +(@CGUID+2, 38173, 668, 3, 1, 5340.836, 1992.458, 707.7781, 2.75762, 7200, 0, 0), +-- pos 4 +(@CGUID+3, 38176, 668, 3, 1, 5325.072, 1977.597, 707.7781, 2.076942, 7200, 0, 0), +(@CGUID+8, 38176, 668, 3, 1, 5295.635, 1973.757, 707.7781, 1.186824, 7200, 0, 0), +(@CGUID+9, 38177, 668, 3, 1, 5311.031, 1972.229, 707.7781, 1.64061, 7200, 0, 0), +(@CGUID+13, 38176, 668, 3, 1, 5319.158, 1973.998, 707.7781, 1.919862, 7200, 0, 0), +(@CGUID+14, 38177, 668, 3, 1, 5302.247, 1972.415, 707.7781, 1.37881, 7200, 0, 0), +(@CGUID+18, 38172, 668, 3, 1, 5313.82, 1978.146, 707.7781, 1.745329, 7200, 0, 0), +(@CGUID+22, 38177, 668, 3, 1, 5299.434, 1979.009, 707.7781, 1.239184, 7200, 0, 0), +(@CGUID+26, 38172, 668, 3, 1, 5320.369, 1980.125, 707.7781, 2.007129, 7200, 0, 0), +(@CGUID+27, 38172, 668, 3, 1, 5306.572, 1977.474, 707.7781, 1.500983, 7200, 0, 0); +*/ + +/* +-- Uther the Lightbringer missing emotes +UPDATE `creature_text` SET `emote`=5 WHERE `entry`=37225 AND `groupid` IN (0,4,8,15) AND `id`=0; +UPDATE `creature_text` SET `emote`=1 WHERE `entry`=37225 AND `groupid` IN (1,2,3,5,6,7,9,10,11,12,13,14) AND `id`=0; +-- Falric missing emotes +UPDATE `creature_text` SET `emote`=2 WHERE `entry`=38112 AND `groupid`=5 AND `id`=0; +-- Marwyn missing emotes +UPDATE `creature_text` SET `emote`=2 WHERE `entry`=38113 AND `groupid`=4 AND `id`=0; +UPDATE `creature_text` SET `emote`=397 WHERE `entry`=38113 AND `groupid`=0 AND `id`=0; + +-- Falric and Marwyn bind players to instance on heroic +UPDATE `creature_template` SET `flags_extra`=1 WHERE `entry` IN (38599,38603); +-- Frostsworn General +UPDATE `creature_template` SET `ScriptName`='npc_frostworn_general' WHERE `entry`=36723; +UPDATE `creature_template` SET `faction_A`=16,`faction_H`=16 WHERE `entry`=37720; -- for hc +-- Spiritual Reflection +-- UPDATE `creature_template` SET `modelid1`=57 WHERE `entry`=37068; +UPDATE `creature_template` SET `ScriptName`='npc_spiritual_reflection' WHERE `entry`=37068; +-- The Lich King (at chase event) +UPDATE `creature_template` SET `ScriptName`='boss_lich_king_hor' WHERE `entry`=36954; +-- Lady Jaina Proudmoore (at chase event) +UPDATE `creature_template` SET `faction_A`=1770,`faction_H`=1770,`unit_flags`=64|256|32768,`ScriptName`='npc_jaina_and_sylvana_hor_part2' WHERE `entry`=36955; +-- Lady Sylvanas Windrunner (at chase event) +UPDATE `creature_template` SET `ScriptName`='npc_jaina_and_sylvana_hor_part2' WHERE `entry`=37554; +-- High Captain Justin Bartlett +#UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=30344; +-- Sky-Reaver Korm Blackscar +#UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=30824; +-- Raging Ghoul +UPDATE `creature_template` SET `AIName`='',`Scriptname`='npc_raging_ghoul' WHERE `entry`=36940; +-- Risen Witch Doctor +UPDATE `creature_template` SET `AIName`='',`Scriptname`='npc_risen_witch_doctor' WHERE `entry`=36941; +-- Lumbering Abomination +UPDATE `creature_template` SET `AIName`='',`Scriptname`='npc_lumbering_abomination' WHERE `entry`=37069; +-- Frostmourne Altar Bunny (Quel''Delar) +UPDATE `creature_template` SET `InhabitType`=4,`flags_extra`=128 WHERE `entry`=37704; + +DELETE FROM `conditions` WHERE `SourceEntry`=70063 AND `SourceTypeOrReferenceId`=13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,70063,0,0,32,0,144,0,0,0,0,'','Fury of Frostmourne - target players'); + +-- AreaTrigger for waves restarter +DELETE FROM `areatrigger_scripts` WHERE `entry`=5697; +INSERT INTO `areatrigger_scripts` VALUES +(5697,'at_hor_waves_restarter'); + +SET @GUID_CREATURE := 400000; +DELETE FROM `creature` WHERE `map`=668 AND `guid` BETWEEN @GUID_CREATURE+0 AND @GUID_CREATURE+3; +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_CREATURE+0,37704,668,3,1,0,0,5309.135,2006.21,715.7825,3.961897,604800,0,0,0,0,0,0,0,0), +(@GUID_CREATURE+1,38112,668,3,1,0,0,5276.583,2037.45,709.4025,5.532694,604800,0,0,0,0,0,0,0,0), +(@GUID_CREATURE+2,38113,668,3,1,0,0,5342.232,1975.696,709.4025,2.391101,604800,0,0,0,0,0,0,0,0), +(@GUID_CREATURE+3,36723,668,3,1,0,0,5415.538,2117.842,707.7781,3.944444,604800,0,0,0,0,0,0,0,0); + +DELETE FROM `script_waypoint` WHERE `entry` IN(36955,36954,37554); +INSERT INTO `script_waypoint` VALUES +-- Jaina +(36955,0,5587.682,2228.586,733.011,0,'WP1'), +(36955,1,5600.715,2209.058,731.618,0,'WP2'), +(36955,2,5606.417,2193.029,731.129,0,'WP3'), +(36955,3,5598.562,2167.806,730.918,0,'WP4 - Summon IceWall 01'), +(36955,4,5556.436,2099.827,731.827,0,'WP5 - Spell Channel'), +(36955,5,5543.498,2071.234,731.702,0,'WP6'), +(36955,6,5528.969,2036.121,731.407,0,'WP7'), +(36955,7,5512.045,1996.702,735.122,0,'WP8'), +(36955,8,5504.490,1988.789,735.886,0,'WP9 - Spell Channel'), +(36955,9,5489.645,1966.389,737.653,0,'WP10'), +(36955,10,5475.517,1943.176,741.146,0,'WP11'), +(36955,11,5466.930,1926.049,743.536,0,'WP12'), +(36955,12,5445.157,1894.955,748.757,0,'WP13 - Spell Channel'), +(36955,13,5425.907,1869.708,753.237,0,'WP14'), +(36955,14,5405.118,1833.937,757.486,0,'WP15'), +(36955,15,5370.324,1799.375,761.007,0,'WP16'), +(36955,16,5335.422,1766.951,767.635,0,'WP17 - Spell Channel'), +(36955,17,5311.438,1739.390,774.165,0,'WP18'), +(36955,18,5283.589,1703.755,784.176,0,'WP19'), +(36955,19,5260.400,1677.775,784.301,3000,'WP20'), +(36955,20,5262.439,1680.410,784.294,0,'WP21'), +(36955,21,5260.400,1677.775,784.301,0,'WP22'), +-- Sylvana +(37554,0,5587.682,2228.586,733.011,0,'WP1'), +(37554,1,5600.715,2209.058,731.618,0,'WP2'), +(37554,2,5606.417,2193.029,731.129,0,'WP3'), +(37554,3,5598.562,2167.806,730.918,0,'WP4 - Summon IceWall 01'), +(37554,4,5556.436,2099.827,731.827,0,'WP5 - Spell Channel'), +(37554,5,5543.498,2071.234,731.702,0,'WP6'), +(37554,6,5528.969,2036.121,731.407,0,'WP7'), +(37554,7,5512.045,1996.702,735.122,0,'WP8'), +(37554,8,5504.490,1988.789,735.886,0,'WP9 - Spell Channel'), +(37554,9,5489.645,1966.389,737.653,0,'WP10'), +(37554,10,5475.517,1943.176,741.146,0,'WP11'), +(37554,11,5466.930,1926.049,743.536,0,'WP12'), +(37554,12,5445.157,1894.955,748.757,0,'WP13 - Spell Channel'), +(37554,13,5425.907,1869.708,753.237,0,'WP14'), +(37554,14,5405.118,1833.937,757.486,0,'WP15'), +(37554,15,5370.324,1799.375,761.007,0,'WP16'), +(37554,16,5335.422,1766.951,767.635,0,'WP17 - Spell Channel'), +(37554,17,5311.438,1739.390,774.165,0,'WP18'), +(37554,18,5283.589,1703.755,784.176,0,'WP19'), +(37554,19,5260.400,1677.775,784.301,3000,'WP20'), +(37554,20,5262.439,1680.410,784.294,0,'WP21'), +(37554,21,5260.400,1677.775,784.301,0,'WP22'), +-- Lich King +(36954,1,5577.19,2236,733.012,0,'HoR WP LichKing'), +(36954,2,5580.57,2232.22,733.012,0,'HoR WP LichKing'), +(36954,3,5586.67,2225.54,733.012,0,'HoR WP LichKing'), +(36954,4,5590.45,2221.41,733.012,0,'HoR WP LichKing'), +(36954,5,5595.75,2215.62,732.101,0,'HoR WP LichKing'), +(36954,6,5601.21,2206.49,731.54,0,'HoR WP LichKing'), +(36954,7,5605.01,2197.9,731.667,0,'HoR WP LichKing'), +(36954,8,5606.55,2191.39,730.977,0,'HoR WP LichKing'), +(36954,9,5604.68,2186.11,730.998,0,'HoR WP LichKing'), +(36954,10,5602.26,2179.9,730.967,0,'HoR WP LichKing'), +(36954,11,5600.06,2174.38,730.924,0,'HoR WP LichKing'), +(36954,12,5597.29,2166.81,730.924,0,'HoR WP LichKing'), +(36954,13,5596.25,2160.36,730.931,0,'HoR WP LichKing'), +(36954,14,5591.79,2152.87,731.008,0,'HoR WP LichKing'), +(36954,15,5585.47,2146.63,731.109,0,'HoR WP LichKing'), +(36954,16,5579.1,2140.34,731.18,0,'HoR WP LichKing'), +(36954,17,5572.56,2134.21,731.092,0,'HoR WP LichKing'), +(36954,18,5564.08,2126.53,730.816,0,'HoR WP LichKing'), +(36954,19,5559.04,2117.64,730.812,0,'HoR WP LichKing'), +(36954,20,5555.77,2111.88,730.995,0,'HoR WP LichKing'), +(36954,21,5550.82,2103.14,731.123,0,'HoR WP LichKing'), +(36954,22,5546.02,2094.68,731.16,0,'HoR WP LichKing'), +(36954,23,5541.53,2084.42,730.999,0,'HoR WP LichKing'), +(36954,24,5537.5,2075.18,730.901,0,'HoR WP LichKing'), +(36954,25,5533.76,2063.84,730.87,0,'HoR WP LichKing'), +(36954,26,5530.97,2052.98,730.981,0,'HoR WP LichKing'), +(36954,27,5526.75,2041.73,731.193,0,'HoR WP LichKing'), +(36954,28,5522.88,2031.65,731.7,0,'HoR WP LichKing'), +(36954,29,5521.01,2023.02,732.396,0,'HoR WP LichKing'), +(36954,30,5516.55,2015.36,733.12,0,'HoR WP LichKing'), +(36954,31,5513.06,2007.33,733.99,0,'HoR WP LichKing'), +(36954,32,5510.43,1997.9,735.016,0,'HoR WP LichKing'), +(36954,33,5504.53,1990.39,735.748,0,'HoR WP LichKing'), +(36954,34,5499.34,1983.78,736.29,0,'HoR WP LichKing'), +(36954,35,5493.11,1975.86,736.852,0,'HoR WP LichKing'), +(36954,36,5487.58,1968.81,737.394,0,'HoR WP LichKing'), +(36954,37,5483.12,1961.78,738.06,0,'HoR WP LichKing'), +(36954,38,5478.33,1954.2,739.343,0,'HoR WP LichKing'), +(36954,39,5475.2,1945.84,740.697,0,'HoR WP LichKing'), +(36954,40,5472.15,1938.02,741.884,0,'HoR WP LichKing'), +(36954,41,5469.26,1931.34,742.813,0,'HoR WP LichKing'), +(36954,42,5464.23,1922.25,744.055,0,'HoR WP LichKing'), +(36954,43,5458.43,1912.96,745.229,0,'HoR WP LichKing'), +(36954,44,5452.26,1902.95,747.091,0,'HoR WP LichKing'), +(36954,45,5442.44,1892.51,749.208,0,'HoR WP LichKing'), +(36954,46,5435.67,1879.7,751.776,0,'HoR WP LichKing'), +(36954,47,5429.03,1870.73,753.151,0,'HoR WP LichKing'), +(36954,48,5423.72,1862.16,754.263,0,'HoR WP LichKing'), +(36954,49,5417.21,1851.7,755.507,0,'HoR WP LichKing'), +(36954,50,5408.94,1838.38,757.002,0,'HoR WP LichKing'), +(36954,51,5398.8,1829.61,757.742,0,'HoR WP LichKing'), +(36954,52,5388.47,1817.95,759.285,0,'HoR WP LichKing'), +(36954,53,5378.23,1808.5,760.316,0,'HoR WP LichKing'), +(36954,54,5368.5,1801.35,760.845,0,'HoR WP LichKing'), +(36954,55,5360.86,1793.16,762.271,0,'HoR WP LichKing'), +(36954,56,5353.62,1785.4,763.868,0,'HoR WP LichKing'), +(36954,57,5344.78,1776.09,765.759,0,'HoR WP LichKing'), +(36954,58,5336.38,1768.67,767.324,0,'HoR WP LichKing'), +(36954,59,5327.56,1760.12,769.332,0,'HoR WP LichKing'), +(36954,60,5319.62,1750.7,771.487,0,'HoR WP LichKing'), +(36954,61,5313.12,1742.99,773.424,0,'HoR WP LichKing'), +(36954,62,5305.41,1735.79,775.473,0,'HoR WP LichKing'), +(36954,63,5298.93,1728.16,777.573,0,'HoR WP LichKing'), +(36954,64,5292.54,1720.37,779.862,0,'HoR WP LichKing'), +(36954,65,5287.11,1713.96,781.667,0,'HoR WP LichKing'), +(36954,66,5280.14,1705.21,784.65,0,'HoR WP LichKing'), +(36954,67,5277.98,1701.28,785.224,0,'HoR WP LichKing'); +*/ +-- Halls of Reflexion WIP diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_00_world_sai.sql new file mode 100644 index 00000000000..14879241a25 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_00_world_sai.sql @@ -0,0 +1,115 @@ +SET @NPC_LANDGREN := 29542; +SET @NPC_ARETE := 29560; +SET @NPC_SOUL := 29572; +SET @NPC_SOUL_TARGET := 29577; +SET @GO_FOCUS := 191578; +SET @GO_GATE := 191579; + +UPDATE `gameobject_template` SET `faction`=114, `AIName`='SmartGameObjectAI' WHERE `entry`=@GO_GATE; +DELETE FROM `gameobject_template` WHERE `entry`=@GO_FOCUS; +INSERT INTO `gameobject_template` (`entry`,`type`,`displayId`,`name`,`data0`,`data1`,`data6`,`AIName`) VALUES +(@GO_FOCUS,8,0,'Archbishop Landgren''s Corpse',1566,20,0,'SmartGameObjectAI'); + +UPDATE `creature_template` SET `npcflag`=2, `unit_flags`=33280 WHERE `entry`=@NPC_ARETE; +UPDATE `creature_template` SET `faction_A`=14, `faction_H`=14, `speed_walk`=0.4, `unit_flags`=256, `dynamicflags`=0, `InhabitType`=4 WHERE `entry`=@NPC_SOUL; +UPDATE `creature_template` SET `unit_flags`=33555200, `InhabitType`=4 WHERE `entry`=@NPC_SOUL_TARGET; + +UPDATE `creature_model_info` SET `bounding_radius`=0.5745, `combat_reach`=2.25 WHERE `modelid`=26197; +UPDATE `creature_model_info` SET `bounding_radius`=0.3825, `combat_reach`=1.875 WHERE `modelid`=26346; + +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_SOUL; +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`emote`,`auras`) VALUES +(@NPC_SOUL,1,0,'36545'); + +DELETE FROM `creature_equip_template` WHERE `entry`=@NPC_ARETE; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@NPC_ARETE,1,40276,0,0); + +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_LANDGREN,@NPC_ARETE,@NPC_SOUL); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_LANDGREN,0,0,'I will not die so quickly this time!',14,0,100,0,0,0,''), + +(@NPC_ARETE,0,0,'Well done. Let''s get this over with.',12,0,100,1,0,0,''), +(@NPC_ARETE,1,0,'Come, Landgren, cough up your soul so that I can ask you a very important question.',12,0,100,0,0,0,''), +(@NPC_ARETE,2,0,'YOU WILL TELL ME WHERE WESTWIND IS OR I WILL DESTROY YOUR SOUL!',14,0,100,25,0,0,''), +(@NPC_ARETE,3,0,'Then you leave me no choice. I won''t say that I won''t enjoy this.',12,0,100,1,0,0,''), +(@NPC_ARETE,4,0,'Very well. Tell me!',12,0,100,0,0,0,''), +(@NPC_ARETE,5,0,'A hidden hollow? How very interesting. You''ve served your purpose, Landgren, but I''m afraid there''ll be no resurrection for you this time!',12,0,100,6,0,0,''), +(@NPC_ARETE,6,0,'Now that the unpleasantness is finished with, let''s talk about you dealing with Grand Admiral Westwind.',12,0,100,11,0,0,''), + +(@NPC_SOUL,0,0,'You''ll get nothing out of me, monster. I am beyond your ability to influence.',12,0,100,0,0,0,''), +(@NPC_SOUL,1,0,'No.',12,0,100,0,0,0,''), +(@NPC_SOUL,2,0,'STOP! It isn''t worth it. I''ll tell you where he is.',12,0,100,0,0,0,''), +(@NPC_SOUL,3,0,'On the south end of the island is a cave -- a hidden hollow. The grand admiral has holed himself up in there, preparing for the final battle against the Lich King.',12,0,100,0,0,0,''), +(@NPC_SOUL,4,0,'AAAEEEEIIIiiiiiiiiiiiiiiiiiiiiiiiiiiii........................................',14,0,100,0,0,0,''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (22966,26560); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,22966,0,0,31,0,3,@NPC_LANDGREN,0,0,0,'','Spell Soul Coax targets Archbishop Landgren'), +(13,2,26560,0,0,31,0,3,@NPC_LANDGREN,0,0,0,'','Spell Summon Arete''s Gate effect1 targets Archbishop Landgren'); + +DELETE FROM `spell_script_names` WHERE `spell_id`=12601; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(12601,'spell_q12847_summon_soul_moveto_bunny'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_LANDGREN,@NPC_ARETE,@NPC_SOUL); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_LANDGREN,@NPC_ARETE,@NPC_SOUL) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@GO_FOCUS,@GO_GATE) AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_LANDGREN*100,@NPC_ARETE*100,@NPC_SOUL*100,@GO_GATE*100) AND `source_type`=9; +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 +(@NPC_LANDGREN,0,0,0,25,0,100,0,0,0,0,0,28,60449,0,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren - On reset - Remove aura Shadowform'), +(@NPC_LANDGREN,0,1,0,0,0,100,0,10000,12000,9000,10000,11,60453,0,0,0,0,0,2,0,0,0,0,0,0,0,'Archbishop Landgren - On update IC - Spellcast Mind Blast'), +(@NPC_LANDGREN,0,2,0,0,0,100,0,15000,16000,18000,20000,11,60446,0,0,0,0,0,2,0,0,0,0,0,0,0,'Archbishop Landgren - On update IC - Spellcast Shadow Word: Pain'), +(@NPC_LANDGREN,0,3,0,0,0,100,0,30000,35000,35000,40000,11,60440,0,0,0,0,0,2,0,0,0,0,0,0,0,'Archbishop Landgren - On update IC - Spellcast Mind Sear'), +(@NPC_LANDGREN,0,4,5,2,0,100,1,0,50,0,0,11,60449,0,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren - On health below 50% - Spellcast Shadowform'), +(@NPC_LANDGREN,0,5,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren - On health below 50% - Say line'), +(@NPC_LANDGREN,0,6,0,6,0,100,0,0,0,0,0,11,22965,0,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren - On death - Spellcast Summon Archbishop Landgren''s Corpse Spell Focus'), +(@NPC_LANDGREN,0,7,8,8,0,100,0,26560,0,0,0,45,0,1,0,0,0,0,20,@GO_GATE,50,0,0,0,0,0,'Archbishop Landgren - On spellhit Summon Arete''s Gate - Set data 0 1 Arete''s Gate'), +(@NPC_LANDGREN,0,8,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,20,@GO_FOCUS,5,0,0,0,0,0,'Archbishop Landgren - On spellhit Summon Arete''s Gate - Set data 0 1 Arete''s Gate'), +(@NPC_LANDGREN,0,9,10,38,0,100,0,0,1,0,0,11,12601,2,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren - On data 0 1 set - Spellcast Summon Landgren''s Soul Moveto Target Bunny'), +(@NPC_LANDGREN,0,10,0,61,0,100,0,0,0,0,0,11,12600,2,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren - On data 0 1 set - Spellcast Summon Landgren''s Soul'), + +(@NPC_ARETE,0,0,1,1,0,100,1,0,0,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete - Just summoned - Spellcast Ethereal Teleport'), +(@NPC_ARETE,0,1,2,61,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete - Just summoned - Remove npcflag questgiver'), +(@NPC_ARETE,0,2,3,61,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,@NPC_LANDGREN,20,0,0,0,0,0,'Lord-Commander Arete - Just summoned - Turn to Archbishop Landgren'), +(@NPC_ARETE,0,3,0,61,0,100,0,0,0,0,0,80,@NPC_ARETE*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete - Just summoned - Run script'), + +(@NPC_SOUL,0,0,0,54,0,100,0,0,0,0,0,80,@NPC_SOUL*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul - Just summoned - Run script'), + +(@GO_FOCUS,1,0,0,38,0,100,0,0,1,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Archbishop Landgren''s Corpse Spell Focus - On data 0 1 set - Set phase 2'), + +(@GO_GATE,1,0,0,38,0,100,0,0,1,0,0,80,@GO_GATE*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Arete''s Gateway - On data 0 1 set - Run script'), + +(@GO_GATE*100,9,0,0,0,0,100,0,4000,4000,0,0,11,18280,0,0,0,0,0,1,0,0,0,0,0,0,0,'Arete''s Gateway script - Spellcast Summon Arete'), +(@GO_GATE*100,9,1,0,0,0,100,0,180000,180000,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Arete''s Gateway script - Set phase 2'), + +(@NPC_ARETE*100,9,0,0,0,0,100,0,500,500,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,1,0,0,0,100,0,0,0,0,0,46,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Move forward'), +(@NPC_ARETE*100,9,2,0,0,0,100,0,4000,4000,0,0,66,0,0,0,0,0,0,19,@NPC_LANDGREN,20,0,0,0,0,0,'Lord-Commander Arete script - Turn to Archbishop Landgren'), +(@NPC_ARETE*100,9,3,0,0,0,100,0,1000,1000,0,0,11,22966,0,0,0,0,0,19,@NPC_LANDGREN,20,1,0,0,0,0,'Lord-Commander Arete script - Spellcast Soul Coax'), +(@NPC_ARETE*100,9,4,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,5,0,0,0,100,0,8000,8000,0,0,45,0,1,0,0,0,0,19,@NPC_LANDGREN,20,1,0,0,0,0,'Lord-Commander Arete script - Set data 0 1 Archbishop Landgren'), +(@NPC_ARETE*100,9,6,0,0,0,100,0,12000,12000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,7,0,0,0,100,0,7000,7000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,8,0,0,0,100,0,4000,4000,0,0,11,27765,0,0,0,0,0,19,@NPC_SOUL,20,0,0,0,0,0,'Lord-Commander Arete script - Spellcast Soul Wrack'), +(@NPC_ARETE*100,9,9,0,0,0,100,0,15000,15000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,10,0,0,0,100,0,0,0,0,0,92,0,27765,1,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Interrupt spellcast'), +(@NPC_ARETE*100,9,11,0,0,0,100,0,10000,10000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,12,0,0,0,100,0,4000,4000,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Play emote'), +(@NPC_ARETE*100,9,13,0,0,0,100,0,4000,4000,0,0,11,54723,0,0,0,0,0,19,@NPC_SOUL,20,0,0,0,0,0,'Lord-Commander Arete script - Spellcast Soul Wrack'), +(@NPC_ARETE*100,9,14,0,0,0,100,0,8000,8000,0,0,92,0,54723,1,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Interrupt spellcast'), +(@NPC_ARETE*100,9,15,0,0,0,100,0,0,0,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Say line'), +(@NPC_ARETE*100,9,16,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Set npcflag questgiver'), +(@NPC_ARETE*100,9,17,0,0,0,100,0,98000,98000,0,0,69,0,0,0,0,0,0,20,@GO_GATE,10,0,0,0,0,0,'Lord-Commander Arete script - Move to position'), +(@NPC_ARETE*100,9,18,0,0,0,100,0,2000,2000,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Spellcast Ethereal Teleport'), +(@NPC_ARETE*100,9,19,0,0,0,100,0,500,500,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lord-Commander Arete script - Despawn'), + +(@NPC_SOUL*100,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,@NPC_ARETE,20,0,0,0,0,0,'Landgren''s Soul script - Turn to Lord-Commander Arete'), +(@NPC_SOUL*100,9,1,0,0,0,100,0,500,500,0,0,11,36545,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Spellcast Floating Drowned'), +(@NPC_SOUL*100,9,2,0,0,0,100,0,6500,6500,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Say line'), +(@NPC_SOUL*100,9,3,0,0,0,100,0,10000,10000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Say line'), +(@NPC_SOUL*100,9,4,0,0,0,100,0,15000,15000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Say line'), +(@NPC_SOUL*100,9,5,0,0,0,100,0,10000,10000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Say line'), +(@NPC_SOUL*100,9,6,0,0,0,100,0,16000,16000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Say line'), +(@NPC_SOUL*100,9,7,0,0,0,100,0,5000,5000,0,0,11,35426,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Spellcast Arcane Explosion Visual'), +(@NPC_SOUL*100,9,8,0,0,0,100,0,1000,1000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Landgren''s Soul script - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_01_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_01_world_sai.sql new file mode 100644 index 00000000000..0c70f665c27 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_01_world_sai.sql @@ -0,0 +1,39 @@ +SET @THANE := 29919; +SET @SPELL := 31696; +SET @B_STRIKE := 58460; +SET @REND := 16509; +SET @P_SMASH := 60868; +SET @EVENT := 19490; + +DELETE FROM `disables` WHERE `sourceType`=0 AND `entry` IN (@SPELL); +INSERT INTO `disables`(`sourceType`,`entry`,`flags`,`comment`) VALUES +(0,@SPELL,64,'Ignore LOS on Thane'); + +DELETE FROM `event_scripts` WHERE `id`=@EVENT; +INSERT INTO `event_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES +(@EVENT,0,15,53799,4,29919,30,0,0,0); + +DELETE FROM `creature_text` WHERE `entry` IN (@THANE); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@THANE,1,0, 'By order of Duke Lankral, Commander of the Knights of the Ebon Blade, Vanquisher of the Scourge and Conquerer of The Shadow Vault, you are hearby served notice to cease and desist from all activities providing materiel assistance, vrykul, and any other type of support to the Lich King. Failure to comply will result in your immediate destruction. My messenger will serve as the instrument of my will. What is your decision?',12,0,100,0,0,0,'Thane'), +(@THANE,2,0, 'What is this?',14,0,100,0,0,0,'Thane'), +(@THANE,3,0, 'My answer? Here''s my answer, little messenger!',14,0,100,0,0,0,'Thane'), +(@THANE,4,0, 'I will feed you to the dogs!',14,0,100,0,0,0,'Thane'); + +UPDATE `creature_template` SET AIName='SmartAI' WHERE entry = @THANE; +DELETE FROM `smart_scripts` WHERE source_type=0 AND entryorguid = @THANE; +DELETE FROM `smart_scripts` WHERE source_type=9 AND entryorguid = @THANE*100; +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 +(@THANE,0,0,1,4,0,100,0,0,0,0,0,1,2,12000,0,0,0,0,1,0,0,0,0,0,0,0,'Thane - On spellhit - Say text2'), +(@THANE,0,1,2,61,0,100,0,0,0,0,0,18,33685504,0,0,0,0,0,1,0,0,0,0,0,0,0,'Thane - On Link - Set Unit Flags'), +(@THANE,0,2,0,61,0,100,0,0,0,0,0,84,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Thane - On Link - Make player say Text1'), +(@THANE,0,3,0,52,0,100,0,2,@THANE,0,0,1,3,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Thane - On Text2 over - Say Text3'), +(@THANE,0,4,5,52,0,100,0,3,@THANE,0,0,1,4,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Thane - On Text3 over - Say Text4'), +(@THANE,0,5,0,61,0,100,0,0,0,0,0,19,33685504,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Thane - On Link - Remove unit flags'), +(@THANE,0,6,0,0,0,100,0,4000,7000,4000,7000,11,@B_STRIKE,0,0,0,0,0,5,0,0,0,0,0,0,0,'Thane - In Combat - Cast Brutal Strike'), +(@THANE,0,7,0,0,0,100,0,4000,15000,4000,15000,11,@REND,0,0,0,0,0,5,0,0,0,0,0,0,0,'Thane - In Combat - Cast Rend'), +(@THANE,0,8,0,0,0,100,0,12000,25000,12000,25000,11,@P_SMASH,0,0,0,0,0,5,0,0,0,0,0,0,0,'Thane - In Combat - Cast Powerful Smash'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 13 AND `SourceEntry`=@SPELL; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,@SPELL,0,0,31,0,3,@THANE,0,0,0,'','Shadow Decree hits only Thane'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_02_world_sai.sql new file mode 100644 index 00000000000..a30b6c8be43 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_02_world_sai.sql @@ -0,0 +1,79 @@ +-- Not-So-Honorable Combat (13137) +SET @GO_SIGNAL_FIRE := 193024; -- Battlescar Signal Fire +SET @EVENT_SCRIPT := 20069; -- Event Script +SET @NPC_POSSESSED_ISKALDER := 30924; -- Possessed Iskalder <The Ancient Hero> +SET @NPC_VARDMADRA := 30945; -- Vadmadra +SET @NPC_LADY_NIGHTSWOOD := 30955; -- Lady Nightswood +SET @MOVE_TARGET_BUNNY := 25715; -- Not-So-Honorable Combat: Summon Lady Nightswood's Moveto Target Bunny +SET @TARGET_BUNNY := 30959; -- Lady Nightswood's Moveto Target Bunny +SET @SUMMON_NIGHTSWOOD := 25727; -- Not-So-Honorable Combat: Summon Lady Nightswood +SET @POSSESS_VARDMADRA := 25745; -- Possession + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 13 AND `SourceEntry`IN (@SUMMON_NIGHTSWOOD,@MOVE_TARGET_BUNNY,@POSSESS_VARDMADRA); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,@SUMMON_NIGHTSWOOD,0,0,31,0,3,@TARGET_BUNNY,0,0,0,'','Summon Nightswood only hits Target Bunny'), +(13,1,@MOVE_TARGET_BUNNY,0,0,31,0,3,@NPC_POSSESSED_ISKALDER,0,0,0,'','Move Target Bunny only hits Target Bunny'), +(13,1,@POSSESS_VARDMADRA,0,0,31,0,3,@NPC_VARDMADRA,0,0,0,'','Possess Vardmadra only hits Vardmadra'); + +UPDATE `creature_template` SET `AIName`='SmartAI',`faction_A`=2116,`faction_H`=2116,`unit_flags`=33088,`mindmg`=422,`maxdmg`=586,`attackpower`=642,`minrangedmg`=345,`maxrangedmg`=509,`rangedattackpower`=103 WHERE `entry`=@NPC_POSSESSED_ISKALDER; +UPDATE `creature_template` SET `faction_A`=2116,`faction_H`=2116,`unit_flags`=33536,`AIName`='SmartAI',`minlevel`=80, `maxlevel`=80 WHERE `entry`=@NPC_VARDMADRA; +UPDATE `creature_template` SET `AIName`='SmartAI', `InhabitType`=7 WHERE `entry` IN (@TARGET_BUNNY,@NPC_LADY_NIGHTSWOOD); +UPDATE `creature_template` SET `modelid1`=11686, `modelid2`=0 WHERE `entry`=@TARGET_BUNNY; +DELETE FROM `creature_template_addon` WHERE `entry` IN (@NPC_POSSESSED_ISKALDER,@NPC_VARDMADRA); +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@NPC_POSSESSED_ISKALDER,0,0x0,0x1,'58102'), +(@NPC_VARDMADRA,0,0x3000000,0x1,''); + +DELETE FROM `creature_equip_template` WHERE `entry`=@NPC_POSSESSED_ISKALDER; +INSERT INTO `creature_equip_template` (`entry`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@NPC_POSSESSED_ISKALDER,43296,43295,0); + +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_POSSESSED_ISKALDER,@NPC_VARDMADRA,@NPC_LADY_NIGHTSWOOD); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_POSSESSED_ISKALDER,0,0,'Now fight me, $N! Kill Iskalder!',14,0,100,0,0,1167,'Possessed Iskalder'), +(@NPC_VARDMADRA,0,0, 'Iskalder, there you are. What is this? Engaged in battle already?',14,0,100,457,0,13824,'Vardmadra'), +(@NPC_VARDMADRA,1,0, 'NO! How is this possible?',14,0,100,457,0,13825,'Vardmadra'), +(@NPC_VARDMADRA,2,0, 'I know not how this was possible, but you must still be judged Iskalder. Wait... what is this?',14,0,100,457,0,13824,'Vardmadra'), +(@NPC_VARDMADRA,3,0, 'Stay away from me creature! Do not touch me!',14,0,100,0,0,1168,'Vardmadra to Nightswood'), +(@NPC_VARDMADRA,4,0, 'Ahahahahahaha! It is done. Return to my cave. We have much to discuss!',14,0,100,457,0,1167,'Vardmadra to '), +(@NPC_LADY_NIGHTSWOOD,0,0, 'This? This is me taking control of you. This is me setting up my final revenge!',14,0,100,457,0,13824,'Lady Nightswood'); + +-- Possessed Iskalder <The Ancient Hero> +DELETE FROM `event_scripts` WHERE `id`=@EVENT_SCRIPT; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(@EVENT_SCRIPT,5,10,@NPC_POSSESSED_ISKALDER,180000,0,7229.436,3642.27,809.0175,0); + +DELETE FROM `smart_scripts` WHERE `source_type` IN (0,9) AND `entryorguid` IN (@NPC_POSSESSED_ISKALDER,@NPC_VARDMADRA,@NPC_LADY_NIGHTSWOOD,@TARGET_BUNNY,@TARGET_BUNNY*100); +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 +(@NPC_POSSESSED_ISKALDER,0,0,1,54,0,100,0,0,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Iskalder - On Summon - Remove unit flag'), +(@NPC_POSSESSED_ISKALDER,0,1,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Iskalder - On Link - Talk'), +(@NPC_POSSESSED_ISKALDER,0,2,0,2,0,100,1,0,65,0,0,12,@NPC_VARDMADRA,3,180000,0,0,0,8,0,0,0,7182.766602,3661.931885, 826.149292, 5.838641, 'Possessed Iskalder - on 65% HP - Spawn Vardmara'), +(@NPC_POSSESSED_ISKALDER,0,3,0,4,0,100,1,0,0,0,0,11,60108,0,0,0,0,0,2,0,0,0,0,0,0,0,'Iskalder - On Aggro - Cast Heroic Leap'), +(@NPC_POSSESSED_ISKALDER,0,4,0,0,0,100,0,3500,3500,14500,16700,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,'Iskalder - In Combat - Cast Cleave'), +(@NPC_POSSESSED_ISKALDER,0,5,0,0,0,100,0,5000,6000,11200,15800,11,57846,0,0,0,0,0,2,0,0,0,0,0,0,0,'Iskalder - In Combat - Cast Heroic Strike'), +(@NPC_POSSESSED_ISKALDER,0,6,0,0,0,100,0,9000,11000,25000,25000,11,60121,0,0,0,0,0,1,0,0,0,0,0,0,0,'Iskalder - In Combat - Cast Ancient Curse'), +(@NPC_POSSESSED_ISKALDER,0,7,0,2,0,100,1,0,50,0,0,1,0,0,0,0,0,0,11,@NPC_VARDMADRA,200,0,0,0,0,0,'Iskalder - On HPC - Make Vardmadra Say'), +(@NPC_POSSESSED_ISKALDER,0,8,0,6,0,100,1,0,0,0,0,45,1,1,0,0,0,0,11,@NPC_VARDMADRA,200,0,0,0,0,0,' Iskalder - On event death - Send Data to Vardmadra'), +(@NPC_POSSESSED_ISKALDER,0,9,10,1,0,100,1,0,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Iskalder - OOC - Remove unit flag'), +(@NPC_POSSESSED_ISKALDER,0,10,0,61,0,100,1,0,0,0,0,45,2,2,0,0,0,0,11,@NPC_VARDMADRA,300,0,0,0,0,0, 'Possessed Iskalder - On link - Set Data on Vardmara'), + +(@NPC_VARDMADRA,0,0,1,38,0,100,0,1,1,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra - On Receive Data - Set Run'), +(@NPC_VARDMADRA,0,1,2,61,0,100,0,1,1,0,0,69,0,0,0,0,0,0,8,0,0,0,7234.742,3643.584,811.8065,5.507,'Vardmadra - Linked with Previous Event - Move to position'), +(@NPC_VARDMADRA,0,2,3,61,0,100,0,0,0,0,0,1,1,10000,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra - Linked with Previous Event - Say'), +(@NPC_VARDMADRA,0,3,4,61,0,100,1,0,0,0,0,11,@MOVE_TARGET_BUNNY,2,0,0,0,0,19,@NPC_POSSESSED_ISKALDER,200,1,0,0,0,0,'Vardmadra - Linked with Previous Event - Cast Not-So-Honorable Combat: Summon Lady Nightswood''s Moveto Target Bunny'), +(@NPC_VARDMADRA,0,4,5,52,0,100,0,1,@NPC_VARDMADRA,0,0,1,2,10000,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra - On Text Over - Say'), +(@NPC_VARDMADRA,0,5,0,61,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,@NPC_POSSESSED_ISKALDER,200,1,0,0,0,0,'Vardmadra - On Link - Turn to Iskalder'), +(@NPC_VARDMADRA,0,6,7,52,0,100,0,2,@NPC_VARDMADRA,0,0,1,0,10000,0,0,0,0,11,@NPC_LADY_NIGHTSWOOD,200,0,0,0,0,0,'Vardmadra - On Text Over - Say'), +(@NPC_VARDMADRA,0,7,8,61,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,@NPC_LADY_NIGHTSWOOD,200,0,0,0,0,0,'Vardmadra - On Link - Turn to Lady Nightswood'), +(@NPC_VARDMADRA,0,8,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,11,@NPC_LADY_NIGHTSWOOD,200,0,0,0,0,0,'Vardmadra - On link - Send Data to Lady Nightswood'), +(@NPC_VARDMADRA,0,9,0,52,0,100,0,0,@NPC_LADY_NIGHTSWOOD,0,0,1,3,10000,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra - On Text Over - Say'), +(@NPC_VARDMADRA,0,10,0,52,0,100,0,3,@NPC_VARDMADRA,0,0,1,4,10000,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra- On Text Over - Say'), +(@NPC_VARDMADRA,0,11,0,52,0,100,0,4,@NPC_VARDMADRA,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra - On Text Over - Despawn'), +(@NPC_VARDMADRA,0,12,0,38,0,100,0,2,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Vardmadra - On Receive Data - Despawn'), + +(@TARGET_BUNNY,0,0,0,54,0,100,0,0,0,0,0,80,@TARGET_BUNNY*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Lady Nightswood Move-to-Bunny - On Summon - Start Timed Script'), +(@TARGET_BUNNY*100,9,0,0,0,0,100,0,7000,7000,7000,7000,69,0,0,0,0,0,0,8,0,0,0,7242.77,3631.67,814.0644,2.227,'Lady Nightswood Move-to-Bunny - On Script - Go to position'), +(@TARGET_BUNNY*100,9,1,0,0,0,100,0,8000,8000,8000,8000,11,@SUMMON_NIGHTSWOOD,2,0,0,0,0,1,0,0,0,0,0,0,0,'Lady Nightswood Move-to-Bunny - Linked with Previous Event - Cast Not-So-Honorable Combat: Summon Lady Nightswood''s Moveto Target Bunny'), + +(@NPC_LADY_NIGHTSWOOD,0,0,0,54,0,100,0,0,0,0,0,66,0,0,0,0,0,0,19,@NPC_VARDMADRA,200,0,0,0,0,0,'Lady Nightswood - On Summon - Turn to Vardmadra'), +(@NPC_LADY_NIGHTSWOOD,0,1,0,38,0,100,0,1,1,0,0,11,@POSSESS_VARDMADRA,0,0,0,0,0,19,@NPC_VARDMADRA,200,0,0,0,0,0,'Lady Nigtswood - On Receive Data - Possess Vardmadra'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_03_world_sai.sql new file mode 100644 index 00000000000..6a3225266e7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_03_world_sai.sql @@ -0,0 +1,5 @@ +SET @SUMMON_ARETE := 18280; -- LC Arete Summon Spell +SET @ARETE_GATE := 191579; -- Arete Gateway Object +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ARETE_GATE*100 AND `source_type`=9; +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 +(@ARETE_GATE*100,9,0,0,0,0,100,0,4000,4000,0,0,11,@SUMMON_ARETE,0,0,0,0,0,1,0,0,0,0,0,0,0,'Arete''s Gateway - On Script - Spellcast Summon Arete'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_04_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_04_world_waypoints.sql new file mode 100644 index 00000000000..58f1e50bf23 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_04_world_waypoints.sql @@ -0,0 +1,27 @@ +-- Pathing for Entry 5934 Heartrazor +SET @NPC := 51821; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-5183.809,`position_y`=-1170.219,`position_z`=45.11078 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-5183.809,-1170.219,45.11078,0,0,0,100,0), +(@PATH,2,-5181.056,-1184.849,45.97993,0,0,0,100,0), +(@PATH,3,-5169.914,-1200.506,47.15270,0,0,0,100,0), +(@PATH,4,-5159.998,-1216.499,48.38121,0,0,0,100,0), +(@PATH,5,-5173.076,-1229.047,49.04836,0,0,0,100,0), +(@PATH,6,-5194.938,-1230.641,48.47133,0,0,0,100,0), +(@PATH,7,-5207.135,-1229.340,47.92607,0,0,0,100,0), +(@PATH,8,-5215.482,-1216.020,46.70019,0,0,0,100,0), +(@PATH,9,-5207.343,-1200.787,46.16835,0,0,0,100,0), +(@PATH,10,-5184.156,-1170.526,45.12170,0,0,0,100,0), +(@PATH,11,-5183.285,-1153.094,44.87883,0,0,0,100,0), +(@PATH,12,-5183.285,-1153.094,44.87883,0,0,0,100,0), +(@PATH,13,-5177.142,-1130.755,43.77563,0,0,0,100,0), +(@PATH,14,-5164.937,-1121.575,43.77023,0,0,0,100,0), +(@PATH,15,-5145.432,-1115.095,43.74949,0,0,0,100,0), +(@PATH,16,-5138.181,-1109.642,44.04351,0,0,0,100,0), +(@PATH,17,-5154.783,-1119.312,43.67305,0,0,0,100,0), +(@PATH,18,-5176.401,-1127.441,43.71729,0,0,0,100,0), +(@PATH,19,-5183.811,-1149.325,44.34430,0,0,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_05_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_05_world_misc.sql new file mode 100644 index 00000000000..e819f7a93bc --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_05_world_misc.sql @@ -0,0 +1,120 @@ +SET @OGUID := 7080; + +SET @ARTHAS := 27455; +SET @MURADIN := 27480; +SET @THELZAN := 27851; +SET @ALTAR := 190332; + +UPDATE `creature` SET `spawndist`=0,`MovementType`=0 WHERE `id`=@THELZAN; + +DELETE FROM `gameobject` WHERE `map`=571 AND `id` IN (192066,192065,192064,190191,@ALTAR); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@OGUID,192066,571,1,1,4816.637,-582.2271,163.1873,-1.240983,-0.5743933,0.2897787,-0.5093117,0.5715788,120,0,1), +(@OGUID+1,192065,571,1,1,4816.552,-581.2853,163.0618,1.043091,0.5583439,0.3292217,0.3740091,0.6633116,120,0,1), +(@OGUID+2,192064,571,1,1,4823.089,-581.7293,164.1632,2.408346,-0.3306689,-0.6249218,0.6858006,0.1726511,120,0,1), +(@OGUID+3,190191,571,1,1,4819.284,-583.5658,163.5637,1.343901,0,0,0.6225138,0.7826088,120,0,1), +(@OGUID+4,@ALTAR,571,1,1,4819.374,-583.699,163.5065,1.500983,0,0,0.6819983,0.7313538,120,0,1); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@THELZAN; +UPDATE `creature_template` SET `InhabitType`=1, `AIName`='SmartAI' WHERE `entry` IN (@MURADIN,@ARTHAS); + +DELETE FROM `event_scripts` WHERE `id`=18281; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`x`,`y`,`z`,`o`) VALUES +(18281,0,10,@THELZAN,20000,4819.284,-583.5658,163.5637,1.343901); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=49825; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@THELZAN; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`Comment`) VALUES +(13,1,49825,0,0,31,3,@MURADIN,0,0,0, 'Arthas Calls to Spirits targets Muradin'), +(22,2,@THELZAN,0,0,29,@MURADIN,100,0,1,0, 'SAI activates only if Muradin is not around'); + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@ARTHAS,@MURADIN,@THELZAN); +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@ARTHAS*100,@MURADIN*100,@MURADIN*100+1,@THELZAN*100); +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 +(@ARTHAS,0,0,0,38,0,100,0,0,10,0,0,80,@ARTHAS*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - On dataset - Run script'), + +(@MURADIN,0,0,0,38,0,100,0,0,10,0,0,80,@MURADIN*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - On dataset - Run script'), +(@MURADIN,0,1,0,8,0,100,0,49825,0,0,0,80,@MURADIN*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - On spellhit - Run script'), + +(@THELZAN,0,0,0,54,0,100,0,0,0,0,0,3,0,17200,0,0,0,0,1,0,0,0,0,0,0,0,'Thel''zan Spell Dummy - Just summoned - Run script'), +(@THELZAN,0,1,0,54,0,100,0,0,0,0,0,80,@THELZAN*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Thel''zan Spell Dummy - Just summoned - Run script'), + +(@ARTHAS*100,9,0,0,0,0,100,0,0,0,0,0,45,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - reset data 0'), +(@ARTHAS*100,9,1,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,4820.175,-581.226,163.6158,0,'Prince Arthas - Script - moveto'), +(@ARTHAS*100,9,2,0,0,0,100,0,8000,8000,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - say 6'), +(@ARTHAS*100,9,3,0,0,0,100,0,6000,6000,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - say 7'), +(@ARTHAS*100,9,4,0,0,0,100,0,6000,6000,0,0,11,49824,0,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - Spellcast Arthas Calls to Spirits'), +(@ARTHAS*100,9,5,0,0,0,100,0,10000,10000,0,0,69,0,0,0,0,0,0,8,0,0,0,4819.658,-582.5223,163.752,0,'Prince Arthas - Script - moveto'), +(@ARTHAS*100,9,6,0,0,0,100,0,0,0,0,0,71,0,7,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - Change weapon'), +(@ARTHAS*100,9,7,0,0,0,100,0,1000,1000,0,0,5,397,0,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - Emote OneShotPointNoSheathe'), +(@ARTHAS*100,9,8,0,0,0,100,0,0,0,0,0,71,0,7,33350,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - Change weapon'), +(@ARTHAS*100,9,9,0,0,0,100,0,0,0,0,0,9,0,0,0,0,0,0,20,@ALTAR,5,0,0,0,0,0,'Prince Arthas - Script - Activate Altar'), +(@ARTHAS*100,9,10,0,0,0,100,0,4000,4000,0,0,69,0,0,0,0,0,0,8,0,0,0,4814.56,-577.2604,162.2522,0,'Prince Arthas - Script - moveto'), +(@ARTHAS*100,9,11,0,0,0,100,0,3500,3500,0,0,5,15,0,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - Emote OneShotRoar'), +(@ARTHAS*100,9,12,0,0,0,100,0,4000,4000,0,0,53,1,@ARTHAS,0,0,0,0,1,0,0,0,0,0,0,0,'Prince Arthas - Script - Start WP movement'), + +(@MURADIN*100,9,0,0,0,0,100,0,0,0,0,0,45,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - reset data 0'), +(@MURADIN*100,9,1,0,0,0,100,0,500,500,0,0,69,0,0,0,0,0,0,8,0,0,0,4818.622,-582.4843,163.5883,0,'Muradin - Script - moveto'), +(@MURADIN*100,9,2,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.305801,'Muradin - Script - turnto'), +(@MURADIN*100,9,3,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - say 2'), +(@MURADIN*100,9,4,0,0,0,100,0,500,500,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - kneel'), +(@MURADIN*100,9,5,0,0,0,100,0,15000,15000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - stand'), +(@MURADIN*100,9,6,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,19,@ARTHAS,10,0,0,0,0,0,'Muradin - Script - turnto Prince Arthas'), +(@MURADIN*100,9,7,0,0,0,100,0,2000,2000,0,0,5,274,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Emote no'), +(@MURADIN*100,9,8,0,0,0,100,0,2500,2500,0,0,5,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Emote Exclamation'), +(@MURADIN*100,9,9,0,0,0,100,0,7000,7000,0,0,69,0,0,0,0,0,0,8,0,0,0,4817.42,-581.4944,163.2614,0,'Muradin - Script - moveto'), +(@MURADIN*100,9,10,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,19,@ARTHAS,10,0,0,0,0,0,'Muradin - Script - turnto Prince Arthas'), +(@MURADIN*100,9,11,0,0,0,100,0,1500,1500,0,0,1,5,0,0,0,0,0,19,@ARTHAS,10,0,0,0,0,0,'Muradin - Script - Prince Arthas say 5'), +(@MURADIN*100,9,12,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - say 3'), +(@MURADIN*100,9,13,0,0,0,100,0,0,0,0,0,45,0,10,0,0,0,0,19,@ARTHAS,10,0,0,0,0,0,'Muradin - Script - set data 0 10 on Prince Arthas'), +(@MURADIN*100,9,14,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.323254,'Muradin - Script - turnto'), + +(@MURADIN*100+1,9,0,0,0,0,100,0,0,0,0,0,40,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Set sheath'), +(@MURADIN*100+1,9,1,0,0,0,100,0,0,0,0,0,18,1,1,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Set unit_flag2'), +(@MURADIN*100+1,9,2,0,0,0,100,0,13000,13000,0,0,19,1,1,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Remove unit_flag2'), +(@MURADIN*100+1,9,3,0,0,0,100,0,500,500,0,0,17,64,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - emotestate stun'), +(@MURADIN*100+1,9,4,0,0,0,100,0,5000,5000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - say 4'), +(@MURADIN*100+1,9,5,0,0,0,100,0,3000,3000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - say 5'), +(@MURADIN*100+1,9,6,0,0,0,100,0,4000,4000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - emotestate none'), +(@MURADIN*100+1,9,7,0,0,0,100,0,1000,1000,0,0,11,49829,3,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Spellcast Frostmourne Cavern Quest Credit'), +(@MURADIN*100+1,9,8,0,0,0,100,0,0,0,0,0,53,1,@MURADIN,0,0,0,0,1,0,0,0,0,0,0,0,'Muradin - Script - Start WP movement'), + +(@THELZAN*100,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Thel''zan Spell Dummy - Script - Say 0'), +(@THELZAN*100,9,1,0,0,0,100,0,0,0,0,0,11,33271,0,0,0,0,0,1,0,0,0,0,0,0,0,'Thel''zan Spell Dummy - Script - Spellcast Internal Shake Camera w/ rumble sound'), +(@THELZAN*100,9,2,0,0,0,100,0,7000,7000,0,0,12,@MURADIN,3,116000,0,0,0,8,0,0,0,4817.494,-579.6047,163.0956,5.102134,'Thel''zan Spell Dummy - Script - Summon Muradin'), +(@THELZAN*100,9,3,0,0,0,100,0,0,0,0,0,12,@ARTHAS,3,102000,0,0,0,8,0,0,0,4821.529,-579.8818,163.5944,4.167512,'Thel''zan Spell Dummy - Script - Summon Prince Arthas'), +(@THELZAN*100,9,4,0,0,0,100,0,0,0,0,0,9,0,0,0,0,0,0,20,@ALTAR,5,0,0,0,0,0,'Thel''zan Spell Dummy - Script - set data 0 10 on Frostmourne Altar'), +(@THELZAN*100,9,5,0,0,0,100,0,3000,3000,0,0,1,4,0,0,0,0,0,19,@ARTHAS,10,0,0,0,0,0,'Thel''zan Spell Dummy - Script - Prince Arthas Say 4'), +(@THELZAN*100,9,6,0,0,0,100,0,3000,3000,0,0,5,25,0,0,0,0,0,19,@ARTHAS,10,0,0,0,0,0,'Thel''zan Spell Dummy - Script - Prince Arthas Emote Point'), +(@THELZAN*100,9,7,0,0,0,100,0,3500,3500,0,0,45,0,10,0,0,0,0,19,@MURADIN,10,0,0,0,0,0,'Thel''zan Spell Dummy - Script - Set data 0 10 on Muradin'); + +DELETE FROM `waypoints` WHERE `entry` IN (@ARTHAS,@MURADIN); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@ARTHAS,1,4793.066,-571.0735,160.8400, 'Prince Arthas'), +(@ARTHAS,2,4772.816,-566.8235,162.2605, 'Prince Arthas'), +(@ARTHAS,3,4759.816,-568.5735,164.2808, 'Prince Arthas'), +(@ARTHAS,4,4743.573,-564.3865,166.2362, 'Prince Arthas'), +(@MURADIN,1,4797.722,-576.3405,160.1779, 'Muradin'), +(@MURADIN,2,4770.222,-575.5905,162.9453, 'Muradin'), +(@MURADIN,3,4757.972,-575.0905,164.5265, 'Muradin'), +(@MURADIN,4,4753.972,-572.8405,165.1388, 'Muradin'), +(@MURADIN,5,4749.972,-569.5905,165.7607, 'Muradin'), +(@MURADIN,6,4748.024,-566.1866,165.7932, 'Muradin'); + +DELETE FROM `creature_text` WHERE `entry` IN (@ARTHAS,@MURADIN,@THELZAN); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@ARTHAS,0,0, 'Captain, why are the guards not at their posts?',12,0,100,6,0,12725, 'Prince Arthas'), +(@ARTHAS,1,0, 'Uther had my troops recalled? Damn it! If my warriors abandon me, I''ll never defeat Mal''Ganis. The ships must be burned before the men reach the shore!',12,0,100,5,0,12726, 'Prince Arthas'), +(@ARTHAS,2,0, 'Burned down to their frames! No one goes home until our job here is done!',12,0,100,15,0,12727, 'Prince Arthas'), +(@ARTHAS,3,0, 'Spare me, Muradin. You weren''t there to see what Mal''Ganis did to my homeland.',12,0,100,1,0,12728, 'Prince Arthas'), +(@ARTHAS,4,0, 'Behold, Muradin, our salvation, Frostmourne.',12,0,100,1,0,12729, 'Prince Arthas'), +(@ARTHAS,5,0, 'I would gladly bear any curse to save my homeland.',12,0,100,1,0,12730, 'Prince Arthas'), +(@ARTHAS,6,0, 'Damn the men! Nothing shall prevent me from having my revenge, old friend. Not even you.',12,0,100,5,0,12731, 'Prince Arthas'), +(@ARTHAS,7,0, 'Now, I call out to the spirits of this place. I will give anything or pay any price, if only you will help me save my people.',12,0,100,396,0,12732, 'Prince Arthas'), +(@MURADIN,0,0, 'Isn''t that a bit much, lad?',12,0,100,6,0,12733, 'Muradin'), +(@MURADIN,1,0, 'You lied to your men and betrayed the mercenaries who fought for you. What''s happening to you, Arthas? Is vengeance all that''s important to you?',12,0,100,1,0,12734, 'Muradin'), +(@MURADIN,2,0, 'Hold, lad. There''s an inscription on the dais. It''s a warning. It says, "Whomsoever takes up this blade shall wield power eternal. Just as the blade rends flesh, so must power scar the spirit." Oh, I should''ve known. The blade is cursed! Let''s get the hell out of here!',12,0,100,0,0,12735, 'Muradin'), +(@MURADIN,3,0, 'Leave it be, Arthas. Forget this business and lead your men home.',12,0,100,396,0,12736, 'Muradin'), +(@MURADIN,4,0, 'O'' my head... Wh... Where am I?',12,0,100,0,0,0, 'Muradin'), +(@MURADIN,5,0, 'Who... Who am I?',12,0,100,0,0,0, 'Muradin'), +(@THELZAN,0,0, 'The walls of Frostmourne Cavern shudder and shake.',41,0,100,0,0,0, 'Thel''zan Spell Dummy'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_05_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_05_world_waypoints.sql new file mode 100644 index 00000000000..6596851cd33 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_26_05_world_waypoints.sql @@ -0,0 +1,55 @@ +-- remove extra Highperch Soarer spawn +DELETE FROM `creature` WHERE `guid`=21707; +DELETE FROM `creature_addon` WHERE `guid`=21707; + +-- Proper Pathing for Entry 6139 Highperch Soarer +SET @NPC := 21708; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-5155.495,`position_y`=-1195.804,`position_z`=73.70869 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-5155.495,-1195.804,73.70869,0,0,0,100,0), +(@PATH,2,-5155.09,-1194.89,73.70869,0,0,0,100,0), +(@PATH,3,-5155.986,-1199.748,81.49023,0,0,0,100,0), +(@PATH,4,-5166.314,-1220.043,81.76808,0,0,0,100,0), +(@PATH,5,-5170.551,-1226.347,76.71234,0,0,0,100,0), +(@PATH,6,-5178.024,-1237.037,72.43468,0,0,0,100,0), +(@PATH,7,-5190.296,-1239.181,71.90687,0,0,0,100,0), +(@PATH,8,-5215.796,-1225.133,69.76797,0,0,0,100,0), +(@PATH,9,-5221.52,-1209.387,67.79574,0,0,0,100,0), +(@PATH,10,-5219.366,-1194.92,67.15694,0,0,0,100,0), +(@PATH,11,-5209.852,-1187.224,65.96239,0,0,0,100,0), +(@PATH,12,-5194.886,-1188.915,70.71236,0,0,0,100,0), +(@PATH,13,-5181.055,-1199.332,60.29574,0,0,0,100,0), +(@PATH,14,-5158.846,-1213.597,57.6291,0,0,0,100,0), +(@PATH,15,-5122.129,-1222.279,42.46242,0,0,0,100,0), +(@PATH,16,-5110.988,-1230.767,15.32349,0,0,0,100,0), +(@PATH,17,-5084.673,-1227.625,-11.81538,0,0,0,100,0), +(@PATH,18,-5065.282,-1209.691,-34.89864,0,0,0,100,0), +(@PATH,19,-5052.477,-1181.261,-39.42649,0,0,0,100,0), +(@PATH,20,-5025.058,-1165.288,-32.56528,0,0,0,100,0), +(@PATH,21,-5004.282,-1140.431,-38.3154,0,0,0,100,0), +(@PATH,22,-4984.813,-1123.683,-38.17639,0,0,0,100,0), +(@PATH,23,-4971.478,-1109.776,-38.17639,0,0,0,100,0), +(@PATH,24,-4949.74,-1096.296,-32.42633,0,0,0,100,0), +(@PATH,25,-4927.954,-1090.275,-24.84298,0,0,0,100,0), +(@PATH,26,-4909.837,-1080.728,-14.0652,0,0,0,100,0), +(@PATH,27,-4914.713,-1066.641,-7.898551,0,0,0,100,0), +(@PATH,28,-4927.922,-1056.954,-3.352009,0,0,0,100,0), +(@PATH,29,-4942.696,-1055.217,8.220422,0,0,0,100,0), +(@PATH,30,-4951.954,-1049.145,14.62554,0,0,0,100,0), +(@PATH,31,-4960.176,-1028.92,20.03323,0,0,0,100,0), +(@PATH,32,-4970.474,-1008.432,22.08879,0,0,0,100,0), +(@PATH,33,-4980.969,-992.9671,23.42848,0,0,0,100,0), +(@PATH,34,-4993.734,-980.054,23.75917,0,0,0,100,0), +(@PATH,35,-5012.753,-967.9377,24.0925,0,0,0,100,0), +(@PATH,36,-5032.862,-971.138,30.92584,0,0,0,100,0), +(@PATH,37,-5052.127,-982.1085,39.0092,0,0,0,100,0), +(@PATH,38,-5060.675,-991.1913,52.28708,0,0,0,100,0), +(@PATH,39,-5072.277,-1008.99,67.84268,0,0,0,100,0), +(@PATH,40,-5090.256,-1005.558,79.18673,0,0,0,100,0), +(@PATH,41,-5106.005,-1004.311,73.88409,0,0,0,100,0), +(@PATH,42,-5132.349,-1102.871,74.67264,0,0,0,100,0), +(@PATH,43,-5200.281,-1166.383,88.48215,0,0,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_27_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_27_00_world_sai.sql new file mode 100644 index 00000000000..9c0002572c3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_27_00_world_sai.sql @@ -0,0 +1,2 @@ +SET @SPELL := 31696; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 13 AND `SourceEntry`=@SPELL; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_30_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_30_00_world_misc.sql new file mode 100644 index 00000000000..0e81b2debaa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_30_00_world_misc.sql @@ -0,0 +1,103 @@ +SET @GOSSIP := 8301; +SET @EVENT := 13888; +SET @BLOOD_MOUNT := 19085; +SET @BORAK := 21293; +SET @ICARIUS := 21409; +SET @ZARATH := 21410; +SET @GOBJECT := 184798; + +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=10356; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(@GOSSIP,10356); + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(@GOSSIP,0,0,'Borak, I need another bundle of bloodthistle.',1,1,0,0,0,0,''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,@GOSSIP,0,0,0,9,0,10570,0,0,0,0,0,'','Show gossip menu option if player has quest To Catch a Thistlehead'), +(15,@GOSSIP,0,0,0,2,0,30616,1,0,1,0,0,'','Show gossip menu option if player doesn''t have item Bundle of Bloodthistle'); + +DELETE FROM `creature_text` WHERE entry IN (@ZARATH,@ICARIUS,@BORAK); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@BORAK,0,0,'Hide! Hide before they see you! Back up!',15,0,100,0,0,0,'Borak'), +(@BORAK,1,0,'The time to strike is at hand. Terminate Icarius.',15,0,100,0,0,0,'Borak'), +(@BORAK,2,0,'You have it. Do not lose it again!',12,0,100,5,0,0,'Borak'), +(@ZARATH,0,0,'What is it, my lord?',12,0,100,6,0,0,'Zarath'), +(@ZARATH,1,0,'My lord, surely you do not expect me to leave you unattended. Lord Illidan would have my head if anything were to happen to you.',12,0,100,1,0,0,'Zarath'), +(@ZARATH,2,0,'As you wish, my lord.',12,0,100,66,0,0,'Zarath'), +(@ICARIUS,0,0,'Halt!',12,0,100,1,0,0,'Icarius'), +(@ICARIUS,1,0,'Zarath you must return to the Black Temple at once! I... I seem to have misplaced Lord Illidan''s orders. Quickly!',12,0,100,5,0,0,'Icarius'), +(@ICARIUS,2,0,'Zarath, I am perfectly capable of making it up this road to Eclipse Point. If we do not deliver the missive, Lord Illidan will have both of our heads! You are dismissed!',12,0,100,1,0,0,'Icarius'), +(@ICARIUS,3,0,'Ah, sweet, sweet bloodthistle... Probably left behind by one of those filthy addicts at Eclipse Point.',12,0,100,1,0,0,'Icarius'), +(@ICARIUS,4,0,'Their loss is most definitely my gain...',12,0,100,275,0,0,'Icarius'), +(@ICARIUS,5,0,'Envoy Icarius puts the bundle of bloodthistle in his robe.',16,0,100,0,0,0,'Icarius'), +(@ICARIUS,6,0,'Ah, damn it all! Clever trap. Too bad you''ll never live to tell the tale...',12,0,100,1,0,0,'Icarius'); + +DELETE FROM `creature_template_addon` WHERE entry = @ZARATH; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes2`) VALUES +(@ZARATH,@BLOOD_MOUNT,0); + +UPDATE `gameobject` SET `position_x`=-4057.190, `position_y`=1527.482, `position_z`=93.0938 WHERE `guid`=99970; + +UPDATE `creature_template` SET `gossip_menu_id`=8301 WHERE `entry`=@BORAK; +UPDATE `creature_template` SET `faction_A`=1701, `faction_H`=1701, `speed_walk`=1.14286 WHERE `entry` IN (@ZARATH,@ICARIUS); + +UPDATE `creature_template` SET AIName='SmartAI' WHERE entry IN (@ZARATH,@ICARIUS,@BORAK); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=@GOBJECT; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@ZARATH,@ICARIUS,@BORAK); +DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=@GOBJECT; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@ICARIUS*100,@ZARATH*100); +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 +(@BORAK,0,0,0,38,0,100,0,1,1,0,0,1,0,0,0,0,0,0,17,50,100,0,0,0,0,0,'Borak - On Data Set - Say 0'), +(@BORAK,0,1,0,38,0,100,0,2,2,0,0,1,1,0,0,0,0,0,17,50,100,0,0,0,0,0,'Borak - On Data Set - Say 1'), +(@BORAK,0,2,3,62,0,100,0,@GOSSIP,0,0,0,56,30616,35,0,0,0,0,7,0,0,0,0,0,0,0,'Borak - On gossip select - Add Item to Player'), +(@BORAK,0,3,4,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Borak - On gossip select - Close Gossip'), +(@BORAK,0,4,0,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,17,50,100,0,0,0,0,0,'Borak - On gossip select - Say 2'), + +(@ZARATH,0,0,1,54,0,100,0,0,0,0,0,53,0,@ZARATH,0,10570,0,0,1,0,0,0,0,0,0,0,'Zarath - Just Summoned - Start Wp'), +(@ZARATH,0,1,2,61,0,100,1,0,0,0,0,45,1,1,0,0,0,0,11,@BORAK,500,0,0,0,0,0,'Zarath - On Link - Set Data to Borak'), +(@ZARATH,0,2,0,61,0,100,1,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zarath - On Link - Set react state aggressive'), +(@ZARATH,0,3,0,38,0,100,0,0,1,0,0,66,0,0,0,0,0,0,19,@ICARIUS,10,0,0,0,0,0,'Zarath - On Data Set - Turn to'), +(@ZARATH,0,4,5,38,0,100,0,1,1,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.716,'Zarath - On Data Set - Set Orientation'), +(@ZARATH,0,5,0,61,0,100,0,0,0,0,0,80,@ZARATH*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Zarath - On Link - Timed Script'), +(@ZARATH,0,6,0,40,0,100,0,1,@ZARATH,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zarath - WP Reached - Set Home Pos'), + +(@ICARIUS,0,0,1,54,0,100,0,0,0,0,0,53,0,@ICARIUS,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Just Summoned - Start Wp'), +(@ICARIUS,0,1,0,61,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Just Summoned - Set react state aggressive'), +(@ICARIUS,0,2,0,40,0,100,0,1,@ICARIUS,0,0,80,@ICARIUS*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - WP reached - Call Action Script'), +(@ICARIUS,0,3,0,4,1,100,1,0,0,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - On aggro (phase 1) - Say text 6'), + +(@GOBJECT,1,0,0,38,0,100,0,3,3,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bundle of Bloodthistle - On data 3 3 set - Set phase 2'), + +(@ZARATH*100,9,0,0,0,0,100,0,1500,1500,0,0,46,100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zarath - Move forward'), + +(@ICARIUS*100,9,0,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Say Text 0'), +(@ICARIUS*100,9,1,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,19,@ZARATH,10,0,0,0,0,0,'Zarath - Say Text 0 Zarath'), +(@ICARIUS*100,9,2,0,0,0,100,0,6500,6500,0,0,66,0,0,0,0,0,0,19,@ZARATH,10,0,0,0,0,0,'Icarius - Turn to'), +(@ICARIUS*100,9,3,0,0,0,100,0,500,500,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Say Text 1'), +(@ICARIUS*100,9,4,0,0,0,100,0,1000,1000,0,0,45,0,1,0,0,0,0,19,@ZARATH,10,0,0,0,0,0,'Zarath - Set data 0 1'), +(@ICARIUS*100,9,5,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,19,@ZARATH,10,0,0,0,0,0,'Zarath - Say Text 1 Zarath'), +(@ICARIUS*100,9,6,0,0,0,100,0,7000,7000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Say Text 2'), +(@ICARIUS*100,9,7,0,0,0,100,0,6000,6000,0,0,1,2,0,0,0,0,0,19,@ZARATH,10,0,0,0,0,0,'Zarath - Say Text 2 Zarath'), +(@ICARIUS*100,9,8,0,0,0,100,0,3000,3000,0,0,45,1,1,0,0,0,0,19,@ZARATH,10,0,0,0,0,0,'Zarath - Set Data 1 1'), +(@ICARIUS*100,9,9,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,20,@GOBJECT,50,0,0,0,0,0,'Icarius - Turn to'), +(@ICARIUS*100,9,10,0,0,0,100,0,4000,4000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Say Text 3'), +(@ICARIUS*100,9,11,0,0,0,100,0,6000,6000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Say Text 4'), +(@ICARIUS*100,9,12,0,0,0,100,0,4000,4000,0,0,69,0,0,0,0,0,0,20,@GOBJECT,50,0,0,0,0,0,'Icarius - Go to GO PoS'), +(@ICARIUS*100,9,13,0,0,0,100,0,5000,5000,0,0,5,16,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Emote Kneel'), +(@ICARIUS*100,9,14,0,0,0,100,0,3000,3000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Say Text 5'), +(@ICARIUS*100,9,15,0,0,0,100,0,0,0,0,0,45,3,3,0,0,0,0,20,@GOBJECT,5,0,0,0,0,0,'Icarius - Set Data Gameobject'), +(@ICARIUS*100,9,16,0,0,0,100,1,3000,3000,0,0,45,2,2,0,0,0,0,11,@BORAK,100,0,0,0,0,0,'Icarius - Set Data 2 2'), +(@ICARIUS*100,9,17,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Icarius - Set event phase 1'); + +DELETE FROM `event_scripts` WHERE `id`=@EVENT; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(@EVENT,0,10,@ZARATH,80000,0,-4055.979,1478.097,87.927,1.501698), +(@EVENT,0,10,@ICARIUS,120000,0,-4052.285,1478.886,87.8424,1.604585); + +DELETE FROM `waypoints` WHERE `entry` IN (@ZARATH,@ICARIUS); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@ZARATH,1,-4058.758,1515.231,91.292,'Zarath'), +(@ICARIUS,1,-4054.427,1515.515,91.511,'Icarius'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_31_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_31_00_world_misc.sql new file mode 100644 index 00000000000..1bc46748f96 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_05_31_00_world_misc.sql @@ -0,0 +1,35 @@ +-- DB/Misc: Fix: Prevent chat/spell flood, Prevent summon spells from overwriting. + +-- Prevent chat/spell flood +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2358 AND `source_type`=0 AND `id`=9 AND `link`=10; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2358 AND `source_type`=0 AND `id`=10 AND `link`=0; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2358 AND `source_type`=0 AND `id`=11 AND `link`=12; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=2358 AND `source_type`=0 AND `id`=12 AND `link`=0; + +-- Prevent chat flood / ..run away in fear! / Manually checked one by one! (64 NPC's) +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (429,453,548,1166,1867,1920,2369,4063,5839,7075,11319,11324,15281,15401,15417,15938,15945,15970,15971,16204) AND `source_type` = 0 AND `id` = 12 AND `link` = 13; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (429,453,548,1166,1867,1920,2369,4063,5839,7075,11319,11324,15281,15401,15417,15938,15945,15970,15971,16204) AND `source_type` = 0 AND `id` = 13 AND `link` = 0; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (1065,1173,1397,1914,1915,2120,2371,2376,6008,8550,9449,16249,16318,16337) AND `source_type` = 0 AND `id` = 13 AND `link` = 14; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (1065,1124,1173,1397,1914,1915,2120,2245,2371,2376,6008,8550,9449,16249,16318,16337) AND `source_type` = 0 AND `id` = 14 AND `link` = 0; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (1889,2375,2387,8566,9450,16317,16344,25073) AND `source_type` = 0 AND `id` = 14 AND `link` = 15; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (1124,1889,2375,2387,8566,9450,16317,16344,25073) AND `source_type` = 0 AND `id` = 15 AND `link` = 0; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (1123,1162,2245,2554,9451,16403) AND `source_type` = 0 AND `id` = 15 AND `link` = 16; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (1009,1013,1123,1162,2554,7246,9451,16403) AND `source_type` = 0 AND `id` = 16 AND `link` = 0; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (2276,2428,4064,4463,10824,12322) AND `source_type` = 0 AND `id` = 16 AND `link` = 17; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (2276,2428,4064,4463,10824,12322) AND `source_type` = 0 AND `id` = 17 AND `link` = 0; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (436,4462,17694) AND `source_type` = 0 AND `id` = 17 AND `link` = 18; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` IN (436,4462,17694) AND `source_type` = 0 AND `id` = 18 AND `link` = 0; +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` = 8564 AND `source_type` = 0 AND `id` = 18 AND `link` = 19; -- Ranger - Allow Combat Movement +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` = 8564 AND `source_type` = 0 AND `id` = 19 AND `link` = 0; -- Ranger - Flee For Assist +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` = 24683 AND `source_type` = 0 AND `id` = 19 AND `link` = 20; -- Sunblade Mage Guard - Allow Combat Movement +UPDATE `smart_scripts` SET `event_flags` = 1 WHERE `entryorguid` = 24683 AND `source_type` = 0 AND `id` = 20 AND `link` = 0; -- Sunblade Mage Guard - Flee For Assist + +-- Prevent summon spells from overwriting each other's cast time, earlier script had wrong timers.. +UPDATE `smart_scripts` SET `link`=15 WHERE `entryorguid`=1124 AND `source_type`=0 AND `id`=14 AND `link`=01; +UPDATE `smart_scripts` SET `event_type`=61, `event_flags`=1 WHERE `entryorguid`=1124 AND `source_type`=0 AND `id`=15 AND `link`=0; +UPDATE `smart_scripts` SET `event_param1`=9100, `event_param2`=14900 WHERE `entryorguid`=2358 AND `source_type`=0 AND `id`=9 AND `link`=10; +UPDATE `smart_scripts` SET `event_param1`=4700, `event_param2`=11100 WHERE `entryorguid`=2358 AND `source_type`=0 AND `id`=11 AND `link`=12; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid` IN (429,453) AND `source_type`=0 AND `id`=12 AND `link`=13; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid` IN (1009,1065,1397) AND `source_type`=0 AND `id`=13 AND `link`=14; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid` IN (1009,1013,1123,2245,2554) AND `source_type`=0 AND `id`=15 AND `link`=16; +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid` = 1009 AND `source_type`=0 AND `id`=14 AND `link`=15; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_01_00_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_01_00_world_creature_template.sql new file mode 100644 index 00000000000..1c56f1979f8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_01_00_world_creature_template.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (24021,3094,23905,27376,27378,27379,27381); +DELETE FROM `smart_scripts` WHERE `entryorguid`=26917; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_01_01_world_fishing_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_01_01_world_fishing_loot_template.sql new file mode 100644 index 00000000000..0a0d8f842fa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_01_01_world_fishing_loot_template.sql @@ -0,0 +1,14 @@ +DELETE FROM `skill_fishing_base_level` WHERE `entry`=4813; +INSERT INTO `skill_fishing_base_level`(`entry`,`skill`) VALUE +(4813,450); + +DELETE FROM `fishing_loot_template` WHERE `entry`=4813; +INSERT INTO `fishing_loot_template`(`entry`,`item`,`ChanceOrQuestChance`,`groupid`) VALUES +(4813,41808,58,1), +(4813,43572,20.5,1), +(4813,36794,5.4,1), +(4813,4875,5,1), +(4813,3671,4.5,1), +(4813,25447,4.5,1), +(4813,44475,1.1,1), +(4813,37705,1,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_00_world_achievement_criteria_data.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_00_world_achievement_criteria_data.sql new file mode 100644 index 00000000000..053ade0486d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_00_world_achievement_criteria_data.sql @@ -0,0 +1,16 @@ +DELETE FROM `disables` WHERE `sourceType`=4 AND `entry` IN (10082,10083,10084,10085,10086,10087); + +DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (10082,10083,10084,10085,10086,10087); +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(10082, 11, 0, 0, 'achievement_assembly_i_choose_you'), +(10082, 12, 0, 0, ''), +(10083, 11, 0, 0, 'achievement_assembly_i_choose_you'), +(10083, 12, 0, 0, ''), +(10084, 11, 0, 0, 'achievement_assembly_i_choose_you'), +(10084, 12, 0, 0, ''), +(10085, 11, 0, 0, 'achievement_assembly_i_choose_you'), +(10085, 12, 1, 0, ''), +(10086, 11, 0, 0, 'achievement_assembly_i_choose_you'), +(10086, 12, 1, 0, ''), +(10087, 11, 0, 0, 'achievement_assembly_i_choose_you'), +(10087, 12, 1, 0, ''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_01_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_01_world_conditions.sql new file mode 100644 index 00000000000..4f3993bd1e0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_01_world_conditions.sql @@ -0,0 +1,78 @@ +-- Add option conditions for mage trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (63,64,4484,4485,4486,4517,4518,4519,4520,4537,4538,4539,4552,4651,4654,4660,4661,4685,4686,6648,7264,9990,9580,7366,4535); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,63,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,63,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,63,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,64,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,64,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,64,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4484,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4484,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4484,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4485,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4485,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4485,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4486,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4486,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4486,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4517,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4517,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4517,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4518,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4518,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4518,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4519,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4519,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4519,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4520,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4520,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4520,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4537,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4537,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4537,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4538,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4538,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4538,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4539,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4539,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4539,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4552,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4552,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4552,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4651,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4651,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4651,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4654,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4654,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4654,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4660,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4660,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4660,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4661,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4661,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4661,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4685,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4685,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4685,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4686,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4686,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4686,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,6648,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,6648,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,6648,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,7264,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,7264,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,7264,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,9990,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,9990,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,9990,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,9580,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,9580,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,9580,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,7366,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,7366,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,7366,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4535,0,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4535,1,0,15,128,0,0,0,'','Show gossip option if player is a mage'), +(15,4535,2,0,15,128,0,0,0,'','Show gossip option if player is a mage'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_02_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_02_world_conditions.sql new file mode 100644 index 00000000000..9d1b80e7a3f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_02_world_conditions.sql @@ -0,0 +1,78 @@ +-- Add option conditions for Warlock trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (1503,1522,2381,2383,2384,4503,4504,4505,4566,4567,4603,4604,4609,4610,4641,4643,4655,4656,4667,4681,4682,6628,7437,7566,4642); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,1503,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,1503,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,1503,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,1522,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,1522,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,1522,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2381,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2381,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2381,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2383,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2383,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2383,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2384,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2384,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,2384,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4503,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4503,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4503,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4504,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4504,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4504,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4505,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4505,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4505,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4566,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4566,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4566,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4567,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4567,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4567,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4603,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4603,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4603,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4604,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4604,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4604,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4609,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4609,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4609,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4610,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4610,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4610,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4641,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4641,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4641,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4643,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4643,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4643,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4655,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4655,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4655,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4656,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4656,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4656,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4667,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4667,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4667,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4681,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4681,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4681,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4682,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4682,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4682,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,6628,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,6628,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,6628,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,7437,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,7437,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,7437,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,7566,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,7566,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,7566,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4642,0,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4642,1,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'), +(15,4642,2,0,15,256,0,0,0,'','Show gossip option if player is a Warlock'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_03_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_03_world_conditions.sql new file mode 100644 index 00000000000..f38ce3caf3e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_03_world_conditions.sql @@ -0,0 +1,42 @@ +-- Add option conditions for Paladin trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (2304,4556,4557,4469,4470,4471,4662,4463,4464,4677,4678,7260,8111); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,2304,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,2304,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,2304,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4556,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4556,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4556,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4557,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4557,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4557,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4469,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4469,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4469,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4470,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4470,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4470,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4471,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4471,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4471,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4662,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4662,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4662,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4463,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4463,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4463,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4464,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4464,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4464,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4677,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4677,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4677,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4678,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4678,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4678,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,7260,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,7260,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,7260,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,8111,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,8111,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,8111,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_04_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_04_world_conditions.sql new file mode 100644 index 00000000000..82ee44df19d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_04_world_conditions.sql @@ -0,0 +1,93 @@ +-- Add option conditions for Warrior trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (523,655,656,4091,4475,4481,4482,4509,4511,4525,4526,4527,4546,4547,4548,4568,4569,4570,4578,4579,4581,4645,4649,4650,4653,4683,4684,4696,4697,7263); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,523,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,523,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,523,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,655,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,655,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,655,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,656,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,656,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,656,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4091,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4091,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4091,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4475,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4475,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4475,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4481,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4481,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4481,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4482,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4482,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4482,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4509,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4509,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4509,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4511,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4511,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4511,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4525,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4525,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4525,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4526,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4526,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4526,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4527,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4527,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4527,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4546,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4546,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4546,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4547,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4547,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4547,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4548,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4548,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4548,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4568,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4568,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4568,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4569,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4569,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4569,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4570,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4570,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4570,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4578,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4578,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4578,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4579,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4579,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4579,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4581,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4581,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4581,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4645,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4645,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4645,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4649,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4649,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4649,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4650,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4650,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4650,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4653,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4653,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4653,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4683,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4683,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4683,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4684,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4684,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4684,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4696,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4696,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4696,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4697,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4697,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,4697,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,7263,0,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,7263,1,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'), +(15,7263,2,0,15,1,0,0,0,'','Show gossip option if player is a Warrior'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_05_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_05_world_conditions.sql new file mode 100644 index 00000000000..fdee846a275 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_05_world_conditions.sql @@ -0,0 +1,49 @@ +-- Add option conditions for Druid trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (1403,3921,3924,3925,3926,4507,4508,4571,4605,4606,4607,4687,4688,7567,4646); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,1403,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,1403,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,1403,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,1403,3,0,8,0,3781,0,0,'','Mathrengyl Bearwalker - Show gossip option if player has rewarded quest 3781'), +(15,3921,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3921,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3921,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3924,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3924,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3924,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3925,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3925,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3925,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3926,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3926,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,3926,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4507,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4507,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4507,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4508,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4508,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4508,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4571,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4571,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4571,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4605,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4605,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4605,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4606,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4606,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4606,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4607,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4607,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4607,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4687,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4687,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4687,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4688,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4688,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4688,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,7567,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,7567,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,7567,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4646,0,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4646,1,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'), +(15,4646,2,0,15,1024,0,0,0,'','Show gossip option if player is a Druid'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_06_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_06_world_conditions.sql new file mode 100644 index 00000000000..b2605b97d26 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_06_world_conditions.sql @@ -0,0 +1,4 @@ +-- Add option conditions for Druid trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (1403) AND `SourceEntry` IN (3); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,1403,3,0,8,0,3781,0,0,'','Mathrengyl Bearwalker - Show gossip option if player has rewarded quest 3781'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_07_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_07_world_conditions.sql new file mode 100644 index 00000000000..696c69ca62e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_07_world_conditions.sql @@ -0,0 +1,80 @@ +-- Add option conditions for Hunter trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (4008,4009,4010,4011,4012,4017,4023,4101,4472,4473,4474,4506,4524,4549,4550,4551,4647,4648,4657,4675,4693,4695,6652,7262,7368); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,4008,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4008,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4008,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4009,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4009,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4009,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4010,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4010,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4010,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4011,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4011,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4011,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4012,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4012,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4012,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4017,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4017,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4017,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4023,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4023,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4023,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4101,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4101,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4101,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4472,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4472,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4472,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4473,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4473,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4473,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4474,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4474,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4474,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4506,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4506,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4506,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4524,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4524,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4524,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4549,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4549,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4549,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4550,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4550,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4550,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4551,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4551,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4551,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4647,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4647,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4647,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4648,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4648,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4648,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4657,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4657,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4657,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4675,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4675,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4675,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4693,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4693,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4693,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4695,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4695,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,4695,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,6652,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,6652,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,6652,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7262,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7262,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7262,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7368,0,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7368,1,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7368,2,0,15,4,0,0,0,'','Show gossip option if player is a Hunter'), +(15,7368,3,0,9,0,9454,0,0,'','Acteon - Show gossip option if player has quest 9454'), +(15,7368,4,0,9,0,10324,0,0,'','Acteon - Show gossip option if player has quest 10324'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_08_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_08_world_conditions.sql new file mode 100644 index 00000000000..2fe812c1934 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_08_world_conditions.sql @@ -0,0 +1,75 @@ +-- Add option conditions for Rogue trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (85,141,381,410,411,436,3984,4502,4512,4513,4540,4541,4542,4561,4562,4575,4576,4577,4658,4659,4676,4690,5061,6650); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,85,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,85,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,85,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,141,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,141,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,141,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,381,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,381,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,381,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,410,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,410,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,410,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,411,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,411,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,411,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,436,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,436,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,436,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,3984,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,3984,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,3984,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4502,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4502,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4502,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4512,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4512,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4512,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4513,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4513,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4513,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4540,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4540,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4540,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4541,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4541,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4541,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4542,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4542,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4542,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4561,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4561,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4561,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4562,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4562,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4562,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4575,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4575,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4575,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4576,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4576,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4576,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4577,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4577,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4577,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4658,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4658,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4658,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4659,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4659,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4659,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4676,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4676,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4676,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4690,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4690,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4690,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,5061,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,5061,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,5061,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,6650,0,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,6650,1,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'), +(15,6650,2,0,15,8,0,0,0,'','Show gossip option if player is a Rogue'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_09_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_09_world_conditions.sql new file mode 100644 index 00000000000..647e608df87 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_02_09_world_conditions.sql @@ -0,0 +1,99 @@ +-- Add option conditions for Priest trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (3642,3643,3644,3645,4466,4467,4468,4521,4522,4523,4531,4532,4533,4543,4544,4545,4558,4559,4572,4573,4574,4665,4666,4679,4680,4691,4692,4801,6649,7265,7349,7438); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,3642,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3642,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3642,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3643,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3643,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3643,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3644,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3644,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3644,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3645,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3645,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,3645,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4466,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4466,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4466,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4467,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4467,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4467,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4468,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4468,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4468,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4521,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4521,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4521,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4522,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4522,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4522,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4523,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4523,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4523,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4531,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4531,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4531,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4532,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4532,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4532,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4533,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4533,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4533,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4543,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4543,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4543,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4544,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4544,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4544,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4545,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4545,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4545,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4558,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4558,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4558,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4559,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4559,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4559,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4572,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4572,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4572,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4573,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4573,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4573,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4574,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4574,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4574,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4665,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4665,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4665,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4666,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4666,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4666,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4679,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4679,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4679,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4680,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4680,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4680,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4691,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4691,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4691,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4692,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4692,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4692,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4801,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4801,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,4801,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,6649,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,6649,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,6649,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7265,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7265,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7265,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7349,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7349,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7349,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7438,0,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7438,1,0,15,16,0,0,0,'','Show gossip option if player is a Priest'), +(15,7438,2,0,15,16,0,0,0,'','Show gossip option if player is a Priest'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_00_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_00_world_conditions.sql new file mode 100644 index 00000000000..518479930f2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_00_world_conditions.sql @@ -0,0 +1,42 @@ +-- Add option conditions for Shaman trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (4103,4104,4515,4516,4528,4529,4530,4652,5123,7357,7467,7522,8110,7377); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,4103,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4103,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4103,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4104,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4104,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4104,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4515,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4515,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4515,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4516,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4516,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4516,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4528,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4528,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4528,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4529,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4529,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4529,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4530,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4530,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4530,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4652,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4652,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,4652,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,5123,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,5123,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,5123,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7357,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7357,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7357,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7467,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7467,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7467,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,8110,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,8110,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,8110,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7377,0,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7377,1,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'), +(15,7377,2,0,15,64,0,0,0,'','Show gossip option if player is a Shaman'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_00_world_trinity_string.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_00_world_trinity_string.sql new file mode 100644 index 00000000000..80ad953b3b7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_00_world_trinity_string.sql @@ -0,0 +1,9 @@ +DELETE FROM `trinity_string` WHERE `entry`=854 LIMIT 1; +INSERT INTO `trinity_string` (`entry`, `content_default`, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8) VALUES +(854, '└ Mails: %d Read/%u Total', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +DELETE FROM `trinity_string` WHERE `entry`=871 LIMIT 1; +INSERT INTO `trinity_string` (`entry`, `content_default`, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8) VALUES +(871, '│ Level: %u', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +UPDATE `trinity_string` SET `content_default`='│ Level: %u (%u/%u XP (%u XP left))' WHERE `entry`=843 LIMIT 1; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_02_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_02_world_conditions.sql new file mode 100644 index 00000000000..6b542fef131 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_02_world_conditions.sql @@ -0,0 +1,264 @@ +-- Gossip Condition for Ultham Ironhorn "Dwarf riding trainer" +SET @GOSSIP := 4014; +SET @TEXTYES := 4871; +SET @TEXTNO := 5858; +SET @FACTION := 47; +SET @RACE := 4; +SET @NOTRACE := 1787; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Dwarf'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Ironforge'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Dwarf'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Ironforge'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Dwarf'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Ironforge'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); +UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP WHERE `entry`=4772; + +-- Gossip Condition for Velma Warnam "Forsaken riding trainer" +SET @GOSSIP := 4015; +SET @TEXTYES := 4873; +SET @TEXTNO := 5859; +SET @FACTION := 68; +SET @RACE := 16; +SET @NOTRACE := 1775; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Forsaken'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Undercity'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Forsaken'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Undercity'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Forsaken'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Undercity'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Benjy Featherwhistle "Gnomeregan riding trainer" +SET @GOSSIP := 4016; +SET @TEXTYES := 4878; +SET @TEXTNO := 5860; +SET @FACTION := 54; +SET @RACE := 64; +SET @NOTRACE := 1727; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Gnome'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Gnomeregan'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Gnome'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Gnomeregan'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Gnome'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Gnomeregan'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Randel Hunter "Human riding trainer" +SET @GOSSIP := 4018; +SET @TEXTYES := 4876; +SET @TEXTNO := 5861; +SET @FACTION := 72; +SET @RACE := 1; +SET @NOTRACE := 1790; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Human'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Stormwind'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Human'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Stormwind'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Human'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Stormwind'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Jartsam "Night Elf riding trainer" +SET @GOSSIP := 4019; +SET @TEXTYES := 4877; +SET @TEXTNO := 5862; +SET @FACTION := 69; +SET @RACE := 8; +SET @NOTRACE := 1783; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Night Elf'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Darnassus'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Night Elf'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Darnassus'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Night Elf'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Darnassus'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Kildar "Orc riding trainer" +SET @GOSSIP := 4020; +SET @TEXTYES := 4879; +SET @TEXTNO := 5863; +SET @FACTION := 76; +SET @RACE := 2; +SET @NOTRACE := 1789; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is an Orc'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Orgrimmar'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not an Orc'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Orgrimmar'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is an Orc'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Orgrimmar'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Kar Stormsinger "Tauren riding trainer" +SET @GOSSIP := 4021; +SET @TEXTYES := 4874; +SET @TEXTNO := 5864; +SET @FACTION := 81; +SET @RACE := 32; +SET @NOTRACE := 1759; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Tauren'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Thunder Bluff'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Tauren'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Thunder Bluff'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Tauren'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Thunder Bluff'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Xar'Ti "Troll riding trainer" +SET @GOSSIP := 4022; +SET @TEXTYES := 4875; +SET @TEXTNO := 5865; +SET @FACTION := 530; +SET @RACE := 128; +SET @NOTRACE := 1663; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Troll'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Darkspear Trolls'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Troll'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Darkspear Trolls'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Troll'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Darkspear Trolls'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); +UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP WHERE `entry`=7953; + +-- Gossip Condition for Perascamin "Blood Elf riding trainer" +SET @GOSSIP := 8275; +SET @TEXTYES := 10308; +SET @TEXTNO := 10310; +SET @FACTION := 911; +SET @RACE := 512; +SET @NOTRACE := 1279; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Blood Elf'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Silvermoon City'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Blood Elf'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Silvermoon City'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Blood Elf'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Silvermoon City'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); +UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP WHERE `entry`=16280; + +-- Gossip Condition for Aalun "Draenei riding trainer" +SET @GOSSIP := 8553; +SET @TEXTYES := 10792; +SET @TEXTNO := 10705; +SET @FACTION := 930; +SET @RACE := 1024; +SET @NOTRACE := 767; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,16,@RACE,0,0,0,'','Show gossip text if player is a Draenei'), +(14,@GOSSIP,@TEXTYES,1,5,@FACTION,128,0,0,'','Show gossip text if player is Exalted with Exodar'), +(14,@GOSSIP,@TEXTNO,0,16,@NOTRACE,0,0,0,'','Show gossip text if player is not a Draenei'), +(14,@GOSSIP,@TEXTNO,0,5,@FACTION,127,0,0,'','Show gossip text if player is Not Exalted with Exodar'), +(15,@GOSSIP,0,0,16,@RACE,0,0,0,'','Show gossip option if player is a Draenei'), +(15,@GOSSIP,0,1,5,@FACTION,128,0,0,'','Show gossip option if player is a Exalted with Exodar'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"I seek training to ride a steed.",5,16,0,0,0,0,''); + +-- Gossip Condition for Olrokk "Riding trainer" +SET @GOSSIP := 8628; +SET @TEXT := 10817; +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXT; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXT); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Train me.",5,16,0,0,0,0,''); +UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP WHERE `entry`=20500; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_03_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_03_world_conditions.sql new file mode 100644 index 00000000000..3edbde56d5b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_03_world_conditions.sql @@ -0,0 +1,95 @@ +-- Add option conditions for Rogue trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceEntry`=4 AND `SourceGroup` IN (85,141,381,410,411,436,3984,4502,4512,4513,4540,4541,4542,4561,4562,4575,4576,4577,4658,4659,4676,4690,5061,6650); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`NegativeCondition`,`ScriptName`,`Comment`) VALUES +(15,85,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,85,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,85,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,85,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,141,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,141,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,141,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,141,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,410,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,410,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,410,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,410,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,411,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,411,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,411,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,411,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,436,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,436,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,436,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,436,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,3984,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,3984,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,3984,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,3984,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4502,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4502,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4502,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4502,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4512,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4512,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4512,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4512,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4513,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4513,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4513,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4513,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4540,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4540,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4540,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4540,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4541,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4541,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4541,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4541,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4542,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4542,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4542,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4542,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4561,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4561,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4561,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4561,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4562,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4562,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4562,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4562,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4575,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4575,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4575,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4575,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4576,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4576,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4576,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4576,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4577,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4577,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4577,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4577,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4658,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4658,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4658,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4658,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4659,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4659,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4659,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4659,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4676,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4676,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4676,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4676,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,4690,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,4690,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,4690,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,4690,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,5061,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,5061,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,5061,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,5061,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'), +(15,6650,4,0,15,8,0,0,0,0,'','Show gossip option if player is a Rogue'), +(15,6650,4,0,27,24,3,0,0,0,'','Show gossip option if player is level 24 or higher'), +(15,6650,4,0,2,17126,1,0,0,0,'','Show gossip option if player has Elegant Letter'), +(15,6650,4,0,28,6681,0,0,0,1,'','Show gossip option if player has not completed quest 6681'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_04_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_04_world_conditions.sql new file mode 100644 index 00000000000..f18492fc34a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_04_world_conditions.sql @@ -0,0 +1,8 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (4463,4464,4663,4664); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,4463,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4463,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4463,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4464,0,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4464,1,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'), +(15,4464,2,0,15,2,0,0,0,'','Show gossip option if player is a Paladin'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_05_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_05_world_gossip.sql new file mode 100644 index 00000000000..7f21d072162 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_03_05_world_gossip.sql @@ -0,0 +1,301 @@ +-- XXXXXXXXXXXXXXXXXXXXX +-- X Shaman Trainers X +-- XXXXXXXXXXXXXXXXXXXXX + +UPDATE `creature_template` SET `gossip_menu_id`=7357 WHERE `entry`=23127; +UPDATE `creature_template` SET `gossip_menu_id`=7377 WHERE `entry`=17204; +UPDATE `creature_template` SET `gossip_menu_id`=4104 WHERE `entry`=986; + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4103; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4104; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4515; +SET @TEXTYES := 5007; +SET @TEXTNO := 5008; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4516; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4528; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4529; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4530; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 4652; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 5123; +SET @TEXTYES := 5005; +SET @TEXTNO := 5006; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 7357; +SET @TEXTYES := 8786; +SET @TEXTNO := 8785; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 7467; +SET @TEXTYES := 9050; +SET @TEXTNO := 8785; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 7522; +SET @TEXTYES := 9122; +SET @TEXTNO := 8785; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 8110; +SET @TEXTYES := 10043; +SET @TEXTNO := 10040; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,2,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); + +-- Gossip Condition for Shaman Trainers +SET @GOSSIP := 7377; +SET @TEXTYES := 8829; +SET @TEXTNO := 8828; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=@GOSSIP; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,@TEXTYES,0,15,64,0,0,0,'','Show gossip text if player is a Shaman'), +(14,@GOSSIP,@TEXTNO,0,15,1471,0,0,0,'','Show gossip text if player is not a Shaman'); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTYES; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTYES); +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTNO; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXTNO); +DELETE FROM `gossip_menu` WHERE `entry` BETWEEN 7502 AND 7509; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(7502,9098),(7503,9099),(7504,9100),(7505,9101), +(7506,9102),(7507,9103),(7508,9104),(7509,9105); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id BETWEEN 7502 AND 7508; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(7502,0,0,"Yes, please continue.",1,1,7503,0,0,0,''), +(7503,0,0,"Yes, please, if you do not mind.",1,1,7504,0,0,0,''), +(7504,0,0,"Nobundo, please continue.",1,1,7505,0,0,0,''), +(7505,0,0,"What did it say to you?",1,1,7506,0,0,0,''), +(7506,0,0,"What was that?",1,1,7507,0,0,0,''), +(7507,0,0,"What did you do then?",1,1,7508,0,0,0,''), +(7508,0,0,"Please, go on.",1,1,7509,0,0,0,''); +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,3,"Teach me the ways of the spirits.",5,16,0,0,0,0,''), +(@GOSSIP,1,0,"Tell me of your past, Farseer.",1,1,7502,0,0,0,''), +(@GOSSIP,2,0,"I wish to unlearn my talents.",16,16,4461,0,0,0,''), +(@GOSSIP,3,0,"I wish to know about Dual Talent Specialization.",1,1,10371,0,0,0,''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_00_world_game_event_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_00_world_game_event_creature.sql new file mode 100644 index 00000000000..fb4fc759528 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_00_world_game_event_creature.sql @@ -0,0 +1,2 @@ +DELETE FROM `game_event_creature` WHERE `guid`=152120 AND `eventEntry`=24; +INSERT INTO `game_event_creature` (`guid`, `eventEntry`) VALUES (152120,24); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_01_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_01_world_sai.sql new file mode 100644 index 00000000000..7b9c1b644bd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_01_world_sai.sql @@ -0,0 +1,22 @@ +UPDATE `smart_scripts` SET `event_flags`=1 WHERE `entryorguid`=23580 AND `source_type`=0 AND `id`=0 AND `link`=1; + +-- Deep in the bowels of the Underhalls - 13042 +SET @OSTERKILGR := 30409; -- Apprentice Osterkilgr +SET @SPELL_BLAST := 60290; -- Blast Wave +SET @SPELL_FIREBALL := 14034; -- Fireball +SET @QUEST := 13042; -- Deep in the Bowels of the Underhalls +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@OSTERKILGR; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@OSTERKILGR; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@OSTERKILGR; +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 +(@OSTERKILGR,0,0,0,0,0,100,0,5000,7000,5000,7000,11,@SPELL_BLAST,0,0,0,0,0,5,0,0,0,0,0,0,0,'Apprentice Osterkilgr - In Combat - cast Blast Wave'), +(@OSTERKILGR,0,1,0,0,0,100,0,1000,2000,1000,2000,11,@SPELL_FIREBALL,0,0,0,0,0,5,0,0,0,0,0,0,0,'Apprentice Osterkilgr - In Combat - cast Fireball'), +(@OSTERKILGR,0,2,0,2,0,100,1,40,80,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Apprentice Osterkilgr - @80%HP - say text 0'), +(@OSTERKILGR,0,3,4,2,0,100,1,0,40,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Apprentice Osterkilgr - @40%HP - say text 1'), +(@OSTERKILGR,0,4,0,61,0,100,0,0,0,0,0,33,30412,0,0,0,0,0,7,0,0,0,0,0,0,0,'Apprentice Osterkilgr - At 40% HP - give kill credit'); +DELETE FROM `creature_ai_texts` WHERE `entry` IN (-10020,-10021); +DELETE FROM `creature_text` WHERE `entry`=@OSTERKILGR; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@OSTERKILGR,0,0,'You''ve come for the doctor''s plans! You''ll only find death!',12,0,0,0,0,0,'Apprentice Osterkilgr - Say 0'), +(@OSTERKILGR,1,0,'The doctor entrusted me with the plans to Nergeld, our flesh giant amalgamation made entirely of vargul! It will be the most powerful creation of its kind and a whole legion of them will be created to destroy your pitiful forces!',12,0,0,0,0,0,'Apprentice Osterkilgr - Say 1'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_02_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_02_world_conditions.sql new file mode 100644 index 00000000000..1f850571a04 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_02_world_conditions.sql @@ -0,0 +1,5 @@ +-- Add option conditions for Hunter trainers +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (7368) AND `SourceEntry` IN (3,4); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,7368,3,0,9,9454,0,0,0,'','Acteon - Show gossip option if player has quest 9454'), +(15,7368,4,0,9,10324,0,0,0,'','Acteon - Show gossip option if player has quest 10324'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_03_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_03_world_conditions.sql new file mode 100644 index 00000000000..63d3b5ec210 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_04_03_world_conditions.sql @@ -0,0 +1 @@ +UPDATE `conditions` SET `ConditionValue1`=3781,`ConditionValue2`=0 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1403 AND `SourceEntry`=3 AND `ConditionTypeOrReference`=8; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_05_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_05_00_world_sai.sql new file mode 100644 index 00000000000..9dc2b4bfcf1 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_05_00_world_sai.sql @@ -0,0 +1,61 @@ +-- The Art of Being a Water Terror (13091) +SET @NPC_WATER_TERROR := 30645; -- Water Terror +SET @AURA_HEALTH := 57664; -- The Art of Being a Water Terror: Mod Health Regen % +SET @JOT_WARRIOR := 29880; -- Jotunheim Warrior +SET @SPEAR_SISTER := 30243; -- Njorndar Spear-Sister +SET @VAL_VARGUL := 30250; -- Valhalas Vargul +SET @WATER_MAGUS := 30632; -- Mjordin Water Magus +SET @SLEEP_WATCHER := 30725; -- Jotunheim Sleep-Watcher + +UPDATE `creature_template` SET `speed_walk`=4,`speed_run`=2.14285707473755,`AIName`='SmartAI',`exp`=2,`spell1`=57643,`spell2`=57652,`spell3`=57665,`spell4`=57668,`VehicleId`=250,`minlevel`=80,`maxlevel`=80,`faction_A`=116,`faction_H`=116,`unit_flags`=0x8008 WHERE `entry`=@NPC_WATER_TERROR; + +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_WATER_TERROR; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@NPC_WATER_TERROR,0,0x0,0x101,''); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NPC_WATER_TERROR 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 +(@NPC_WATER_TERROR,0,0,1,54,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Just Summoned - Set State Passive - Self'), +(@NPC_WATER_TERROR,0,1,0,61,0,100,0,0,0,0,0,75,@AURA_HEALTH,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Just Summoned - Add Aura - Self'); + + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@JOT_WARRIOR,@WATER_MAGUS,@SPEAR_SISTER); +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry` IN (@JOT_WARRIOR,@WATER_MAGUS,@SPEAR_SISTER); +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 +(@JOT_WARRIOR,0,0,0,0,0,100,0,0,0,30000,30000,11,23262,2,0,0,0,0,2,0,0,0,0,0,0,0,'Jotunheim Warrior - IC - Cast Demoralize'), +(@JOT_WARRIOR,0,1,0,0,0,100,0,2000,3000,5000,7000,11,43410,2,0,0,0,0,2,0,0,0,0,0,0,0,'Jotunheim Warrior - IC - Cast Chop'), +(@JOT_WARRIOR,0,2,0,6,0,100,0,0,0,0,0,33,30644,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jotunheim Warrior - On Death - Give Kill Credit credit'), +(@SPEAR_SISTER,0,0,0,0,0,100,0,2000,3000,3000,4000,11,38029,2,0,0,0,0,2,0,0,0,0,0,0,0,'Njorndar Spear-Sister - IC - Cast Stab'), +(@SPEAR_SISTER,0,1,0,6,0,100,0,0,0,0,0,33,30644,0,0,0,0,0,7,0,0,0,0,0,0,0,'Njorndar Spear-Sister - On Death - Give Kill Credit credit'), +(@WATER_MAGUS,0,0,0,11,0,100,0,0,0,0,0,11,7855,0,0,0,0,0,1,0,0,0,0,0,0,0,'Mjordin Water Magus - On Spawn - Summon Water Terror (Self)'), +(@WATER_MAGUS,0,1,0,0,0,100,0,0,0,3000,4000,11,9672,0,0,0,0,0,2,0,0,0,0,0,0,0,'Mjordin Water Magus - IC - Cast Frostbolt'), +(@WATER_MAGUS,0,2,0,0,0,100,0,3000,3000,7000,9000,11,15532,0,0,0,0,0,1,0,0,0,0,0,0,0,'Mjordin Water Magus - IC - Cast Frost Nova'), +(@WATER_MAGUS,0,3,0,6,0,100,0,0,0,0,0,33,30644,0,0,0,0,0,7,0,0,0,0,0,0,0,'Mjordin Water Magus - On Death - Give Kill Credit credit'); +-- Valhalas Vargul +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@VAL_VARGUL; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@VAL_VARGUL; +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 +(@VAL_VARGUL,0,0,0,9,0,100,0,0,5,3000,5000,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,'Valhalas Vargul - IC - Cast Cleave'), +(@VAL_VARGUL,0,1,0,6,0,100,0,0,0,0,0,33,30644,0,0,0,0,0,7,0,0,0,0,0,0,0,'Valhalas Vargul - On Death - Give Kill Credit credit'); + +-- Jotunheim Sleep-Watcher +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`=@SLEEP_WATCHER; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@SLEEP_WATCHER; +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 +(@SLEEP_WATCHER,0,0,0,9,0,100,0,0,5,15000,25000,11,60870,0,0,0,0,0,2,0,0,0,0,0,0,0,'Jotunheim Sleep-Watcher - IC - Cast Bludgeoning Strike'), +(@SLEEP_WATCHER,0,1,0,9,0,100,0,0,5000,30000,45000,11,13730,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jotunheim Sleep-Watcher - IC - Cast Demoralizing Shout'), +(@SLEEP_WATCHER,0,2,0,6,0,100,0,0,0,0,0,33,30644,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jotunheim Sleep-Watcher - On Death - Give Kill Credit credit'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(@JOT_WARRIOR,@WATER_MAGUS,@SPEAR_SISTER,@VAL_VARGUL,@SLEEP_WATCHER); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,3,@JOT_WARRIOR,0,0,1,0,57615,0,0,0,0,'','Only run AI if player is possessing a water terror'), +(22,4,@WATER_MAGUS,0,0,1,0,57615,0,0,0,0,'','Only run AI if player is possessing a water terror'), +(22,2,@SPEAR_SISTER,0,0,1,0,57615,0,0,0,0,'','Only run AI if player is possessing a water terror'), +(22,2,@VAL_VARGUL,0,0,1,0,57615,0,0,0,0,'','Only run AI if player is possessing a water terror'), +(22,3,@SLEEP_WATCHER,0,0,1,0,57615,0,0,0,0,'','Only run AI if player is possessing a water terror'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=16 AND `SourceEntry`=@NPC_WATER_TERROR; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(16,0,@NPC_WATER_TERROR,0,0,23,0,4526,0,0,0,0,0,'','Water Terror (Vehicle) Allowed in Njorndar Village'), +(16,0,@NPC_WATER_TERROR,0,1,23,0,4524,0,0,0,0,0,'','Water Terror (Vehicle) Allowed in Valhalas'), +(16,0,@NPC_WATER_TERROR,0,2,23,0,4496,0,0,0,0,0,'','Water Terror (Vehicle) Allowed in Jotunheim'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_05_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_05_01_world_misc.sql new file mode 100644 index 00000000000..6e11d0ce0d3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_05_01_world_misc.sql @@ -0,0 +1,240 @@ +SET @GUID := 131282; + +SET @QUEST := 11705; +SET @VARIDUS := 25618; +SET @PRISONER := 25624; +SET @ABERRATION := 25625; +SET @GETRY := 25729; +SET @NECROLORD := 25730; +SET @SAURFANG := 25751; + +UPDATE `creature_template` SET `minlevel`=65, `maxlevel`=70, `exp`=2, `faction_A`=14, `faction_H`=14, `unit_flags`=33554688, `AIName`='SmartAI' WHERE `entry`=@PRISONER; +UPDATE `creature_template` SET `faction_A`=1982, `faction_H`=1982, `unit_flags`=0, `AIName`='SmartAI' WHERE `entry`=@ABERRATION; +UPDATE `creature_template` SET `speed_run`=2.28571, `faction_A`=1982, `faction_H`=1982, `unit_flags`=33536, `AIName`='SmartAI' WHERE `entry`=@NECROLORD; +UPDATE `creature_template` SET `faction_A`=1982, `faction_H`=1982, `unit_flags`=768, `AIName`= 'SmartAI', `ScriptName`='' WHERE `entry`=@VARIDUS; +UPDATE `creature_template` SET `faction_A`=1980, `faction_H`=1980, `minlevel`=70, `maxlevel`=70, `exp`=2, `unit_flags`=33024, `mindmg`=474, `maxdmg`=574, `AIName`= 'SmartAI' WHERE `entry`=@SAURFANG; +UPDATE `creature_template` SET `unit_flags`=32768, `AIName`= 'SmartAI' WHERE `entry`=@GETRY; + +UPDATE `creature_model_info` SET `bounding_radius`=0.4092, `combat_reach`=1.65 WHERE `modelid`=23360; + +DELETE FROM `creature_template_addon` WHERE `entry` IN(@GETRY,@PRISONER,@VARIDUS); +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES +(@VARIDUS,0x1,'45908'), +(@PRISONER,0x1,''), +(@GETRY,0x101,''); + +DELETE FROM `creature` WHERE `id` IN (@PRISONER,@VARIDUS); +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, @PRISONER, 571, 1, 1, 0, 0, 3092.136, 6516.039, 82.06012, 5.183628, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+1, @PRISONER, 571, 1, 1, 0, 0, 3089.2, 6526.226, 81.77282, 1.902409, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+2, @PRISONER, 571, 1, 1, 0, 0, 3096.962, 6510.87, 82.08541, 0.5585054, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+3, @PRISONER, 571, 1, 1, 0, 0, 3093.876, 6522.219, 81.79565, 0.01745329, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+4, @PRISONER, 571, 1, 1, 0, 0, 3098.928, 6517.495, 81.77497, 3.001966, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+5, @PRISONER, 571, 1, 1, 0, 0, 3103.036, 6504.89, 82.04672, 3.944444, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+6, @PRISONER, 571, 1, 1, 0, 0, 3104.042, 6511.731, 81.80676, 3.455752, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+7, @PRISONER, 571, 1, 1, 0, 0, 3093.038, 6547.074, 80.75952, 5.899213, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+8, @PRISONER, 571, 1, 1, 0, 0, 3096.117, 6544.481, 80.7102, 1.605703, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+9, @PRISONER, 571, 1, 1, 0, 0, 3099.3, 6541.367, 80.77256, 4.799655, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+10, @PRISONER, 571, 1, 1, 0, 0, 3090.39, 6541.875, 81.06445, 3.054326, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+11, @PRISONER, 571, 1, 1, 0, 0, 3102.454, 6538.238, 80.83416, 1.58825, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+12, @PRISONER, 571, 1, 1, 0, 0, 3093.245, 6538.743, 81.06524, 3.455752, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+13, @PRISONER, 571, 1, 1, 0, 0, 3105.601, 6534.979, 80.85965, 0.1570796, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+14, @PRISONER, 571, 1, 1, 0, 0, 3096.462, 6535.528, 81.13345, 4.921828, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+15, @PRISONER, 571, 1, 1, 0, 0, 3087.603, 6536.683, 81.36699, 4.18879, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+16, @PRISONER, 571, 1, 1, 0, 0, 3108.599, 6531.898, 80.8754, 5.462881, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+17, @PRISONER, 571, 1, 1, 0, 0, 3100.571, 6532.094, 81.16553, 6.230825, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+18, @PRISONER, 571, 1, 1, 0, 0, 3122.098, 6518.814, 80.70912, 1.815142, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+19, @PRISONER, 571, 1, 1, 0, 0, 3116.981, 6515.013, 81.07998, 5.899213, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+20, @PRISONER, 571, 1, 1, 0, 0, 3126.142, 6514.962, 80.68482, 1.954769, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+21, @PRISONER, 571, 1, 1, 0, 0, 3112.065, 6511.906, 81.3951, 5.148721, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+22, @PRISONER, 571, 1, 1, 0, 0, 3129.413, 6511.592, 80.7066, 2.722714, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+23, @PRISONER, 571, 1, 1, 0, 0, 3122.214, 6510.255, 81.00794, 2.86234, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+24, @PRISONER, 571, 1, 1, 0, 0, 3116.414, 6507.338, 81.34387, 5.811946, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+25, @PRISONER, 571, 1, 1, 0, 0, 3109.384, 6506.753, 81.68826, 6.038839, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+26, @PRISONER, 571, 1, 1, 0, 0, 3126.804, 6505.612, 81.01304, 3.909538, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+27, @PRISONER, 571, 1, 1, 0, 0, 3120.997, 6502.847, 81.33372, 3.228859, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+28, @PRISONER, 571, 1, 1, 0, 0, 3114.636, 6501.495, 81.61775, 0.3490658, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+29, @PRISONER, 571, 1, 1, 0, 0, 3109.11, 6498.783, 81.92492, 2.635447, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+30, @PRISONER, 571, 1, 1, 0, 0, 3126.413, 6498.179, 81.30205, 6.248279, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+31, @PRISONER, 571, 1, 1, 0, 0, 3120.758, 6495.855, 81.59259, 2.495821, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+32, @PRISONER, 571, 1, 1, 0, 0, 3115.22, 6492.261, 81.93079, 5.5676, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+33, @PRISONER, 571, 1, 1, 0, 0, 3126.15, 6489.568, 81.65459, 2.146755, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+34, @PRISONER, 571, 1, 1, 0, 0, 3120.454, 6486.966, 81.9426, 1.902409, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+35, @PRISONER, 571, 1, 1, 0, 0, 3095.756, 6528.297, 81.4939, 4.433136, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+36, @PRISONER, 571, 1, 1, 0, 0, 3091.309, 6532.723, 81.41476, 4.502949, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+37, @PRISONER, 571, 1, 1, 0, 0, 3104.285, 6519.577, 81.50758, 6.178465, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+38, @PRISONER, 571, 1, 1, 0, 0, 3112.36, 6527.987, 80.87508, 3.630285, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+39, @PRISONER, 571, 1, 1, 0, 0, 3104.28, 6528.084, 81.18883, 3.420845, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+40, @PRISONER, 571, 1, 1, 0, 0, 3116.763, 6524.073, 80.84852, 6.021386, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+41, @PRISONER, 571, 1, 1, 0, 0, 3099.789, 6524.306, 81.51059, 3.368485, 15, 0, 0, 1848, 0, 0, 0, 0, 0), +(@GUID+42, @VARIDUS, 571, 1, 1, 0, 0, 3126.529, 6532.781, 80.06363, 5.576992, 60, 0, 0, 0, 0, 0, 0, 0, 0); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@GETRY,@VARIDUS,@NECROLORD,@PRISONER,@ABERRATION) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@VARIDUS*100 AND `source_type`=9; +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 +(@VARIDUS,0,0,0,38,0,100,0,0,1,0,0,69,1,0,0,0,0,0,8,0,0,0,3119.973,6539.042,80.1591, 0, 'Varidus the Flenser - On data 0 1 set - Move to position'), +(@VARIDUS,0,1,2,34,0,100,0,0,1,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.031711, 'Varidus the Flenser - On movement inform - Set orientation'), +(@VARIDUS,0,2,3,61,0,100,0,0,0,0,0,1,11,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On movement inform - Say line'), +(@VARIDUS,0,3,0,61,0,100,0,0,0,0,0,89,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On movement inform - Stop Random movement'), +(@VARIDUS,0,4,0,38,0,100,0,0,2,0,0,1,0,3000,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On data 0 2 set - Say line'), +(@VARIDUS,0,5,0,52,0,100,0,0,@VARIDUS,0,0,66,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Varidus the Flenser - On text 0 over - Turn to'), +(@VARIDUS,0,6,7,38,0,100,0,0,3,0,0,1,1,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Varidus the Flenser - On data 0 3 set - Say line'), +(@VARIDUS,0,7,8,61,0,100,0,0,0,0,0,12,@NECROLORD,1,300000,0,0,0,8,0,0,0,3137.506,6532.551,80.40143,2.280419, 'Varidus the Flenser - On data 0 3 set - Summon En''kilah Necrolord'), +(@VARIDUS,0,8,0,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@NECROLORD,50,0,0,0,0,0, 'Varidus the Flenser - On data 0 3 set - Send targetlist'), +(@VARIDUS,0,9,0,38,0,100,0,0,4,0,0,80,@VARIDUS*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On data 0 4 set - Run script'), +(@VARIDUS,0,10,11,52,0,100,0,10,@VARIDUS,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On text 10 over - Remove unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC'), +(@VARIDUS,0,11,0,61,0,100,0,0,0,0,0,28,45908,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On text 10 over - Remove aura Shield of Suffering'), +(@VARIDUS,0,12,0,9,0,100,0,0,10,5000,8000,11,32711,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On target within 10y - Spellcast Shadow Nova'), +(@VARIDUS,0,13,0,0,0,100,0,10000,12000,10000,15000,11,50329,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On update IC - Spellcast Shied of Suffering'), +(@VARIDUS,0,14,15,6,0,100,0,0,0,0,0,45,1,3,0,0,0,0,19,@GETRY,100,0,0,0,0,0, 'Varidus the Flenser - On death - Set data 1 3 Shadowstalker Getry'), +(@VARIDUS,0,15,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On death - Despawn'), +(@VARIDUS,0,16,0,11,0,100,0,0,0,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On spawn - Random movement'), + +(@PRISONER,0,0,1,6,0,100,0,0,0,0,0,11,45802,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Infested Prisoner - On death - Spellcast Summoned Aberration'), +(@PRISONER,0,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Infested Prisoner - On death - Despawn'), + +(@ABERRATION,0,0,1,11,0,100,0,0,0,0,0,53,0,@ABERRATION,0,0,0,0,1,0,0,0,0,0,0,0, 'Warsong Aberration - On spawn - Start WP movement'), +(@ABERRATION,0,1,0,61,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Warsong Aberration - On spawn - Set reaction aggressive'), +(@ABERRATION,0,2,0,9,0,100,0,0,5,990,3000,11,50306,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Warsong Aberration - On target within 5y - Spellcast Thrash Kick'), + +(@GETRY,0,0,1,19,0,100,0,@QUEST,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Shadowstalker Getry - On quest accept - Store targetlist'), +(@GETRY,0,1,2,61,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On quest accept - Remove npcflag questgiver'), +(@GETRY,0,2,3,61,0,100,0,0,0,0,0,1,0,3000,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On quest accept - Say line'), +(@GETRY,0,3,4,61,0,100,0,0,0,0,0,11,45924,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On quest accept - Spellcast On Getry''s Quest'), +(@GETRY,0,4,5,61,0,100,0,0,0,0,0,11,45924,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Shadowstalker Getry - On quest accept - Spellcast On Getry''s Quest'), +(@GETRY,0,5,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@VARIDUS,50,0,0,0,0,0, 'Shadowstalker Getry - On quest accept - Set data 0 1 Varidus the Flenser'), +(@GETRY,0,6,7,52,0,100,0,0,@GETRY,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On text 0 over - Say line'), +(@GETRY,0,7,0,61,0,100,0,0,0,0,0,53,0,@GETRY,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On text 0 over - Start WP'), +(@GETRY,0,8,0,11,0,100,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On spawn - Set npcflag questgiver'), +(@GETRY,0,9,0,40,0,100,0,8,@GETRY,0,0,11,34189,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP8 reached - Spellcast Stealth'), +(@GETRY,0,10,11,40,0,100,0,9,@GETRY,0,0,45,0,2,0,0,0,0,19,@VARIDUS,30,0,0,0,0,0, 'Shadowstalker Getry - On WP 9 reached - Set data 0 2 Varidus the Flenser'), +(@GETRY,0,11,0,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@VARIDUS,30,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Send targetlist to Varidus the Flenser'), +(@GETRY,0,12,13,40,0,100,0,10,@GETRY,0,0,66,0,0,0,0,0,0,19,@VARIDUS,20,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Turn to'), +(@GETRY,0,13,14,61,0,100,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Set home position'), +(@GETRY,0,14,15,61,0,100,0,0,0,0,0,28,34189,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Remove aura Stealth'), +(@GETRY,0,15,16,61,0,100,0,0,0,0,0,11,45922,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Spellcast Shadow Prison'), +(@GETRY,0,16,17,61,0,100,0,0,0,0,0,86,45922,0,12,1,0,0,12,1,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Crosscast Shadow Prison'), +(@GETRY,0,17,0,61,0,100,0,0,0,0,0,45,0,3,0,0,0,0,19,@VARIDUS,20,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached - Set Data 0 3 Varidus the Flenser'), +(@GETRY,0,18,19,38,0,100,0,1,1,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On data 1 1 set - Remove unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC'), +(@GETRY,0,19,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,19,@VARIDUS,20,0,0,0,0,0, 'Shadowstalker Getry - On data 1 1 set - Start attack'), +(@GETRY,0,20,21,38,0,100,0,1,3,0,0,15,@QUEST,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Shadowstalker Getry - On data 1 3 set - Quest credit'), +(@GETRY,0,21,0,61,0,100,0,0,0,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On data 1 3 set - Say line'), +(@GETRY,0,22,0,52,0,100,0,2,@GETRY,0,0,1,3,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On text 2 over - Say line'), +(@GETRY,0,23,0,52,0,100,0,3,@GETRY,0,0,45,1,2,0,0,0,0,19,@SAURFANG,20,0,0,0,0,0, 'Shadowstalker Getry - On text 3 over - Set data 1 2 High Overlord Saurfang'), +(@GETRY,0,24,0,38,0,100,0,1,4,0,0,53,0,@GETRY*100,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On data 1 4 set - Start WP movement'), +(@GETRY,0,26,27,40,0,100,0,10,@GETRY*100,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached (Return) - Set npcflag questgiver'), +(@GETRY,0,27,28,61,0,100,0,0,0,0,0,18,756,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached (Return) - Set unit_flags IMMUNE_TO_PC, IMMUNE_TO_NPC'), +(@GETRY,0,28,0,61,0,100,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On WP10 reached (Return) - Set homeposition'), +(@GETRY,0,29,30,8,0,100,0,45950,0,0,0,28,45922,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadowstalker Getry - On spellhit Saurfangs Rage - Remove aura Shadow Prison'), +(@GETRY,0,30,0,61,0,100,0,0,0,0,0,28,45922,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Shadowstalker Getry - On spellhit Saurfangs Rage - Remove aura Shadow Prison'), + +(@NECROLORD,0,0,0,11,0,100,0,0,0,0,0,53,0,@NECROLORD,0,0,0,0,1,0,0,0,0,0,0,0, 'En''kilah Necrolord - On spawn - Start WP movement'), +(@NECROLORD,0,1,2,40,0,100,0,2,@NECROLORD,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'En''kilah Necrolord - On reached WP1 - Set home position'), +(@NECROLORD,0,2,0,61,0,100,0,0,0,0,0,45,0,4,0,0,0,0,19,@VARIDUS,10,0,0,0,0,0, 'En''kilah Necrolord - On reached WP1 - Set data 0 4 Varidus the Flenser'), +(@NECROLORD,0,3,4,38,0,100,0,0,1,0,0,66,0,0,0,0,0,0,19,@VARIDUS,10,0,0,0,0,0, 'En''kilah Necrolord - On data 0 1 set - Turn to'), +(@NECROLORD,0,4,0,61,0,100,0,0,0,0,0,36,@SAURFANG,0,0,0,0,0,1,0,0,0,0,0,0,0, 'En''kilah Necrolord - On data 0 1 set - Change entry to High Overlord Saurfang'), +(@NECROLORD,0,5,0,38,0,100,0,0,2,0,0,1,0,2500,0,0,0,0,12,1,0,0,0,0,0,0, 'High Overlord Saurfang - On data 0 2 set - Say line'), +(@NECROLORD,0,6,0,52,0,100,0,0,@SAURFANG,0,0,66,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'High Overlord Saurfang - On text 0 over - Turn to'), +(@NECROLORD,0,7,0,38,0,100,0,0,3,0,0,1,1,4000,0,0,0,0,12,1,0,0,0,0,0,0, 'High Overlord Saurfang - On data 0 3 set - Say line'), +(@NECROLORD,0,8,0,52,0,100,0,1,@SAURFANG,0,0,66,0,0,0,0,0,0,19,@VARIDUS,10,0,0,0,0,0, 'High Overlord Saurfang - On text 1 over - Turn to'), +(@NECROLORD,0,9,0,38,0,100,0,0,4,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On data 0 4 set - Say line'), +(@NECROLORD,0,10,0,52,0,100,0,2,@SAURFANG,0,0,1,3,12000,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On text 2 over - Say line'), +(@NECROLORD,0,11,0,52,0,100,0,3,@SAURFANG,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On text 3 over - Say line'), +(@NECROLORD,0,13,14,38,0,100,0,1,1,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On data 1 1 set - Remove unit_flags IMMUNE_TO_NPC'), +(@NECROLORD,0,14,15,61,0,100,0,0,0,0,0,11,45950,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On data 1 1 set - Spellcast Saurfang''s Rage'), +(@NECROLORD,0,15,0,61,0,100,0,0,0,0,0,1,5,1000,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On data 1 1 set - Say line'), +(@NECROLORD,0,16,0,52,0,100,0,5,@SAURFANG,0,0,1,6,1000,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On text 5 over - Say line'), +(@NECROLORD,0,17,0,61,0,100,0,0,0,0,0,41,3000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On text 7 over - Despawn after 3 seconds'), +(@NECROLORD,0,18,0,9,0,100,0,0,5,20000,25000,11,41097,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On target within 5y - Spellcast Whirlwind'), +(@NECROLORD,0,19,0,0,0,100,0,3000,7000,3000,8000,11,16044,0,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On update IC - Spellcast Cleave'), +(@NECROLORD,0,20,0,0,0,100,0,2000,7000,5000,7000,11,24573,0,0,0,0,0,2,0,0,0,0,0,0,0, 'High Overlord Saurfang - On update IC - Spellcast Mortal Strike'), +(@NECROLORD,0,21,0,9,0,100,0,8,25,5000,5000,11,15749,0,0,0,0,0,2,0,0,0,0,0,0,0, 'High Overlord Saurfang - On target within 8-25y - Spellcast Shield Charge'), +(@NECROLORD,0,22,0,38,0,100,0,0,5,0,0,66,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'High Overlord Saurfang - On data 0 5 set - Turn to'), +(@NECROLORD,0,23,0,38,0,100,0,1,2,0,0,1,7,3000,0,0,0,0,1,0,0,0,0,0,0,0, 'High Overlord Saurfang - On data 1 2 set - Say line'), +(@NECROLORD,0,24,17,52,0,100,0,7,@SAURFANG,0,0,45,1,4,0,0,0,0,19,@GETRY,20,0,0,0,0,0, 'High Overlord Saurfang - On text 7 over - Set data 1 4 Shadowstalker Getry'), + +(@VARIDUS*100,9,0,0,0,0,100,0,0,0,0,0,45,0,5,0,0,0,0,19,@NECROLORD,10,0,0,0,0,0, 'Varidus the Flenser script - Set data 0 5 En''kilah Necrolord'), +(@VARIDUS*100,9,1,0,0,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,2,0,0,0,100,0,5000,5000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,3,0,0,0,100,0,3000,3000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,4,0,0,0,100,0,4000,4000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,5,0,0,0,100,0,6000,6000,0,0,66,0,0,0,0,0,0,19,@NECROLORD,10,0,0,0,0,0, 'Varidus the Flenser script - Turn to'), +(@VARIDUS*100,9,6,0,0,0,100,0,1000,1000,0,0,1,6,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,7,0,0,0,100,0,6000,6000,0,0,45,0,1,0,0,0,0,19,@NECROLORD,10,0,0,0,0,0, 'Varidus the Flenser script - Set data 0 1 En''kilah Necrolord'), +(@VARIDUS*100,9,8,0,0,0,100,0,1000,1000,0,0,45,0,2,0,0,0,0,19,@SAURFANG,10,0,0,0,0,0, 'Varidus the Flenser script - Set data 0 2 High Overlord Saurfang'), +(@VARIDUS*100,9,9,0,0,0,100,0,1500,1500,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,10,0,0,0,100,0,2000,2000,0,0,45,0,3,0,0,0,0,19,@SAURFANG,10,0,0,0,0,0, 'Varidus the Flenser script - Set data 0 3 High Overlord Saurfang'), +(@VARIDUS*100,9,11,0,0,0,100,0,5000,5000,0,0,45,0,4,0,0,0,0,19,@SAURFANG,10,0,0,0,0,0, 'Varidus the Flenser script - Set data 0 4 High Overlord Saurfang'), +(@VARIDUS*100,9,12,0,0,0,100,0,13000,13000,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,13,0,0,0,100,0,10000,10000,0,0,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Say line'), +(@VARIDUS*100,9,14,0,0,0,100,0,2000,2000,0,0,1,10,2000,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser - On text 9 over - Say line'), +(@VARIDUS*100,9,15,0,0,0,100,0,0,0,0,0,11,45949,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Varidus the Flenser script - Spellcast Release Aberration'), +(@VARIDUS*100,9,16,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,@GETRY,20,0,0,0,0,0, 'Varidus the Flenser script - Set data 1 1 Shadowstalker Getry'), +(@VARIDUS*100,9,17,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,@SAURFANG,20,0,0,0,0,0, 'Varidus the Flenser script - Set data 1 1 Saurfang'); + +DELETE FROM `creature_text` WHERE `entry` IN (@GETRY,@VARIDUS,@SAURFANG); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@GETRY,0,0,'This is it, $N. The start of the end of the world. And you''re here to see it off...',12,1,100,1,0,0,'Shadowstalker Getry'), +(@GETRY,1,0,'Let''s go...',12,1,100,0,0,0,'Shadowstalker Getry'), +(@GETRY,2,0,'I... I can''t believe it... Saurfang... I... I am honored... honored to have fought along side you, sir.',12,1,100,0,0,0,'Shadowstalker Getry'), +(@GETRY,3,0,'You should return to Warsong Hold now, friend. Hellscream will surely want to hear of what just happened here... of Saurfang...',12,1,100,0,0,0,'Shadowstalker Getry'), +(@VARIDUS,0,0,'Is this it? Is this all the mighty Horde could muster?',12,0,100,6,0,0,'Varidus the Flenser'), +(@VARIDUS,1,0,'Pathetic.',12,0,100,11,0,0,'Varidus the Flenser'), +(@VARIDUS,2,0,'I''ve never understood your type. The hero...',12,0,100,1,0,0,'Varidus the Flenser'), +(@VARIDUS,3,0,'Why won''t you just let go? Why do you fight the inevitable?',12,0,100,6,0,0,'Varidus the Flenser'), +(@VARIDUS,4,0,'The Lich King cannot be stopped. Accept it.',12,0,100,274,0,0,'Varidus the Flenser'), +(@VARIDUS,5,0,'This world is coming to an end. Let. It. Burn.',12,0,100,397,0,0,'Varidus the Flenser'), +(@VARIDUS,6,0,'Take $g him:her; away and prepare $g him:her; for reanimation.',12,0,100,1,0,0,'Varidus the Flenser'), +(@VARIDUS,7,0,'What''s this now?',12,0,100,1,0,0,'Varidus the Flenser'), +(@VARIDUS,8,0,'Then you are a fool.',12,0,100,25,0,0,'Varidus the Flenser'), +(@VARIDUS,9,0,'You? A lone orc? Against me and...',12,0,100,397,0,0,'Varidus the Flenser'), +(@VARIDUS,10,0,'RISE!',14,0,100,0,0,0,'Varidus the Flenser'), +(@VARIDUS,11,0,'I will reanimate them all as servants of the Lich King! Bring them here...',14,0,100,0,0,0,'Varidus the Flenser'), +(@SAURFANG,0,0,'I''ll rip your shriveled heart out with my bare hands before any harm comes to $N, necromancer.',12,1,100,5,0,0,'High Overlord Saurfang'), +(@SAURFANG,1,0,'You were never alone, $N.',12,1,100,1,0,0,'High Overlord Saurfang'), +(@SAURFANG,2,0,'This world that you seek to destroy is our home.',12,1,100,1,0,0,'High Overlord Saurfang'), +(@SAURFANG,3,0,'We will fight you with every fiber of our being - until we are nothing more than dust and debris. We will fight until the end.',12,1,100,1,0,0,'High Overlord Saurfang'), +(@SAURFANG,4,0,'A fool who is about to end you, necrolord. There will be nothing left of you for the Lich King to reanimate!',12,1,100,397,0,0,'High Overlord Saurfang'), +(@SAURFANG,5,0,'%s''s eyes glow red for a brief moment.',16,0,100,0,0,0,'High Overlord Saurfang'), +(@SAURFANG,6,0,'Is that the best you can do?',12,1,100,0,0,0,'High Overlord Saurfang'), +(@SAURFANG,7,0,'You''ll make no mention of me. Either of you!',12,1,100,0,0,0,'High Overlord Saurfang'); + +DELETE FROM `waypoints` WHERE `entry` IN (@GETRY,@NECROLORD,@GETRY*100,@ABERRATION); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(@GETRY, 1, 3109.214111,6587.148438,91.369102, 'Shadowstalker Getry'), +(@GETRY, 2, 3115.414062,6595.680176,91.362068, 'Shadowstalker Getry'), +(@GETRY, 3, 3125.109863,6590.983887,91.378548, 'Shadowstalker Getry'), +(@GETRY, 4, 3123.863281,6582.144043,88.786133, 'Shadowstalker Getry'), +(@GETRY, 5, 3117.805664,6583.018555,86.219604, 'Shadowstalker Getry'), +(@GETRY, 6, 3118.874512,6590.157715,83.402168, 'Shadowstalker Getry'), +(@GETRY, 7, 3127.298340,6589.030273,79.707741, 'Shadowstalker Getry'), +(@GETRY, 8, 3122.869,6578.715,78.051, 'Shadowstalker Getry'), +(@GETRY, 9, 3123.309,6560.647,78.61833, 'Shadowstalker Getry'), +(@GETRY, 10, 3122.208,6549.245,79.64079, 'Shadowstalker Getry'), +(@ABERRATION, 1, 3119.973,6539.042,80.1591, 'Warsong Aberration'), +(@NECROLORD, 1, 3125.963,6536.96,79.93521, 'En''kilah Necrolord'), +(@NECROLORD, 2, 3120.883,6542.995,79.95628, 'En''kilah Necrolord'), +(@GETRY*100, 1, 3123.355957,6575.417969,78.330284, 'Shadowstalker Getry'), +(@GETRY*100, 2, 3126.639404,6584.798828,77.656845, 'Shadowstalker Getry'), +(@GETRY*100, 3, 3127.298340,6589.030273,79.707741, 'Shadowstalker Getry'), +(@GETRY*100, 4, 3118.874512,6590.157715,83.402168, 'Shadowstalker Getry'), +(@GETRY*100, 5, 3117.805664,6583.018555,86.219604, 'Shadowstalker Getry'), +(@GETRY*100, 6, 3123.863281,6582.144043,88.786133, 'Shadowstalker Getry'), +(@GETRY*100, 7, 3125.109863,6590.983887,91.378548, 'Shadowstalker Getry'), +(@GETRY*100, 8, 3115.414062,6595.680176,91.362068, 'Shadowstalker Getry'), +(@GETRY*100, 9, 3109.214111,6587.148438,91.369102, 'Shadowstalker Getry'), +(@GETRY*100, 10, 3113.419922,6576.810059,97.090698, 'Shadowstalker Getry'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=45949; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@GETRY; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,45949,0,0,31,0,3,@PRISONER,0,0,0,'','Spell Release Aberration targets Infested Prisoner'), +(22,37,@GETRY,0,0,36,1,0,0,0,0,0,'','Only execute SAI if Shadowstalker Getry alive'); + +DELETE FROM `creature_equip_template` WHERE `entry`=@SAURFANG; +INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES +(@SAURFANG,1,21580,0,0); + +DELETE FROM `disables` WHERE `sourceType`=0 AND `entry`=45949; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(0,45949,64,'','','Ignore LOS on Release Aberration'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_07_00_world_creature_ai_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_07_00_world_creature_ai_scripts.sql new file mode 100644 index 00000000000..c6abfaf4039 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_07_00_world_creature_ai_scripts.sql @@ -0,0 +1 @@ +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=25730; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_08_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_08_00_world_misc.sql new file mode 100644 index 00000000000..856f77111d5 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_08_00_world_misc.sql @@ -0,0 +1,54 @@ +-- Fix quest: Danger! Explosives! (11218) + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (23974,29881); +UPDATE `gameobject_template` SET `flags`=`flags`|4 WHERE `entry` IN (186403,186404,186466,186467,186468); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (186403,186470); + +DELETE FROM `spell_area` WHERE `spell`=27769; +INSERT INTO `spell_area` (`spell`,`area`,`autocast`) VALUES +(27769,4071,1); + +DELETE FROM `creature_text` WHERE `entry`=29881; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(29881,0,0,'They are coming for you.',15,0,100,0,0,14376,'An Unknown Voice'), +(29881,0,1,'Give into your fear.',15,0,100,0,0,14377,'An Unknown Voice'), +(29881,0,2,'Kill them all... before they kill you.',15,0,100,0,0,14378,'An Unknown Voice'), +(29881,0,3,'They have turned against you. Now... take your revenge.',15,0,100,0,0,14379,'An Unknown Voice'), +(29881,0,4,'Tell yourself again that these are not truly your friends.',15,0,100,0,0,14380,'An Unknown Voice'), +(29881,0,5,'There is no escape, Not in this life. Not in the next.',15,0,100,0,0,14381,'An Unknown Voice'), +(29881,0,6,'You are a pawn of forces unseen.',15,0,100,0,0,14382,'An Unknown Voice'), +(29881,0,7,'It WAS your fault.',15,0,100,0,0,14383,'An Unknown Voice'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (23974,29881) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (186403,186470) AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (23974*100+0,23974*100+1,23974*100+2,23974*100+3,186403*100) AND `source_type`=9; +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 +(23974,0,0,0,8,0,100,0,42697,0,0,0,87,23974*100+0,23974*100+1,23974*100+2,23974*100+3,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny - On spellhit Spell Danger! Explosive!: Ore Trap - Run random script'), + +(29881,0,0,0,8,0,100,0,29072,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'An Unknown Voice - On spellhit Whisper Gulch: Yogg-Saron Whisper Dummy - Say line'), + +(186403,1,0,1,38,0,100,0,0,1,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore - On data 0 1 set - Set phasemask 2'), +(186403,1,1,0,61,0,100,0,0,0,0,0,80,186403*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore - On data 0 1 set - Run script'), + +(186470,1,0,0,70,0,100,0,1,0,0,0,45,0,1,0,0,0,0,20,186403,5,0,0,0,0,0,'Whisper Gulch Ore Trap - On state changed - Set data 0 1 Whisper Gulch Ore'), + +(23974*100+0,9,0,0,0,0,100,0,0,0,0,0,50,186404,120000,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Summon Whisper Gulch Gem'), +(23974*100+0,9,1,0,0,0,100,0,4000,4000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Despawn'), +(23974*100+1,9,0,0,0,0,100,0,0,0,0,0,50,186466,120000,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Summon Whisper Gulch Gem'), +(23974*100+1,9,1,0,0,0,100,0,4000,4000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Despawn'), +(23974*100+2,9,0,0,0,0,100,0,0,0,0,0,50,186467,120000,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Summon Whisper Gulch Gem'), +(23974*100+2,9,1,0,0,0,100,0,4000,4000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Despawn'), +(23974*100+3,9,0,0,0,0,100,0,0,0,0,0,50,186468,120000,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Summon Whisper Gulch Ore Fragment'), +(23974*100+3,9,1,0,0,0,100,0,4000,4000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore Bunny script 0 - Despawn'), + +(186403*100,9,0,0,0,0,100,0,300000,300000,0,0,44,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Whisper Gulch Ore script - Set phasemask 1'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (29072,42697,42703); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13,1,29072,0,0,31,0,3,29881,0,0,0,'','Spell Whisper Gulch: Yogg-Saron Whisper Dummy targets An Unknown Voice'), +(13,1,42697,0,0,31,0,3,23974,0,0,0,'','Spell Danger! Explosive!: Ore Trap targets Whisper Gulch Ore Bunny'), +(13,1,42703,0,0,31,0,5,186470,0,0,0,'','Spell Steelring''s Foolproof Dynamite effect0 targets Whisper Gulch Ore Trap'); + +DELETE FROM `spell_script_names` WHERE `spell_id`=27769; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(27769,'spell_gen_whisper_gulch_yogg_saron_whisper'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_09_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_09_00_world_misc.sql new file mode 100644 index 00000000000..0f81ec4de06 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_09_00_world_misc.sql @@ -0,0 +1,41 @@ +-- Fix quests: The Explorers' League Outpost (11448), We Can Rebuild It (11483) + +SET @MCGOYVER := 24040; +SET @GOSSIP := 8991; + +UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=@MCGOYVER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@MCGOYVER 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 +(@MCGOYVER,0,0,3,62,0,100,0,@GOSSIP,0,0,0,11,51221,0,0,0,0,0,7,0,0,0,0,0,0,0, 'McGoyver - On gossip option select - Spellcast Taxi to Explorers'' League Outpost'), +(@MCGOYVER,0,1,3,62,0,100,0,9023,0,0,0,11,44280,0,0,0,0,0,7,0,0,0,0,0,0,0, 'McGoyver - On gossip option select - Spellcast Taxi to Explorers'' League Outpost'), +(@MCGOYVER,0,2,3,62,0,100,0,@GOSSIP,1,0,0,11,51221,0,0,0,0,0,7,0,0,0,0,0,0,0, 'McGoyver - On gossip option select - Spellcast Taxi to Explorers'' League Outpost'), +(@MCGOYVER,0,3,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'McGoyver - On gossip option select - Close gossip'), +(@MCGOYVER,0,4,0,62,0,100,0,@GOSSIP,2,0,0,11,44512,0,0,0,0,0,7,0,0,0,0,0,0,0, 'McGoyver - On gossip option select - Spellcast Create Dark Iron Ingots'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=-51221; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(-51221,44280,0,'On spellfade Taxi to Explorers'' League Outpost - Spellcast Taxi to Explorers'' League'); + +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=12144; +DELETE FROM `gossip_menu` WHERE `entry`=9023 AND `text_id`=12193; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(@GOSSIP,12144), +(9023,12193); + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP AND `id` IN (0,1,2); +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9023 AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(@GOSSIP,0,0,'Official Explorers'' League business, McGoyver. Take me to the Explorers'' League Outpost!',1,1,0,0,0,0,''), +(@GOSSIP,1,0,'Official Explorers'' League business, McGoyver. Take me to the Explorers'' League Outpost!',1,1,0,0,0,0,''), +(@GOSSIP,2,0,'Walt sent me to pick up some dark iron ingots.',1,1,9023,0,0,0,''), +(9023,0,0,'Yarp.',1,1,0,0,0,0,''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=@GOSSIP; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=@GOSSIP; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@MCGOYVER; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,@GOSSIP,12191,0,0,8,11278,0,0,0,0,'','McGoyver show different gossip if player has rewarded quest Return to Valgarde'), +(15,@GOSSIP,0,0,0,28,11448,0,0,0,0,'','McGoyver show gossip option only if player has completed but not rewarded quest The Explorers'' League Outpost'), +(15,@GOSSIP,1,0,0,8,11448,0,0,0,0,'','McGoyver show gossip option only if player has rewarded quest The Explorers'' League Outpost'), +(15,@GOSSIP,2,0,0,9,11483,0,0,0,0,'','McGoyver show gossip option only if player has taken quest We Can Rebuild It'), +(22,5,@MCGOYVER,0,0,2,34135,1,1,1,0,'','SAI triggers only if player has no Dark Iron Ingots'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_09_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_09_01_world_misc.sql new file mode 100644 index 00000000000..7408d88dc1b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_09_01_world_misc.sql @@ -0,0 +1,15 @@ +-- Fix quest To Westguard Keep! (11291) + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9618; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(9618,0,0,'Admiral Keller sent me, Emilune. Please send me to Westguard Keep!',1,1,0,0,0,0,''); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=27930; +DELETE FROM `smart_scripts` WHERE `entryorguid`=27930 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 +(27930,0,0,1,62,0,100,0,9618,0,0,0,11,50028,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Emilune Winterwind - On gossip option select - Spellcast Gryphon Taxi to Westguard Keep'), +(27930,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Emilune Winterwind - On gossip option select - Close gossip'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9618; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9618,0,0,28,11291,0,0,0,'','Emilune Winterwind show gossip option only if player has rewarded but not completed quest To Westguard Keep!'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_00_world_sai.sql new file mode 100644 index 00000000000..0cf752e5038 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_00_world_sai.sql @@ -0,0 +1,15 @@ +-- Add SmartAI to Quarter Master Miranda Breechlock to give player item when selecting I need another Argent Dawn Commission. +SET @ENTRY := 11536; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `id`=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,1,62,0,100,0,3461,0,0,0,11,17777,2,0,0,0,0,7,0,0,0,0,0,0,0, 'Miranda Breechlock - On gossip select - Cast Create Commission'), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Miranda Breechlock - On gossip select - Close Gossip'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` =3461; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,3461,0,0,0,2,0,12846,1,0,1,0,'','I need another Argent Dawn Commission. - Must not already have Argent Dawn Commission'), +(15,3461,0,0,0,8,0,5401,0,0,0,0,'','I need another Argent Dawn Commission. - Must have completed Argent Dawn Commission Quest Alliance'), +(15,3461,0,0,1,2,0,12846,1,0,1,0,'','I need another Argent Dawn Commission. - Must not already have Argent Dawn Commission'), +(15,3461,0,0,1,8,0,5503,0,0,0,0,'','I need another Argent Dawn Commission. - Must have completed Argent Dawn Commission Quest Mage'), +(15,3461,0,0,2,2,0,12846,1,0,1,0,'','I need another Argent Dawn Commission. - Must not already have Argent Dawn Commission'), +(15,3461,0,0,2,8,0,5405,0,0,0,0,'','I need another Argent Dawn Commission. - Must have completed Argent Dawn Commission Quest Horde'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_01_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_01_world_gossip.sql new file mode 100644 index 00000000000..eed996b22ba --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_01_world_gossip.sql @@ -0,0 +1,33 @@ +-- Gossip for Quarter Master Miranda Breechlock +SET @GOSSIP := 7208; +SET @TEXT := 8498; +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXT; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (@GOSSIP,@TEXT); +DELETE FROM `gossip_menu` WHERE `entry`=7209 AND `text_id`=8499; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (7209,8499); +DELETE FROM `gossip_menu` WHERE `entry`=7210 AND `text_id`=8500; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (7210,8500); +DELETE FROM `gossip_menu` WHERE `entry`=7212 AND `text_id`=8502; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (7212,8502); +DELETE FROM `gossip_menu` WHERE `entry`=7213 AND `text_id`=8503; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (7213,8503); + +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=@GOSSIP; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(@GOSSIP,0,0,"Friendly",1,1,7213,0,0,0,''), +(@GOSSIP,1,0,"Honored",1,1,7209,0,0,0,''), +(@GOSSIP,2,0,"Revered",1,1,7210,0,0,0,''), +(@GOSSIP,3,0,"Exalted",1,1,7212,0,0,0,''); + +UPDATE `gossip_menu_option` SET `action_menu_id`=7208 WHERE `menu_id`=3461 AND `id`=2; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` =3461 AND `SourceEntry` IN (1,2); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,3461,1,0,0,8,0,5401,0,0,0,0,'','I would like to buy from you. - Must have completed Argent Dawn Commission Quest Alliance'), +(15,3461,1,0,1,8,0,5503,0,0,0,0,'','I would like to buy from you. - Must have completed Argent Dawn Commission Quest Mage'), +(15,3461,1,0,2,8,0,5405,0,0,0,0,'','I would like to buy from you. - Must have completed Argent Dawn Commission Quest Horde'), +(15,3461,2,0,0,8,0,5401,0,0,0,0,'','Miranda, could you please tell me the insignia cost of items - Must have completed Argent Dawn Commission Quest Alliance'), +(15,3461,2,0,1,8,0,5503,0,0,0,0,'','Miranda, could you please tell me the insignia cost of items - Must have completed Argent Dawn Commission Quest Mage'), +(15,3461,2,0,2,8,0,5405,0,0,0,0,'','Miranda, could you please tell me the insignia cost of items - Must have completed Argent Dawn Commission Quest Horde'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_02_world_sai.sql new file mode 100644 index 00000000000..bc8107cbc8f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_10_02_world_sai.sql @@ -0,0 +1,21 @@ +-- Add SmartAI for Quel'dorei Magewraith +SET @ENTRY := 17612; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@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,1,0,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - On reset - Prevent combat movement'), +(@ENTRY,0,1,2,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - On aggro - Set phase 1'), +(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,11,11921,1,0,0,0,0,2,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - On aggro - Cast Fireball'), +(@ENTRY,0,3,0,9,1,100,0,0,40,4000,5000,11,11921,1,0,0,0,0,2,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Combat - Cast Fireball (phase 1)'), +(@ENTRY,0,4,0,9,1,100,0,0,40,9000,13000,11,31595,1,0,0,0,0,2,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Combat - Cast Arcant Bolt (phase 1)'), +(@ENTRY,0,5,6,3,0,100,1,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Mana at 15% - Allow combat movement'), +(@ENTRY,0,6,0,61,0,100,1,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Mana at 15% - Set phase 2'), +(@ENTRY,0,7,0,9,1,100,1,35,80,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - At 35 yards - Allow combat movement (phase 1)'), +(@ENTRY,0,8,0,9,1,100,1,5,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - At 15 yards - Prevent combat movement (phase 1)'), +(@ENTRY,0,9,0,9,1,100,1,0,5,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - At 5 yards - Allow combat movement (phase 1)'), +(@ENTRY,0,10,0,3,2,100,1,20,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Mana at 20% - Set phase 1 (phase 2)'), +(@ENTRY,0,11,0,0,0,100,0,3000,6000,7000,11000,11,31604,1,0,0,0,0,2,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Combat - Cast Arcant Weakness'), +(@ENTRY,0,12,0,9,0,100,0,0,30,16000,20000,11,11436,1,0,0,0,0,2,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Combat - Cast Slow'), +(@ENTRY,0,13,0,0,0,100,0,11000,18000,11000,18000,11,31596,4,0,0,0,0,2,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - Combat - Cast Counterspell'), +(@ENTRY,0,14,0,6,0,100,1,0,0,0,0,15,9595,0,0,0,0,0,16,0,0,0,0,0,0,0, 'Quel''dorei Magewraith - On death - Complete quest 9595'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_11_00_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_11_00_world_creature_template.sql new file mode 100644 index 00000000000..f3804796caf --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_11_00_world_creature_template.sql @@ -0,0 +1,3 @@ +-- Set Entry 18955 "Camera Shaker - 30-90 seconds" as trigger and remove random movement +UPDATE `creature_template` SET `modelid1`=16925, `modelid2`=16480, `flags_extra`=`flags_extra`|128 WHERE `entry`=18955; +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `id`=18955; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_11_01_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_11_01_world_sai.sql new file mode 100644 index 00000000000..8ec59c8561d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_11_01_world_sai.sql @@ -0,0 +1,2 @@ +-- Fix SAI for Sunseeker Harvester +UPDATE `smart_scripts` SET `event_flags`=7 WHERE `entryorguid`=19509 AND `source_type`=0 AND `id`=2; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_12_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_12_00_world_misc.sql new file mode 100644 index 00000000000..64689d14927 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_12_00_world_misc.sql @@ -0,0 +1,55 @@ +-- Fix quest: Adding Injury to Insult (12481) + +UPDATE `creature` SET `position_z`=207.3961 WHERE `guid`=112513; + +UPDATE `creature_template` SET `speed_run`=2.571428, `InhabitType`=7, `HoverHeight`=7.5 WHERE `entry`=24238; + +DELETE FROM `creature_template_addon` WHERE `entry`=24238; +INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`) VALUES +(24238,33554432,1); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (24458,24474); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (24238,24458,24474) 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 +(24238,0,0,0,1,0,100,0,10000,15000,45000,60000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On update OOC - Say text 2'), +(24238,0,1,2,8,0,100,1,43315,0,0,0,84,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spellhit Vrykul Insult - Invoker say text 0'), +(24238,0,2,0,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spellhit Vrykul Insult - Say text 1'), +(24238,0,3,4,9,0,100,1,0,10,0,0,43,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On target within 10y - Unmount'), +(24238,0,4,5,61,0,100,0,0,0,0,0,60,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On target within 10y - Disable fly'), +(24238,0,5,0,61,0,100,0,0,0,0,0,91,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On target within 10y - Remove unit_field_bytes1 (hovering)'), +(24238,0,6,0,8,0,100,0,6660,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spellhit Shoot - Attack'), +(24238,0,7,0,8,0,100,0,11971,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spellhit Sunder Armor - Attack'), +(24238,0,8,0,8,0,100,0,18802,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spellhit Frost Shot - Attack'), +(24238,0,9,0,8,0,100,0,43895,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spellhit Lydell''s Poison - Attack'), +(24238,0,10,0,6,0,100,0,0,0,0,0,11,43371,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On death - Spellcast Bjorn Kill Credit'), +(24238,0,11,0,0,0,100,0,5000,10000,10000,15000,11,32736,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On update IC - Spellcast Mortal Strike'), +(24238,0,12,0,0,0,100,0,0,5000,10000,15000,11,33661,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On update IC - Spellcast Crush Armor'), +(24238,0,13,0,11,0,100,0,0,0,0,0,43,0,22657,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On spawn - Mount'), +(24238,0,14,15,7,0,100,0,0,0,0,0,43,0,22657,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On evade - Mount'), +(24238,0,15,16,61,0,100,0,0,0,0,0,60,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On evade - Enable fly'), +(24238,0,16,0,61,0,100,0,0,0,0,0,90,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Bjorn Halgurdsson - On evade - Set unit_field_bytes1 (hovering)'), + +(24458,0,0,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Lydell - On aggro - Say line'), +(24458,0,1,0,9,0,100,0,0,5,8000,15000,11,11971,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Lydell - On target within 5y - Spellcast Sunder Armor'), +(24458,0,2,0,0,0,100,0,3000,5000,70000,75000,11,43895,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Lydell - On update IC - Spellcast Lydell''s Poison'), + +(24474,0,0,0,9,0,100,0,5,30,8000,10000,11,18802,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Vengeance Landing Assassin - On target within 5-30y - Spellcast Frost Shot'), +(24474,0,1,0,9,0,100,0,5,30,1500,2000,11,6660,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Vengeance Landing Assassin - On target within 5-30y - Spellcast Shoot'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=43315; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(43315,46348,2,'On aura Vrykul Insult apply Slow Creature'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=43315; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorType`,`ScriptName`,`Comment`) VALUES +(17,0,43315,0,31,1,3,24238,0,12,'','Spell Vrykul Insult is castable on Bjorn Halgurdsson only'); + +DELETE FROM `creature_text` WHERE `entry` IN (24238,24458); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(24238,0,0,'[Crude Vrykul] Bjorns mottar haelgond sygar!',14,0,100,0,0,0,'Bjorn Halgurdsson'), +(24238,1,0,'No one speaks of my mother in that manner!',14,0,100,0,0,0,'Bjorn Halgurdsson'), +(24238,2,0,'Drive the invaders out! For Queen Angerboda!',14,0,100,0,0,0,'Bjorn Halgurdsson'), +(24238,2,1,'Fight without fear and the Val''kyr will reward you!',14,0,100,0,0,0,'Bjorn Halgurdsson'), +(24238,2,2,'The Winterskorn tribe will prevail!',14,0,100,0,0,0,'Bjorn Halgurdsson'), + +(24458,0,0,'I''ve been saving this just for you, big boy!',12,0,100,0,0,0,'Lydell'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_12_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_12_01_world_misc.sql new file mode 100644 index 00000000000..c7b84d811e2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_12_01_world_misc.sql @@ -0,0 +1,13 @@ +-- Fix quest: Badlands Reagent Run II (2203) + +UPDATE `item_loot_template` SET `mincountOrRef`=3, `maxcount`=3 WHERE `item`=7866; + +DELETE FROM `item_loot_template` WHERE `item`=7866 AND `entry`=16883; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=9712; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,9712,0,31,3,2726,0,0,'','Spell Thaumaturgy Channel targets Scorched Guardian'); + +DELETE FROM `spell_script_names` WHERE `spell_id`=9712; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(9712,'spell_q2203_thaumaturgy_channel'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_00_world_misc.sql new file mode 100644 index 00000000000..09e3a3cb92b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_00_world_misc.sql @@ -0,0 +1,15 @@ +-- Updates for Quest A Blade Fit For A Champion + +UPDATE `creature_template` SET `ScriptName`= 'npc_lake_frog' WHERE `entry` IN (33211,33224); +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry` IN (33224); + +-- Add option conditions for gossip +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (10316); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,10316,0,0,2,44981,1,1,1,0,'','Maiden of Ashwood Lake - Show gossip option if player does not have Ashwood Brand'); + +-- NPC talk text insert from sniff +DELETE FROM `creature_text` WHERE `entry`=33220; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(33220,0,0, 'Can it really be? Free after all these years?',12,0,100,1,0,0, 'Maiden of Ashwood Lake'), +(33220,1,0, 'And now, I must return to the waters of the lake.',12,0,100,2,0,0, 'Maiden of Ashwood Lake'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_01_world_misc.sql new file mode 100644 index 00000000000..08c1c90ab08 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_01_world_misc.sql @@ -0,0 +1,166 @@ +-- Fix quest: Convocation at Zol'Heb (12730) + +SET @GUID := 45214; + +SET @NPC_ELM_BUNNY_LARGE := 24021; +SET @NPC_AKALI_PROPHET := 29028; +SET @NPC_HARKOA := 29050; +SET @GO_SKULL_PILE := 190594; +SET @GO_CIRCLE := 191123; +SET @GO_TORCH := 191365; +SET @GO_SPELLFOCUS := 300221; + +DELETE FROM `creature` WHERE `guid` IN (@GUID); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES +(@GUID,@NPC_ELM_BUNNY_LARGE,571,1,1,21999,6448.935,-4475.177,451.3292,0.8028514,300,0,0); + +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_AKALI_PROPHET,@NPC_HARKOA); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_AKALI_PROPHET,0,0,'What is this? I recognize you from when I killed Akali. You must be this $N that everyone is dreading.',14,0,100,25,0,12009,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,1,0,'You don''t worry me, $g boy : girl;. Just the opposite - I look forward to killing you. Nothing will stand between me and Zim''Torga now!',14,0,100,15,0,6200,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,2,0,'How sad that only now do you grasp the truth - I wield the power of a god. You are a mere mortal. You cannot hope to defeat me!',14,0,100,11,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,3,0,'You''ve meddled in affairs that were none of your business. You are nothing but a foreign invader. Prepare to die!',14,0,100,15,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,4,0,'The prophet begins to cast a ritual of annihilation.',16,0,100,0,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,5,0,'What? HAR''KOA?!',14,0,100,0,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,6,0,'Very well, kitten. I see no need to delay your inevitable demise. I look forward to dealing with you just as soon as I finish off this fool!',14,0,100,0,0,0,'Prophet of Akali'), +(@NPC_AKALI_PROPHET,7,0,'NO! I will not be defeated!',14,0,100,0,0,0,'Prophet of Akali'), +(@NPC_HARKOA,0,0,'PROPHET!',14,0,100,0,0,643,'Har''koa'), +(@NPC_HARKOA,1,0,'YOU KEEP YOUR FILTHY DRAKKARI HANDS OFF OF THEM!',14,0,100,35,0,11887,'Har''koa'), +(@NPC_HARKOA,2,0,'I THINK NOT. YOU WILL DROP YOUR IMMUNITY, CEASE YOUR RITUAL NOW AND RELEASE THEM!',14,0,100,0,0,11883,'Har''koa'), +(@NPC_HARKOA,3,0,'Thank you. Once again you have saved us all. I will see you back at Zim''Torga.',14,0,100,0,0,0,'Har''koa'); + +UPDATE `creature_template` SET `speed_run`=3.5714286, `dmg_multiplier`=7.5 WHERE `entry`=@NPC_HARKOA; +UPDATE `creature_model_info` SET `bounding_radius`=2.17, `combat_reach`=7 WHERE `modelid`=28009; + +DELETE FROM `creature_equip_template` WHERE `entry`=@NPC_AKALI_PROPHET; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(@NPC_AKALI_PROPHET,1,39892,0,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (52956,52989); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,52956,0,0,31,0,3,@NPC_ELM_BUNNY_LARGE,0,0,0,'','Spell Prophet of Akali Convocation targets ELM General Purpose Bunny Large'), +(13,1,52989,0,0,31,0,4,0,0,0,0,'','Spell Akali''s Stun targets players'); + +DELETE FROM `spell_scripts` WHERE `id`=53010; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(53010,0,0,14,52989,0,0,0,0,0,0); + +DELETE FROM `spell_script_names` WHERE `spell_id`=53350; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(53350,'spell_q12730_quenching_mist'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=52989; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(52989,-53504,1,'On spellhit Akali''s Stun - Remove aura Flickering Flames'); + +DELETE FROM `waypoints` WHERE `entry` IN (@NPC_HARKOA,@NPC_HARKOA*10); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@NPC_HARKOA,1,6369.87,-4507.906,458.1296,'Har''koa'), +(@NPC_HARKOA,2,6372.938,-4508.172,457.8796,'Har''koa'), +(@NPC_HARKOA,3,6377.188,-4508.172,457.8796,'Har''koa'), +(@NPC_HARKOA,4,6387.688,-4507.922,457.8796,'Har''koa'), +(@NPC_HARKOA,5,6403.007,-4521.438,458.1296,'Har''koa'), + +(@NPC_HARKOA*10,1,6404.547,-4486.095,451.1878,'Har''koa'), +(@NPC_HARKOA*10,2,6395.547,-4486.345,451.1878,'Har''koa'), +(@NPC_HARKOA*10,3,6391.547,-4486.345,451.1878,'Har''koa'), +(@NPC_HARKOA*10,4,6390.047,-4486.595,451.1878,'Har''koa'), +(@NPC_HARKOA*10,5,6388.047,-4486.595,451.4378,'Har''koa'), +(@NPC_HARKOA*10,6,6367.047,-4487.345,455.9378,'Har''koa'), +(@NPC_HARKOA*10,7,6364.297,-4487.595,457.9378,'Har''koa'), +(@NPC_HARKOA*10,8,6348.413,-4488.189,458.1296,'Har''koa'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_AKALI_PROPHET,@NPC_HARKOA); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (@GO_SKULL_PILE,@GO_CIRCLE,@GO_TORCH,@GO_SPELLFOCUS); +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (@NPC_AKALI_PROPHET,@NPC_HARKOA); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_AKALI_PROPHET,@NPC_HARKOA) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@GO_SKULL_PILE,@GO_CIRCLE,@GO_TORCH,@GO_SPELLFOCUS) AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_AKALI_PROPHET*100+0,@NPC_AKALI_PROPHET*100+1,@NPC_AKALI_PROPHET*100+2,@NPC_HARKOA*100,@GO_CIRCLE*100,@GO_TORCH*100) AND `source_type`=9; +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 +(@NPC_AKALI_PROPHET,0,0,1,54,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - Just summoned - Set unit_flags IMMUNE_TO_PC'), +(@NPC_AKALI_PROPHET,0,1,2,61,0,100,0,0,0,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - Just summoned - Spellcast Ethereal Teleport'), +(@NPC_AKALI_PROPHET,0,2,3,61,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Prophet of Akali - Just summoned - Store targetlist'), +(@NPC_AKALI_PROPHET,0,3,0,61,0,100,0,0,0,0,0,80,@NPC_AKALI_PROPHET*100+0,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - Just summoned - Run script 0'), +(@NPC_AKALI_PROPHET,0,4,0,0,1,100,0,10000,12000,14000,16000,11,53496,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Prophet of Akali - On update IC (phase 1) - Spellcast Darting Flames'), +(@NPC_AKALI_PROPHET,0,5,0,0,1,100,0,16000,18000,12000,15000,11,53493,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Prophet of Akali - On update IC (phase 1) - Spellcast Incinerate'), +(@NPC_AKALI_PROPHET,0,6,7,2,0,100,1,0,70,0,0,11,52982,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On health below 70% - Spellcast Akali''s Immunity'), +(@NPC_AKALI_PROPHET,0,7,8,61,0,100,0,0,0,0,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On health below 70% - Disable autoattack'), +(@NPC_AKALI_PROPHET,0,8,9,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On health below 70% - Set event phase 2'), +(@NPC_AKALI_PROPHET,0,9,0,61,0,100,0,0,0,0,0,80,@NPC_AKALI_PROPHET*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On health below 70% - Run script 1'), +(@NPC_AKALI_PROPHET,0,10,11,34,4,100,0,0,1,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.8028514, 'Prophet of Akali - On movement inform (phase 3) - Set orientation'), +(@NPC_AKALI_PROPHET,0,11,12,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On movement inform (phase 3) - Set event phase 0'), +(@NPC_AKALI_PROPHET,0,12,0,61,0,100,0,0,0,0,0,80,@NPC_AKALI_PROPHET*100+2,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali - On movement inform (phase 3) - Run script 2'), + +(@NPC_HARKOA,0,0,0,54,0,100,0,0,0,0,0,53,1,@NPC_HARKOA,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa - Just summoned - Start WP movement'), +(@NPC_HARKOA,0,1,0,40,0,100,0,5,@NPC_HARKOA,0,0,45,0,1,0,0,0,0,19,@NPC_AKALI_PROPHET,50,0,0,0,0,0, 'Har''koa - On WP 5 reached - Set data 0 1 Akali Prophet'), +(@NPC_HARKOA,0,2,0,38,0,100,0,0,1,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Har''koa - On data 0 1 set - Turn to'), +(@NPC_HARKOA,0,3,0,38,0,100,0,0,2,0,0,80,@NPC_HARKOA*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa - On data 0 2 set - Run script'), +(@NPC_HARKOA,0,4,5,7,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa - On Evade - Say line'), +(@NPC_HARKOA,0,5,0,61,0,100,0,0,0,0,0,53,1,@NPC_HARKOA*10,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa - On Evade - Start WP movement'), +(@NPC_HARKOA,0,6,0,0,0,100,0,15000,16000,9000,10000,11,53499,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Har''koa - On update IC - Spellcast Rake'), +(@NPC_HARKOA,0,7,0,0,0,100,0,16000,17000,10000,10000,11,53498,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Har''koa - On update IC - Spellcast Swipe'), +(@NPC_HARKOA,0,8,0,0,0,100,0,10000,12000,12000,15000,86,53350,0,19,@NPC_AKALI_PROPHET,30,0,1,0,0,0,0,0,0,0, 'Har''koa - On update IC - Spellcast Quenching Mist'), +(@NPC_HARKOA,0,9,0,40,0,100,0,8,@NPC_HARKOA*10,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa - On WP 8 reached - Despawn'), + +(@GO_SKULL_PILE,1,0,1,38,0,100,0,0,1,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zul''Drak Skull Pile 02 - On data 0 1 set - Set phasemask 2'), +(@GO_SKULL_PILE,1,1,0,61,0,100,0,0,0,0,0,80,@GO_TORCH*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Zul''Drak Skull Pile 02 - On data 0 1 set - Run script'), + +(@GO_CIRCLE,1,0,1,38,0,100,0,0,1,0,0,9,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Convocation Summoning Circle - On data 0 1 set - Activate gameobject'), +(@GO_CIRCLE,1,1,0,61,0,100,0,0,0,0,0,80,@GO_CIRCLE*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Convocation Summoning Circle - On data 0 1 set - Run script'), + +(@GO_TORCH,1,0,1,38,0,100,0,0,1,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadow Council Torch (x2.00) - On data 0 1 set - Set phasemask 2'), +(@GO_TORCH,1,1,0,61,0,100,0,0,0,0,0,80,@GO_TORCH*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadow Council Torch (x2.00) - On data 0 1 set - Run script'), + +(@GO_SPELLFOCUS,1,0,1,38,0,100,0,0,1,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'TEMP Convocation Summoning Circle - On data 0 1 set - Set phasemask 2'), +(@GO_SPELLFOCUS,1,1,0,61,0,100,0,0,0,0,0,80,@GO_TORCH*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'TEMP Convocation Summoning Circle - On data 0 1 set - Run script'), + +(@NPC_AKALI_PROPHET*100+0,9,0,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,13,@GO_SKULL_PILE,0,20,0,0,0,0, 'Prophet of Akali script 0 - Set data 0 1 Zul''Drak Skull Pile 02'), +(@NPC_AKALI_PROPHET*100+0,9,1,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,20,@GO_CIRCLE,20,0,0,0,0,0, 'Prophet of Akali script 0 - Set data 0 1 Convocation Summoning Circle'), +(@NPC_AKALI_PROPHET*100+0,9,2,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,13,@GO_TORCH,0,20,0,0,0,0, 'Prophet of Akali script 0 - Set data 0 1 Shadow Council Torch (x2.00)'), +(@NPC_AKALI_PROPHET*100+0,9,3,0,0,0,100,0,0,0,0,0,45,0,1,0,0,0,0,20,@GO_SPELLFOCUS,20,0,0,0,0,0, 'Prophet of Akali script 0 - Set data 0 1 TEMP Convocation Summoning Circle'), +(@NPC_AKALI_PROPHET*100+0,9,4,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Prophet of Akali script 0 - Turn to summoner'), +(@NPC_AKALI_PROPHET*100+0,9,5,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Prophet of Akali script 0 - Say line'), +(@NPC_AKALI_PROPHET*100+0,9,6,0,0,0,100,0,6000,6000,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Prophet of Akali script 0 - Turn to summoner'), +(@NPC_AKALI_PROPHET*100+0,9,7,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Prophet of Akali script 0 - Say line'), +(@NPC_AKALI_PROPHET*100+0,9,8,0,0,0,100,0,3600,3600,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 0 - Remove unit_flags IMMUNE_TO_PC'), +(@NPC_AKALI_PROPHET*100+0,9,9,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Prophet of Akali script 0 - Start attack'), +(@NPC_AKALI_PROPHET*100+0,9,10,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 0 - Set event phase 1'), + +(@NPC_AKALI_PROPHET*100+1,9,0,0,0,0,100,0,2400,2400,0,0,11,52989,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 1 - Spellcast Akali''s Stun'), +(@NPC_AKALI_PROPHET*100+1,9,1,0,0,0,100,0,0,0,0,0,69,1,0,0,0,0,0,8,0,0,0,6448.36,-4475.49,451.0759,0, 'Prophet of Akali script 1 - Move to position'), +(@NPC_AKALI_PROPHET*100+1,9,2,0,0,0,100,0,0,0,0,0,22,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 1 - Set event phase 3'), + +(@NPC_AKALI_PROPHET*100+2,9,0,0,0,0,100,0,800,800,0,0,1,2,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Say line'), +(@NPC_AKALI_PROPHET*100+2,9,1,0,0,0,100,0,6000,6000,0,0,1,3,0,0,0,0,0,23,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Say line'), +(@NPC_AKALI_PROPHET*100+2,9,2,0,0,0,100,0,2400,2400,0,0,11,52993,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Spellcast Akali''s Ritual of Annihilation'), +(@NPC_AKALI_PROPHET*100+2,9,3,0,0,0,100,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Say line'), +(@NPC_AKALI_PROPHET*100+2,9,4,0,0,0,100,0,2000,2000,0,0,12,@NPC_HARKOA,1,300000,0,0,0,8,0,0,0,6355.075,-4494.311,458.179,0, 'Prophet of Akali script 2 - Summon Har''koa'), +(@NPC_AKALI_PROPHET*100+2,9,5,0,0,0,100,0,4000,4000,0,0,45,0,1,0,0,0,0,19,@NPC_HARKOA,100,0,0,0,0,0, 'Prophet of Akali script 2 - Set data 0 1 Har''koa'), +(@NPC_AKALI_PROPHET*100+2,9,6,0,0,0,100,0,4600,4600,0,0,45,0,2,0,0,0,0,19,@NPC_HARKOA,100,0,0,0,0,0, 'Prophet of Akali script 2 - Set data 0 2 Har''koa'), +(@NPC_AKALI_PROPHET*100+2,9,7,0,0,0,100,0,1500,1500,0,0,66,0,0,0,0,0,0,19,@NPC_HARKOA,100,0,0,0,0,0, 'Prophet of Akali script 2 - Turn to Har''koa'), +(@NPC_AKALI_PROPHET*100+2,9,8,0,0,0,100,0,1300,1300,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Say line'), +(@NPC_AKALI_PROPHET*100+2,9,9,0,0,0,100,0,7100,7100,0,0,66,0,0,0,0,0,0,19,@NPC_HARKOA,100,0,0,0,0,0, 'Prophet of Akali script 2 - Turn to Har''koa'), +(@NPC_AKALI_PROPHET*100+2,9,10,0,0,0,100,0,100,100,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Say line'), +(@NPC_AKALI_PROPHET*100+2,9,11,0,0,0,100,0,9500,9500,0,0,92,0,52993,1,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Interrupt spellcast'), +(@NPC_AKALI_PROPHET*100+2,9,12,0,0,0,100,0,300,300,0,0,11,53010,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Spellcast Convocation at Zol''Heb: Removef Akali''s Stun'), +(@NPC_AKALI_PROPHET*100+2,9,13,0,0,0,100,0,0,0,0,0,28,52982,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Remove aura Akali''s Immunity'), +(@NPC_AKALI_PROPHET*100+2,9,14,0,0,0,100,0,100,100,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Say line'), +(@NPC_AKALI_PROPHET*100+2,9,15,0,0,0,100,0,0,0,0,0,19,512,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Remove unit_flags IMMUNE_TO_NPC'), +(@NPC_AKALI_PROPHET*100+2,9,16,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Set event phase 1'), +(@NPC_AKALI_PROPHET*100+2,9,17,0,0,0,100,0,0,0,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Enable combat movement'), +(@NPC_AKALI_PROPHET*100+2,9,18,0,0,0,100,0,0,0,0,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Prophet of Akali script 2 - Enable autoattack'), + +(@NPC_HARKOA*100,9,0,0,0,0,100,0,1200,1200,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa script 0 - Say line'), +(@NPC_HARKOA*100,9,1,0,0,0,100,0,5100,5100,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa script 0 - Say line'), +(@NPC_HARKOA*100,9,2,0,0,0,100,0,11000,11000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa script 0 - Say line'), +(@NPC_HARKOA*100,9,3,0,0,0,100,0,0,0,0,0,11,53004,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa script 0 - Spellcast Har''koa''s Compulsion'), +(@NPC_HARKOA*100,9,4,0,0,0,100,0,400,400,0,0,19,512,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa script 0 - Remove unit_flags IMMUNE_TO_NPC'), +(@NPC_HARKOA*100,9,5,0,0,0,100,0,2700,2700,0,0,97,108.6365,0,0,0,0,0,1,0,0,0,6439.68,-4484.5,451.246,0, 'Har''koa script 0 - Jump to position'), +(@NPC_HARKOA*100,9,6,0,0,0,100,0,2000,2000,0,0,49,0,0,0,0,0,0,19,@NPC_AKALI_PROPHET,50,0,0,0,0,0, 'Har''koa script 0 - Start attack'), +(@NPC_HARKOA*100,9,7,0,0,0,100,0,0,0,0,0,11,53029,0,0,0,0,0,19,@NPC_AKALI_PROPHET,50,0,0,0,0,0, 'Har''koa script 0 - Spellcast Har''koa''s Challenge'), +(@NPC_HARKOA*100,9,8,0,0,0,100,0,0,0,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Har''koa script 0 - Set homeposition'), + +(@GO_CIRCLE*100,9,0,0,0,0,100,0,1000,1000,0,0,44,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Convocation Summoning Circle script - Set phasemask 2'), +(@GO_CIRCLE*100,9,1,0,0,0,100,0,299000,299000,0,0,44,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Convocation Summoning Circle script - Set phasemask 1'), + +(@GO_TORCH*100,9,0,0,0,0,100,0,300000,300000,0,0,44,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Shadow Council Torch (x2.00) script - Set phasemask 1'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_02_world_misc.sql new file mode 100644 index 00000000000..6b74abd4aa9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_02_world_misc.sql @@ -0,0 +1,25 @@ +-- Add missing lake frog spawns +SET @GUID := 72770; +SET @POOL := 60003; + +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`) VALUES +(@GUID+0,33224,571,1,1,0,0,3819.225,-4360.781,182.312,4.927386,120,5,0,1,0,1), +(@GUID+1,33224,571,1,1,0,0,3822.34,-4362.166,182.5561,0.4575224,120,5,0,1,0,1), +(@GUID+2,33224,571,1,1,0,0,3803.501,-4354.347,180.8061,4.409188,120,5,0,1,0,1), +(@GUID+3,33224,571,1,1,0,0,3778.917,-4312.72,183.4503,0.9890772,120,5,0,1,0,1), +(@GUID+4,33224,571,1,1,0,0,3805.652,-4352.625,181.4311,5.342484,120,5,0,1,0,1), +(@GUID+5,33224,571,1,1,0,0,3803.122,-4347.75,180.8061,2.036006,120,5,0,1,0,1); + +DELETE FROM `pool_template` WHERE `entry`=@POOL; +INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES +(@POOL, 1, 'Lake Frog (33224)'); + +DELETE FROM `pool_creature` WHERE `guid` BETWEEN @GUID AND @GUID+5; +INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES +(@GUID+0, @POOL, 0, 'Lake Frog (33224) - Spawn 1'), +(@GUID+1, @POOL, 0, 'Lake Frog (33224) - Spawn 2'), +(@GUID+2, @POOL, 0, 'Lake Frog (33224) - Spawn 3'), +(@GUID+3, @POOL, 0, 'Lake Frog (33224) - Spawn 4'), +(@GUID+4, @POOL, 0, 'Lake Frog (33224) - Spawn 5'), +(@GUID+5, @POOL, 0, 'Lake Frog (33224) - Spawn 6'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_03_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_03_world_creature.sql new file mode 100644 index 00000000000..06a6bdfdf45 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_03_world_creature.sql @@ -0,0 +1,31 @@ +-- Redo lake frog spawns +SET @GUID := 116037; +DELETE FROM `creature` WHERE `id`=33211; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(@GUID+0,33211,571,1,1,0,0,3714.71313,-4303.6416,182.597778,0.5710628,120,5,0,1,0,1), +(@GUID+1,33211,571,1,1,0,0,3727.22876,-4303.32568,182.255157,0.8603498,120,5,0,1,0,1), +(@GUID+2,33211,571,1,1,0,0,3728.51538,-4303.354,182.132217,0.182852328,120,5,0,1,0,1), +(@GUID+3,33211,571,1,1,0,0,3743.80762,-4300.40234,181.845047,2.43378878,120,5,0,1,0,1), +(@GUID+4,33211,571,1,1,0,0,3745.317,-4298.76855,182.1726,3.83392715,120,5,0,1,0,1), +(@GUID+5,33211,571,1,1,0,0,3756.09375,-4303.11963,181.720047,4.65554,120,5,0,1,0,1), +(@GUID+6,33211,571,1,1,0,0,3771.87622,-4306.225,184.171371,1.57087767,120,5,0,1,0,1), +(@GUID+7,33211,571,1,1,0,0,3772.263,-4314.93066,180.231476,2.44895387,120,5,0,1,0,1), +(@GUID+8,33211,571,1,1,0,0,3772.70654,-4317.774,179.991028,4.85300732,120,5,0,1,0,1), +(@GUID+9,33211,571,1,1,0,0,3775.58887,-4305.576,185.450317,6.26560926,120,5,0,1,0,1), +(@GUID+10,33211,571,1,1,0,0,3777.857,-4321.65234,180.575317,6.11946154,120,5,0,1,0,1), +(@GUID+11,33211,571,1,1,0,0,3778.75439,-4320.91846,180.922287,5.89215,120,5,0,1,0,1), +(@GUID+12,33211,571,1,1,0,0,3789.02856,-4324.987,182.870514,0.5579872,120,5,0,1,0,1), +(@GUID+13,33211,571,1,1,0,0,3790.625,-4323.959,183.450317,2.364004,120,5,0,1,0,1), +(@GUID+14,33211,571,1,1,0,0,3792.34375,-4335.88965,180.584076,1.4193728,120,5,0,1,0,1), +(@GUID+15,33211,571,1,1,0,0,3792.57,-4335.01953,180.620331,4.567329,120,5,0,1,0,1), +(@GUID+16,33211,571,1,1,0,0,3800.04688,-4336.84375,182.426788,0.0697878,120,5,0,1,0,1), +(@GUID+17,33211,571,1,1,0,0,3801.10449,-4336.328,182.681076,2.52183533,120,5,0,1,0,1), +(@GUID+18,33211,571,1,1,0,0,3805.919,-4356.706,181.306076,4.68659163,120,5,0,1,0,1), +(@GUID+19,33211,571,1,1,0,0,3806.053,-4357.079,181.381226,2.51099515,120,5,0,1,0,1), +(@GUID+20,33211,571,1,1,0,0,3807.35254,-4346.9873,181.609863,2.069034,120,5,0,1,0,1), +(@GUID+21,33211,571,1,1,0,0,3810.154,-4348.294,182.556076,0.350148171,120,5,0,1,0,1), +(@GUID+22,33211,571,1,1,0,0,3815.82153,-4356.93164,182.881485,2.11018085,120,5,0,1,0,1), +(@GUID+23,33211,571,1,1,0,0,3816.023,-4362.761,181.806076,2.04126978,120,5,0,1,0,1), +(@GUID+24,33211,571,1,1,0,0,3816.47925,-4363.564,181.7469,4.345304,120,5,0,1,0,1), +(@GUID+25,33211,571,1,1,0,0,3816.487,-4356.44141,182.931076,0.0126206363,120,5,0,1,0,1), +(@GUID+26,33224,571,1,1,0,0,3819.22485,-4360.78125,182.311951,4.927386,120,5,0,1,0,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_04_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_04_world_sai.sql new file mode 100644 index 00000000000..d3279d691c2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_04_world_sai.sql @@ -0,0 +1 @@ +UPDATE `smart_scripts` SET `event_flags`=7 WHERE `entryorguid`=19507 AND `source_type`=0 AND `id`=2; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_05_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_05_world_sai.sql new file mode 100644 index 00000000000..8f510380a95 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_13_05_world_sai.sql @@ -0,0 +1 @@ +UPDATE `smart_scripts` SET `event_flags`=4 WHERE `entryorguid`=19507 AND `source_type`=0 AND `id`=1; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_00_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_00_world_creature.sql new file mode 100644 index 00000000000..a9db8f93583 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_00_world_creature.sql @@ -0,0 +1,2 @@ +-- Update Void Traveler Scriptname +UPDATE `creature_template` SET `ScriptName`= 'npc_voidtraveler' WHERE `ScriptName`= 'mob_voidtraveler'; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_01_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_01_world_gossip.sql new file mode 100644 index 00000000000..14da6211f93 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_01_world_gossip.sql @@ -0,0 +1,47 @@ +-- Arathandris Silversky +UPDATE `creature_template` SET `gossip_menu_id`=2208 WHERE `entry` IN (9528); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=2208 AND `text_id`=2844; -- Before Quest 4101 +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (2208,2844); +DELETE FROM `gossip_menu` WHERE `entry`=2208 AND `text_id`=2845; -- After Quest 4101 +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (2208,2845); +DELETE FROM `gossip_menu` WHERE `entry`=2208 AND `text_id`=2848; -- If Horde +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (2208,2848); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=2208; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(2208,0,0,"I need a Cenarion beacon.",1,1,0,0,0,0,''), +(2208,1,0,"What plants are in Felwood that might be corrupted?",1,1,0,0,0,0,''); +-- Add option conditions for gossip +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14) AND `SourceGroup` IN (2208); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,2208,2844,0,8,3781,0,0,1,0,'','Arathandris Silversky - Show gossip text if player has not been rewarded quest 4101'), +(14,2208,2845,0,8,3781,0,0,0,0,'','Arathandris Silversky - Show gossip text if player has been rewarded quest 4101'), +(14,2208,2848,0,6,67,0,0,0,0,'','Arathandris Silversky - Show gossip text if player is horde'); +-- Add option conditions for gossip +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (2208); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,2208,0,0,8,3781,0,0,0,0,'','Arathandris Silversky - Show gossip option if player has been rewarded quest 4101'), +(15,2208,0,1,2,11511,1,1,1,0,'','Arathandris Silversky - Show gossip option if player does not have Cenarion Beacon'), +(15,2208,1,0,8,3781,0,0,0,0,'','Arathandris Silversky - Show gossip option if player has been rewarded quest 4101'); + +-- Maybess Riverbreeze +UPDATE `creature_template` SET `gossip_menu_id`=21400 WHERE `entry` IN (9529); +-- Add Any Missing Gossip Menu item +DELETE FROM `gossip_menu` WHERE `entry`=21400 AND `text_id`=2842; -- Before Quest 4102 +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21400,2842); +DELETE FROM `gossip_menu` WHERE `entry`=21400 AND `text_id`=2843; -- After Quest 4102 +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21400,2843); +DELETE FROM `gossip_menu` WHERE `entry`=21400 AND `text_id`=2849; -- If Alliance +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21400,2849); +-- Add Any Missing Gossip Option +DELETE FROM `gossip_menu_option` WHERE menu_id=21400; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(21400,0,0,"I need a Cenarion beacon.",1,1,0,0,0,0,''), +(21400,1,0,"What plants are in Felwood that might be corrupted?",1,1,0,0,0,0,''); +-- Add option conditions for gossip +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (21400); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,21400,0,0,8,3781,0,0,0,0,'','Maybess Riverbreeze - Show gossip option if player has been rewarded quest 4102'), +(15,21400,0,1,2,11511,1,1,1,0,'','Maybess Riverbreeze - Show gossip option if player does not have Cenarion Beacon'), +(15,21400,1,0,8,3781,0,0,0,0,'','Maybess Riverbreeze - Show gossip option if player has been rewarded quest 4102'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_02_world_spelldifficulty_dbc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_02_world_spelldifficulty_dbc.sql new file mode 100644 index 00000000000..3c68f4e5b33 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_02_world_spelldifficulty_dbc.sql @@ -0,0 +1,5 @@ +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (33923,33666,33711); +INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`) VALUES +(33923,33923,38796), +(33666,33666,38795), +(33711,33711,38794); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_03_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_03_world_creature_template.sql new file mode 100644 index 00000000000..d4673e08a15 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_15_03_world_creature_template.sql @@ -0,0 +1,2 @@ +-- Fix cosmetic-drakkari-bat-ph +UPDATE `creature_template` SET `flags_extra`=`flags_extra`|2 WHERE `entry`=27490; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_00_world_misc.sql new file mode 100644 index 00000000000..49f8d4cab6e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_00_world_misc.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `faction_A`=103,`faction_H`=103 WHERE `entry`=26127; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_01_world_misc.sql new file mode 100644 index 00000000000..8a31fa8118e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_01_world_misc.sql @@ -0,0 +1,23 @@ +-- Fix some path errors +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=66949; + +DELETE FROM `creature_addon` WHERE `guid`=114330; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`) VALUES +(114330,1143300,1); + +UPDATE `creature_addon` SET `path_id`=2034560 WHERE `guid`=203456; +UPDATE `waypoint_data` SET `id`=2034560 WHERE `id`=203591; + +-- Windrock hunter removed in rev 2.2.0 +DELETE FROM `creature` WHERE `id`=18996; + +-- Delete existing unblizzlike spawns +DELETE FROM `creature` WHERE `id` IN (29064,29063,29062,29098,29096,29097); +-- Delete addon data from previous mentioned wrong spanws +DELETE FROM `creature_addon` WHERE `guid` BETWEEN 127316 AND 127337; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN 127340 AND 127375; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN 127293 AND 127315; +DELETE FROM `creature_addon` WHERE `guid` BETWEEN 127272 AND 127292; +DELETE FROM `creature_addon` WHERE `guid`=12246; + +DELETE FROM `gameobject` WHERE `guid` IN (17454,17455); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_02_world_misc.sql new file mode 100644 index 00000000000..b02062bc163 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_02_world_misc.sql @@ -0,0 +1,5 @@ +DELETE FROM `creature` WHERE `id` IN (29119,28925,28924,29051); + +DELETE FROM `linked_respawn` WHERE `guid` IN (127272,127273,127275,127293,127296,127318,127340,127341,127350,127351,127352,127355,127357,127359,127360,127364,127365,127375); + +DELETE FROM `spell_ranks` WHERE `first_spell_id` IN (24440,24475); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_03_world_misc.sql new file mode 100644 index 00000000000..86418513a08 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_03_world_misc.sql @@ -0,0 +1,13 @@ +UPDATE `quest_template` SET `PrevQuestId`=12596 WHERE `id`=12541; +UPDATE `quest_template` SET `PrevQuestId`=12565, `SpecialFlags`=1 WHERE `id`=12567; + +-- Gooey Ghoul Drool SAI +SET @ENTRY := 29856; +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,0,55364,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Gooey Ghoul Drool - On Spell Hit Create Gooey Ghoul Drool - despawn'); +-- Add missing spell click +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=29856 AND `spell_id`=55364; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`) VALUES +(29856,55364,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_04_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_04_world_creature_text.sql new file mode 100644 index 00000000000..3f08495f884 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_16_04_world_creature_text.sql @@ -0,0 +1,46 @@ +-- Add texts for Alchemist Finklestein +DELETE FROM `creature_text` WHERE `entry`=28205; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +-- Events 1,2,3 +(28205,0,0,'Quickly, get me some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,1,'I think it needs...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,2,'Find me some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,3,'It simply must have some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,4,'We need some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,5,'It simply must have some...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Event 4 +(28205,1,0,'I think it''s time for...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,1,1,'Next, we''ll need...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,1,2,'Tastes like it needs more....',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,1,3,'Alright, now find me some...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Event 5 +(28205,2,0,'Coming along nicely, but still needs...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,2,1,'Before it thickens, we must add...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Event 6 +(28205,3,0,'Before it boils over, I need...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,3,1,'It''s thickening! Quickly, get some...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Fail +(28205,4,0,'You''re too late. I must start again from the beginning....',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,4,1,'No! The serum is ruined!',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Item request +(28205,5,0,'Knotroot!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,6,0,'Pickled Eagle Egg!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,7,0,'Speckled Guano!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,8,0,'Withered Batwing!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,9,0,'Seasoned Slider Cider!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,10,0,'Pulverized Gargoyle Teeth!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,11,0,'Muddy Mire Maggot!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,12,0,'Spiky Spider Egg!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,13,0,'Hairy Herring Head!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,14,0,'Putrid Pirate Perspiration!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,15,0,'Icecrown Bottled Water!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,16,0,'Wasp''s Wings!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,17,0,'Prismatic Mojo!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,18,0,'Raptor Claw!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,19,0,'Amberseed!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,20,0,'Shrunken Dragon''s Claw!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,21,0,'Chilled Serpent Mucus!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,22,0,'Crystallized Hogsnot!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,23,0,'Crushed Basilisk Crystals!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,24,0,'Trollbane!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,25,0,'Frozen Spider Ichor!',42,0,100,0,0,0,'Alchemist Finklestein'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_00_world_warden_checks.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_00_world_warden_checks.sql new file mode 100644 index 00000000000..030fee68d37 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_00_world_warden_checks.sql @@ -0,0 +1,2 @@ +-- Fix address check for multi-jump hack +UPDATE `warden_checks` SET `result`='75440FB75E', `length`=5 WHERE `id`=785; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_01_world_misc.sql new file mode 100644 index 00000000000..d5c6ea6d29d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_01_world_misc.sql @@ -0,0 +1,255 @@ +SET @GUID := 21707; + +SET @QUEST_INFILTRATING_VOLTARUS := 12661; +SET @QUEST_REUNITED := 12663; +SET @QUEST_DARK_HORIZON := 12664; +SET @NPC_DRAKURU := 28503; +SET @NPC_STEFAN := 28518; +SET @NPC_GOREBAG := 28666; +SET @NPC_FLYING_FIEND := 28669; +SET @NPC_OVERLORD_DRAKURU := 28717; +SET @NPC_PERSISTENCE := 29863; + +UPDATE `creature_template` SET `speed_walk`=2.4, `speed_run`=0.992063, `AIName`='SmartAI' WHERE `entry`=@NPC_GOREBAG; +UPDATE `creature_template` SET `speed_walk`=4.4, `speed_run`=1.375, `InhabitType`=4, `AIName`='SmartAI', `vehicleId`=127 WHERE `entry`=@NPC_FLYING_FIEND; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@NPC_OVERLORD_DRAKURU; +UPDATE `creature_template` SET `unit_flags`=0, `InhabitType`=4 WHERE `entry`=28759; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@NPC_DRAKURU; +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=@NPC_PERSISTENCE; + +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_PERSISTENCE; +INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`) VALUES +(@NPC_PERSISTENCE,50331648,1); + +UPDATE `creature` SET `spawndist`=0, `MovementType`=0, `unit_flags`=768 WHERE `guid` IN (103732,103734,103744,103751,103753,103755,103765,103766); + +DELETE FROM `creature` WHERE `guid` IN (@GUID,111712); +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,28717,571,1,1,0,0,5954.766,-3273.196,406.9324,5.445427,300,0,0,0,0,0,0,0,0); + +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5056,5057,5058,5059,5060,5095,5096,5097,5098); +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(5056,'SmartTrigger'), +(5057,'SmartTrigger'), +(5058,'SmartTrigger'), +(5059,'SmartTrigger'), +(5060,'SmartTrigger'), +(5095,'SmartTrigger'), +(5096,'SmartTrigger'), +(5097,'SmartTrigger'), +(5098,'SmartTrigger'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@GUID,-100088,-100089,-100090,-100091,-100092,-100093,-100094,-100095,@NPC_DRAKURU,@NPC_GOREBAG,@NPC_FLYING_FIEND,@NPC_PERSISTENCE) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@NPC_STEFAN AND `source_type`=0 AND `id`=4; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (5056,5057,5058,5059,5060,5095,5096,5097,5098) AND `source_type`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_FLYING_FIEND*100,@NPC_OVERLORD_DRAKURU*100,@NPC_PERSISTENCE*100) AND `source_type`=9; +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 +(-100095,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100095,0,1,2,38,1,100,0,0,1,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100095,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100092,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100092,0,1,2,38,1,100,0,0,1,0,0,1,1,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100092,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100088,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100088,0,1,2,38,1,100,0,0,1,0,0,1,2,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100088,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-@GUID,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-@GUID,0,1,2,38,1,100,0,0,1,0,0,1,3,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-@GUID,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100090,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100090,0,1,2,38,1,100,0,0,1,0,0,1,4,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100090,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100094,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100094,0,1,2,38,1,100,0,0,1,0,0,1,5,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100094,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100089,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100089,0,1,2,38,1,100,0,0,1,0,0,1,6,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100089,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100091,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100091,0,1,2,38,1,100,0,0,1,0,0,1,7,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100091,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100093,0,0,0,11,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On spawn - Set event phase 1'), +(-100093,0,1,2,38,1,100,0,0,1,0,0,1,8,0,0,0,0,0,12,1,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), +(-100093,0,2,0,61,1,100,0,0,0,0,0,80,@NPC_OVERLORD_DRAKURU*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru - On data 0 1 set - Say line'), + +(@NPC_DRAKURU,0,0,0,62,0,100,0,9731,1,0,0,11,52224,0,0,0,0,0,7,0,0,0,0,0,0,0,'Overlord Drakuru - On gossip select - Spellcast Kill Credit'), +(@NPC_DRAKURU,0,1,0,62,0,100,0,9731,2,0,0,11,52253,0,0,0,0,0,7,0,0,0,0,0,0,0,'Overlord Drakuru - On gossip select - Spellcast Kill Credit'), +(@NPC_DRAKURU,0,2,0,62,0,100,0,9731,3,0,0,11,52355,0,0,0,0,0,7,0,0,0,0,0,0,0,'Overlord Drakuru - On gossip select - Spellcast Quest Complete Credit Credit'), +(@NPC_DRAKURU,0,3,0,62,0,100,0,9731,4,0,0,11,52680,0,0,0,0,0,7,0,0,0,0,0,0,0,'Overlord Drakuru - On gossip select - Spellcast Kill Credit'), +(@NPC_DRAKURU,0,4,0,62,0,100,0,9731,5,0,0,11,52675,0,0,0,0,0,7,0,0,0,0,0,0,0,'Overlord Drakuru - On gossip select - Spellcast Kill Credit'), + +(@NPC_STEFAN,0,4,0,62,0,100,0,9709,1,0,0,11,53810,0,0,0,0,0,7,0,0,0,0,0,0,0,'Stefan Vadu - On gossip select - Spellcast Push Ensorceled Choker'), + +(@NPC_GOREBAG,0,0,1,62,0,100,0,9732,0,0,0,11,52194,0,0,0,0,0,7,0,0,0,0,0,0,0,'Gorebag - On gossip select - Spellcast Force Cast Summon Gargoyle'), +(@NPC_GOREBAG,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Gorebag - On gossip select - Close gossip'), + +(@NPC_FLYING_FIEND,0,0,1,54,0,100,0,0,0,0,0,11,52191,0,0,0,0,0,1,0,0,0,0,0,0,0,'Flying Fiend - Just summoned - Spellcast Scourge Disguise'), +(@NPC_FLYING_FIEND,0,1,0,61,0,100,0,0,0,0,0,80,@NPC_FLYING_FIEND*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Flying Fiend - Just summoned - Run script'), +(@NPC_FLYING_FIEND,0,2,0,40,0,100,0,62,@NPC_FLYING_FIEND,0,0,33,28663,0,0,0,0,0,23,0,0,0,0,0,0,0,'Flying Fiend - On WP 62 reached - Quest Credit'), +(@NPC_FLYING_FIEND,0,3,0,40,0,100,0,63,@NPC_FLYING_FIEND,0,0,11,50630,0,0,0,0,0,1,0,0,0,0,0,0,0,'Flying Fiend - On WP 63 reached - Spellcast Eject All Passengers'), + +(@NPC_PERSISTENCE,0,0,0,54,0,100,0,0,0,0,0,80,@NPC_PERSISTENCE*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Persistence - Just summoned - Run script'), + +(5056,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5056,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100095,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5056,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100095,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5057,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5057,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100092,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5057,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100092,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5058,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5058,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100088,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5058,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100088,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5059,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5059,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,@GUID,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5059,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,@GUID,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5060,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5060,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100090,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5060,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100090,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5095,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5095,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100094,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5095,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100094,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5096,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5096,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100089,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5096,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100089,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5097,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5097,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100091,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5097,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100091,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), +(5098,2,0,1,46,0,100,0,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'On trigger - Store targetlist'), +(5098,2,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,10,100093,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Send targetlist'), +(5098,2,2,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,100093,@NPC_OVERLORD_DRAKURU,0,0,0,0,0,'On trigger - Set data 0 1 Overlord Drakuru'), + +(@NPC_FLYING_FIEND*100,9,0,0,0,0,100,0,1700,1700,0,0,53,1,@NPC_FLYING_FIEND,0,0,0,0,1,0,0,0,0,0,0,0,'Flying Fiend script - Start WP movement'), + +(@NPC_OVERLORD_DRAKURU*100,9,0,0,0,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru script - Set event phase 0'), +(@NPC_OVERLORD_DRAKURU*100,9,1,0,0,0,100,0,5000,5000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Overlord Drakuru script - Set event phase 1'), + +(@NPC_PERSISTENCE*100,9,0,0,0,0,100,0,1000,1000,0,0,69,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Persistence script - Move to position'); + +DELETE FROM `creature_text` WHERE `entry`=@NPC_OVERLORD_DRAKURU; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_OVERLORD_DRAKURU,0,0,'A portion of this land already be mine, mon, but it only be da beginning!',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,1,0,'Here, da self-righteous crusaders be standin'' in da way of our goal. Dey will fall!',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,2,0,'Dis all soon gonna belong to da Lich King.',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,3,0,'Da Drakkari be destroyin'' their lands! Dey gunna be losin'' dem... soon, mon.',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,4,0,'Ahh, dere be our destiny... Gundrak!',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,5,0,'Study dis place well, mon. Ya gonna be helpin'' me conquer it!',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,6,0,'Ahh yeah, mon! Dere be great glory ta be had here!',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,7,0,'Da Lich King be sharin'' his power wit dem who serve him well, mon.',15,0,100,0,0,0,''), +(@NPC_OVERLORD_DRAKURU,8,0,'Come to me now, $n. I must be speakin'' wit ya.',15,0,100,0,0,0,''); + +DELETE FROM `spell_scripts` WHERE `id`=50630; +INSERT INTO `spell_scripts` (`id`,`effIndex`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(50630,0,0,14,46598,0,0,0,0,0,0); + +DELETE FROM `spell_script_names` WHERE `spell_id`=55368; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(55368,'spell_q12661_q12669_q12676_q12677_q12713_summon_stefan'); + +DELETE FROM `waypoints` WHERE `entry`=@NPC_FLYING_FIEND; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@NPC_FLYING_FIEND,1,6063.744,-2094.859,431.5205,''), +(@NPC_FLYING_FIEND,2,5967.444,-2165.715,422.854,''), +(@NPC_FLYING_FIEND,3,5865.666,-2174.974,393.3817,''), +(@NPC_FLYING_FIEND,4,5713.336,-2151.653,373.4649,''), +(@NPC_FLYING_FIEND,5,5558.722,-2128.131,366.1319,''), +(@NPC_FLYING_FIEND,6,5451.114,-2151.127,354.4373,''), +(@NPC_FLYING_FIEND,7,5377.812,-2219.117,359.1318,''), +(@NPC_FLYING_FIEND,8,5366.704,-2360.862,377.715,''), +(@NPC_FLYING_FIEND,9,5435.392,-2533.554,373.9926,''), +(@NPC_FLYING_FIEND,10,5620.228,-2725.159,344.5209,''), +(@NPC_FLYING_FIEND,11,5710.932,-2849.435,341.9651,''), +(@NPC_FLYING_FIEND,12,5793.25,-3015.15,364.3539,''), +(@NPC_FLYING_FIEND,13,5879.358,-3182.915,393.3817,''), +(@NPC_FLYING_FIEND,14,5964.949,-3300.001,393.3817,''), +(@NPC_FLYING_FIEND,15,6115.404,-3420.539,450.5761,''), +(@NPC_FLYING_FIEND,16,6211.264,-3582.169,481.242,''), +(@NPC_FLYING_FIEND,17,6279.312,-3777.027,504.3809,''), +(@NPC_FLYING_FIEND,18,6463.991,-3861.046,546.2137,''), +(@NPC_FLYING_FIEND,19,6575.966,-4030.918,546.2137,''), +(@NPC_FLYING_FIEND,20,6743.058,-4188.865,546.2137,''), +(@NPC_FLYING_FIEND,21,6896.725,-4247.418,577.3526,''), +(@NPC_FLYING_FIEND,22,6999.448,-4298.92,582.9353,''), +(@NPC_FLYING_FIEND,23,7100.701,-4416.983,611.0741,''), +(@NPC_FLYING_FIEND,24,7116.469,-4555.864,660.6572,''), +(@NPC_FLYING_FIEND,25,7057.505,-4669.796,675.6574,''), +(@NPC_FLYING_FIEND,26,6947.491,-4771.33,660.6572,''), +(@NPC_FLYING_FIEND,27,6758.396,-4783.884,626.5463,''), +(@NPC_FLYING_FIEND,28,6650.223,-4701.149,597.2407,''), +(@NPC_FLYING_FIEND,29,6627.306,-4597.556,586.0188,''), +(@NPC_FLYING_FIEND,30,6613.611,-4439.712,592.6573,''), +(@NPC_FLYING_FIEND,31,6526.06,-4289.037,568.1019,''), +(@NPC_FLYING_FIEND,32,6401.896,-4215.937,538.5742,''), +(@NPC_FLYING_FIEND,33,6286.808,-4191.781,518.3241,''), +(@NPC_FLYING_FIEND,34,6204.36,-4223.743,465.0742,''), +(@NPC_FLYING_FIEND,35,6134.582,-4239.067,386.1299,''), +(@NPC_FLYING_FIEND,36,5995.454,-4246.94,428.5185,''), +(@NPC_FLYING_FIEND,37,5909.651,-4251.924,428.5185,''), +(@NPC_FLYING_FIEND,38,5792.211,-4212.291,428.5185,''), +(@NPC_FLYING_FIEND,39,5656.491,-4115.374,428.5185,''), +(@NPC_FLYING_FIEND,40,5549.697,-3983.661,428.5185,''), +(@NPC_FLYING_FIEND,41,5495.661,-3853.954,428.5185,''), +(@NPC_FLYING_FIEND,42,5463.381,-3751.72,428.5185,''), +(@NPC_FLYING_FIEND,43,5430.445,-3669.375,428.5185,''), +(@NPC_FLYING_FIEND,44,5348.065,-3559.13,406.3796,''), +(@NPC_FLYING_FIEND,45,5240.038,-3418.709,381.4073,''), +(@NPC_FLYING_FIEND,46,5160.26,-3335.475,381.4073,''), +(@NPC_FLYING_FIEND,47,5044.02,-3214.565,381.4073,''), +(@NPC_FLYING_FIEND,48,4994.617,-3163.257,381.4073,''), +(@NPC_FLYING_FIEND,49,4929.424,-3062.172,381.4073,''), +(@NPC_FLYING_FIEND,50,4874.155,-2945.799,381.4073,''), +(@NPC_FLYING_FIEND,51,4892.917,-2768.813,381.4073,''), +(@NPC_FLYING_FIEND,52,5019.182,-2627.008,381.4073,''), +(@NPC_FLYING_FIEND,53,5067.444,-2519.115,381.4073,''), +(@NPC_FLYING_FIEND,54,5081.711,-2367.998,381.4073,''), +(@NPC_FLYING_FIEND,55,5152.338,-2120.359,419.4349,''), +(@NPC_FLYING_FIEND,56,5368.514,-1851.122,422.8514,''), +(@NPC_FLYING_FIEND,57,5660.992,-1784.473,360.5462,''), +(@NPC_FLYING_FIEND,58,5851.7,-1800.855,350.1305,''), +(@NPC_FLYING_FIEND,59,6030.714,-1863.997,348.1571,''), +(@NPC_FLYING_FIEND,60,6103.75,-1910.458,354.3242,''), +(@NPC_FLYING_FIEND,61,6163.79,-1944.525,374.379,''), +(@NPC_FLYING_FIEND,62,6183.492,-1976.164,410.129,''), +(@NPC_FLYING_FIEND,63,6184.051,-1991.26,417.3231,''); + +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (@NPC_FLYING_FIEND,@NPC_PERSISTENCE); +INSERT INTO `vehicle_template_accessory` (`entry`,`accessory_entry`,`seat_id`,`minion`,`description`,`summontype`,`summontimer`) VALUES +(@NPC_FLYING_FIEND,@NPC_OVERLORD_DRAKURU,1,1,'Flying Fiend',8,0), +(@NPC_PERSISTENCE,@NPC_STEFAN,0,1,'Persistence',8,0); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (@NPC_FLYING_FIEND,@NPC_PERSISTENCE); +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(@NPC_FLYING_FIEND,46598,0,1), +(@NPC_PERSISTENCE,46598,0,1); + +UPDATE `quest_template` SET `PrevQuestId`=12649 WHERE `Id`=@QUEST_REUNITED; +UPDATE `quest_template` SET `PrevQuestId`=12648 WHERE `Id`=@QUEST_DARK_HORIZON; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9731 AND `SourceEntry`=13348; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry` IN (@QUEST_REUNITED,@QUEST_DARK_HORIZON); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=20 AND `SourceEntry` IN (@QUEST_REUNITED,@QUEST_DARK_HORIZON); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (5056,5057,5058,5059,5060,5095,5096,5097,5098); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,9731,13348,0,0,8,12238,0,0,1,0,'','Overlord Drakuru - Show different gossip if player has not rewarded quest Cleansing Drak''Tharon'), +(14,9731,13348,0,0,8,12661,0,0,1,0,'','Overlord Drakuru - Show different gossip if player has not rewarded quest Infiltrating Voltarus'), +(19,0,@QUEST_REUNITED,0,0,9,@QUEST_INFILTRATING_VOLTARUS,0,0,0,0,'','Quest acceptable only if player has taken quest Infiltrating Voltarus'), +(19,0,@QUEST_DARK_HORIZON,0,0,9,@QUEST_INFILTRATING_VOLTARUS,0,0,0,0,'','Quest acceptable only if player has taken quest Infiltrating Voltarus'), +(20,0,@QUEST_REUNITED,0,0,9,@QUEST_INFILTRATING_VOLTARUS,0,0,0,0,'','Show quest mark only if player has taken quest Infiltrating Voltarus'), +(20,0,@QUEST_DARK_HORIZON,0,0,9,@QUEST_INFILTRATING_VOLTARUS,0,0,0,0,'','Show quest mark only if player has taken quest Infiltrating Voltarus'), +(22,1,5056,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5056,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5057,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5057,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5058,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5058,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5059,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5059,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5060,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5060,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5095,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5095,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5096,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5096,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5097,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5097,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'), +(22,1,5098,2,0,9,@QUEST_REUNITED,0,0,0,0,'','SAI triggers only if player has taken quest Reunited'), +(22,1,5098,2,1,9,@QUEST_DARK_HORIZON,0,0,0,0,'','SAI triggers only if player has taken quest Dark Horizon'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_02_world_misc.sql new file mode 100644 index 00000000000..b938ea45e95 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_17_02_world_misc.sql @@ -0,0 +1,86 @@ +-- Add option conditions for Alchemist Finklestein +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (9668) AND `SourceEntry` IN (0) AND `ConditionValue1` IN (51216); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9668,0,1,1,51216,0,0,1,0,'','Alchemist Finklestein - Show gossip option only if player does not have aura 51216'); + +UPDATE `creature_template` SET `AIName`= '',`ScriptName`= 'npc_alchemist_finklestein' WHERE `entry`=28205; +UPDATE `gameobject_template` SET `ScriptName`= 'go_finklesteins_cauldron' WHERE `entry`=190498; + +DELETE FROM `spell_script_names` WHERE `spell_id` IN (51134,51105,51107,51015,51154,51157,51046,51018,51055,51057, +51059,51062,51064,51067,51069,51072,51077,51079,51081,51083,51085,51087,51091,51093,51095,51097,51100,51102); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(51134,'spell_random_ingredient_easy'), +(51105,'spell_random_ingredient_medium'), +(51107,'spell_random_ingredient_hard'), +(51015,'spell_random_ingredient_aura'), +(51154,'spell_random_ingredient_aura'), +(51157,'spell_random_ingredient_aura'), +(51046,'spell_pot_check'), +(51018,'spell_fetch_ingredient_aura'), +(51055,'spell_fetch_ingredient_aura'), +(51057,'spell_fetch_ingredient_aura'), +(51059,'spell_fetch_ingredient_aura'), +(51062,'spell_fetch_ingredient_aura'), +(51064,'spell_fetch_ingredient_aura'), +(51067,'spell_fetch_ingredient_aura'), +(51069,'spell_fetch_ingredient_aura'), +(51072,'spell_fetch_ingredient_aura'), +(51077,'spell_fetch_ingredient_aura'), +(51079,'spell_fetch_ingredient_aura'), +(51081,'spell_fetch_ingredient_aura'), +(51083,'spell_fetch_ingredient_aura'), +(51085,'spell_fetch_ingredient_aura'), +(51087,'spell_fetch_ingredient_aura'), +(51091,'spell_fetch_ingredient_aura'), +(51093,'spell_fetch_ingredient_aura'), +(51095,'spell_fetch_ingredient_aura'), +(51097,'spell_fetch_ingredient_aura'), +(51100,'spell_fetch_ingredient_aura'), +(51102,'spell_fetch_ingredient_aura'); + +-- Add texts for Alchemist Finklestein +DELETE FROM `creature_text` WHERE `entry`=28205; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +-- Events 1,2,3 +(28205,0,0,'Quickly, get me some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,1,'I think it needs...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,2,'Find me some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,3,'It simply must have some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,4,'We need some...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,0,5,'It simply must have some...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Event 4 +(28205,1,0,'I think it''s time for...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,1,1,'Next, we''ll need...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,1,2,'Tastes like it needs more....',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,1,3,'Alright, now find me some...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Event 5 +(28205,2,0,'Coming along nicely, but still needs...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,2,1,'Before it thickens, we must add...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Event 6 +(28205,3,0,'Before it boils over, I need...',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,3,1,'It''s thickening! Quickly, get some...',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Fail +(28205,4,0,'You''re too late. I must start again from the beginning....',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,4,1,'No! The serum is ruined!',42,0,100,0,0,0,'Alchemist Finklestein'), +-- Item request +(28205,5,0,'Knotroot!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,6,0,'Pickled Eagle Egg!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,7,0,'Speckled Guano!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,8,0,'Withered Batwing!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,9,0,'Seasoned Slider Cider!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,10,0,'Pulverized Gargoyle Teeth!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,11,0,'Muddy Mire Maggot!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,12,0,'Spiky Spider Egg!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,13,0,'Hairy Herring Head!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,14,0,'Putrid Pirate Perspiration!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,15,0,'Icecrown Bottled Water!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,16,0,'Wasp''s Wings!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,17,0,'Prismatic Mojo!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,18,0,'Raptor Claw!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,19,0,'Amberseed!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,20,0,'Shrunken Dragon''s Claw!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,21,0,'Chilled Serpent Mucus!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,22,0,'Crystallized Hogsnot!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,23,0,'Crushed Basilisk Crystals!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,24,0,'Trollbane!',42,0,100,0,0,0,'Alchemist Finklestein'), +(28205,25,0,'Frozen Spider Ichor!',42,0,100,0,0,0,'Alchemist Finklestein'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_00_world_misc.sql new file mode 100644 index 00000000000..9403c8ee0f4 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_00_world_misc.sql @@ -0,0 +1,6 @@ +-- Cleaning the database of unused/obsolete data +DELETE FROM `game_event_creature` WHERE `guid` NOT IN (SELECT `guid` FROM `creature`); +DELETE FROM `game_event_gameobject` WHERE `guid` NOT IN (SELECT `guid` FROM `gameobject`); +DELETE FROM `pool_pool` WHERE `mother_pool` NOT IN (SELECT `entry` FROM `pool_template`); +DELETE FROM `game_event_creature` WHERE `guid` IN (40267,40470,40471); +DELETE FROM `creature` WHERE `id` = 18963; -- Removed from game arround wow 2.2.x diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_01_world_misc.sql new file mode 100644 index 00000000000..2046eb81609 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_01_world_misc.sql @@ -0,0 +1,4 @@ +-- Cleaning the database of unused/obsolete data +DELETE FROM `creature` WHERE `map` IN (449,450); +DELETE FROM `creature_loot_template` WHERE `entry` IN (16156,16157,16158,16368,16446,16448,16449,16451,16452); +UPDATE `creature_template` SET `lootid`=0 WHERE `entry` IN (16156,16157,16158,16368,16446,16448,16449,16451,16452); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_02_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_02_world_creature.sql new file mode 100644 index 00000000000..26067837dfe --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_02_world_creature.sql @@ -0,0 +1,3 @@ +-- Part fix for NPC Hut Fire for Quest: This Just In: Fire Still Hot! +UPDATE `creature` SET `modelid`=0,`spawndist`=0,`MovementType`=0 WHERE `id`=29692; +UPDATE `creature_template` SET `InhabitType`=4, `flags_extra`=128 WHERE `entry`=29692; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_03_world_sai.sql new file mode 100644 index 00000000000..914299ba57f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_03_world_sai.sql @@ -0,0 +1,7 @@ +-- Hut Fire SAI Quest: This Just In: Fire Still Hot! "Now looks more like Offi" +SET @ENTRY := 29692; +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,1000,1000,59000,59000,11,55049,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hut Fire - OOC - Cast Torch on Self'), +(@ENTRY,0,1,0,8,0,100,0,55037,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Hut Fire - On Spell Hit - Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_04_world_spell_script_names.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_04_world_spell_script_names.sql new file mode 100644 index 00000000000..8c749c485cf --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_04_world_spell_script_names.sql @@ -0,0 +1,5 @@ +DELETE FROM `spell_script_names` WHERE `spell_id` IN (51134,51105,51107); +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(51134,'spell_random_ingredient'), +(51105,'spell_random_ingredient'), +(51107,'spell_random_ingredient'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_05_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_05_world_misc.sql new file mode 100644 index 00000000000..7971ea5e89a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_05_world_misc.sql @@ -0,0 +1,29 @@ +-- Add texts for Captured Rageclaw +DELETE FROM `creature_text` WHERE `entry`=29686; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(29686,0,0,'I poop on you, trollses!',0,0,100,0,0,0,'Captured Rageclaw'), +(29686,0,1,'ARRRROOOOGGGGAAAA!',0,0,100,0,0,0,'Captured Rageclaw'), +(29686,0,2,'No more mister nice wolvar!',0,0,100,0,0,0,'Captured Rageclaw'); + +-- Add option conditions for Crusade Recruit +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (9650); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9650,0,0,9,12509,0,0,0,0,'','Crusade Recruit - Show gossip option only if player has quest Troll Patrol: Intestinal Fortitude'); + +-- Add Any Missing Gossip Option for Gymer +DELETE FROM `gossip_menu_option` WHERE menu_id=9852; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(9852,0,0,"I'm ready, Gymer. Let's go!",1,1,0,0,0,0,''); + +-- Add option conditions for Gymer +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (9852); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9852,0,0,9,12919,0,0,0,0,'','Gymer - Show gossip option only if player has quest The Storm King''s Vengeance'); + +-- Gymer SAI Quest: The Storm King''s Vengeance +SET @ENTRY := 29647; +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,9852,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Gymer - On Gossip Option Select - Close Gossip Window'), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,85,55568,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Gymer - On Gossip Option Select - Player cast Summon Gymer on self'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_06_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_06_world_conditions.sql new file mode 100644 index 00000000000..07bbf69bf39 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_06_world_conditions.sql @@ -0,0 +1,4 @@ +-- Add spell target for Throw Ingredient +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=51025; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `Comment`) VALUES +(13,1,51025,0,31,3,28240,0,0, 'Throw Ingredient can be casted on Finklestein''s Cauldron Bunny'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_07_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_07_world_gossip.sql new file mode 100644 index 00000000000..733ccab0748 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_18_07_world_gossip.sql @@ -0,0 +1,18 @@ +-- Add Missing Gossip Menu Gurgthock +UPDATE `creature_template` SET `gossip_menu_id`=9863 WHERE `entry`=30007; +-- Add Missing Gossip Menu items for Gurgthock +DELETE FROM `gossip_menu` WHERE `entry`=9863 AND `text_id`=13679; -- Before Quest 12948 +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9863,13679); +DELETE FROM `gossip_menu` WHERE `entry`=9863 AND `text_id`=13680; -- After Quest 12948 +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9863,13680); +-- Add Gossip Menu conditions for Gurgthock +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14) AND `SourceGroup` IN (9863); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,9863,13679,0,8,12948,0,0,1,0,'','Gurgthock - Show gossip text only if player does not have Quest 12948 rewarded'), +(14,9863,13680,0,8,12948,0,0,0,0,'','Gurgthock - Show gossip text only if player does have Quest 12948 rewarded'); +-- Add some miss texts for Gurgthock +DELETE FROM `creature_text` WHERE `entry`=30007 AND `groupid` IN (7,8,9); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(30007,7,0,'The grand Amphitheater of Anguish awaits, $N. Remember, once a battle starts you have to stay in the area. WIN OR DIE!',12,0,100,1,0,0,'Gurgthock'), +(30007,8,0,'Here we are once again, ladies and gentlemen. The epic struggle between life and death in the Amphitheater of Anguish! For this round we have $N versus the hulking jormungar, Yg... Yggd? Yggdoze? Who comes up with these names?! $N versus big worm!',14,0,100,0,0,13363,'Gurgthock SAY_QUEST_AMPHITHEATER_ANGUISH_YGGDRAS'), +(30007,9,0,'Prepare to make you stand, $N! Get in the Amphitheater and stand ready! Remember, you and your opponent must stay in the arena at all times or you will be disqualified!',12,0,100,1,0,0,'Gurgthock'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_19_00_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_19_00_world_creature.sql new file mode 100644 index 00000000000..7ac3cd694f9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_19_00_world_creature.sql @@ -0,0 +1,78 @@ +-- Fix The Amphitheater of Anguish Spawning +SET @GUID := 125601; -- 40 required +DELETE FROM `creature` WHERE `id`IN (30193,30102); +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+39; +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 +-- Invisible Stalker +(@GUID+0,15214,571,1,1,0,0,5729.15 ,-3015.369,296.5512,4.607669,120,0,0,1,0,0,0,0,0), +(@GUID+1,15214,571,1,1,0,0,5818.867,-2976.993,290.2759,2.495821,120,0,0,1,0,0,0,0,0), +(@GUID+2,15214,571,1,1,0,0,5743.459,-3012.192,290.7671,2.565634,120,0,0,1,0,0,0,0,0), +(@GUID+3,15214,571,1,1,0,0,5740.554,-3009.175,290.2759,0.296706,120,0,0,1,0,0,0,0,0), +(@GUID+4,15214,571,1,1,0,0,5791.739,-3015.988,286.5712,1.605703,120,0,0,1,0,0,0,0,0), +(@GUID+5,15214,571,1,1,0,0,5816.957,-2972.925,290.2759,3.333579,120,0,0,1,0,0,0,0,0), +(@GUID+6,15214,571,1,1,0,0,5796.063,-3015.993,286.6147,4.974188,120,0,0,1,0,0,0,0,0), +(@GUID+7,15214,571,1,1,0,0,5824.51 ,-2955.568,296.551,0.9948376,120,0,0,1,0,0,0,0,0), +-- Amphitheater Spectator +(@GUID+8,30102,571,1,1,0,0,5723.329,-3040.881,303.6286,0.3316126,120,0,0,1,0,0,0,0,0), +(@GUID+9,30102,571,1,1,0,0,5691.038,-2993.651,307.4399,0.05358058,120,0,0,1,0,0,0,0,0), +(@GUID+10,30102,571,1,1,0,0,5697.557,-2985.958,303.6294,0.3316126,120,0,0,1,0,0,0,0,0), +(@GUID+11,30102,571,1,1,0,0,5732.329,-3059.191,303.6294,0.541052,120,0,0,1,0,0,0,0,0), +(@GUID+12,30102,571,1,1,0,0,5735.703,-3037.584,296.5507,0.5585054,120,0,0,1,0,0,0,0,0), +(@GUID+13,30102,571,1,1,0,0,5849.702,-2984.776,300.2807,3.089233,120,0,0,1,0,0,0,0,0), +(@GUID+14,30102,571,1,1,0,0,5862.831,-2978.309,307.4399,3.071779,120,0,0,1,0,0,0,0,0), +(@GUID+15,30102,571,1,1,0,0,5826.039,-2935.936,300.2697,3.647738,120,0,0,1,0,0,0,0,0), +(@GUID+16,30102,571,1,1,0,0,5691.663,-2974.02,303.6294,0.122173,120,0,0,1,0,0,0,0,0), +(@GUID+17,30102,571,1,1,0,0,5823.243,-2895.698,307.4401,3.979351,120,0,0,1,0,0,0,0,0), +(@GUID+18,30102,571,1,1,0,0,5824.486,-2917.669,303.6294,4.122175,120,0,0,1,0,0,0,0,0), +(@GUID+19,30102,571,1,1,0,0,5801.149,-2895.24,303.6294,4.537856,120,0,0,1,0,0,0,0,0), +(@GUID+20,30102,571,1,1,0,0,5814.957,-2911.626,300.2807,4.253134,120,0,0,1,0,0,0,0,0), +(@GUID+21,30102,571,1,1,0,0,5821.17,-2911.49,303.6294,3.787364,120,0,0,1,0,0,0,0,0), +(@GUID+22,30102,571,1,1,0,0,5790.656,-2901.042,300.2807,4.939282,120,0,0,1,0,0,0,0,0), +-- Amphitheater Spectator +(@GUID+23,30193,571,1,1,0,0,5716.436,-3047.592,307.4399,0.3490658,120,0,0,1,0,0,0,0,0), +(@GUID+24,30193,571,1,1,0,0,5730.827,-3041.423,300.2801,0.4886922,120,0,0,1,0,0,0,0,0), +(@GUID+25,30193,571,1,1,0,0,5704.682,-2986.659,300.2743,0.3665192,120,0,0,1,0,0,0,0,0), +(@GUID+26,30193,571,1,1,0,0,5705.174,-2973.334,296.5504,0.1396263,120,0,0,1,0,0,0,0,0), +(@GUID+27,30193,571,1,1,0,0,5722.959,-3059.555,307.44,0.541052,120,0,0,1,0,0,0,0,0), +(@GUID+28,30193,571,1,1,0,0,5841.792,-2986.62,296.5501,3.179028,120,0,0,1,0,0,0,0,0), +(@GUID+29,30193,571,1,1,0,0,5855.139,-2997.216,300.2807,3.700098,120,0,0,1,0,0,0,0,0), +(@GUID+30,30193,571,1,1,0,0,5742.438,-3050.167,296.5508,0.5235988,120,0,0,1,0,0,0,0,0), +(@GUID+31,30193,571,1,1,0,0,5865.154,-3003.392,303.6294,3.124139,120,0,0,1,0,0,0,0,0), +(@GUID+32,30193,571,1,1,0,0,5856.421,-2985.136,303.6294,3.089233,120,0,0,1,0,0,0,0,0), +(@GUID+33,30193,571,1,1,0,0,5868.514,-2990.317,307.44,3.127902,120,0,0,1,0,0,0,0,0), +(@GUID+34,30193,571,1,1,0,0,5696.096,-2968.275,300.2807,0.03490658,120,0,0,1,0,0,0,0,0), +(@GUID+35,30193,571,1,1,0,0,5715.793,-2945.014,296.5512,5.462881,120,0,0,1,0,0,0,0,0), +(@GUID+36,30193,571,1,1,0,0,5810.117,-2898.158,303.6294,4.359755,120,0,0,1,0,0,0,0,0), +(@GUID+37,30193,571,1,1,0,0,5836.928,-2924.024,307.4398,3.965052,120,0,0,1,0,0,0,0,0), +-- Amphitheater Vendor +(@GUID+38,30098,571,1,1,0,0,5691.513,-3001.708,307.3175,1.629701,120,0,0,1,0,0,0,0,0), +(@GUID+39,30098,571,1,1,0,0,5834.321,-2966.102,296.4593,1.962511,120,0,0,1,0,0,0,0,0); + +SET @GUID := 13; -- 2 required +DELETE FROM `creature` WHERE `guid` IN (@GUID,@GUID+1); +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 +-- Zena <Wodin's Warrior Kitten> +(@GUID+0,30140,571,1,1,0,0,5791.278,-3021.8,286.468,4.550161,120,5,0,1,0,1,0,0,0), +-- [DND] Anguish Spectator Bunny +(@GUID+1,30156,571,1,1,0,0,5776.664,-2989.059,278.9828,0.4014257,120,0,0,1,0,0,0,0,0); + +-- Update [DND] Anguish Spectator Bunny +UPDATE `creature_template` SET `InhabitType`=4, `flags_extra`=128 WHERE `entry`=30156; +-- Update Wodin the Troll-Servant +UPDATE `creature` SET `modelid`=12829, `orientation`=1.832596 WHERE `guid`=200821; +UPDATE `creature_template_addon` SET `bytes1`=0, `bytes2`=1 WHERE `entry`=30009; +-- Update Gurgthock <Fight Promoter> +UPDATE `creature` SET `orientation`=2.024582 WHERE `guid`=200822; +UPDATE `creature_template_addon` SET `path_id`=0, `mount`=26755, `bytes1`=0, `bytes2`=1 WHERE `entry`=30007; +-- Invisible Stalker +UPDATE `creature` SET `modelid`=0 WHERE `id`=15214; + +-- Add Missing go's +SET @OGUID := 7093; -- 5 required +DELETE FROM `gameobject` WHERE `map`=571 AND `id` IN (192238,192614,192615,192237,192240); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@OGUID+0,192238,571,1,1,5784.361,-3105.425,326.7856,0.4450589,0,0,0.2206974,0.9753423,120,0,1), +(@OGUID+1,192614,571,1,1,5850.665,-3038.08,307.9219,2.015852,0,0,0.845727,0.5336158,120,0,1), +(@OGUID+2,192615,571,1,1,5770.064,-3076.525,307.9219,2.015852,0,0,0.845727,0.5336158,120,0,1), +(@OGUID+3,192237,571,1,1,5865.14,-3066.895,326.8948,0.4450589,0,0,0.2206974,0.9753423,120,0,1), +(@OGUID+4,192240,571,1,1,5827.597,-3123.574,345.3081,-1.125737,0,0,-0.5336142,0.845728,120,0,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_00_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_00_world_creature.sql new file mode 100644 index 00000000000..1ce9bce76d7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_00_world_creature.sql @@ -0,0 +1,2 @@ +-- Cleaning db, those mobs already have emote asigned on creature_template_addon +DELETE FROM creature_addon WHERE guid IN (SELECT guid FROM creature WHERE `id` = 33236) AND `emote`=27; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_01_world_misc.sql new file mode 100644 index 00000000000..426e898f601 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_01_world_misc.sql @@ -0,0 +1,7 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`=55945; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(55945,"spell_gen_spectator_cheer_trigger"); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (30102,30193); +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES +(30102,1, '55944 56060'),(30193,1, '55944 56060'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_02_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_02_world_creature_text.sql new file mode 100644 index 00000000000..416ead95371 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_02_world_creature_text.sql @@ -0,0 +1,11 @@ +-- Creature text for Amphitheater Vendor +DELETE FROM `creature_text` WHERE `entry` IN (30098); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(30098,0,0, 'Snacks!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,1, 'Snacks for sale!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,2, 'Get your snacks here!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,3, 'Snacks! Get your snacks here!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,4, 'Popcorn! Get your popcorn!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,5, 'Peanuts! Get your peanuts here!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,6, 'Anguish Ale! Cold Anguish Ale here!',12,0,100,0,0,0,'Amphitheater Vendor'), +(30098,0,7, 'Popcorn! Peanuts! Ale!',12,0,100,0,0,0,'Amphitheater Vendor'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_03_world_spell_script_names.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_03_world_spell_script_names.sql new file mode 100644 index 00000000000..5863a4031aa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_03_world_spell_script_names.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`=56096; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(56096,"spell_gen_vendor_bark_trigger"); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_04_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_04_world_waypoints.sql new file mode 100644 index 00000000000..2828f320835 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_20_04_world_waypoints.sql @@ -0,0 +1,156 @@ +-- Pathing for Amphitheater Vendor Entry: 30098 +SET @NPC := 125639; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=5714.727,`position_y`=-2993.386,`position_z`=296.461 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '56094'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`,`orientation`) VALUES +(@PATH,1,5714.727,-2993.386,296.461,6000,0,0,100,0,2.04084), +(@PATH,2,5714.554,-2992.06,296.4618,0,0,0,100,0,0), +(@PATH,3,5711.305,-2988.808,296.4676,0,0,0,100,0,0), +(@PATH,4,5705.161,-2981.065,296.4691,0,0,0,100,0,0), +(@PATH,5,5700.827,-2970.708,296.4702,0,0,0,100,0,0), +(@PATH,6,5696.297,-2957.711,296.4715,0,0,0,100,0,0), +(@PATH,7,5696.799,-2955.088,296.4714,0,0,0,100,0,0), +(@PATH,8,5697.822,-2953.404,296.4712,6000,0,0,100,0,0), +(@PATH,9,5695.771,-2953.885,296.4716,0,0,0,100,0,0), +(@PATH,10,5696.042,-2961.384,296.4715,0,0,0,100,0,0), +(@PATH,11,5702.383,-2974.2,296.4698,0,0,0,100,0,0), +(@PATH,12,5707.034,-2983.82,296.4686,0,0,0,100,0,0), +(@PATH,13,5713.569,-2990.567,296.4613,0,0,0,100,0,0), +(@PATH,14,5712.346,-2989.936,296.4673,6000,0,0,100,0,0), +(@PATH,15,5714.215,-2991.943,296.4613,0,0,0,100,0,0), +(@PATH,16,5717.194,-2999.773,296.4234,0,0,0,100,0,0), +(@PATH,17,5728.412,-3022.169,296.4291,0,0,0,100,0,0), +(@PATH,18,5730.965,-3027.998,296.45895,0,0,0,100,0,0), +(@PATH,19,5708.885,-3039.621,307.3123,0,0,0,100,0,0), +(@PATH,20,5711.497,-3040.242,307.3558,6000,0,0,100,0,0), +(@PATH,21,5711.84,-3044.363,307.3188,0,0,0,100,0,0), +(@PATH,22,5716.811,-3055.433,307.3327,0,0,0,100,0,0), +(@PATH,23,5721.602,-3063.456,307.36,0,0,0,100,0,0), +(@PATH,24,5725.222,-3067.889,307.3367,0,0,0,100,0,0), +(@PATH,25,5725.133,-3070.596,307.3248,0,0,0,100,0,0), +(@PATH,26,5719.292,-3073.477,311.0657,0,0,0,100,0,0), +(@PATH,27,5713.645,-3075.998,312.6586,6000,0,0,100,0,0), +(@PATH,28,5714.134,-3075.827,312.6587,0,0,0,100,0,0), +(@PATH,29,5720.383,-3072.84,310.5493,0,0,0,100,0,0), +(@PATH,30,5725.57,-3070.224,307.3301,0,0,0,100,0,0), +(@PATH,31,5723.997,-3066.298,307.3327,0,0,0,100,0,0), +(@PATH,32,5720.401,-3061.947,307.3509,0,0,0,100,0,0), +(@PATH,33,5716.573,-3055.332,307.33,0,0,0,100,0,0), +(@PATH,34,5713.17,-3048.396,307.3137,0,0,0,100,0,0), +(@PATH,35,5708.885,-3039.621,307.3123,0,0,0,100,0,0), +(@PATH,36,5710.52,-3038.915,307.3293,6000,0,0,100,0,0), +(@PATH,37,5730.965,-3027.998,296.45895,0,0,0,100,0,0), +(@PATH,38,5732.765,-3031.719,296.4664,0,0,0,100,0,0), +(@PATH,39,5732.112,-3034.138,296.4667,6000,0,0,100,0,0), +(@PATH,40,5733.084,-3031.317,296.4664,0,0,0,100,0,0), +(@PATH,41,5730.009,-3025.079,296.4313,0,0,0,100,0,0), +(@PATH,42,5725.542,-3017.257,296.4236,0,0,0,100,0,0), +(@PATH,43,5717.127,-2999.863,296.4223,0,0,0,100,0,0), +(@PATH,44,5714.964,-2994.664,296.4603,0,0,0,100,0,0), +(@PATH,45,5692.41,-3004.103,307.3565,6000,0,0,100,0,0.1291), +(@PATH,46,5691.513,-3001.708,307.3175,0,0,0,100,0,0), +(@PATH,47,5688.313,-2996.178,307.3124,0,0,0,100,0,0), +(@PATH,48,5684.693,-2989.563,307.3086,0,0,0,100,0,0), +(@PATH,49,5677.367,-2974.369,307.3082,0,0,0,100,0,0), +(@PATH,50,5674.822,-2968.894,307.309,0,0,0,100,0,0), +(@PATH,51,5678.438,-2968.422,307.3421,6000,0,0,100,0,0), +(@PATH,52,5676.909,-2970.624,307.3198,0,0,0,100,0,0), +(@PATH,53,5678.826,-2977.606,307.3074,0,0,0,100,0,0), +(@PATH,54,5685.183,-2989.712,307.3122,0,0,0,100,0,0), +(@PATH,55,5692.096,-3002.872,307.3178,0,0,0,100,0,0), +(@PATH,56,5693.071,-3001.71,307.3307,6000,0,0,100,0,0), +(@PATH,57,5694.927,-3003.501,307.34024,0,0,0,100,0,0), +(@PATH,58,5714.964,-2994.664,296.4603,0,0,0,100,0,0); +-- 0xF130007592007A8C .go 5714.727 -2993.386 296.461 + +-- Pathing for Amphitheater Vendor Entry: 30098 +SET @NPC := 125640; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=5815.197,`position_y`=-2890.652,`position_z`=307.3073 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '56094'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`,`orientation`) VALUES +(@PATH,1,5815.197,-2890.652,307.3073,0,0,0,100,0,0), +(@PATH,2,5794.252,-2883.318,307.3083,0,0,0,100,0,0), +(@PATH,3,5788.011,-2882.464,307.3129,0,0,0,100,0,0), +(@PATH,4,5777.774,-2887.472,307.314,6000,0,0,100,0,5.081746), +(@PATH,5,5781.212,-2885.993,307.3153,0,0,0,100,0,0), +(@PATH,6,5790.22,-2882.968,307.3221,0,0,0,100,0,0), +(@PATH,7,5812.069,-2889.932,307.3122,0,0,0,100,0,0), +(@PATH,8,5824.013,-2894.033,307.3106,0,0,0,100,0,0), +(@PATH,9,5832.72,-2904.214,307.3027,0,0,0,100,0,0), +(@PATH,10,5839.131,-2917.173,307.3007,0,0,0,100,0,0), +(@PATH,11,5842.978,-2932.468,307.3301,6000,0,0,100,0,3.49564), +(@PATH,12,5823.141,-2942.902,296.4594,0,0,0,100,0,0), +(@PATH,13,5820.456,-2941.357,296.463,0,0,0,100,0,0), +(@PATH,14,5818.377,-2934.065,296.4635,0,0,0,100,0,0), +(@PATH,15,5815.375,-2925.807,296.4646,0,0,0,100,0,0), +(@PATH,16,5810.773,-2915.595,296.4659,0,0,0,100,0,0), +(@PATH,17,5806.843,-2906.805,296.467,0,0,0,100,0,0), +(@PATH,18,5803.637,-2903.886,296.4672,0,0,0,100,0,0), +(@PATH,19,5793.222,-2907.475,296.4679,0,0,0,100,0,0), +(@PATH,20,5789.824,-2907.318,296.4679,0,0,0,100,0,0), +(@PATH,21,5793.065,-2905.667,296.4679,6000,0,0,100,0,0), +(@PATH,22,5802.28,-2903.771,296.467,0,0,0,100,0,0), +(@PATH,23,5805.051,-2905.157,296.4671,0,0,0,100,0,0), +(@PATH,24,5811.012,-2917.848,296.4655,0,0,0,100,0,0), +(@PATH,25,5816.104,-2930.128,296.4639,0,0,0,100,0,0), +(@PATH,26,5819.828,-2938.419,296.463,0,0,0,100,0,0), +(@PATH,27,5823.147,-2946.686,296.4627,0,0,0,100,0,0), +(@PATH,28,5826.026,-2950.458,296.4608,6000,0,0,100,0,0), +(@PATH,29,5836.404,-2972.255,296.4608,0,0,0,100,0,0), +(@PATH,30,5838.149,-2976.351,296.4612,0,0,0,100,0,0), +(@PATH,31,5859.727,-2966.575,307.32678,0,0,0,100,0,0), +(@PATH,32,5861.81,-2971.323,307.3561,0,0,0,100,0,0), +(@PATH,33,5863.061,-2972.167,307.3237,0,0,0,100,0,0), +(@PATH,34,5866.722,-2976.944,307.311,0,0,0,100,0,0), +(@PATH,35,5871.775,-2988.365,307.3141,0,0,0,100,0,0), +(@PATH,36,5872.965,-2994.138,307.3567,0,0,0,100,0,0), +(@PATH,37,5874.925,-2998.613,307.3567,0,0,0,100,0,0), +(@PATH,38,5880.139,-2996.332,310.5986,0,0,0,100,0,0), +(@PATH,39,5887.151,-2993.677,312.6583,0,0,0,100,0,0), +(@PATH,40,5889.792,-2992.4,312.6583,0,0,0,100,0,0), +(@PATH,41,5885.894,-2993.681,312.6583,6000,0,0,100,0,0), +(@PATH,42,5880.026,-2996.398,310.5436,0,0,0,100,0,0), +(@PATH,43,5874.923,-2998.589,307.3567,0,0,0,100,0,0), +(@PATH,44,5872.593,-2994.324,307.3567,0,0,0,100,0,0), +(@PATH,45,5866.108,-2975.193,307.3089,0,0,0,100,0,0), +(@PATH,46,5863.831,-2970.042,307.3072,0,0,0,100,0,0), +(@PATH,47,5862.619,-2971.012,307.3227,0,0,0,100,0,0), +(@PATH,48,5859.727,-2966.575,307.32678,6000,0,0,100,0,0), +(@PATH,49,5838.149,-2976.351,296.4612,0,0,0,100,0,0), +(@PATH,50,5840.075,-2980.193,296.4609,0,0,0,100,0,0), +(@PATH,51,5841.883,-2981.336,296.4596,0,0,0,100,0,0), +(@PATH,52,5845.005,-2984.348,296.4602,0,0,0,100,0,0), +(@PATH,53,5847.249,-2989.125,296.461,0,0,0,100,0,0), +(@PATH,54,5850.176,-2994.417,296.4619,0,0,0,100,0,0), +(@PATH,55,5854.216,-3003.275,296.4633,0,0,0,100,0,0), +(@PATH,56,5857.905,-3012.948,296.4679,0,0,0,100,0,0), +(@PATH,57,5855.694,-3012.666,296.4679,6000,0,0,100,0,0), +(@PATH,58,5856.008,-3008.202,296.4679,0,0,0,100,0,0), +(@PATH,59,5852.001,-2999.263,296.4626,0,0,0,100,0,0), +(@PATH,60,5846.733,-2987.699,296.4607,0,0,0,100,0,0), +(@PATH,61,5841.884,-2981.688,296.4596,0,0,0,100,0,0), +(@PATH,62,5839.803,-2981.84,296.4595,6000,0,0,100,0,0), +(@PATH,63,5838.802,-2979.086,296.464,0,0,0,100,0,0), +(@PATH,64,5837.438,-2973.646,296.4601,0,0,0,100,0,0), +(@PATH,65,5834.321,-2966.102,296.4593,0,0,0,100,0,0), +(@PATH,66,5827.733,-2952.834,296.4597,0,0,0,100,0,0), +(@PATH,67,5824.319,-2947.607,296.4614,0,0,0,100,0,0), +(@PATH,68,5824.185,-2944.959,296.4594,0,0,0,100,0,0), +(@PATH,69,5823.141,-2942.902,296.4594,0,0,0,100,0,0), +(@PATH,70,5842.978,-2932.468,307.3301,0,0,0,100,0,0), +(@PATH,71,5842.981,-2931.031,307.3559,6000,0,0,100,0,2.07934), +(@PATH,72,5842.807,-2925.778,307.3042,0,0,0,100,0,0), +(@PATH,73,5836.683,-2912.875,307.3041,0,0,0,100,0,0), +(@PATH,74,5832.72,-2904.214,307.3027,0,0,0,100,0,0), +(@PATH,75,5824.013,-2894.033,307.3106,0,0,0,100,0,0); +-- 0xF130007592006C29 .go 5815.197 -2890.652 307.3073 + +-- Remove unneeded spawn +DELETE FROM `creature` WHERE `guid`=109649; +DELETE FROM `creature_addon` WHERE `guid`=109649; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_00_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_00_world_creature.sql new file mode 100644 index 00000000000..7749b46d5e4 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_00_world_creature.sql @@ -0,0 +1,15 @@ +-- Restore Lost Data +DELETE FROM `creature_addon` WHERE `guid` IN (14448,14449,14456,14458,14459); +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES +(14448,144480,1,0, '22766'), +(14449,144490,1,0, '22766'), +(14456,144560,1,0, '22766'), +(14458,144580,1,0, '22766'), +(14459,144590,1,0, '22766'); + +DELETE FROM `creature_template_addon` WHERE `entry`=3457; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`bytes2`,`mount`,`auras`) VALUES +(3457,0,1,0, '22766'); + +-- Fix respawn for Steelforged Defenders at Ulduar +UPDATE `creature` SET `spawntimesecs`=7200 WHERE (`id`=33236); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_01_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_01_world_creature.sql new file mode 100644 index 00000000000..64b0de97f34 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_01_world_creature.sql @@ -0,0 +1,3 @@ +-- Proper respawn time for a lot of mobs and delete incorrectly spawned mobs +DELETE FROM `creature` WHERE `id` IN (14397,15718); +UPDATE `creature` SET `spawntimesecs`=7200 WHERE (`map` IN (209,329,429,469,509,531) AND `spawntimesecs` IN (3520,3300,1800,1650)) OR `id` IN (12129,32593); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_02_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_02_world_creature.sql new file mode 100644 index 00000000000..29c83f882da --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_02_world_creature.sql @@ -0,0 +1,14 @@ +UPDATE `creature` SET `modelid`=0, `curhealth`=1, `curmana`=0 WHERE `id`=2591; +UPDATE `creature` SET `modelid`=0, `curhealth`=1, `curmana`=0 WHERE `id`=4844; +UPDATE `creature` SET `modelid`=0, `curhealth`=1 WHERE `id`=5471; +UPDATE `creature` SET `modelid`=0, `curhealth`=1 WHERE `id`=5615; +UPDATE `creature` SET `modelid`=0, `curhealth`=1, `MovementType`=0 WHERE `guid` IN (200617,200618); +UPDATE `creature` SET `modelid`=0, `curhealth`=1, `curmana`=0 WHERE `id`=14876; +UPDATE `creature` SET `MovementType`=0 WHERE `guid` IN (14564,14556,151934,151935,151936,151947,151948,151949,151995,151996,151997,151998,201735,201757,201764,28686,152002,152003,151979,151959,151940,151937,209098,209097,202337,78554,78555,200615,42880,152311,152315); +DELETE FROM `creature_addon` WHERE `guid` IN (7690,23130,23466,23467,14564,128582); +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES +(7690,76900,1,0, ''), +(23130,231300,1,0, ''), +(23466,234660,1,0, ''), +(23467,234670,1,0, ''), +(128582,1285820,1,0, ''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_03_world_instance_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_03_world_instance_template.sql new file mode 100644 index 00000000000..2a22dfcf774 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_21_03_world_instance_template.sql @@ -0,0 +1 @@ +UPDATE `instance_template` SET `script`= 'instance_the_black_morass' WHERE `map`=269; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_23_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_23_00_world_misc.sql new file mode 100644 index 00000000000..981f1236dfd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_23_00_world_misc.sql @@ -0,0 +1,10 @@ +-- Delete no longer used data from World Database +DELETE FROM `game_event_condition` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event_creature_quest` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event_npc_vendor` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event_npcflag` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event_prerequisite` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event_quest_condition` WHERE `eventEntry` BETWEEN 33 AND 47; +DELETE FROM `game_event` WHERE `description` LIKE '%Shattered Sun Offensive:%'; + +UPDATE `creature_template` SET `lootid`=0 WHERE `entry`=29833; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_23_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_23_01_world_misc.sql new file mode 100644 index 00000000000..f98b1f2f7ab --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_23_01_world_misc.sql @@ -0,0 +1,3 @@ +-- Move Blackhand Incarcerator to core scripting +UPDATE `creature_template` SET `AIName`= '',`ScriptName`= 'npc_blackhand_incarcerator' WHERE `entry`=10316; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10316; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_00_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_00_world_creature_text.sql new file mode 100644 index 00000000000..6419e43ad14 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_00_world_creature_text.sql @@ -0,0 +1,22 @@ +-- Text for Lord Victor Nefarius from sniff +SET @VICTOR := 10162; +SET @REND := 10429; +DELETE FROM `creature_text` WHERE `entry` IN (@VICTOR,@REND); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +-- Lord Victor Nefarius texts UBRS +(@VICTOR,0,0,"Excellent... it would appear as if the meddlesome insects have arrived just in time to feed my legion. Welcome, mortals!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,1,0,"Let not even a drop of their blood remain upon the arena floor, my children. Feast on their souls!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,2,0,"Foolsss... Kill the one in the dress!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,3,0,"Inconceivable!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,4,0,"Your efforts will prove fruitless. None shall stand in our way!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,5,0,"Do not force my hand, children! I shall use your hides to line my boots.",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,6,0,"Use the freezing breath, imbecile!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,7,0,"THIS CANNOT BE!!! Rend, deal with these insects.",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,8,0,"The Warchief shall make quick work of you, mortals. Prepare yourselves!",14,0,100,25,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,9,0,"Your victory shall be short lived. The days of both the Alliance and Horde are coming to an end! The next time we meet shall be the last.",14,0,100,5,0,0,'Lord Victor Nefarius (UBRS)'), +-- Lord Victor Nefarius texts BWL +(@VICTOR,10,0,"In this world where time is your enemy, it is my greatest ally. This grand game of life that you think you play in fact plays you. To that I say...",12,0,100,22,0,0,'Lord Victor Nefarius SAY_GAMESBEGIN_1 (BWL)'), +(@VICTOR,11,0,"Let the games begin!",14,0,100,22,0,8280,'Lord Victor Nefarius SAY_GAMESBEGIN_2 (BWL)'), +(@VICTOR,12,0,"Ah, the heroes. You are persistent, aren't you. Your allied attempted to match his power against mine, and had to pay the price. Now he shall serve me, by slaughtering you. Get up little red wyrm and destroy them!",14,0,100,22,0,8279,'Lord Victor Nefarius SAY_VAEL_INTRO (BWL)'), +-- Warchief Rend Blackhand text +(@REND,0,0,"With pleasure...",14,0,100,0,0,0,'Warchief Rend Blackhand'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_01_world_misc.sql new file mode 100644 index 00000000000..54487e129de --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_01_world_misc.sql @@ -0,0 +1,195 @@ +-- Add Missing Gossip Menu for Lord Victor Nefarius +UPDATE `creature_template` SET `gossip_menu_id`=21330 WHERE `entry`=10162; + +-- Add Missing Gossip Menu items for Lord Victor Nefarius +DELETE FROM `gossip_menu` WHERE `entry`=21330 AND `text_id`=7134; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21330,7134); +DELETE FROM `gossip_menu` WHERE `entry`=21331 AND `text_id`=7198; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21331,7198); +DELETE FROM `gossip_menu` WHERE `entry`=21332 AND `text_id`=7199; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21332,7199); + +-- Add Missing Gossip Menu options for Lord Victor Nefarius +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (21330,21331,21332); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(21330,0,0, 'I''ve made no mistakes.',1,1,21331,0,0,0, ''), +(21331,0,0, 'You have lost your mind, Nefarius. You speak in riddles.',1,1,21332,0,0,0, ''), +(21332,0,0, 'Please do.',1,1,0,0,0,0, ''); + +-- Add Missing Gossip Menu for Vaelastrasz the Corrupt +UPDATE `creature_template` SET `gossip_menu_id`=21333 WHERE `entry`=13020; + +-- Add Missing Gossip Menu items for Vaelastrasz the Corrupt +DELETE FROM `gossip_menu` WHERE `entry`=21333 AND `text_id`=7156; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21333,7156); +DELETE FROM `gossip_menu` WHERE `entry`=21334 AND `text_id`=7256; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (21334,7256); + +-- Add Missing Gossip Menu options for Vaelastrasz the Corrupt +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (21333,21334); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(21333,0,0, 'I cannot Vaelastraz! Surely something can be done to heal you!',1,1,21334,0,0,0, ''), +(21334,0,0, 'Vaelastraz, no!!',1,1,21332,0,0,0, ''); + +-- Add missing text for Nefarian +SET @NEFARIAN := 11583; +DELETE FROM `creature_text` WHERE `entry`=@NEFARIAN AND `groupid`=13; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NEFARIAN,13,0,"'Death Knights, get over here!'",14,0,100,0,0,0,'nefarian SAY_DEATH_KNIGHT'); + +-- wrong creature spawn +DELETE FROM creature WHERE guid IN (84511, 84510, 84509, 84505, 84444, 84404, 84393); +DELETE FROM creature WHERE guid IN (84496, 84489, 84487, 84439, 84437, 84405, 84403); +DELETE FROM creature WHERE guid IN (84503, 84494, 84493, 84392); +DELETE FROM creature WHERE guid IN (84486, 84484, 84436); +DELETE FROM creature WHERE guid IN (84495, 84432, 84406); + +UPDATE creature_template SET spell2=19873, spell3=19872, spell4=0 WHERE entry=12435; +UPDATE gameobject_template SET ScriptName='go_orb_of_domination' WHERE entry=177808; + +DELETE FROM spell_script_names WHERE spell_id=19873; +INSERT INTO spell_script_names (spell_id, ScriptName) VALUES +(19873, 'spell_egg_event'); + +DELETE FROM spell_linked_spell WHERE spell_trigger=42013 AND spell_effect=45537; +INSERT INTO spell_linked_spell (spell_trigger, spell_effect, comment) VALUES +(42013, 45537, 'Visual Channel'); + +-- nefarian +REPLACE INTO spell_target_position (id, target_map, target_position_x, target_position_y, target_position_z, target_orientation) VALUES +(22981, 469, -7536.73, -1280.18, 476.799, 2.11467), +(22982, 469, -7503.34, -1163.17, 476.797, 2.57019), +(22983, 469, -7482.73, -1196.49, 476.799, 2.31887), +(22984, 469, -7462.38, -1224.99, 476.786, 2.37385), +(22978, 469, -7534.08, -1198.57, 476.799, 2.23641), +(22979, 469, -7514.02, -1224.35, 476.8, 2.21677), +(22980, 469, -7496.05, -1248.45, 476.799, 2.09111), +(22972, 469, -7516.38, -1263.78, 476.773, 2.18536), +(22975, 469, -7582.36, -1213.9, 476.799, 2.17357), +(22976, 469, -7564.18, -1240.31, 476.799, 2.17357), +(22977, 469, -7550.29, -1260.5, 476.799, 2.17357); + +UPDATE creature_template SET InhabitType=7 WHERE entry=11583; + +-- Add missing go spawns + +-- doors +SET @OGUID = 7226; -- 7230 +DELETE FROM gameobject WHERE guid BETWEEN @OGUID AND @OGUID+4; +INSERT INTO gameobject (guid, id, map, position_x, position_y, position_z, orientation, rotation2, rotation3, spawntimesecs, state) VALUES +(@OGUID , 181125, 469, -7488.35, -1150.67, 476.534, 0.674574, 0.330928, 0.943656, 300, 1), +(@OGUID+1, 185483, 469, -7455.08, -1051.84, 476.556, 2.17155, 0.884665, 0.466227, 300, 1), +(@OGUID+2, 180424, 469, -7565.34, -1029.19, 449.142, 3.75568, 0.953231, -0.302244, 300, 1), +(@OGUID+3, 175185, 469, -7520.27, -972.05, 423.429, 5.32599, 0.460536, -0.887641, 300, 1), +(@OGUID+4, 175946, 469, -7552.26, -1022.92, 408.491, 3.75109, 0.953922, -0.300053, 300, 1); +-- SELECT * FROM gameobject where id IN(181125,185483,180424,175185,175946); + +SET @OGUID := 56158; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+19; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 179121, 469, 1, 1, -7683.71, -1052.777, 440.6431, 3.752462, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+1, 179122, 469, 1, 1, -7691.453, -1040.233, 440.6851, 3.752462, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+2, 153723, 469, 1, 1, -7752.402, -1155.65, 396.6956, 3.33359, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+3, 179148, 469, 1, 1, -7510.984, -1094.69, 476.5545, 5.340709, 0, 0, 0, 1, 7200, 255, 1), +(@OGUID+4, 149045, 469, 1, 1, -6904.809, -1206.778, 178.5116, 2.984498, 0, 0, 1, -4.371139E-08, 7200, 255, 1), +(@OGUID+5, 149046, 469, 1, 1, -6900.417, -1339.326, 239.6519, 3.394674, 0, 0, 1, -4.371139E-08, 7200, 255, 1), +(@OGUID+6, 161536, 469, 1, 1, -6756.733, -1166.698, 187.0418, 1.317723, 0, 0, 0.9969173, -0.07845917, 7200, 255, 1), +(@OGUID+7, 179113, 469, 1, 1, -7629.542, -1017.326, 413.3823, 6.06502, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+8, 179112, 469, 1, 1, -7628.558, -1012.672, 413.3823, 5.750863, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+9, 179114, 469, 1, 1, -7627.558, -1009.027, 413.3823, 5.366888, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+10, 179111, 469, 1, 1, -7623.486, -1009.636, 413.3823, 4.89565, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+11, 179110, 469, 1, 1, -7618.736, -1009.88, 413.3823, 4.651303, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+12, 180632, 469, 1, 1, -7554.886, -1039.864, 449.2131, 2.967041, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+13, 180631, 469, 1, 1, -7545.932, -978.4827, 449.2131, 2.967041, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+14, 179106, 469, 1, 1, -7468.113, -1047.162, 411.971, 0.6108655, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+15, 179105, 469, 1, 1, -7466.616, -1042.562, 411.9711, 2.18166, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+16, 179104, 469, 1, 1, -7464.983, -1041.419, 411.9711, 2.18166, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+17, 179108, 469, 1, 1, -7464.785, -1048.651, 411.971, 2.18166, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+18, 179107, 469, 1, 1, -7459.672, -1041.251, 411.971, 3.752462, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), +(@OGUID+19, 179109, 469, 1, 1, -7459.427, -1044.899, 411.971, 2.18166, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1); + +-- eggs for razorgore +SET @OGUID := 74165; -- 74181 +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID AND @OGUID+29; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 177807, 469, 1, 1, -7549.479, -1069.964, 408.4904, 5.759587, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+1, 177807, 469, 1, 1, -7554.418, -1061.5, 408.4904, 3.996807, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+2, 177807, 469, 1, 1, -7563.152, -1088.705, 413.3812, 5.829401, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+3, 177807, 469, 1, 1, -7564.887, -1058.87, 408.4904, 2.286379, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+4, 177807, 469, 1, 1, -7566.002, -1045.929, 408.4904, 3.054327, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+5, 177807, 469, 1, 1, -7568.273, -1097.68, 413.3809, 2.792518, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+6, 177807, 469, 1, 1, -7568.621, -1086.578, 413.3812, 0.8552105, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+7, 177807, 469, 1, 1, -7569.38, -1079.727, 413.3812, 3.595379, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+8, 177807, 469, 1, 1, -7572.491, -1095.034, 413.3812, 3.42085, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+9, 177807, 469, 1, 1, -7576.924, -1083.691, 413.3812, 3.38594, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+10, 177807, 469, 1, 1, -7577.844, -1035.97, 408.4904, 5.166176, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+11, 177807, 469, 1, 1, -7578.64, -1089.948, 413.3812, 2.216565, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+12, 177807, 469, 1, 1, -7579.486, -1051.485, 408.1571, 0.523598, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+13, 177807, 469, 1, 1, -7580.799, -1067.292, 408.4904, 3.298687, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+14, 177807, 469, 1, 1, -7584.68, -1075.842, 408.4904, 3.019413, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+15, 177807, 469, 1, 1, -7586.365, -1024.429, 408.4904, 3.351047, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+16, 177807, 469, 1, 1, -7588.843, -1053.786, 408.1571, 4.555311, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+17, 177807, 469, 1, 1, -7592.354, -1010.842, 408.4904, 3.735006, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+18, 177807, 469, 1, 1, -7592.379, -1035.677, 408.1571, 1.623156, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+19, 177807, 469, 1, 1, -7594.374, -1102.896, 408.4904, 5.375615, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+20, 177807, 469, 1, 1, -7597.528, -1094.538, 408.4904, 2.373644, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+21, 177807, 469, 1, 1, -7598.997, -1044.769, 408.1571, 5.253442, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+22, 177807, 469, 1, 1, -7601.142, -1077.111, 408.2178, 5.009095, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+23, 177807, 469, 1, 1, -7604.356, -1060.245, 408.1571, 3.508117, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+24, 177807, 469, 1, 1, -7609.944, -1035.106, 408.4904, 4.34587, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+25, 177807, 469, 1, 1, -7611.604, -1020.322, 413.3812, 3.089183, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+26, 177807, 469, 1, 1, -7618.098, -1069.328, 408.4904, 4.956738, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+27, 177807, 469, 1, 1, -7619.756, -1058.941, 408.4904, 1.815142, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+28, 177807, 469, 1, 1, -7626.688, -1011.714, 413.3809, 0.2268925, 0, 0, 0, 1, 7200, 255, 1), -- Black Dragon Egg (Area: 0) +(@OGUID+29, 177807, 469, 1, 1, -7628.317, -1044.573, 408.4904, 6.108654, 0, 0, 0, 1, 7200, 255, 1); -- Black Dragon Egg (Area: 0) +-- SELECT * FROM gameobject where id IN(177807); + +SET @OGUID := 75120; -- 75157 +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID AND @OGUID+45; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 179784, 469, 1, 1, -7572.59, -1062.572, 449.1642, 0.5410506, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+1, 179784, 469, 1, 1, -7593.775, -1063.449, 449.1642, 0.4712385, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+2, 179784, 469, 1, 1, -7595.269, -1030.421, 449.1642, 0.3141584, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+3, 179784, 469, 1, 1, -7595.774, -1080.002, 449.1642, 0.5585039, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+4, 179784, 469, 1, 1, -7605.952, -1045.063, 449.1642, 0.6457717, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+5, 179784, 469, 1, 1, -7609.894, -1061.456, 449.1642, 0.4188786, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+6, 179784, 469, 1, 1, -7616.209, -997.0844, 440.2823, 0.2094394, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+7, 179784, 469, 1, 1, -7619.151, -1047.152, 449.1642, 0.5061446, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+8, 179784, 469, 1, 1, -7620.089, -1075.735, 449.1642, 0.4712385, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+9, 179784, 469, 1, 1, -7626.954, -981.3593, 440.0226, 0.157079, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+10, 179784, 469, 1, 1, -7627.983, -1095.305, 449.1642, 0.5410506, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+11, 179784, 469, 1, 1, -7629.779, -1061.484, 449.1642, 0.6283169, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+12, 179784, 469, 1, 1, -7630.286, -1005.49, 440.2624, 0.4014249, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+13, 179784, 469, 1, 1, -7637.638, -965.0227, 440.2754, 0.01745246, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+14, 179784, 469, 1, 1, -7637.933, -1081.127, 449.1642, 0.453785, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+15, 179784, 469, 1, 1, -7640.291, -991.3019, 440.2628, 0.453785, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+16, 179784, 469, 1, 1, -7642.733, -1015.651, 440.2449, 0.4712385, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+17, 179784, 469, 1, 1, -7647.777, -1066.966, 449.1642, 0.5585039, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+18, 179784, 469, 1, 1, -7650.901, -975.7917, 440.2633, 0.2268925, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+19, 179784, 469, 1, 1, -7651.322, -1103.534, 449.1642, 0.523598, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+20, 179784, 469, 1, 1, -7653.694, -999.9188, 439.9861, 0.5061446, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+21, 179784, 469, 1, 1, -7656.672, -1024.323, 440.2567, 0.5061446, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+22, 179784, 469, 1, 1, -7663.989, -1084.885, 449.1642, 0.6283169, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+23, 179784, 469, 1, 1, -7664.824, -984.0574, 440.2471, 0.3141584, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+24, 179784, 469, 1, 1, -7665.261, -1113.61, 449.1642, 0.523598, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+25, 179784, 469, 1, 1, -7667.542, -1008.341, 440.2592, 0.523598, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+26, 179784, 469, 1, 1, -7669.463, -1034.205, 440.244, 0.5410506, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+27, 179784, 469, 1, 1, -7677.631, -994.4258, 440.2595, 0.383971, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+28, 179784, 469, 1, 1, -7677.684, -1095.238, 449.1351, 0.6283169, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+29, 179784, 469, 1, 1, -7680.108, -1123.294, 449.1051, 0.523598, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+30, 179784, 469, 1, 1, -7680.508, -1018.701, 439.9826, 0.5585039, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+31, 179784, 469, 1, 1, -7686.851, -1047.039, 440.3709, 0.5585039, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+32, 179784, 469, 1, 1, -7691.257, -1002.378, 440.2438, 0.4188786, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+33, 179784, 469, 1, 1, -7691.966, -1105.405, 449.13, 0.6283169, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+34, 179784, 469, 1, 1, -7699.204, -1030.978, 440.5882, 0.5585039, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+35, 179784, 469, 1, 1, -7709.169, -1017.005, 440.4458, 0.4712385, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+36, 179784, 469, 1, 1, -7713.143, -1060.038, 445.1762, 5.096362, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+37, 179784, 469, 1, 1, -7716.096, -1077.452, 445.1762, 0.8726639, 0, 0, 0, 1, 7200, 255, 1), -- Suppression Device (Area: 0) +(@OGUID+38, 176964, 469, 1, 1, -7639.43, -1083.943, 408.5284, 3.752462, 0, 0, 0.9537169, -0.3007059, 7200, 255, 0), -- Portcullis (Area: 0) +(@OGUID+39, 179365, 469, 1, 1, -7568.426, -1031.59, 449.1086, 3.752462, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), -- Portcullis (Area: 0) +(@OGUID+40, 176965, 469, 1, 1, -7552.37, -1022.984, 408.5284, 3.752462, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), -- Portcullis (Area: 0) +(@OGUID+41, 179116, 469, 1, 1, -7506.288, -1043.155, 480.03, 0.6108655, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), -- Portcullis (Area: 0) +(@OGUID+42, 176966, 469, 1, 1, -7488.173, -1150.542, 476.712, 0.6108655, 0, 0, 0.9537169, -0.3007059, 7200, 255, 0), -- Portcullis (Area: 0) +(@OGUID+43, 179364, 469, 1, 1, -7531.224, -956.4108, 428.2516, 5.323256, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), -- Portcullis (Area: 0) +(@OGUID+44, 179117, 469, 1, 1, -7464, -1103.549, 480.03, 0.6108655, 0, 0, 0.9537169, -0.3007059, 7200, 255, 1), -- Portcullis (Area: 0) +(@OGUID+45, 179115, 469, 1, 1, -7455.243, -1051.711, 480.03, 2.18166, 0, 0, 0.9537169, -0.3007059, 7200, 255, 0); -- Portcullis (Area: 0) diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_02_world_misc.sql new file mode 100644 index 00000000000..9468fd00b8b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_24_02_world_misc.sql @@ -0,0 +1,2 @@ +UPDATE `gameobject` SET `state`=1 WHERE `guid` IN (56162,56163); -- correct? +DELETE FROM `linked_respawn` WHERE `guid` NOT IN (SELECT `guid` FROM `creature`); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_00_world_player_factionchange_spells.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_00_world_player_factionchange_spells.sql new file mode 100644 index 00000000000..ee50f3ea952 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_00_world_player_factionchange_spells.sql @@ -0,0 +1,5 @@ +DELETE FROM `player_factionchange_spells` WHERE `alliance_id`=60118 AND `horde_id`=60119; -- Black War Bear +DELETE FROM `player_factionchange_spells` WHERE `alliance_id`=59785 AND `horde_id`=59788; -- Black War Mammoth +INSERT INTO `player_factionchange_spells` (`alliance_id`, `horde_id`) VALUES +(60118, 60119), -- Black War Bear +(59785, 59788); -- Black War Mammoth diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_00_world_sai.sql new file mode 100644 index 00000000000..cd316bf4732 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_00_world_sai.sql @@ -0,0 +1,106 @@ +-- The Sum is Greater than the Parts (13043) +-- http://www.youtube.com/watch?v=dg84C1d-sxw + +SET @QUEST := 13043; -- The quest...Duh! +SET @NPC_NERGELD := 30403; -- Nergeld +SET @NPC_DR_TERRIBLE := 30404; -- Dr. Terrible +SET @NPC_HOUND := 30432; -- Grimmr Hound +SET @NPC_ASSAILANT := 30471; -- Vargul Assailant +SET @AURA_ROOT := 59037; -- The Sum is Greater than the Parts: Nergeld's Freeze Anim +SET @SPELL_DEATH_SIGNAL := 32067; -- The Sum is Greater than the Parts: Dr. Terrible's Death Signal +SET @SPELL_MOUNT := 56699; -- Controlling Nergeld + +-- Remove random movement from Nergeld +UPDATE `creature` SET `spawndist`=0,`MovementType`=0 WHERE `guid`=124127; +DELETE FROM `creature_addon` WHERE `guid`=124127; + +UPDATE `creature_model_info` SET `combat_reach`=4.05 WHERE `modelid`=27102; + +UPDATE `creature_template` SET `AIName`='SmartAI',`spell1`=56746,`spell2`=56748,`spell3`=56747,`spell4`=60540,`speed_run`=0.992062866687775,`VehicleId`=236,`unit_flags`=256|32768/*256|512|32768*/,`npcflag`=0x1000000 WHERE `entry`=@NPC_NERGELD; +UPDATE `creature_template` SET `faction_A`=974,`faction_H`=974,`unit_flags`=32768,`AIName`='SmartAI' WHERE `entry`=@NPC_HOUND; +UPDATE `creature_template` SET `faction_A`=2116,`faction_H`=2116,`unit_flags`=32768,`AIName`='SmartAI' WHERE `entry`=@NPC_ASSAILANT; +UPDATE `creature_template` SET `faction_A`=974,`faction_H`=974,`unit_flags`=32832,`AIName`='SmartAI' WHERE `entry`=@NPC_DR_TERRIBLE; + +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_NERGELD; +INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES +(@NPC_NERGELD,0,0x0,0x1,''); -- 59037 The Sum is Greater than the Parts: Nergeld's Freeze Anim + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=16 AND `SourceEntry`=@NPC_NERGELD) OR (`SourceTypeOrReferenceId`=13 AND `SourceEntry`=56747) OR (`SourceTypeOrReferenceId`=13 AND `SourceEntry`=56746) OR (`SourceTypeOrReferenceId`=18 AND `SourceEntry`=@SPELL_MOUNT) OR(`SourceTypeOrReferenceId`=13 AND `SourceEntry`=@SPELL_DEATH_SIGNAL); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(16,0,@NPC_NERGELD,0,0,23,0,4595,0,0,0,0,0,'','Dismount player when not in intended zone'), +(13,1,56747,0,0,31,0,3,@NPC_ASSAILANT,0,0,0,0,'','Stomp can target Vargul Assailant'), +(13,1,56747,0,1,31,0,3,@NPC_HOUND,0,0,0,0,'','Stomp can target Grimmr Hound'), +(13,1,56747,0,2,31,0,3,@NPC_DR_TERRIBLE,0,0,0,0,'','Stomp can target Dr. Terrible'), +(13,1,56746,0,0,31,0,3,@NPC_ASSAILANT,0,0,0,0,'','Punch can target Vargul Assailant'), +(13,1,56746,0,1,31,0,3,@NPC_HOUND,0,0,0,0,'','Punch can target Grimmr Hound'), +(13,1,56746,0,2,31,0,3,@NPC_DR_TERRIBLE,0,0,0,0,'','Punch can target Dr. Terrible'), +(18,@NPC_NERGELD,@SPELL_MOUNT,0,0,28,0,@QUEST,0,0,1,0,0,'','Spellclick when quest not complete'), +(18,@NPC_NERGELD,@SPELL_MOUNT,0,0,9,0,@QUEST,0,0,0,0,0,'','Spellclick when quest taken'), +(13,2,@SPELL_DEATH_SIGNAL,0,1,31,0,3,@NPC_DR_TERRIBLE,0,0,0,0,'','Dr. Terrible''s Death Signal effect1 targets Dr. Terrible'), +(13,1,@SPELL_DEATH_SIGNAL,0,1,31,0,3,@NPC_NERGELD,0,0,0,0,'','Dr. Terrible''s Death Signal effect0 targets Nergeld'); + + + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@NPC_NERGELD,@NPC_DR_TERRIBLE,@NPC_HOUND,@NPC_ASSAILANT) OR (`source_type`=9 AND `entryorguid`=@NPC_NERGELD*100); +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 +-- Nergeld +(@NPC_NERGELD,0,0,0,11,0,100,0,0,0,0,0,75,@AURA_ROOT,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Respawn add root aura'), +(@NPC_NERGELD,0,1,0,28,0,100,0,0,0,0,0,75,@AURA_ROOT,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Passenger Removed add root aura'), +(@NPC_NERGELD,0,2,3,27,0,100,0,0,0,0,0,28,@AURA_ROOT,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Passenger Boarded remove root aura'), +(@NPC_NERGELD,0,3,4,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Passenger Boarded Talk'), +(@NPC_NERGELD,0,4,5,61,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Passenger Boarded Set State Passive'), +(@NPC_NERGELD,0,5,0,61,0,100,0,0,0,0,0,80,@NPC_NERGELD*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'On Passenger Boarded Run SCript'), +(@NPC_NERGELD,0,6,7,8,0,100,0,@SPELL_DEATH_SIGNAL,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Spellhit Say'), +(@NPC_NERGELD,0,7,0,61,0,100,0,0,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Spellhit Die'), +-- Wave 1 05:22:46.000 +(@NPC_NERGELD*100,9,0,0,0,0,100,0,5000,5000,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,7993.895,3336.905,632.3955,0.1457695,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,1,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8003.723,3323.562,632.3955,0.6487832,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,2,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8026.945,3307.581,632.3955,1.482069,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,3,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8001.774,3306.377,632.3955,0.8634474,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,4,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,7987.904,3308.895,632.3955,0.6805801,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,5,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8016.516,3318.92,632.3956,0.940311,'On Script - Spawn Vargul'), +-- Wave 2 05:23:06.000 +(@NPC_NERGELD*100,9,6,0,0,0,100,0,30000,30000,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,7996.656,3308.777,632.3955,0.7732307,'On Script - Spawn Grimmr Hound'), +(@NPC_NERGELD*100,9,7,0,0,0,100,0,0,0,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,8011.714,3315.362,632.3955,0.9011694,'On Script - Spawn Grimmr Hound'), +(@NPC_NERGELD*100,9,8,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8000.665,3317.225,632.3955,0.7105912,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,9,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8025.243,3313.552,632.3955,1.286934,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,10,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8007.712,3337.127,632.3955,0.4072851,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,11,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8009.925,3319.814,632.3955,0.8048422,'On Script - Spawn Vargul'), +-- Wave 3 05:23:26.000 +(@NPC_NERGELD*100,9,12,0,0,0,100,0,30000,30000,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,8021.793,3312.446,632.3955,1.130859,'On Script - Spawn Grimmr Hound'), +(@NPC_NERGELD*100,9,13,0,0,0,100,0,0,0,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,8001.362,3332.711,632.3955,0.4433513,'On Script - Spawn Grimmr Hound'), +(@NPC_NERGELD*100,9,14,0,0,0,100,0,0,0,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,7999.219,3302.518,632.3955,0.8723419,'On Script - Spawn Grimmr Hound'), +(@NPC_NERGELD*100,9,15,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8000.495,3345.769,632.3955,5.823889,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,16,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8001.774,3311.945,632.3955,0.797157,'On Script - Spawn Vargul'), +(@NPC_NERGELD*100,9,17,0,0,0,100,0,0,0,0,0,12,@NPC_ASSAILANT,2,300000,0,0,0,8,0,0,0,8012.214,3325.824,632.3955,0.7376673,'On Script - Spawn Vargul'), +-- Wave 4 05:23:47.000 +(@NPC_NERGELD*100,9,18,0,0,0,100,0,31000,31000,0,0,12,@NPC_DR_TERRIBLE,2,300000,0,1,0,8,0,0,0,7985.901,3296.679,632.4788,0.8377581,'On Script - Spawn Dr. Terrible'), +(@NPC_NERGELD*100,9,19,0,0,0,100,0,0,0,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,7982.587,3301.807,632.4788,0.6981317,'On Script - Spawn Grimmr Hound'), +(@NPC_NERGELD*100,9,20,0,0,0,100,0,0,0,0,0,12,@NPC_HOUND,2,300000,0,0,0,8,0,0,0,7991.366,3293.512,632.4788,0.9075712,'On Script - Spawn Grimmr Hound'), +-- Dr. Terrible +(@NPC_DR_TERRIBLE,0,0,0,25,0,100,0,0,0,0,0,49,0,0,0,0,0,0,19,@NPC_NERGELD,0,0,0,0,0,0,'On spawn attack npc'), +(@NPC_DR_TERRIBLE,0,1,0,4,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Say on Aggro'), +(@NPC_DR_TERRIBLE,0,2,0,0,0,100,0,8000,8000,15000,19000,11,61143,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Crazed Chop'), +(@NPC_DR_TERRIBLE,0,3,0,0,0,100,0,10000,12000,28000,33000,11,61146,0,0,0,0,0,5,0,0,0,0,0,0,0,'Cast Slime Stream'), +(@NPC_DR_TERRIBLE,0,4,5,2,0,100,1,0,45,0,0,11,31730,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Heal at 45% HP'), +(@NPC_DR_TERRIBLE,0,5,0,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Say Text'), +(@NPC_DR_TERRIBLE,0,6,7,6,0,100,1,0,0,0,0,11,@SPELL_DEATH_SIGNAL,2,0,0,0,0,1,0,0,0,0,0,0,0,'Cast on Death'), +(@NPC_DR_TERRIBLE,0,7,0,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Say on Death'), +-- Grimmr Hound +(@NPC_HOUND,0,0,0,25,0,100,0,0,0,0,0,49,0,0,0,0,0,0,19,@NPC_NERGELD,0,0,0,0,0,0,'On spawn attack npc'), +(@NPC_HOUND,0,1,0,8,0,100,0,@SPELL_DEATH_SIGNAL,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Spellhit Despawn'), +-- Vargul Assailant +(@NPC_ASSAILANT,0,0,0,25,0,100,0,0,0,0,0,49,0,0,0,0,0,0,19,@NPC_NERGELD,0,0,0,0,0,0,'On spawn attack npc'), +(@NPC_ASSAILANT,0,1,0,8,0,100,0,@SPELL_DEATH_SIGNAL,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Spellhit Despawn'), +(@NPC_ASSAILANT,0,2,0,0,0,100,0,4500,5599,13400,15600,11,43410,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cast Chop'), +(@NPC_ASSAILANT,0,3,0,0,0,100,0,8000,9000,35000,37000,11,23262,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cast Demoralize'); + + +-- NPC talk text insert +DELETE FROM `creature_text` WHERE `entry` IN (@NPC_DR_TERRIBLE,@NPC_NERGELD); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@NPC_DR_TERRIBLE,0,0,'WHO DARES?! I AM GOING TO FLAY THE FLESH FROM YOUR BONES EVEN IF I HAVE TO DESTROY NERGELD TO GET TO YOU!',14,0,100,0,0,0,'Dr. Terrible'), +(@NPC_DR_TERRIBLE,1,0,'Now the nightmare''s real.Now Dr. Terrible is here.To make you quake with fear.To make the whole world kneel.And I won''t feel ...a thing',12,0,100,0,0,0,'Dr. Terrible'), +(@NPC_DR_TERRIBLE,2,0,'I''LL RISE AGAIN AND WHEN I DO I WILL HAVE MY REVENGE!.',14,0,100,0,0,0,'Dr. Terrible to Nergeld'), +(@NPC_NERGELD,0,0,'As you jump into Nergeld, the rotting flesh of the construct comes to life.',16,0,100,0,0,0,'Nergeld'), +(@NPC_NERGELD,1,0,'%s falls to pieces.',16,0,100,0,0,0,'Nergeld to Dr. Terrible'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_01_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_01_world_sai.sql new file mode 100644 index 00000000000..c2c54eebcc3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_01_world_sai.sql @@ -0,0 +1,118 @@ +SET @CGUID := 15; +SET @GOGUID := 5196; -- Set by TDB, these are free guids. +SET @KC_TARGET := 31773; +SET @KC_TARGET2 := 32442; +SET @PC_BUNNY := 32445; +SET @SUMM_PC_BUNNY := 61026; +SET @GREEN_SPLASH := 60059; +SET @SPELL := 59655; +SET @SPELL_DOSE := 59659; +SET @GHOUL := 32178; +SET @LIVING_PLAGUE := 32181; +SET @SUMMON_LPLAGUE := 60058; +SET @SUMMON_GHOUL := 60056; +SET @RADIATION_AURA := 45797; +SET @KILL_CREDIT := 31767; + +UPDATE `creature_template` SET `minlevel`=80, `maxlevel`=80, `faction_A`=21, `faction_H`=21, `speed_walk`=1.142857, `speed_run`=1, `mindmg`=286, `maxdmg`=322, `rangeattacktime`=2000, `unit_flags`=32768, `dynamicflags`=0, `Health_mod`=3 WHERE `entry`=32181; -- Living Plague +UPDATE `creature_template` SET `minlevel`=80, `maxlevel`=80, `faction_A`=21, `faction_H`=21, `speed_walk`=1.428571, `speed_run`=4, `mindmg`=98, `maxdmg`=134, `rangeattacktime`=2000, `unit_flags`=32768, `dynamicflags`=0, `Health_mod`=4 WHERE `entry`=32178; -- Rampaging Ghoul +UPDATE `creature_template` SET `speed_walk`=1.142857, `speed_run`=1, `rangeattacktime`=2000, `dynamicflags`=0 WHERE `entry`=32442; -- Plague Cauldron Target 02 +UPDATE `creature_template` SET `speed_walk`=1.142857, `speed_run`=1, `rangeattacktime`=2000, `dynamicflags`=0 WHERE `entry`=31773; -- Plague Cauldron Target +UPDATE `creature_template` SET `modelid1`=21342, `modelid2`=0, `flags_extra`= 128 WHERE `entry`=@PC_BUNNY; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@KC_TARGET,@KC_TARGET2,@PC_BUNNY,@LIVING_PLAGUE,@GHOUL); +UPDATE `gameobject_template` SET `data1`=30 WHERE `entry`=300239; + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@LIVING_PLAGUE,@GHOUL); +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 +(@GHOUL, 0, 0, 0, 0, 0, 100,0, 5000, 17000, 29000, 42000, 11, 54475, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Ghoul - In Combat - Cast Rampage'), +(@GHOUL, 0, 1, 0, 0, 0, 100,0, 2000, 14000, 25000, 34000, 11, 6016, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Ghoul - In Combat - Cast Pierce Armor'), +(@GHOUL, 0, 2, 3, 54, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Ghoul - Just Summoned - Set React State Aggresive'), +(@GHOUL, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 46, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Ghoul - On Link - Move Forward'), +(@GHOUL, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Rampaging Ghoul - On Link - Attack Hostile Random'), +-- Living Plague AI +(@LIVING_PLAGUE, 0, 1, 2, 54, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Living Plague - Just Summoned - Set React State Aggresive'), +(@LIVING_PLAGUE, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 46, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Living Plague - On Link - Move Forward'), +(@LIVING_PLAGUE, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Living Plague - On Link - Attack Hostile Random'); + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@KC_TARGET; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@KC_TARGET*100); +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 +(@KC_TARGET, 0, 0, 1, 8, 0, 100, 0, @SPELL_DOSE, 0, 0, 0, 80, @KC_TARGET*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Bunny - On spell hit - Trigger script'), +(@KC_TARGET, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Target - On Link - Say Text 0'), +(@KC_TARGET, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, @RADIATION_AURA, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Target - On Link - Aura Radiation'), +(@KC_TARGET, 0, 3, 0, 38, 0, 100, 0, 1, 2, 0, 0, 28, @RADIATION_AURA, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Target - On Data Set - Remove Aura'), +(@KC_TARGET*100, 9, 0, 0, 0, 0, 100, 0, 4000, 4000, 4000, 4000, 11, @SUMM_PC_BUNNY, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'KC Target - Script - Summon Bunny'); + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@KC_TARGET2; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@KC_TARGET2*100); +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 +(@KC_TARGET2, 0, 0, 1, 8, 0, 100, 0, @SPELL_DOSE, 0, 0, 0, 80, @KC_TARGET*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Bunny - On spell hit - Trigger script'), +(@KC_TARGET2, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Target - On Link - Say Text 0'), +(@KC_TARGET2, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, @RADIATION_AURA, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Target - On Link - Aura Radiation'), +(@KC_TARGET2, 0, 3, 0, 38, 0, 100, 0, 1, 1, 0, 0, 28, @RADIATION_AURA, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'KC Target - On Data Set - Remove Aura'), +(@KC_TARGET2*100, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 2000, 2000, 11, @SUMM_PC_BUNNY, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'KC Target - Script - Summon Bunny'); + + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@PC_BUNNY; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@PC_BUNNY*100,@PC_BUNNY*100+1,@PC_BUNNY*100+2); +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 +(@PC_BUNNY, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 87, @PC_BUNNY*100, @PC_BUNNY*100+1, @PC_BUNNY*100+2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'PC Bunny - Just Summoned - Trigger script'), +(@PC_BUNNY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'PC Bunny - On Link - Say Text 0'), +(@PC_BUNNY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, @GREEN_SPLASH, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'PC Bunny - On Link - Cast cosmetic Green Splash'), +-- First Action Event +(@PC_BUNNY*100, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 2000, 2000, 11, @SUMMON_GHOUL, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Ghoul'), +(@PC_BUNNY*100, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, @KC_TARGET2, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Set Data 1 1'), +(@PC_BUNNY*100, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 19, @KC_TARGET, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Set Data 1 2'), +(@PC_BUNNY*100, 9, 6, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Despawn'), +-- Third Action Event +(@PC_BUNNY*100+2, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100+2, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100+2, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100+2, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100+2, 9, 5, 0, 0, 0, 100, 1, 10500, 10500, 10500, 10500, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Say 1'), +(@PC_BUNNY*100+2, 9, 6, 0, 0, 0, 100, 0, 2000, 2000, 2000, 2000, 11, @SUMMON_GHOUL, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Ghoul'), +(@PC_BUNNY*100+2, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100+2, 9, 8, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 11, @SUMMON_LPLAGUE, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Summon Living Plague'), +(@PC_BUNNY*100+2, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, @KC_TARGET2, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Set Data 1 1'), +(@PC_BUNNY*100+2, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 19, @KC_TARGET, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Set Data 1 2'), +(@PC_BUNNY*100+2, 9, 11, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Despawn'), +-- Second Action Event +(@PC_BUNNY*100+1, 9, 0, 0, 0, 0, 100, 0, 7000, 7000, 7000, 7000, 33, @KILL_CREDIT, 0, 0, 0, 0, 0, 21, 50, 0, 0, 0, 0, 0, 0, 'KC Target - On spellhit - Give quest credit'), +(@PC_BUNNY*100+1, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 1500, 1500, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Say 1'), +(@PC_BUNNY*100+1, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, @KC_TARGET2, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Set Data 1 1'), +(@PC_BUNNY*100+1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 19, @KC_TARGET, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Set Data 1 2'), +(@PC_BUNNY*100+1, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 1000, 1000, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'PC Bunny - On Script - Despawn'); + + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=59655; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 59655, 0, 1, 31, 0, 3, 31773, 0, 0, 0, 0, '', 'Neutralize Plague hits Plague Cauldron Target Bunny'), +(13, 1, 59655, 0, 0, 31, 0, 3, 32442, 0, 0, 0, 0, '', 'Neutralize Plague hits Plague Cauldron Target Bunny'); + +DELETE FROM `creature` WHERE `id` IN (31773,32442); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID, 31773, 571, 1, 1, 6776.598, 1628.575, 392.1221, 4.729842, 120, 0, 0), -- Plague Cauldron Target (Area: Mord'rethar: The Death Gate) +(@CGUID+1, 32442, 571, 1, 1, 6777.509, 1539.352, 392.1735, 1.623156, 120, 0, 0); -- Plague Cauldron Target 02 (Area: Mord'rethar: The Death Gate) + +DELETE FROM `gameobject` WHERE `id` IN (300239); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@GOGUID, 300239, 571, 1, 1, 6776.6, 1628.57, 390.922, 5.39315, 0, 0, 0.430474, -0.902603, 300, 0, 1), +(@GOGUID+1, 300239, 571, 1, 1, 6777.51, 1539.35, 390.874, 1.62316, 0, 0, 0.725376, 0.688353, 300, 0, 1); + + +DELETE FROM `creature_template_addon` WHERE `entry` IN (31150,32442,@LIVING_PLAGUE,@GHOUL); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(31150, 0, 0x0, 0x1, '50106'), -- +(32442, 0, 0x0, 0x1, ''), +(32181, 0, 0x0, 0x1, '61587'), -- Living Plague - Living Plague +(32178, 0, 0x0, 0x1, '58812'); -- Rampaging Ghoul - Ghoul Aura + +DELETE FROM `creature_text` WHERE `entry` IN (@KC_TARGET,@KC_TARGET2,@PC_BUNNY); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@PC_BUNNY, 0, 0, 'Something emerges from the cauldron!', 41, 0, 100, 0, 0, 0, 'Player Bunny'), +(@PC_BUNNY, 1, 0, 'The cauldron continues to boil...', 41, 0, 100, 0, 0, 0, 'Player Bunny'), +(@PC_BUNNY, 2, 0, 'Plague batch neutralized!', 41, 0, 100, 0, 0, 0, 'Player Bunny'), +(@KC_TARGET, 0, 0, 'The plague cauldron begins to boil vigorously!', 41, 0, 100, 0, 0, 0, 'Plague Cauldron Target'), +(@KC_TARGET2, 0, 0, 'The plague cauldron begins to boil vigorously!', 41, 0, 100, 0, 0, 0, 'Plague Cauldron Target 02'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_02_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_02_world_sai.sql new file mode 100644 index 00000000000..c394f74b51f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_02_world_sai.sql @@ -0,0 +1,32 @@ +SET @ENTRY := 29732; +SET @GOSSIP := 9891; +SET @EAGLE := 29736; +SET @DRAKE := 29753; + +UPDATE `creature_template` SET `VehicleId`=243,`InhabitType`=3,`AIName`= 'SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,@GOSSIP,1,0,0,11,56411,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Fjorlin Frostbrow - On gossip option 1 select - Cast 56411 on player'), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Fjorlin Frostbrow - On gossip option 1 select - Close gossip'); + +UPDATE `creature_template` SET `npcflag` = `npcflag`|16777217, `IconName`='vehichleCursor', `VehicleId`=216, `spell1`=55958, `spell2`=55936 WHERE `entry`=@EAGLE; +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=@EAGLE; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(@EAGLE,43671,1,0); + +DELETE FROM `creature_template_addon` WHERE entry = @EAGLE; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@EAGLE,0,0,33554432,0,0,'55971'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=@GOSSIP AND `SourceEntry`=1; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,@GOSSIP,1,0,9,12869,0,0,0,'','Show gossip option 1 if player has quest 12869'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`IN (55958,55936); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(17,0,55958,0,0,31,1,3,@DRAKE,0,0,0,0,'','Stormbolt only hits Stormpeak Wyrm'), +(17,0,55936,0,0,31,1,3,@DRAKE,0,0,0,0,'','Swoop only hits Stormpeak Wyrm'); + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP AND `id`=1; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(@GOSSIP,1,0, 'I am ready to join the battle against the wyrms. Do you have an eagle ready for me, Fjorlin?',1,1,0,0,0,0, ''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_03_world_misc.sql new file mode 100644 index 00000000000..7b3b208dd15 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_03_world_misc.sql @@ -0,0 +1,241 @@ +-- Add Missing Gossip from sniff +DELETE FROM `gossip_menu` WHERE `entry`=6001 AND `text_id`=7154; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (6001,7154); + +-- Add some missing spawns to BRS +SET @GUID := 20; -- 4 Guids required +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+3; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(@GUID,10447,229,1,1,0,0,202.5113,-421.307,110.9865,3.124139,7200,0,0,1,0,0), +(@GUID+1,10442,229,1,1,0,0,204.0151,-418.4425,110.9892,3.193953,7200,0,0,1,0,0), +(@GUID+2,10442,229,1,1,0,0,203.1424,-423.9987,110.9864,3.071779,7200,0,0,1,0,0), +(@GUID+3,10442,229,1,1,0,0,201.0076,-416.648,110.9738,3.228859,7200,0,0,1,0,0); + +-- Add some missing spawns to BWL +SET @GUID := 61997; -- 3 Guids required +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+3; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(@GUID,12458,469,1,1,0,0,-7663.987,-1021.786,440.242,3.124139,7200,0,0,1,0,2), +(@GUID+1,12458,469,1,1,0,0,-7632.956,-996.5212,440.263,3.193953,7200,0,0,1,0,2), +(@GUID+2,12458,469,1,1,0,0,-7639.315,-1088.736,449.1642,3.071779,7200,0,0,1,0,2); + +-- Fix walk speed for BWL npcs + +UPDATE `creature_template` SET `speed_walk`=2 WHERE `entry`=11981; +UPDATE `creature_template` SET `speed_walk`=2 WHERE `entry`=11983; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12017; +UPDATE `creature_template` SET `speed_walk`=0.888888 WHERE `entry`=12435; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12457; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12458; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12459; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12460; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12461; +UPDATE `creature_template` SET `speed_walk`=0.888888 WHERE `entry`=12463; +UPDATE `creature_template` SET `speed_walk`=0.888888 WHERE `entry`=12464; +UPDATE `creature_template` SET `speed_walk`=0.888888 WHERE `entry`=12465; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12467; +UPDATE `creature_template` SET `speed_walk`=0.888888 WHERE `entry`=12468; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=12557; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=13020; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=13996; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=14020; +UPDATE `creature_template` SET `speed_walk`=1.11111 WHERE `entry`=14022; +UPDATE `creature_template` SET `speed_walk`=1.11111 WHERE `entry`=14023; +UPDATE `creature_template` SET `speed_walk`=1.11111 WHERE `entry`=14024; +UPDATE `creature_template` SET `speed_walk`=1.11111 WHERE `entry`=14025; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=14262; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=14263; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=14264; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=14401; +UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=14456; +UPDATE `creature_template` SET `speed_walk`=2 WHERE `entry`=14601; + +-- Delete bad spawn in BWL + +DELETE FROM `creature` WHERE `guid`=85787; + +-- some pathing for BWL + +-- Pathing for Blackwing Taskmaster Entry: 12458 +SET @NPC := @GUID; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7663.987,-1021.786,440.242,0,0,0,0,100,0), +(@PATH,2,-7660.584,-1033.68,440.1774,0,0,0,0,100,0), +(@PATH,3,-7672.197,-1040.59,440.1905,0,0,0,0,100,0), +(@PATH,4,-7677.878,-1033.48,439.9819,0,0,0,0,100,0), +(@PATH,5,-7682.595,-1022.212,439.9823,0,0,0,0,100,0), +(@PATH,6,-7692.392,-1018.374,440.2688,0,0,0,0,100,0), +(@PATH,7,-7700.767,-1021.952,440.5112,0,0,0,0,100,0), +(@PATH,8,-7705.208,-1015.368,440.3909,0,0,0,0,100,0), +(@PATH,9,-7705.208,-1015.368,440.3909,0,0,0,0,100,0), +(@PATH,10,-7700.767,-1021.952,440.5112,0,0,0,0,100,0), +(@PATH,11,-7692.392,-1018.374,440.2688,0,0,0,0,100,0), +(@PATH,12,-7682.595,-1022.212,439.9823,0,0,0,0,100,0), +(@PATH,13,-7677.878,-1033.48,439.9819,0,0,0,0,100,0), +(@PATH,14,-7672.197,-1040.59,440.1905,0,0,0,0,100,0), +(@PATH,15,-7660.584,-1033.68,440.1774,0,0,0,0,100,0), +(@PATH,16,-7663.987,-1021.786,440.242,0,0,0,0,100,0), +(@PATH,17,-7667.698,-1013.725,440.2188,0,0,0,0,100,0), +(@PATH,18,-7674.316,-1009.231,440.1985,0,0,0,0,100,0), +(@PATH,19,-7674.749,-1001.641,440.1816,0,0,0,0,100,0), +(@PATH,20,-7682.151,-1002.882,439.9836,0,0,0,0,100,0), +(@PATH,21,-7691.953,-996.8887,440.1367,0,0,0,0,100,0), +(@PATH,22,-7698.791,-993.4288,440.0823,0,0,0,0,100,0), +(@PATH,23,-7700.935,-1000.517,440.1191,0,0,0,0,100,0), +(@PATH,24,-7704.313,-1004.795,440.1128,0,0,0,0,100,0), +(@PATH,25,-7699.01,-1015.984,440.3897,0,0,0,0,100,0), +(@PATH,26,-7696.855,-1024.059,440.4334,0,0,0,0,100,0), +(@PATH,27,-7690.041,-1030.21,440.3844,0,0,0,0,100,0), +(@PATH,28,-7683.866,-1038.302,440.3743,0,0,0,0,100,0), +(@PATH,29,-7679.78,-1047.461,440.1281,0,0,0,0,100,0), +(@PATH,30,-7695.097,-1052.926,440.6745,0,0,0,0,100,0), +(@PATH,31,-7711.689,-1063.992,445.1763,0,0,0,0,100,0), +(@PATH,32,-7711.689,-1063.992,445.1763,0,0,0,0,100,0), +(@PATH,33,-7695.097,-1052.926,440.6745,0,0,0,0,100,0), +(@PATH,34,-7679.78,-1047.461,440.1281,0,0,0,0,100,0), +(@PATH,35,-7683.866,-1038.302,440.3743,0,0,0,0,100,0), +(@PATH,36,-7690.041,-1030.21,440.3844,0,0,0,0,100,0), +(@PATH,37,-7696.855,-1024.059,440.4334,0,0,0,0,100,0), +(@PATH,38,-7699.01,-1015.984,440.3897,0,0,0,0,100,0), +(@PATH,39,-7704.313,-1004.795,440.1128,0,0,0,0,100,0), +(@PATH,40,-7700.935,-1000.517,440.1191,0,0,0,0,100,0), +(@PATH,41,-7698.791,-993.4288,440.0823,0,0,0,0,100,0), +(@PATH,42,-7691.953,-996.8887,440.1367,0,0,0,0,100,0), +(@PATH,43,-7682.151,-1002.882,439.9836,0,0,0,0,100,0), +(@PATH,44,-7674.749,-1001.641,440.1816,0,0,0,0,100,0), +(@PATH,45,-7674.316,-1009.231,440.1985,0,0,0,0,100,0), +(@PATH,46,-7667.698,-1013.725,440.2188,0,0,0,0,100,0); +-- 0xF13030AA0000B535 .go -7663.987 -1021.786 440.242 + +-- Pathing for Blackwing Taskmaster Entry: 12458 +SET @NPC := @GUID+1; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7632.956,-996.5212,440.263,0,0,0,0,100,0), +(@PATH,2,-7626.135,-996.6401,440.2635,0,0,0,0,100,0), +(@PATH,3,-7619.718,-993.6684,440.0176,0,0,0,0,100,0), +(@PATH,4,-7614.898,-986.8362,440.0524,0,0,0,0,100,0), +(@PATH,5,-7619.713,-975.4172,440.2763,0,0,0,0,100,0), +(@PATH,6,-7626.255,-967.6956,440.3156,0,0,0,0,100,0), +(@PATH,7,-7634.491,-969.407,440.0258,0,0,0,0,100,0), +(@PATH,8,-7637.204,-978.4598,439.993,0,0,0,0,100,0), +(@PATH,9,-7649.554,-984.3552,440.2628,0,0,0,0,100,0), +(@PATH,10,-7661.772,-988.5689,439.9864,0,0,0,0,100,0), +(@PATH,11,-7658.341,-1002.132,439.9857,0,0,0,0,100,0), +(@PATH,12,-7647.332,-1011.346,439.9858,0,0,0,0,100,0), +(@PATH,13,-7637.399,-1010.427,439.9867,0,0,0,0,100,0), +(@PATH,14,-7636.273,-1000.11,440.2625,0,0,0,0,100,0), +(@PATH,15,-7622.676,-987.7399,440.0219,0,0,0,0,100,0), +(@PATH,16,-7625.999,-977.4044,440.0362,0,0,0,0,100,0), +(@PATH,17,-7649.094,-972.2944,440.2316,0,0,0,0,100,0), +(@PATH,18,-7644.41,-979.6061,440.2635,0,0,0,0,100,0), +(@PATH,19,-7634.969,-989.9937,440.2634,0,0,0,0,100,0), +(@PATH,20,-7624.835,-986.701,440.0168,0,0,0,0,100,0), +(@PATH,21,-7620.448,-985.0109,440.037,0,0,0,0,100,0), +(@PATH,22,-7610.641,-984.5477,440.2049,0,0,0,0,100,0), +(@PATH,23,-7595.672,-988.9937,440.0914,0,0,0,0,100,0), +(@PATH,24,-7595.672,-988.9937,440.0914,0,0,0,0,100,0), +(@PATH,25,-7610.641,-984.5477,440.2049,0,0,0,0,100,0), +(@PATH,26,-7620.448,-985.0109,440.037,0,0,0,0,100,0), +(@PATH,27,-7624.835,-986.701,440.0168,0,0,0,0,100,0), +(@PATH,28,-7634.969,-989.9937,440.2634,0,0,0,0,100,0), +(@PATH,29,-7644.41,-979.6061,440.2635,0,0,0,0,100,0), +(@PATH,30,-7649.094,-972.2944,440.2316,0,0,0,0,100,0), +(@PATH,31,-7625.999,-977.4044,440.0362,0,0,0,0,100,0), +(@PATH,32,-7622.676,-987.7399,440.0219,0,0,0,0,100,0), +(@PATH,33,-7636.273,-1000.11,440.2625,0,0,0,0,100,0), +(@PATH,34,-7637.399,-1010.427,439.9867,0,0,0,0,100,0), +(@PATH,35,-7647.332,-1011.346,439.9858,0,0,0,0,100,0), +(@PATH,36,-7658.341,-1002.132,439.9857,0,0,0,0,100,0), +(@PATH,37,-7661.772,-988.5689,439.9864,0,0,0,0,100,0), +(@PATH,38,-7649.554,-984.3552,440.2628,0,0,0,0,100,0), +(@PATH,39,-7637.204,-978.4598,439.993,0,0,0,0,100,0), +(@PATH,40,-7634.491,-969.407,440.0258,0,0,0,0,100,0), +(@PATH,41,-7626.357,-967.7826,440.0594,0,0,0,0,100,0), +(@PATH,42,-7619.713,-975.4172,440.2763,0,0,0,0,100,0), +(@PATH,43,-7614.898,-986.8362,440.0524,0,0,0,0,100,0), +(@PATH,44,-7619.718,-993.6684,440.0176,0,0,0,0,100,0), +(@PATH,45,-7626.135,-996.6401,440.2635,0,0,0,0,100,0), +(@PATH,46,-7632.956,-996.5212,440.263,0,0,0,0,100,0), +(@PATH,47,-7653.352,-993.4436,439.9867,0,0,0,0,100,0), +(@PATH,48,-7653.352,-993.4436,439.9867,0,0,0,0,100,0); +-- 0xF13030AA0000B53D .go -7632.956 -996.5212 440.263 + +-- Pathing for Blackwing Taskmaster Entry: 12458 +SET @NPC := @GUID+2; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7639.315,-1088.736,449.1642,0,0,0,0,100,0), +(@PATH,2,-7644.75,-1097.218,449.1642,0,0,0,0,100,0), +(@PATH,3,-7651.393,-1110.778,449.193,0,0,0,0,100,0), +(@PATH,4,-7661.635,-1091.063,449.1826,0,0,0,0,100,0), +(@PATH,5,-7672.317,-1084.581,449.166,0,0,0,0,100,0), +(@PATH,6,-7678.168,-1087.581,449.1542,0,0,0,0,100,0), +(@PATH,7,-7671.085,-1100.425,449.1617,0,0,0,0,100,0), +(@PATH,8,-7665.083,-1108.27,449.1694,0,0,0,0,100,0), +(@PATH,9,-7658.763,-1114.884,449.1781,0,0,0,0,100,0), +(@PATH,10,-7670.01,-1119.684,449.1523,0,0,0,0,100,0), +(@PATH,11,-7680.338,-1118.28,449.134,0,0,0,0,100,0), +(@PATH,12,-7687.568,-1104.841,449.1463,0,0,0,0,100,0), +(@PATH,13,-7693.229,-1096.283,449.1507,0,0,0,0,100,0), +(@PATH,14,-7701.18,-1089.753,449.1177,0,0,0,0,100,0), +(@PATH,15,-7712.01,-1073.58,445.1763,0,0,0,0,100,0), +(@PATH,16,-7701.18,-1089.753,449.1177,0,0,0,0,100,0), +(@PATH,17,-7693.229,-1096.283,449.1507,0,0,0,0,100,0), +(@PATH,18,-7687.568,-1104.841,449.1463,0,0,0,0,100,0), +(@PATH,19,-7680.338,-1118.28,449.134,0,0,0,0,100,0), +(@PATH,20,-7670.01,-1119.684,449.1523,0,0,0,0,100,0), +(@PATH,21,-7658.763,-1114.884,449.1781,0,0,0,0,100,0), +(@PATH,22,-7665.083,-1108.27,449.1694,0,0,0,0,100,0), +(@PATH,23,-7671.085,-1100.425,449.1617,0,0,0,0,100,0), +(@PATH,24,-7678.168,-1087.581,449.1542,0,0,0,0,100,0), +(@PATH,25,-7672.317,-1084.581,449.166,0,0,0,0,100,0), +(@PATH,26,-7661.635,-1091.063,449.1826,0,0,0,0,100,0), +(@PATH,27,-7651.393,-1110.778,449.193,0,0,0,0,100,0), +(@PATH,28,-7644.75,-1097.218,449.1642,0,0,0,0,100,0); +-- 0xF13030AA0000B540 .go -7639.315 -1088.736 449.1642 + +-- Pathing for Blackwing Spellbinder Entry: 12457 +SET @NPC := 85758; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7446.97,`position_y`=-945.069,`position_z`=464.9834 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7446.97,-945.069,464.9834,0,0,0,0,100,0), +(@PATH,2,-7449.199,-935.9932,464.9834,0,0,0,0,100,0), +(@PATH,3,-7453.252,-931.2498,464.9834,0,0,0,0,100,0), +(@PATH,4,-7463.244,-933.8245,464.9834,0,7000,0,0,100,0), +(@PATH,5,-7456.518,-929.4488,464.9834,0,0,0,0,100,0), +(@PATH,6,-7451.187,-934.4731,464.9834,0,0,0,0,100,0), +(@PATH,7,-7440.787,-950.2525,464.9834,0,19000,0,0,100,0), +(@PATH,8,-7437.717,-955.0467,464.9747,0,0,0,0,100,0), +(@PATH,9,-7443.361,-947.8978,464.9834,0,12000,0,0,100,0); +-- 0xF13030A90000B57B .go -7446.97 -945.069 464.9834 + +-- Pathing for Death Talon Overseer Entry: 12461 +SET @NPC := 84557; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7513.689,`position_y`=-1048.273,`position_z`=449.242 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7513.689,-1048.273,449.242,0,0,0,0,100,0), +(@PATH,2,-7502.118,-1040.439,449.242,0,0,0,0,100,0), +(@PATH,3,-7492.288,-1033.455,449.242,0,0,0,0,100,0), +(@PATH,4,-7502.118,-1040.439,449.242,0,0,0,0,100,0), +(@PATH,5,-7513.689,-1048.273,449.242,0,0,0,0,100,0), +(@PATH,6,-7525.79,-1057.795,449.242,0,0,0,0,100,0); +-- 0xF13030AD0000B58D .go -7513.689 -1048.273 449.242 diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_04_world_item_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_04_world_item_template.sql new file mode 100644 index 00000000000..215d0583d53 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_04_world_item_template.sql @@ -0,0 +1 @@ +UPDATE `item_template` SET `PageText`=3092 WHERE `entry`=37540; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_05_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_05_world_misc.sql new file mode 100644 index 00000000000..378b362aa83 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_05_world_misc.sql @@ -0,0 +1,12 @@ +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (2046,2026); +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES +(2046, 'at_dragonspire_hall'), +(2026, 'at_blackrock_stadium'); + +-- Warchief Rend Blackhand text +SET @REND := 10429; +DELETE FROM `creature_text` WHERE `entry` IN (@REND); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@REND,0,0,"Impossible!",14,0,100,22,0,0,'Warchief Rend Blackhand'), +(@REND,1,0,"With pleasure...",14,0,100,0,0,0,'Warchief Rend Blackhand'), +(@REND,2,0,"%s is knocked off his drake!",16,0,100,0,0,0,'Warchief Rend Blackhand'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_06_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_06_world_creature_template.sql new file mode 100644 index 00000000000..709776de6c4 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_06_world_creature_template.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `minlevel`=61, `maxlevel`=61, `faction_A`=103, `faction_H`=103, `unit_flags`=`unit_flags`|33555200 WHERE `entry`=14081; +UPDATE `creature_template` SET `unit_flags`=`unit_flags`|256|512 WHERE `entry`=10429; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_07_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_07_world_creature_text.sql new file mode 100644 index 00000000000..dc7ec7f563e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_25_07_world_creature_text.sql @@ -0,0 +1,21 @@ +-- Text for Lord Victor Nefarius from sniff +SET @VICTOR := 10162; +DELETE FROM `creature_text` WHERE `entry` IN (@VICTOR); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +-- Lord Victor Nefarius texts UBRS +(@VICTOR,0,0,"Excellent... it would appear as if the meddlesome insects have arrived just in time to feed my legion. Welcome, mortals!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,1,0,"Let not even a drop of their blood remain upon the arena floor, my children. Feast on their souls!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,2,0,"Foolsss... Kill the one in the dress!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,3,0,"Inconceivable!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,4,0,"Your efforts will prove fruitless. None shall stand in our way!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,5,0,"Do not force my hand, children! I shall use your hides to line my boots.",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,6,0,"Use the freezing breath, imbecile!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,7,0,"THIS CANNOT BE!!! Rend, deal with these insects.",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,8,0,"The Warchief shall make quick work of you, mortals. Prepare yourselves!",14,0,100,25,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,9,0,"Taste in my power!",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,10,0,"Your victory shall be short lived. The days of both the Alliance and Horde are coming to an end! The next time we meet shall be the last.",14,0,100,5,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,11,0,"The mortals have fallen! The new age of the Blackrock legion is at hand!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +-- Lord Victor Nefarius texts BWL +(@VICTOR,12,0,"In this world where time is your enemy, it is my greatest ally. This grand game of life that you think you play in fact plays you. To that I say...",14,0,100,1,0,0,'Lord Victor Nefarius SAY_GAMESBEGIN_1 (BWL)'), +(@VICTOR,13,0,"Let the games begin!",14,0,100,22,0,8280,'Lord Victor Nefarius SAY_GAMESBEGIN_2 (BWL)'), +(@VICTOR,14,0,"Ah, the heroes. You are persistent, aren't you. Your allied attempted to match his power against mine, and had to pay the price. Now he shall serve me, by slaughtering you. Get up, little red wyrm...and destroy them!",14,0,100,23,0,8279,'Lord Victor Nefarius SAY_VAEL_INTRO (BWL)'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_00_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_00_world_conditions.sql new file mode 100644 index 00000000000..bb1467d7bfe --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_00_world_conditions.sql @@ -0,0 +1,4 @@ +-- Add Gossip Menu conditions for Agnetta Tyrsdottar +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (9874); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9874,0,0,28,12969,0,0,1,0,'','Agnetta Tyrsdottar - Show gossip option only if quest is not complete'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_01_world_misc.sql new file mode 100644 index 00000000000..2e54cb9497e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_01_world_misc.sql @@ -0,0 +1,39 @@ +-- Add gossip id to Frostborn Scout +UPDATE `creature_template` SET `gossip_menu_id`=9841 WHERE `entry`=29811; +-- Add Missing Gossip for Frostborn Scout +DELETE FROM `gossip_menu` WHERE `entry`=9841 AND `text_id`=13611; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9841,13611); +DELETE FROM `gossip_menu` WHERE `entry`=9842 AND `text_id`=13612; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9842,13612); +DELETE FROM `gossip_menu` WHERE `entry`=9843 AND `text_id`=13613; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9843,13613); +DELETE FROM `gossip_menu` WHERE `entry`=9844 AND `text_id`=13614; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9844,13614); +-- Add Any Missing Gossip Option for Frostborn Scout +DELETE FROM `gossip_menu_option` WHERE menu_id IN (9841,9842,9843); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(9841,0,0,"Are you okay? I''ve come TO take you back TO Frosthold IF you can stand.",1,1,9842,0,0,0,''), +(9842,0,0,"I''m sorry that I didn''t get here sooner. What happened?",1,1,9843,0,0,0,''), +(9843,0,0,"I''ll go get SOME help. Hang IN there.",1,1,9844,0,0,0,''); +-- Add Gossip option condition +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (9841); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9841,0,0,28,12864,0,0,1,0,'','Agnetta Tyrsdottar - Show gossip option only if quest "Missing scouts" is not complete'); + +-- Frostborn Scout SAI for Quest: Missing scouts +SET @ENTRY := 29647; +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,9843,0,0,0,15,12864,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Frostborn Scout - On Gossip Option Select - Give quest credit for Quest: Missing scouts'); + +-- Agnetta_Tyrsdottar SAI Quest: Is That Your Goblin? +SET @ENTRY := 30154; +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`= '' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,9874,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Agnetta_Tyrsdottar - On Gossip Option Select - Close Gossip Window'), +(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,2,45,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Agnetta_Tyrsdottar - On Gossip Option Select - Set Faction'), +(@ENTRY,0,2,3,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Agnetta_Tyrsdottar - On Gossip Option Select - Say 0'), +(@ENTRY,0,3,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Agnetta_Tyrsdottar - On Gossip Option Select - Attack Envoker'), +(@ENTRY,0,4,0,25,0,100,0,0,0,0,0,2,2109,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Agnetta_Tyrsdottar - On Reset - Set faction'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_02_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_02_world_gossip.sql new file mode 100644 index 00000000000..56c41e18b38 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_02_world_gossip.sql @@ -0,0 +1,9 @@ +-- Add Any Missing Gossip Option for Injured Goblin Miner +DELETE FROM `gossip_menu_option` WHERE menu_id IN (9859); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`)VALUES +(9859,0,0,"I am ready, lets get you out of here.",1,1,0,0,0,0,''); + +-- Add Gossip option condition +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (15) AND `SourceGroup` IN (9859); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,9859,0,0,28,12832,0,0,1,0,'','Injured Goblin Miner - Show gossip option only if quest "Bitter Departure" is not complete'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_03_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_03_world_creature_template.sql new file mode 100644 index 00000000000..dae5f5869c3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_26_03_world_creature_template.sql @@ -0,0 +1,2 @@ +-- Missing data for Embeerseer +UPDATE `creature_template` SET `faction_A`=40, `faction_H`=40, `unit_flags`=`unit_flags`|256|33554432 WHERE `entry`=9816; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_00_world_misc.sql new file mode 100644 index 00000000000..175f37041e2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_00_world_misc.sql @@ -0,0 +1,14 @@ +SET @ENTRY = 24918; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY; +UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@ENTRY; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts`(`entryorguid`,`id`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`target_type`,`comment`) VALUES +(@ENTRY,0,0,4000,6000,7000,9000,11,14873,0,2,'Felblood Initiate - Cast Sinister Strike'), +(@ENTRY,1,0,17000,22000,20000,26000,11,29098,1,2,'Felblood Initiate - Cast Bitter Withdrawal'), +(@ENTRY,2,0,8000,12000,18000,22000,11,35871,1,2,'Felblood Initiate - Cast Spellbreaker'), +(@ENTRY,3,8,44937,0,0,0,36,24955,1,1,'Felblood Initiate - Changes Template to Emaciated Felblood After Using Fel Siphon (Quest: 11515)'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=4 AND `SourceEntry`=@ENTRY AND `SourceId`=0; +INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ConditionTarget`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`NegativeCondition`,`Comment`) VALUE +(22,4,@ENTRY,0,1,31,3,24955,1,'Felblood Initiate may not already be transformed to template entry 24955 when trying to update template to 24955'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_01_world_creature_addon.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_01_world_creature_addon.sql new file mode 100644 index 00000000000..e7ec3a48752 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_01_world_creature_addon.sql @@ -0,0 +1,10 @@ +DELETE FROM `creature_template_addon` WHERE `entry`=17975; +DELETE FROM `creature_addon` WHERE `guid`=82987; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(82987,829870,0,0,1,0,''); -- Converted from c_t_a, works on both normal and heroic entry + +-- allow mounting inside Black Temple (outdoor areas) +UPDATE `instance_template` SET `allowMount`=1 WHERE `map`=564; + +-- fix for issue #9997 by Exodius +UPDATE `spell_script_names` SET `spell_id`=28441 WHERE `spell_id`=28414 AND `ScriptName`='spell_item_ashbringer'; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_02_world_creature_addon.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_02_world_creature_addon.sql new file mode 100644 index 00000000000..c8ee431909b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_02_world_creature_addon.sql @@ -0,0 +1,4 @@ +DELETE FROM `creature_template_addon` WHERE `entry`=17976; +DELETE FROM `creature_addon` WHERE `guid`=82986; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(82986,829860,0,0,1,0,'19818'); -- Converted from c_t_a, works on both normal and heroic entry diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_03_world_misc.sql new file mode 100644 index 00000000000..db9a7525517 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_29_03_world_misc.sql @@ -0,0 +1,3 @@ +UPDATE `smart_scripts` SET `event_type`=37 WHERE `entryorguid` IN (9818,9817) AND `id`=0 AND `source_type`=0; +UPDATE `smart_scripts` SET `event_type`=61 WHERE ((`entryorguid`=10817 AND `id`=9) OR (`entryorguid`= 1399 AND `id`=3)) AND `source_type`=0; +UPDATE `smart_scripts` SET `link`=11 WHERE `entryorguid`=314 AND `id`=10 AND `source_type`=0; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_00_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_00_world_waypoints.sql new file mode 100644 index 00000000000..f2a4c58fcf8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_00_world_waypoints.sql @@ -0,0 +1,42 @@ +-- Pathing for Lord Victor Nefarius Entry: 10162 +SET @PATH := 1379670; +DELETE FROM `waypoint_data` WHERE `id` IN (@PATH,@PATH+1,@PATH+2); +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,168.7847,-444.8676,121.9753,0,0,0,0,100,0), +(@PATH,2,159.7806,-444.8137,121.9753,0,0,0,0,100,0), +(@PATH+1,1,163.1683,-444.165,121.9753,0,0,0,0,100,0), +(@PATH+1,2,163.2364,-443.4956,121.9753,0,0,0,0,100,0), +(@PATH+1,3,163.3028,-442.0108,122.2531,1.570796,0,0,0,100,0), +(@PATH+2,1,165.5801,-457.3273,121.9753,0,0,1,0,100,0), +(@PATH+2,2,165.5504,-465.8904,116.8073,0,0,1,0,100,0), +(@PATH+2,3,165.3594,-470.635,116.8296,0,0,1,0,100,0), +(@PATH+2,4,168.4351,-473.7489,116.8424,0,0,1,0,100,0), +(@PATH+2,5,179.0059,-473.894,116.8424,0,0,1,0,100,0); + +-- Pathing for Warchief Rend Blackhand Entry: 10429 +SET @PATH := 1379680; +DELETE FROM `waypoint_data` WHERE `id` IN (@PATH); +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,165.4778,-452.2761,121.9753,0,0,0,0,100,0), +(@PATH,2,165.5801,-457.3273,121.9753,0,0,0,0,100,0), +(@PATH,3,165.5504,-465.8904,116.8073,0,0,0,0,100,0), +(@PATH,4,165.3594,-470.635,116.8296,0,0,0,0,100,0), +(@PATH,5,168.4351,-473.7489,116.8424,0,0,0,0,100,0), +(@PATH,6,179.0059,-473.894,116.8424,0,52000,0,0,100,0), +(@PATH,7,216.6058,-430.4544,110.9169,0,0,0,0,100,0), +(@PATH,8,216.5664,-412.0932,110.9822,0,0,0,0,100,0), +(@PATH,9,217.1734,-401.2561,111.0617,0,0,0,0,100,0), +(@PATH,10,216.5286,-397.7477,111.0883,0,0,0,0,100,0), +(@PATH,11,214.8428,-395.8612,111.1051,0,0,0,0,100,0), +(@PATH,12,213.5363,-395.6153,111.1093,0,0,0,0,100,0); + +-- Pathing for Gyth Entry: 10339 +SET @PATH := 1379681; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,211.4939,-399.5368,111.0848,0,0,1,0,100,0), +(@PATH,2,209.2005,-409.7201,110.9367,0,0,1,0,100,0), +(@PATH,3,201.0632,-420.6352,110.9231,0,0,1,0,100,0), +(@PATH,4,178.1997,-420.3415,110.4723,0,0,1,0,100,0), +(@PATH,5,154.2494,-420.948,110.4723,0,0,1,0,100,0), +(@PATH,6,127.872,-420.4601,110.4723,0,0,1,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_01_world_smart_scripts.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_01_world_smart_scripts.sql new file mode 100644 index 00000000000..65b4a9923fa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_01_world_smart_scripts.sql @@ -0,0 +1 @@ +UPDATE `smart_scripts` SET `event_flags`=`event_flags`&~30 WHERE `entryorguid` IN (10981,10982,10986,10987,10990,11602,11603,11605,11678,11839,12050,12051,12053,12127,13088,13089,13097,13179,13284,13316,13326,13328,13438,13442,13443,13447,13577,13797,13798,14282,14283) AND `source_type`=0; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_02_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_02_world_creature_template.sql new file mode 100644 index 00000000000..617d49667f2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_02_world_creature_template.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (37955,38434,38435,38436); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_03_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_03_world_conditions.sql new file mode 100644 index 00000000000..934a20cd025 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_03_world_conditions.sql @@ -0,0 +1,3 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=51469; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 51469, 0, 0, 32, 0, 0x90, 0, 0, 0, 0, 0, '', 'Frenzyheart''s Fury - only for Players'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_04_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_04_world_sai.sql new file mode 100644 index 00000000000..61ec09c9ff4 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_04_world_sai.sql @@ -0,0 +1,59 @@ +-- The Black Knight's Curse (14016) quest trigger SAI by nelegalno based on C++ script by Sherriff: http://pastebin.com/1ExVqtLe +SET @TRIGGER := 34735; + +UPDATE `creature_template` SET ainame='SmartAI' WHERE `entry`=@TRIGGER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@TRIGGER 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 +(@TRIGGER, 0, 0, 1, 10, 0, 100, 0, 1, 5, 5000, 5000, 12, 35116, 4, 60000, 0, 0, 0, 8, 0, 0, 0, 8451.91, 459.163, 596.072, 0.80, "Link - SummonCreature Cult Saboteur"), +(@TRIGGER, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 12, 35127, 4, 60000, 0, 0, 0, 8, 0, 0, 0, 8456.20, 458.904, 596.072, 1.55, "Link - SummonCreature Cult Assassin"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@TRIGGER AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,@TRIGGER,0,0, 9,0,14016, 0,0,0,0,'',"Execute SAI only if player is on The Black Knight's Curse quest"), +(22,1,@TRIGGER,0,0,29,0,35127,50,0,1,0,'',"Execute SAI only if no Cult Assassin within 50y of Black Knight's Grave"); + +-- Written by Sherriff: http://pastebin.com/gkSqDc52 +-- Add text +DELETE FROM `creature_text` WHERE `entry`=35116; +INSERT INTO `creature_text` VALUES +(35116,0,0, "What do you think you're doing?",12,0,0,1,0,0, ''), +(35116,1,0, "You're too late to stop our plan.",12,0,0,1,0,0, ''), +(35116,2,0, "See to it that I'm not followed.",12,0,0,1,0,0, ''); + +DELETE FROM `creature_text` WHERE `entry`=35127; +INSERT INTO `creature_text` VALUES +(35127,0,0, "Gladly",12,0,1,0,0,0, ''); + +-- SAI +UPDATE `creature_template` SET ainame='SmartAI' WHERE `entry`= 35116; +UPDATE `creature_template` SET ainame='SmartAI' WHERE `entry`= 35127; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=35116; +INSERT INTO `smart_scripts` VALUES +-- need add (The saboteur ports out, via spell) +(35116, 0, 0, 0, 54, 0, 100, 1, 0, 0, 0, 0, 71, 0, 0, 3334, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), -- Equip shovel ID: 3334 ? +(35116, 0, 1, 0, 38, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35116, 0, 2, 0, 1, 1, 100, 1, 5000, 5000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=35127; +DELETE FROM `smart_scripts` WHERE `entryorguid`=35127*100; +INSERT INTO `smart_scripts` VALUES +(35127, 0, 0, 1, 54,0,100,0,0,0,0,0,80,35127*100,0,2,0,0,0,1,0,0,0,0,0,0,0,""), +(35127, 0, 1, 0, 61,0,100,0,0,0,0,0,17,68,0,0,0,0,0,1,0,0,0,0,0,0,0,""), +-- script +(35127*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 2, 35, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35127*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35127*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35127*100, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''), +(35127*100, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''), +(35127*100, 9, 5, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''), +(35127*100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 11, 35116, 20, 0, 0, 0, 0, 0,''), +(35127*100, 9, 7, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35127*100, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35127*100, 9, 9, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), +(35127*100, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,''), -- emote 0 or roar? +-- combat +(35127, 0, 2, 0, 0, 0, 100, 0, 3000, 4000, 14000, 15000, 11, 60842, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,''), +(35127, 0, 3, 0, 0, 0, 100, 0, 1000, 2000, 7000, 8000, 11, 14873, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0,''), +-- on death(quest credit) +(35127, 0, 4, 0, 6, 0, 100, 1, 0, 0, 0, 0, 85, 66785, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0,''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_05_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_05_world_sai.sql new file mode 100644 index 00000000000..e43c840e85a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_05_world_sai.sql @@ -0,0 +1,829 @@ +SET @FOZRUK := 2611; +SET @FEEBOZ := 4063; +SET @ZNORT := 2765; +SET @SLEEBY := 2764; +SET @GUIDFO := 14514; +SET @GUIDFE := 14517; +SET @GUIDZN := 14516; +SET @GUIDSL := 14515; +SET @PATH := 145140; + +-- Creature formation for Fozruk,Feeboz,Znort and Sleeby +DELETE FROM `creature_formations` WHERE `leaderGUID`=@GUIDFO; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(@GUIDFO,@GUIDFO,0,0,2), +(@GUIDFO,@GUIDFE,5,45,2), +(@GUIDFO,@GUIDZN,5,0,2), +(@GUIDFO,@GUIDSL,5,315,2); +UPDATE `creature` SET `MovementType`=2,`position_x`=-799.488159,`position_y`=-3187.840820,`position_z`=81.986244,`currentwaypoint`=1 WHERE `guid` IN (@GUIDFO,@GUIDFE,@GUIDZN,@GUIDSL); +UPDATE `creature_addon` SET `path_id`=@PATH WHERE `guid` IN (@GUIDFO,@GUIDFE,@GUIDZN,@GUIDSL); +UPDATE `creature_template` SET `speed_walk`=0.777776,`Health_mod`=1 WHERE `entry` IN (@FEEBOZ,@ZNORT,@SLEEBY); +UPDATE `creature` SET `curhealth`=3820 WHERE `id`=@FOZRUK; +UPDATE `creature_template` SET `Health_mod`=2.314 WHERE `entry`=@FOZRUK; + +-- Adding missing SAI for Sleeby +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SLEEBY 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 +(@SLEEBY,0,0,0,4,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sleeby - On Aggro - Say Line 0"), +(@SLEEBY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Sleeby - At 15% HP - Flee For Assist"), +(@SLEEBY,0,2,0,14,0,100,0,900,30,18000,21000,11,10577,0,0,0,0,0,9,0,0,30,0,0,0,0,"Sleeby - At 900 HP Deficit on friendly - Cast Heal"), +(@SLEEBY,0,3,0,2,0,100,1,0,30,22000,28000,11,10577,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sleeby - At 30 % HP - Cast Heal"); + + +-- Waypoint Data for Fozruk,Feeboz,Znort and Sleeby +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-832.334,-3205.470,79.68929,0,0,0,0,100,0), +(@PATH,2,-860.918,-3218.261,84.36646,0,0,0,0,100,0), +(@PATH,3,-888.679,-3243.162,84.09533,0,0,0,0,100,0), +(@PATH,4,-914.439,-3273.134,79.92033,0,0,0,0,100,0), +(@PATH,5,-934.979,-3286.743,75.78973,0,0,0,0,100,0), +(@PATH,6,-969.229,-3298.048,70.39626,0,0,0,0,100,0), +(@PATH,7,-999.526,-3300.098,59.43864,0,0,0,0,100,0), +(@PATH,8,-1024.019,-3302.781,52.57269,0,0,0,0,100,0), +(@PATH,9,-1042.511,-3304.218,53.96111,0,0,0,0,100,0), +(@PATH,10,-1071.519,-3303.006,53.72434,0,0,0,0,100,0), +(@PATH,11,-1094.373,-3294.411,51.28259,0,0,0,0,100,0), +(@PATH,12,-1116.248,-3283.376,48.46264,0,0,0,0,100,0), +(@PATH,13,-1134.604,-3275.851,45.93983,0,0,0,0,100,0), +(@PATH,14,-1138.166,-3253.598,37.34724,0,0,0,0,100,0), +(@PATH,15,-1149.548,-3219.161,32.92126,0,0,0,0,100,0), +(@PATH,16,-1154.650,-3191.667,39.82796,0,0,0,0,100,0), +(@PATH,17,-1152.233,-3172.707,44.92081,0,0,0,0,100,0), +(@PATH,18,-1155.257,-3148.514,43.87821,0,0,0,0,100,0), +(@PATH,19,-1156.285,-3118.220,46.07511,0,0,0,0,100,0), +(@PATH,20,-1158.257,-3089.038,42.32969,0,0,0,0,100,0), +(@PATH,21,-1166.920,-3051.637,39.44429,0,0,0,0,100,0), +(@PATH,22,-1173.630,-3018.499,41.95575,0,0,0,0,100,0), +(@PATH,23,-1177.635,-2989.661,47.36756,0,0,0,0,100,0), +(@PATH,24,-1184.160,-2956.073,51.06301,0,0,0,0,100,0), +(@PATH,25,-1199.907,-2932.837,47.81623,0,0,0,0,100,0), +(@PATH,26,-1214.661,-2909.040,42.48590,0,0,0,0,100,0), +(@PATH,27,-1227.096,-2890.791,43.51100,0,0,0,0,100,0), +(@PATH,28,-1238.985,-2873.565,44.54215,0,0,0,0,100,0), +(@PATH,29,-1250.406,-2857.378,45.41686,0,0,0,0,100,0), +(@PATH,30,-1247.514,-2836.024,46.47926,0,0,0,0,100,0), +(@PATH,31,-1248.644,-2794.010,51.19218,0,0,0,0,100,0), +(@PATH,32,-1255.582,-2758.492,49.47080,0,0,0,0,100,0), +(@PATH,33,-1267.213,-2729.370,48.34093,0,0,0,0,100,0), +(@PATH,34,-1284.019,-2714.972,48.51395,0,0,0,0,100,0), +(@PATH,35,-1301.577,-2701.519,54.30533,0,0,0,0,100,0), +(@PATH,36,-1318.129,-2685.284,56.57260,0,0,0,0,100,0), +(@PATH,37,-1337.341,-2665.010,66.17728,0,0,0,0,100,0), +(@PATH,38,-1351.957,-2651.640,73.03260,0,0,0,0,100,0), +(@PATH,39,-1368.981,-2639.345,71.88406,0,0,0,0,100,0), +(@PATH,40,-1386.248,-2625.411,70.91771,0,0,0,0,100,0), +(@PATH,41,-1404.074,-2608.620,71.74998,0,0,0,0,100,0), +(@PATH,42,-1414.762,-2591.953,70.57619,0,0,0,0,100,0), +(@PATH,43,-1421.564,-2568.585,71.20494,0,0,0,0,100,0), +(@PATH,44,-1424.290,-2551.299,72.80975,0,0,0,0,100,0), +(@PATH,45,-1425.382,-2525.746,72.76966,0,0,0,0,100,0), +(@PATH,46,-1427.621,-2500.162,66.61679,0,0,0,0,100,0), +(@PATH,47,-1428.913,-2478.010,60.97769,0,0,0,0,100,0), +(@PATH,48,-1430.675,-2450.066,58.70541,0,0,0,0,100,0), +(@PATH,49,-1432.065,-2430.234,60.31319,0,0,0,0,100,0), +(@PATH,50,-1434.051,-2407.011,61.26979,0,0,0,0,100,0), +(@PATH,51,-1441.378,-2382.458,62.31955,0,0,0,0,100,0), +(@PATH,52,-1455.994,-2351.987,61.89263,0,0,0,0,100,0), +(@PATH,53,-1476.102,-2327.670,59.28052,0,0,0,0,100,0), +(@PATH,54,-1488.910,-2303.793,51.65742,0,0,0,0,100,0), +(@PATH,55,-1480.213,-2280.157,49.29763,0,0,0,0,100,0), +(@PATH,56,-1481.886,-2261.885,42.77686,0,0,0,0,100,0), +(@PATH,57,-1488.766,-2238.346,29.72172,0,0,0,0,100,0), +(@PATH,58,-1478.716,-2221.377,24.46575,0,0,0,0,100,0), +(@PATH,59,-1470.289,-2202.226,21.37988,0,0,0,0,100,0), +(@PATH,60,-1463.888,-2183.480,19.25826,0,0,0,0,100,0), +(@PATH,61,-1462.309,-2166.158,19.51268,0,0,0,0,100,0), +(@PATH,62,-1462.641,-2139.281,17.96990,0,0,0,0,100,0), +(@PATH,63,-1461.741,-2117.135,18.41839,0,0,0,0,100,0), +(@PATH,64,-1462.720,-2096.159,20.99808,0,0,0,0,100,0), +(@PATH,65,-1466.697,-2073.191,21.76600,0,0,0,0,100,0), +(@PATH,66,-1469.742,-2051.216,22.28187,0,0,0,0,100,0), +(@PATH,67,-1470.707,-2034.948,23.92398,0,0,0,0,100,0), +(@PATH,68,-1467.493,-2011.868,27.70724,0,0,0,0,100,0), +(@PATH,69,-1461.612,-1991.796,32.13912,0,0,0,0,100,0), +(@PATH,70,-1453.868,-1976.242,41.14152,0,0,0,0,100,0), +(@PATH,71,-1440.519,-1963.263,44.36967,0,0,0,0,100,0), +(@PATH,72,-1427.875,-1962.643,45.06952,0,0,0,0,100,0), +(@PATH,73,-1403.536,-1960.480,48.94749,0,0,0,0,100,0), +(@PATH,74,-1384.386,-1955.417,53.90592,0,0,0,0,100,0), +(@PATH,75,-1369.677,-1945.936,57.96852,0,0,0,0,100,0), +(@PATH,76,-1350.607,-1921.860,58.38959,0,0,0,0,100,0), +(@PATH,77,-1340.818,-1894.505,59.48376,0,0,0,0,100,0), +(@PATH,78,-1331.473,-1868.108,61.54721,0,0,0,0,100,0), +(@PATH,79,-1324.620,-1843.425,63.16196,0,0,0,0,100,0), +(@PATH,80,-1314.403,-1825.211,64.58312,0,0,0,0,100,0), +(@PATH,81,-1298.009,-1805.438,66.00177,0,0,0,0,100,0), +(@PATH,82,-1277.380,-1794.447,66.98273,0,0,0,0,100,0), +(@PATH,83,-1262.522,-1781.463,66.29517,0,0,0,0,100,0), +(@PATH,84,-1257.610,-1764.678,61.17090,0,0,0,0,100,0), +(@PATH,85,-1254.762,-1740.416,57.42629,0,0,0,0,100,0), +(@PATH,86,-1257.197,-1714.841,55.34131,0,0,0,0,100,0), +(@PATH,87,-1261.216,-1690.681,58.78395,0,0,0,0,100,0), +(@PATH,88,-1270.503,-1675.867,58.18840,0,0,0,0,100,0), +(@PATH,89,-1286.642,-1660.740,56.26418,0,0,0,0,100,0), +(@PATH,90,-1300.361,-1645.053,56.51159,0,0,0,0,100,0), +(@PATH,91,-1308.540,-1627.062,54.06078,0,0,0,0,100,0), +(@PATH,92,-1311.492,-1607.599,54.04951,0,0,0,0,100,0), +(@PATH,93,-1304.892,-1587.725,55.84180,0,0,0,0,100,0), +(@PATH,94,-1294.446,-1572.347,57.09067,0,0,0,0,100,0), +(@PATH,95,-1276.314,-1559.621,56.87208,0,0,0,0,100,0), +(@PATH,96,-1258.598,-1553.953,55.82633,0,0,0,0,100,0), +(@PATH,97,-1247.020,-1555.563,54.08138,0,0,0,0,100,0), +(@PATH,98,-1223.989,-1559.108,53.75228,0,0,0,0,100,0), +(@PATH,99,-1204.170,-1566.040,57.69885,0,0,0,0,100,0), +(@PATH,100,-1181.217,-1574.416,57.90259,0,0,0,0,100,0), +(@PATH,101,-1171.802,-1584.777,56.51091,0,0,0,0,100,0), +(@PATH,102,-1153.563,-1592.682,51.61238,0,0,0,0,100,0), +(@PATH,103,-1135.418,-1600.805,44.96742,0,0,0,0,100,0), +(@PATH,104,-1118.637,-1609.030,43.56574,0,0,0,0,100,0), +(@PATH,105,-1099.768,-1620.569,44.50407,0,0,0,0,100,0), +(@PATH,106,-1085.969,-1629.265,42.54866,0,0,0,0,100,0), +(@PATH,107,-1062.281,-1644.193,38.64921,0,0,0,0,100,0), +(@PATH,108,-1042.500,-1656.657,34.32768,0,0,0,0,100,0), +(@PATH,109,-1023.845,-1668.413,35.51415,0,0,0,0,100,0), +(@PATH,110,-1010.461,-1679.575,37.13435,0,0,0,0,100,0), +(@PATH,111,-994.238,-1696.314,37.03594,0,0,0,0,100,0), +(@PATH,112,-981.290,-1709.695,39.25463,0,0,0,0,100,0), +(@PATH,113,-965.091,-1726.436,45.73298,0,0,0,0,100,0), +(@PATH,114,-948.947,-1743.251,50.52712,0,0,0,0,100,0), +(@PATH,115,-942.321,-1755.448,50.78074,0,0,0,0,100,0), +(@PATH,116,-931.257,-1775.990,49.88054,0,0,0,0,100,0), +(@PATH,117,-923.319,-1791.586,48.12437,0,0,0,0,100,0), +(@PATH,118,-914.847,-1808.245,49.04429,0,0,0,0,100,0), +(@PATH,119,-916.232,-1825.690,52.98432,0,0,0,0,100,0), +(@PATH,120,-917.954,-1844.256,60.75032,0,0,0,0,100,0), +(@PATH,121,-926.844,-1853.560,64.75401,0,0,0,0,100,0), +(@PATH,122,-939.206,-1860.130,66.13270,0,0,0,0,100,0), +(@PATH,123,-953.152,-1868.587,66.25734,0,0,0,0,100,0), +(@PATH,124,-958.630,-1878.914,66.38094,0,0,0,0,100,0), +(@PATH,125,-970.897,-1898.712,65.08327,0,0,0,0,100,0), +(@PATH,126,-987.406,-1916.735,65.40691,0,0,0,0,100,0), +(@PATH,127,-1010.646,-1934.486,63.39084,0,0,0,0,100,0), +(@PATH,128,-1031.820,-1949.485,62.46684,0,0,0,0,100,0), +(@PATH,129,-1035.493,-1975.890,62.90833,0,0,0,0,100,0), +(@PATH,130,-1036.420,-1995.748,64.75522,0,0,0,0,100,0), +(@PATH,131,-1038.648,-2015.430,67.03606,0,0,0,0,100,0), +(@PATH,132,-1040.250,-2036.301,66.30344,0,0,0,0,100,0), +(@PATH,133,-1043.269,-2057.063,61.47777,0,0,0,0,100,0), +(@PATH,134,-1044.613,-2074.511,55.09937,0,0,0,0,100,0), +(@PATH,135,-1044.425,-2088.510,52.09245,0,0,0,0,100,0), +(@PATH,136,-1044.654,-2108.304,53.02930,0,0,0,0,100,0), +(@PATH,137,-1045.710,-2125.842,57.34435,0,0,0,0,100,0), +(@PATH,138,-1046.985,-2143.296,60.29477,0,0,0,0,100,0), +(@PATH,139,-1053.525,-2160.677,61.58408,0,0,0,0,100,0), +(@PATH,140,-1062.262,-2175.840,62.20592,0,0,0,0,100,0), +(@PATH,141,-1076.352,-2186.121,61.72998,0,0,0,0,100,0), +(@PATH,142,-1094.847,-2193.411,60.91643,0,0,0,0,100,0), +(@PATH,143,-1106.986,-2197.716,60.42783,0,0,0,0,100,0), +(@PATH,144,-1120.031,-2202.598,60.33088,0,0,0,0,100,0), +(@PATH,145,-1134.107,-2208.307,60.04767,0,0,0,0,100,0), +(@PATH,146,-1147.799,-2215.043,59.17715,0,0,0,0,100,0), +(@PATH,147,-1160.361,-2221.223,56.04159,0,0,0,0,100,0), +(@PATH,148,-1171.896,-2226.954,52.36503,0,0,0,0,100,0), +(@PATH,149,-1189.245,-2236.516,50.85875,0,0,0,0,100,0), +(@PATH,150,-1207.634,-2239.848,53.60689,0,0,0,0,100,0), +(@PATH,151,-1229.502,-2243.614,54.47043,0,0,0,0,100,0), +(@PATH,152,-1244.472,-2246.192,55.41187,0,0,0,0,100,0), +(@PATH,153,-1260.545,-2248.960,56.65786,0,0,0,0,100,0), +(@PATH,154,-1288.028,-2258.480,63.48441,0,0,0,0,100,0), +(@PATH,155,-1312.666,-2265.471,63.83049,0,0,0,0,100,0), +(@PATH,156,-1329.861,-2267.820,60.97282,0,0,0,0,100,0), +(@PATH,157,-1340.939,-2282.781,60.76001,0,0,0,0,100,0), +(@PATH,158,-1346.826,-2306.510,63.29128,0,0,0,0,100,0), +(@PATH,159,-1356.514,-2330.379,62.09324,0,0,0,0,100,0), +(@PATH,160,-1364.833,-2350.875,63.27309,0,0,0,0,100,0), +(@PATH,161,-1376.378,-2370.984,64.32507,0,0,0,0,100,0), +(@PATH,162,-1390.003,-2386.963,64.44643,0,0,0,0,100,0), +(@PATH,163,-1407.306,-2405.951,61.78886,0,0,0,0,100,0), +(@PATH,164,-1420.555,-2420.490,60.09317,0,0,0,0,100,0), +(@PATH,165,-1425.015,-2436.246,60.09718,0,0,0,0,100,0), +(@PATH,166,-1429.392,-2451.957,58.94998,0,0,0,0,100,0), +(@PATH,167,-1434.995,-2478.175,61.36834,0,0,0,0,100,0), +(@PATH,168,-1440.614,-2499.642,65.68507,0,0,0,0,100,0), +(@PATH,169,-1444.769,-2517.792,67.88286,0,0,0,0,100,0), +(@PATH,170,-1445.699,-2534.073,69.19215,0,0,0,0,100,0), +(@PATH,171,-1441.826,-2548.728,71.55446,0,0,0,0,100,0), +(@PATH,172,-1434.360,-2565.785,69.52008,0,0,0,0,100,0), +(@PATH,173,-1424.968,-2590.842,66.91249,0,0,0,0,100,0), +(@PATH,174,-1425.667,-2614.124,63.25773,0,0,0,0,100,0), +(@PATH,175,-1431.743,-2624.111,59.10629,0,0,0,0,100,0), +(@PATH,176,-1442.614,-2636.355,53.52480,0,0,0,0,100,0), +(@PATH,177,-1455.655,-2648.024,49.13583,0,0,0,0,100,0), +(@PATH,178,-1466.469,-2658.470,45.53018,0,0,0,0,100,0), +(@PATH,179,-1465.657,-2675.952,41.90980,0,0,0,0,100,0), +(@PATH,180,-1460.709,-2696.355,37.18211,0,0,0,0,100,0), +(@PATH,181,-1452.888,-2710.664,35.19919,0,0,0,0,100,0), +(@PATH,182,-1439.530,-2733.909,36.79025,0,0,0,0,100,0), +(@PATH,183,-1426.573,-2754.702,36.58022,0,0,0,0,100,0), +(@PATH,184,-1414.252,-2774.490,40.43624,0,0,0,0,100,0), +(@PATH,185,-1409.163,-2793.708,40.13807,0,0,0,0,100,0), +(@PATH,186,-1403.955,-2814.052,38.17089,0,0,0,0,100,0), +(@PATH,187,-1400.756,-2834.877,37.28344,0,0,0,0,100,0), +(@PATH,188,-1392.980,-2846.435,36.52287,0,0,0,0,100,0), +(@PATH,189,-1382.798,-2860.667,34.91384,0,0,0,0,100,0), +(@PATH,190,-1374.264,-2877.216,32.65070,0,0,0,0,100,0), +(@PATH,191,-1366.549,-2891.665,32.42652,0,0,0,0,100,0), +(@PATH,192,-1354.478,-2905.827,39.13261,0,0,0,0,100,0), +(@PATH,193,-1337.495,-2913.607,41.92314,0,0,0,0,100,0), +(@PATH,194,-1322.413,-2942.040,38.85258,0,0,0,0,100,0), +(@PATH,195,-1311.788,-2949.179,37.97545,0,0,0,0,100,0), +(@PATH,196,-1293.354,-2959.238,36.04282,0,0,0,0,100,0), +(@PATH,197,-1286.243,-2968.497,35.39156,0,0,0,0,100,0), +(@PATH,198,-1278.272,-2985.291,35.52282,0,0,0,0,100,0), +(@PATH,199,-1278.453,-3001.669,36.35407,0,0,0,0,100,0), +(@PATH,200,-1276.645,-3021.391,36.00177,0,0,0,0,100,0), +(@PATH,201,-1277.911,-3042.342,35.95967,0,0,0,0,100,0), +(@PATH,202,-1283.244,-3057.739,35.20432,0,0,0,0,100,0), +(@PATH,203,-1285.871,-3073.835,34.69639,0,0,0,0,100,0), +(@PATH,204,-1285.933,-3087.835,34.16180,0,0,0,0,100,0), +(@PATH,205,-1287.669,-3106.376,33.67950,0,0,0,0,100,0), +(@PATH,206,-1291.360,-3123.482,34.17837,0,0,0,0,100,0), +(@PATH,207,-1294.929,-3139.397,35.25090,0,0,0,0,100,0), +(@PATH,208,-1299.368,-3164.641,35.11166,0,0,0,0,100,0), +(@PATH,209,-1290.961,-3179.933,35.79531,0,0,0,0,100,0), +(@PATH,210,-1278.226,-3195.107,35.04691,0,0,0,0,100,0), +(@PATH,211,-1265.487,-3211.802,34.85434,0,0,0,0,100,0), +(@PATH,212,-1254.874,-3225.805,34.67227,0,0,0,0,100,0), +(@PATH,213,-1242.016,-3239.177,34.42041,0,0,0,0,100,0), +(@PATH,214,-1226.995,-3250.289,32.20225,0,0,0,0,100,0), +(@PATH,215,-1209.005,-3258.555,29.59883,0,0,0,0,100,0), +(@PATH,216,-1190.414,-3265.396,32.87492,0,0,0,0,100,0), +(@PATH,217,-1166.793,-3271.900,39.47464,0,0,0,0,100,0), +(@PATH,218,-1142.090,-3278.944,45.54786,0,0,0,0,100,0), +(@PATH,219,-1119.980,-3286.243,48.92627,0,0,0,0,100,0), +(@PATH,220,-1095.748,-3294.774,51.35248,0,0,0,0,100,0), +(@PATH,221,-1074.817,-3302.142,53.40496,0,0,0,0,100,0), +(@PATH,222,-1055.146,-3305.007,54.27245,0,0,0,0,100,0), +(@PATH,223,-1035.344,-3304.849,53.27559,0,0,0,0,100,0), +(@PATH,224,-1014.499,-3304.045,54.20192,0,0,0,0,100,0), +(@PATH,225,-990.851,-3298.044,63.28812,0,0,0,0,100,0), +(@PATH,226,-970.008,-3295.534,70.09853,0,0,0,0,100,0), +(@PATH,227,-944.635,-3291.997,74.38611,0,0,0,0,100,0), +(@PATH,228,-932.371,-3285.322,76.28872,0,0,0,0,100,0), +(@PATH,229,-913.366,-3271.833,80.13741,0,0,0,0,100,0), +(@PATH,230,-897.063,-3255.075,83.12675,0,0,0,0,100,0), +(@PATH,231,-881.291,-3241.244,84.59821,0,0,0,0,100,0), +(@PATH,232,-867.330,-3227.198,84.76893,0,0,0,0,100,0), +(@PATH,233,-850.828,-3216.250,83.22803,0,0,0,0,100,0), +(@PATH,234,-833.957,-3205.938,79.70540,0,0,0,0,100,0), +(@PATH,235,-816.334,-3196.889,81.54343,3.60,60000,0,0,100,0); + +-- Updating creature loot for Fozruk +DELETE FROM `creature_loot_template` WHERE `entry`=@FOZRUK; +INSERT INTO `creature_loot_template` VALUES +(@FOZRUK,4469,-100,1,0,1,1), +(@FOZRUK,7192,30,1,0,1,2), +(@FOZRUK,8150,20,1,0,1,1), +(@FOZRUK,4552,12,1,0,1,1), +(@FOZRUK,4554,4,1,0,1,1), +(@FOZRUK,8157,1,1,0,1,1), +(@FOZRUK,4637,1,1,0,1,1), +(@FOZRUK,4045,0.4,1,0,1,1), +(@FOZRUK,4002,0.3,1,0,1,1), +(@FOZRUK,7909,0.2,1,0,1,1), +(@FOZRUK,4024,0.2,1,0,1,1), +(@FOZRUK,4004,0.2,1,0,1,1), +(@FOZRUK,3963,0.2,1,0,1,1), +(@FOZRUK,3989,0.2,1,0,1,1), +(@FOZRUK,4026,0.2,1,0,1,1), +(@FOZRUK,8750,0.2,1,0,1,1), +(@FOZRUK,4025,0.2,1,0,1,1), +(@FOZRUK,4018,0.2,1,0,1,1), +(@FOZRUK,3962,0.2,1,0,1,1), +(@FOZRUK,3938,0.2,1,0,1,1), +(@FOZRUK,4022,0.2,1,0,1,1), +(@FOZRUK,4023,0.2,1,0,1,1), +(@FOZRUK,4020,0.2,1,0,1,1), +(@FOZRUK,3965,0.1,1,0,1,1), +(@FOZRUK,3939,0.1,1,0,1,1), +(@FOZRUK,4019,0.1,1,0,1,1), +(@FOZRUK,4007,0.1,1,0,1,1), +(@FOZRUK,3986,0.1,1,0,1,1), +(@FOZRUK,4017,0.1,1,0,1,1), +(@FOZRUK,3942,0.1,1,0,1,1), +(@FOZRUK,3966,0.1,1,0,1,1), +(@FOZRUK,4021,0.1,1,0,1,1), +(@FOZRUK,3937,0.1,1,0,1,1), +(@FOZRUK,3941,0.1,1,0,1,1), +(@FOZRUK,3943,0.1,1,0,1,1), +(@FOZRUK,8137,0.1,1,0,1,1), +(@FOZRUK,9285,0.1,1,0,1,1), +(@FOZRUK,8194,0.1,1,0,1,1), +(@FOZRUK,15251,0.1,1,0,1,1), +(@FOZRUK,4061,0.1,1,0,1,1), +(@FOZRUK,4736,0.1,1,0,1,1), +(@FOZRUK,4000,0.1,1,0,1,1), +(@FOZRUK,3964,0.1,1,0,1,1), +(@FOZRUK,9290,0.1,1,0,1,1), +(@FOZRUK,866,0.1,1,0,1,1), +(@FOZRUK,8386,0.1,1,0,1,1), +(@FOZRUK,3936,0.1,1,0,1,1), +(@FOZRUK,4001,0.1,1,0,1,1), +(@FOZRUK,4005,0.1,1,0,1,1), +(@FOZRUK,3961,0.1,1,0,1,1), +(@FOZRUK,3967,0.1,1,0,1,1), +(@FOZRUK,3968,0.1,1,0,1,1), +(@FOZRUK,6424,0.1,1,0,1,1), +(@FOZRUK,9968,0.1,1,0,1,1), +(@FOZRUK,1625,0.1,1,0,1,1), +(@FOZRUK,6431,0.1,1,0,1,1), +(@FOZRUK,12042,0.1,1,0,1,1), +(@FOZRUK,1640,0.1,1,0,1,1), +(@FOZRUK,7555,0.1,1,0,1,1), +(@FOZRUK,9883,0.1,1,0,1,1), +(@FOZRUK,4087,0.1,1,0,1,1), +(@FOZRUK,3914,0.1,1,0,1,1), +(@FOZRUK,8749,0.1,1,0,1,1), +(@FOZRUK,4003,0.1,1,0,1,1), +(@FOZRUK,4006,0.1,1,0,1,1), +(@FOZRUK,13138,0.1,1,0,1,1), +(@FOZRUK,8196,0.1,1,0,1,1), +(@FOZRUK,5215,0.1,1,0,1,1), +(@FOZRUK,9292,0.1,1,0,1,1), +(@FOZRUK,4058,0.1,1,0,1,1), +(@FOZRUK,7524,0.1,1,0,1,1), +(@FOZRUK,8120,0.1,1,0,1,1), +(@FOZRUK,9893,0.1,1,0,1,1), +(@FOZRUK,4738,0.1,1,0,1,1), +(@FOZRUK,11987,0.1,1,0,1,1), +(@FOZRUK,9897,0.1,1,0,1,1), +(@FOZRUK,8163,0.1,1,0,1,1), +(@FOZRUK,4047,0.1,1,0,1,1), +(@FOZRUK,7481,0.1,1,0,1,1), +(@FOZRUK,7485,0.1,1,0,1,1), +(@FOZRUK,7332,0.1,1,0,1,1), +(@FOZRUK,7471,0.1,1,0,1,1), +(@FOZRUK,7470,0.1,1,0,1,1), +(@FOZRUK,9909,0.1,1,0,1,1), +(@FOZRUK,8751,0.1,1,0,1,1), +(@FOZRUK,867,0.1,1,0,1,1), +(@FOZRUK,13058,0.1,1,0,1,1), +(@FOZRUK,13034,0.1,1,0,1,1), +(@FOZRUK,7112,0.1,1,0,1,1), +(@FOZRUK,6415,0.1,1,0,1,1), +(@FOZRUK,6425,0.1,1,0,1,1), +(@FOZRUK,9927,0.1,1,0,1,1), +(@FOZRUK,9928,0.1,1,0,1,1), +(@FOZRUK,9930,0.1,1,0,1,1), +(@FOZRUK,9931,0.1,1,0,1,1), +(@FOZRUK,7486,0.1,1,0,1,1), +(@FOZRUK,7488,0.1,1,0,1,1), +(@FOZRUK,7487,0.1,1,0,1,1), +(@FOZRUK,7491,0.1,1,0,1,1), +(@FOZRUK,7494,0.1,1,0,1,1), +(@FOZRUK,6411,0.1,1,0,1,1), +(@FOZRUK,4068,0.1,1,0,1,1), +(@FOZRUK,3864,0.1,1,0,1,1), +(@FOZRUK,15287,0.1,1,0,1,1), +(@FOZRUK,21947,0.05,1,0,1,1), +(@FOZRUK,9966,0.05,1,0,1,1), +(@FOZRUK,9973,0.05,1,0,1,1), +(@FOZRUK,9972,0.05,1,0,1,1), +(@FOZRUK,9970,0.05,1,0,1,1), +(@FOZRUK,12011,0.05,1,0,1,1), +(@FOZRUK,11204,0.05,1,0,1,1), +(@FOZRUK,11225,0.05,1,0,1,1), +(@FOZRUK,11208,0.05,1,0,1,1), +(@FOZRUK,7522,0.05,1,0,1,1), +(@FOZRUK,9887,0.05,1,0,1,1), +(@FOZRUK,9894,0.05,1,0,1,1), +(@FOZRUK,@FEEBOZ,0.05,1,0,1,1), +(@FOZRUK,4062,0.05,1,0,1,1), +(@FOZRUK,9903,0.05,1,0,1,1), +(@FOZRUK,9904,0.05,1,0,1,1), +(@FOZRUK,11998,0.05,1,0,1,1), +(@FOZRUK,4070,0.05,1,0,1,1), +(@FOZRUK,8162,0.05,1,0,1,1), +(@FOZRUK,12031,0.05,1,0,1,1), +(@FOZRUK,4735,0.05,1,0,1,1), +(@FOZRUK,6429,0.05,1,0,1,1), +(@FOZRUK,4300,0.05,1,0,1,1), +(@FOZRUK,10302,0.05,1,0,1,1), +(@FOZRUK,10300,0.05,1,0,1,1), +(@FOZRUK,3873,0.05,1,0,1,1), +(@FOZRUK,8029,0.05,1,0,1,1), +(@FOZRUK,7479,0.05,1,0,1,1), +(@FOZRUK,7482,0.05,1,0,1,1), +(@FOZRUK,15244,0.05,1,0,1,1), +(@FOZRUK,9298,0.05,1,0,1,1), +(@FOZRUK,7475,0.05,1,0,1,1), +(@FOZRUK,7473,0.05,1,0,1,1), +(@FOZRUK,9907,0.05,1,0,1,1), +(@FOZRUK,9908,0.05,1,0,1,1), +(@FOZRUK,9906,0.05,1,0,1,1), +(@FOZRUK,3187,0.05,1,0,1,1), +(@FOZRUK,10604,0.05,1,0,1,1), +(@FOZRUK,9881,0.05,1,0,1,1), +(@FOZRUK,9882,0.05,1,0,1,1), +(@FOZRUK,1613,0.05,1,0,1,1), +(@FOZRUK,7910,0.05,1,0,1,1), +(@FOZRUK,12023,0.05,1,0,1,1), +(@FOZRUK,5216,0.05,1,0,1,1), +(@FOZRUK,9959,0.05,1,0,1,1), +(@FOZRUK,8385,0.05,1,0,1,1); + +-- Updating Creature loot for Feeboz +DELETE FROM `creature_loot_template` WHERE `entry`=@FEEBOZ; +INSERT INTO `creature_loot_template` VALUES +(@FEEBOZ,4306,51,1,0,1,3), +(@FEEBOZ,4539,13,1,0,1,1), +(@FEEBOZ,4338,9,1,0,1,1), +(@FEEBOZ,1708,4,1,0,1,1), +(@FEEBOZ,1710,3,1,0,1,1), +(@FEEBOZ,3827,1.2,1,0,1,1), +(@FEEBOZ,3805,0.5,1,0,1,1), +(@FEEBOZ,8748,0.5,1,0,1,1), +(@FEEBOZ,3795,0.5,1,0,1,1), +(@FEEBOZ,3797,0.5,1,0,1,1), +(@FEEBOZ,3782,0.5,1,0,1,1), +(@FEEBOZ,7492,0.5,1,0,1,1), +(@FEEBOZ,3785,0.5,1,0,1,1), +(@FEEBOZ,3780,0.5,1,0,1,1), +(@FEEBOZ,3817,0.5,1,0,1,1), +(@FEEBOZ,9891,0.5,1,0,1,1), +(@FEEBOZ,3803,0.5,1,0,1,1), +(@FEEBOZ,3784,0.5,1,0,1,1), +(@FEEBOZ,3787,0.5,1,0,1,1), +(@FEEBOZ,4636,0.5,1,0,1,1), +(@FEEBOZ,3811,0.5,1,0,1,1), +(@FEEBOZ,3807,0.5,1,0,1,1), +(@FEEBOZ,3779,0.5,1,0,1,1), +(@FEEBOZ,3778,0.5,1,0,1,1), +(@FEEBOZ,2289,0.5,1,0,1,1), +(@FEEBOZ,3781,0.5,1,0,1,1), +(@FEEBOZ,3801,0.5,1,0,1,1), +(@FEEBOZ,3783,0.5,1,0,1,1), +(@FEEBOZ,15233,0.5,1,0,1,1), +(@FEEBOZ,3786,0.5,1,0,1,1), +(@FEEBOZ,6432,0.5,1,0,1,1), +(@FEEBOZ,864,0.5,1,0,1,1), +(@FEEBOZ,3809,0.5,1,0,1,1), +(@FEEBOZ,3802,0.5,1,0,1,1), +(@FEEBOZ,3796,0.5,1,0,1,1), +(@FEEBOZ,3816,0.5,1,0,1,1), +(@FEEBOZ,4041,0.5,1,0,1,1), +(@FEEBOZ,3864,0.5,1,0,1,1), +(@FEEBOZ,6419,0.5,1,0,1,1), +(@FEEBOZ,15322,0.5,1,0,1,1), +(@FEEBOZ,15260,0.5,1,0,1,1), +(@FEEBOZ,1465,0.5,1,0,1,1), +(@FEEBOZ,4421,0.5,1,0,1,1), +(@FEEBOZ,4424,0.5,1,0,1,1), +(@FEEBOZ,3813,0.5,1,0,1,1), +(@FEEBOZ,3804,0.5,1,0,1,1), +(@FEEBOZ,3806,0.5,1,0,1,1), +(@FEEBOZ,3792,0.5,1,0,1,1), +(@FEEBOZ,3793,0.5,1,0,1,1), +(@FEEBOZ,3798,0.5,1,0,1,1), +(@FEEBOZ,7909,0.5,1,0,1,1), +(@FEEBOZ,4727,0.5,1,0,1,1), +(@FEEBOZ,6420,0.5,1,0,1,1), +(@FEEBOZ,6422,0.5,1,0,1,1), +(@FEEBOZ,7480,0.5,1,0,1,1), +(@FEEBOZ,9873,0.5,1,0,1,1), +(@FEEBOZ,3808,0.5,1,0,1,1), +(@FEEBOZ,3810,0.5,1,0,1,1), +(@FEEBOZ,3812,0.5,1,0,1,1), +(@FEEBOZ,3814,0.5,1,0,1,1), +(@FEEBOZ,8747,0.5,1,0,1,1), +(@FEEBOZ,3794,0.5,1,0,1,1), +(@FEEBOZ,8006,0.5,1,0,1,1), +(@FEEBOZ,4043,0.5,1,0,1,1), +(@FEEBOZ,4078,0.5,1,0,1,1), +(@FEEBOZ,9890,0.5,1,0,1,1), +(@FEEBOZ,12022,0.5,1,0,1,1), +(@FEEBOZ,1529,0.5,1,0,1,1), +(@FEEBOZ,9895,0.5,1,0,1,1), +(@FEEBOZ,9896,0.5,1,0,1,1), +(@FEEBOZ,9898,0.5,1,0,1,1), +(@FEEBOZ,7454,0.5,1,0,1,1), +(@FEEBOZ,15214,0.5,1,0,1,1), +(@FEEBOZ,3874,0.5,1,0,1,1), +(@FEEBOZ,7485,0.5,1,0,1,1), +(@FEEBOZ,15261,0.5,1,0,1,1), +(@FEEBOZ,9879,0.5,1,0,1,1), +(@FEEBOZ,9876,0.5,1,0,1,1), +(@FEEBOZ,7435,0.5,1,0,1,1), +(@FEEBOZ,7431,0.5,1,0,1,1), +(@FEEBOZ,1725,0.5,1,0,1,1), +(@FEEBOZ,8746,0.5,1,0,1,1), +(@FEEBOZ,9434,0.5,1,0,1,1), +(@FEEBOZ,13129,0.5,1,0,1,1), +(@FEEBOZ,9854,0.5,1,0,1,1), +(@FEEBOZ,6416,0.5,1,0,1,1), +(@FEEBOZ,4042,0.5,1,0,1,1), +(@FEEBOZ,7610,0.5,1,0,1,1), +(@FEEBOZ,7493,0.5,1,0,1,1), +(@FEEBOZ,6411,0.5,1,0,1,1), +(@FEEBOZ,6412,0.5,1,0,1,1), +(@FEEBOZ,15918,0.5,1,0,1,1), +(@FEEBOZ,1625,0.5,1,0,1,1), +(@FEEBOZ,12040,0.5,1,0,1,1), +(@FEEBOZ,6421,0.5,1,0,1,1), +(@FEEBOZ,4067,0.5,1,0,1,1), +(@FEEBOZ,4731,0.5,1,0,1,1), +(@FEEBOZ,15234,0.5,1,0,1,1), +(@FEEBOZ,21525,0.5,1,0,1,1), +(@FEEBOZ,9886,0.5,1,0,1,1), +(@FEEBOZ,9889,0.5,1,0,1,1), +(@FEEBOZ,9893,0.5,1,0,1,1), +(@FEEBOZ,4738,0.5,1,0,1,1), +(@FEEBOZ,9897,0.5,1,0,1,1), +(@FEEBOZ,9900,0.5,1,0,1,1), +(@FEEBOZ,12030,0.5,1,0,1,1), +(@FEEBOZ,7455,0.5,1,0,1,1), +(@FEEBOZ,7459,0.5,1,0,1,1), +(@FEEBOZ,1207,0.5,1,0,1,1), +(@FEEBOZ,4300,0.5,1,0,1,1), +(@FEEBOZ,4614,0.5,1,0,1,1), +(@FEEBOZ,3868,0.5,1,0,1,1), +(@FEEBOZ,3867,0.5,1,0,1,1), +(@FEEBOZ,9293,0.5,1,0,1,1), +(@FEEBOZ,7474,0.5,1,0,1,1), +(@FEEBOZ,7476,0.5,1,0,1,1), +(@FEEBOZ,7445,0.5,1,0,1,1), +(@FEEBOZ,7440,0.5,1,0,1,1), +(@FEEBOZ,9881,0.5,1,0,1,1), +(@FEEBOZ,9875,0.5,1,0,1,1), +(@FEEBOZ,11986,0.5,1,0,1,1), +(@FEEBOZ,3800,0.5,1,0,1,1); + +-- Updating missing pickpocket loot temp for Feeboz +UPDATE `creature_template` SET `pickpocketloot`=@FEEBOZ WHERE `entry`=@FEEBOZ; +DELETE FROM `pickpocketing_loot_template` WHERE `entry`=@FEEBOZ; +INSERT INTO `pickpocketing_loot_template` VALUES +(@FEEBOZ,5429,18,1,0,1,1), +(@FEEBOZ,3771,13,1,0,1,1), +(@FEEBOZ,16883,11,1,0,1,1), +(@FEEBOZ,3864,2,1,0,1,1); + +-- Updating creature loot for Znort +DELETE FROM `creature_loot_template` WHERE `entry`=@ZNORT; +INSERT INTO `creature_loot_template` VALUES +(@ZNORT,4306,51,1,0,1,3), +(@ZNORT,4539,13,1,0,1,1), +(@ZNORT,4338,9,1,0,1,1), +(@ZNORT,1708,4,1,0,1,1), +(@ZNORT,1710,3,1,0,1,1), +(@ZNORT,3827,1.2,1,0,1,1), +(@ZNORT,3805,0.5,1,0,1,1), +(@ZNORT,8748,0.5,1,0,1,1), +(@ZNORT,3795,0.5,1,0,1,1), +(@ZNORT,3797,0.5,1,0,1,1), +(@ZNORT,3782,0.5,1,0,1,1), +(@ZNORT,7492,0.5,1,0,1,1), +(@ZNORT,3785,0.5,1,0,1,1), +(@ZNORT,3780,0.5,1,0,1,1), +(@ZNORT,3817,0.5,1,0,1,1), +(@ZNORT,9891,0.5,1,0,1,1), +(@ZNORT,3803,0.5,1,0,1,1), +(@ZNORT,3784,0.5,1,0,1,1), +(@ZNORT,3787,0.5,1,0,1,1), +(@ZNORT,4636,0.5,1,0,1,1), +(@ZNORT,3811,0.5,1,0,1,1), +(@ZNORT,3807,0.5,1,0,1,1), +(@ZNORT,3779,0.5,1,0,1,1), +(@ZNORT,3778,0.5,1,0,1,1), +(@ZNORT,2289,0.5,1,0,1,1), +(@ZNORT,3781,0.5,1,0,1,1), +(@ZNORT,3801,0.5,1,0,1,1), +(@ZNORT,3783,0.5,1,0,1,1), +(@ZNORT,15233,0.5,1,0,1,1), +(@ZNORT,3786,0.5,1,0,1,1), +(@ZNORT,6432,0.5,1,0,1,1), +(@ZNORT,864,0.5,1,0,1,1), +(@ZNORT,3809,0.5,1,0,1,1), +(@ZNORT,3802,0.5,1,0,1,1), +(@ZNORT,3796,0.5,1,0,1,1), +(@ZNORT,3816,0.5,1,0,1,1), +(@ZNORT,4041,0.5,1,0,1,1), +(@ZNORT,3864,0.5,1,0,1,1), +(@ZNORT,6419,0.5,1,0,1,1), +(@ZNORT,15322,0.5,1,0,1,1), +(@ZNORT,15260,0.5,1,0,1,1), +(@ZNORT,1465,0.5,1,0,1,1), +(@ZNORT,4421,0.5,1,0,1,1), +(@ZNORT,4424,0.5,1,0,1,1), +(@ZNORT,3813,0.5,1,0,1,1), +(@ZNORT,3804,0.5,1,0,1,1), +(@ZNORT,3806,0.5,1,0,1,1), +(@ZNORT,3792,0.5,1,0,1,1), +(@ZNORT,3793,0.5,1,0,1,1), +(@ZNORT,3798,0.5,1,0,1,1), +(@ZNORT,7909,0.5,1,0,1,1), +(@ZNORT,4727,0.5,1,0,1,1), +(@ZNORT,6420,0.5,1,0,1,1), +(@ZNORT,6422,0.5,1,0,1,1), +(@ZNORT,7480,0.5,1,0,1,1), +(@ZNORT,9873,0.5,1,0,1,1), +(@ZNORT,3808,0.5,1,0,1,1), +(@ZNORT,3810,0.5,1,0,1,1), +(@ZNORT,3812,0.5,1,0,1,1), +(@ZNORT,3814,0.5,1,0,1,1), +(@ZNORT,8747,0.5,1,0,1,1), +(@ZNORT,3794,0.5,1,0,1,1), +(@ZNORT,8006,0.5,1,0,1,1), +(@ZNORT,4043,0.5,1,0,1,1), +(@ZNORT,4078,0.5,1,0,1,1), +(@ZNORT,9890,0.5,1,0,1,1), +(@ZNORT,12022,0.5,1,0,1,1), +(@ZNORT,1529,0.5,1,0,1,1), +(@ZNORT,9895,0.5,1,0,1,1), +(@ZNORT,9896,0.5,1,0,1,1), +(@ZNORT,9898,0.5,1,0,1,1), +(@ZNORT,7454,0.5,1,0,1,1), +(@ZNORT,15214,0.5,1,0,1,1), +(@ZNORT,3874,0.5,1,0,1,1), +(@ZNORT,7485,0.5,1,0,1,1), +(@ZNORT,15261,0.5,1,0,1,1), +(@ZNORT,9879,0.5,1,0,1,1), +(@ZNORT,9876,0.5,1,0,1,1), +(@ZNORT,7435,0.5,1,0,1,1), +(@ZNORT,7431,0.5,1,0,1,1), +(@ZNORT,1725,0.5,1,0,1,1), +(@ZNORT,8746,0.5,1,0,1,1), +(@ZNORT,9434,0.5,1,0,1,1), +(@ZNORT,13129,0.5,1,0,1,1), +(@ZNORT,9854,0.5,1,0,1,1), +(@ZNORT,6416,0.5,1,0,1,1), +(@ZNORT,4042,0.5,1,0,1,1), +(@ZNORT,7610,0.5,1,0,1,1), +(@ZNORT,7493,0.5,1,0,1,1), +(@ZNORT,6411,0.5,1,0,1,1), +(@ZNORT,6412,0.5,1,0,1,1), +(@ZNORT,15918,0.5,1,0,1,1), +(@ZNORT,1625,0.5,1,0,1,1), +(@ZNORT,12040,0.5,1,0,1,1), +(@ZNORT,6421,0.5,1,0,1,1), +(@ZNORT,4067,0.5,1,0,1,1), +(@ZNORT,4731,0.5,1,0,1,1), +(@ZNORT,15234,0.5,1,0,1,1), +(@ZNORT,21525,0.5,1,0,1,1), +(@ZNORT,9886,0.5,1,0,1,1), +(@ZNORT,9889,0.5,1,0,1,1), +(@ZNORT,9893,0.5,1,0,1,1), +(@ZNORT,4738,0.5,1,0,1,1), +(@ZNORT,9897,0.5,1,0,1,1), +(@ZNORT,9900,0.5,1,0,1,1), +(@ZNORT,12030,0.5,1,0,1,1), +(@ZNORT,7455,0.5,1,0,1,1), +(@ZNORT,7459,0.5,1,0,1,1), +(@ZNORT,1207,0.5,1,0,1,1), +(@ZNORT,4300,0.5,1,0,1,1), +(@ZNORT,4614,0.5,1,0,1,1), +(@ZNORT,3868,0.5,1,0,1,1), +(@ZNORT,3867,0.5,1,0,1,1), +(@ZNORT,9293,0.5,1,0,1,1), +(@ZNORT,7474,0.5,1,0,1,1), +(@ZNORT,7476,0.5,1,0,1,1), +(@ZNORT,7445,0.5,1,0,1,1), +(@ZNORT,7440,0.5,1,0,1,1), +(@ZNORT,9881,0.5,1,0,1,1), +(@ZNORT,9875,0.5,1,0,1,1), +(@ZNORT,11986,0.5,1,0,1,1), +(@ZNORT,3800,0.5,1,0,1,1); + +-- Adding missing pickpocket loot template for Znort +UPDATE `creature_template` SET `pickpocketloot`=@ZNORT WHERE `entry`=@ZNORT; +DELETE FROM `pickpocketing_loot_template` WHERE `entry`=@ZNORT; +INSERT INTO `pickpocketing_loot_template` VALUES +(@ZNORT,3771,17,1,0,1,1), +(@ZNORT,16883,17,1,0,1,1), +(@ZNORT,5429,16,1,0,1,1), +(@ZNORT,1710,16,1,0,1,1); + +-- Updating creature loot for Sleeby +DELETE FROM `creature_loot_template` WHERE `entry`=@SLEEBY; +INSERT INTO `creature_loot_template` VALUES +(@SLEEBY,4306,51,1,0,1,3), +(@SLEEBY,4539,13,1,0,1,1), +(@SLEEBY,4338,9,1,0,1,1), +(@SLEEBY,1708,4,1,0,1,1), +(@SLEEBY,1710,3,1,0,1,1), +(@SLEEBY,3827,1.2,1,0,1,1), +(@SLEEBY,3805,0.5,1,0,1,1), +(@SLEEBY,8748,0.5,1,0,1,1), +(@SLEEBY,3795,0.5,1,0,1,1), +(@SLEEBY,3797,0.5,1,0,1,1), +(@SLEEBY,3782,0.5,1,0,1,1), +(@SLEEBY,7492,0.5,1,0,1,1), +(@SLEEBY,3785,0.5,1,0,1,1), +(@SLEEBY,3780,0.5,1,0,1,1), +(@SLEEBY,3817,0.5,1,0,1,1), +(@SLEEBY,9891,0.5,1,0,1,1), +(@SLEEBY,3803,0.5,1,0,1,1), +(@SLEEBY,3784,0.5,1,0,1,1), +(@SLEEBY,3787,0.5,1,0,1,1), +(@SLEEBY,4636,0.5,1,0,1,1), +(@SLEEBY,3811,0.5,1,0,1,1), +(@SLEEBY,3807,0.5,1,0,1,1), +(@SLEEBY,3779,0.5,1,0,1,1), +(@SLEEBY,3778,0.5,1,0,1,1), +(@SLEEBY,2289,0.5,1,0,1,1), +(@SLEEBY,3781,0.5,1,0,1,1), +(@SLEEBY,3801,0.5,1,0,1,1), +(@SLEEBY,3783,0.5,1,0,1,1), +(@SLEEBY,15233,0.5,1,0,1,1), +(@SLEEBY,3786,0.5,1,0,1,1), +(@SLEEBY,6432,0.5,1,0,1,1), +(@SLEEBY,864,0.5,1,0,1,1), +(@SLEEBY,3809,0.5,1,0,1,1), +(@SLEEBY,3802,0.5,1,0,1,1), +(@SLEEBY,3796,0.5,1,0,1,1), +(@SLEEBY,3816,0.5,1,0,1,1), +(@SLEEBY,4041,0.5,1,0,1,1), +(@SLEEBY,3864,0.5,1,0,1,1), +(@SLEEBY,6419,0.5,1,0,1,1), +(@SLEEBY,15322,0.5,1,0,1,1), +(@SLEEBY,15260,0.5,1,0,1,1), +(@SLEEBY,1465,0.5,1,0,1,1), +(@SLEEBY,4421,0.5,1,0,1,1), +(@SLEEBY,4424,0.5,1,0,1,1), +(@SLEEBY,3813,0.5,1,0,1,1), +(@SLEEBY,3804,0.5,1,0,1,1), +(@SLEEBY,3806,0.5,1,0,1,1), +(@SLEEBY,3792,0.5,1,0,1,1), +(@SLEEBY,3793,0.5,1,0,1,1), +(@SLEEBY,3798,0.5,1,0,1,1), +(@SLEEBY,7909,0.5,1,0,1,1), +(@SLEEBY,4727,0.5,1,0,1,1), +(@SLEEBY,6420,0.5,1,0,1,1), +(@SLEEBY,6422,0.5,1,0,1,1), +(@SLEEBY,7480,0.5,1,0,1,1), +(@SLEEBY,9873,0.5,1,0,1,1), +(@SLEEBY,3808,0.5,1,0,1,1), +(@SLEEBY,3810,0.5,1,0,1,1), +(@SLEEBY,3812,0.5,1,0,1,1), +(@SLEEBY,3814,0.5,1,0,1,1), +(@SLEEBY,8747,0.5,1,0,1,1), +(@SLEEBY,3794,0.5,1,0,1,1), +(@SLEEBY,8006,0.5,1,0,1,1), +(@SLEEBY,4043,0.5,1,0,1,1), +(@SLEEBY,4078,0.5,1,0,1,1), +(@SLEEBY,9890,0.5,1,0,1,1), +(@SLEEBY,12022,0.5,1,0,1,1), +(@SLEEBY,1529,0.5,1,0,1,1), +(@SLEEBY,9895,0.5,1,0,1,1), +(@SLEEBY,9896,0.5,1,0,1,1), +(@SLEEBY,9898,0.5,1,0,1,1), +(@SLEEBY,7454,0.5,1,0,1,1), +(@SLEEBY,15214,0.5,1,0,1,1), +(@SLEEBY,3874,0.5,1,0,1,1), +(@SLEEBY,7485,0.5,1,0,1,1), +(@SLEEBY,15261,0.5,1,0,1,1), +(@SLEEBY,9879,0.5,1,0,1,1), +(@SLEEBY,9876,0.5,1,0,1,1), +(@SLEEBY,7435,0.5,1,0,1,1), +(@SLEEBY,7431,0.5,1,0,1,1), +(@SLEEBY,1725,0.5,1,0,1,1), +(@SLEEBY,8746,0.5,1,0,1,1), +(@SLEEBY,9434,0.5,1,0,1,1), +(@SLEEBY,13129,0.5,1,0,1,1), +(@SLEEBY,9854,0.5,1,0,1,1), +(@SLEEBY,6416,0.5,1,0,1,1), +(@SLEEBY,4042,0.5,1,0,1,1), +(@SLEEBY,7610,0.5,1,0,1,1), +(@SLEEBY,7493,0.5,1,0,1,1), +(@SLEEBY,6411,0.5,1,0,1,1), +(@SLEEBY,6412,0.5,1,0,1,1), +(@SLEEBY,15918,0.5,1,0,1,1), +(@SLEEBY,1625,0.5,1,0,1,1), +(@SLEEBY,12040,0.5,1,0,1,1), +(@SLEEBY,6421,0.5,1,0,1,1), +(@SLEEBY,4067,0.5,1,0,1,1), +(@SLEEBY,4731,0.5,1,0,1,1), +(@SLEEBY,15234,0.5,1,0,1,1), +(@SLEEBY,21525,0.5,1,0,1,1), +(@SLEEBY,9886,0.5,1,0,1,1), +(@SLEEBY,9889,0.5,1,0,1,1), +(@SLEEBY,9893,0.5,1,0,1,1), +(@SLEEBY,4738,0.5,1,0,1,1), +(@SLEEBY,9897,0.5,1,0,1,1), +(@SLEEBY,9900,0.5,1,0,1,1), +(@SLEEBY,12030,0.5,1,0,1,1), +(@SLEEBY,7455,0.5,1,0,1,1), +(@SLEEBY,7459,0.5,1,0,1,1), +(@SLEEBY,1207,0.5,1,0,1,1), +(@SLEEBY,4300,0.5,1,0,1,1), +(@SLEEBY,4614,0.5,1,0,1,1), +(@SLEEBY,3868,0.5,1,0,1,1), +(@SLEEBY,3867,0.5,1,0,1,1), +(@SLEEBY,9293,0.5,1,0,1,1), +(@SLEEBY,7474,0.5,1,0,1,1), +(@SLEEBY,7476,0.5,1,0,1,1), +(@SLEEBY,7445,0.5,1,0,1,1), +(@SLEEBY,7440,0.5,1,0,1,1), +(@SLEEBY,9881,0.5,1,0,1,1), +(@SLEEBY,9875,0.5,1,0,1,1), +(@SLEEBY,11986,0.5,1,0,1,1), +(@SLEEBY,3800,0.5,1,0,1,1); + +-- Updating missing pickpocket loot for Sleeby +UPDATE `creature_template` SET `pickpocketloot`=@SLEEBY WHERE `entry`=@SLEEBY; +DELETE FROM `pickpocketing_loot_template` WHERE `entry`=@SLEEBY; +INSERT INTO `pickpocketing_loot_template` VALUES +(@SLEEBY,16883,53,1,0,1,1), +(@SLEEBY,5429,10,1,0,1,1), +(@SLEEBY,3771,6,1,0,1,1), +(@SLEEBY,1710,5,1,0,1,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_06_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_06_world_sai.sql new file mode 100644 index 00000000000..3eeed904df9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_06_world_sai.sql @@ -0,0 +1,9 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(24688,24689,24690); +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 +(24688,0,0,0,2,0,100,6,0,20,29000,39000,11,44505,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Wretched Skulker - On Less than 20% HP - Cast Drink Fel Infusion'), +(24688,0,1,0,0,0,100,6,6200,14000,5000,12000,11,44533,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Skulker - In Combat - Cast Wretched Stab'), +(24689,0,0,0,2,0,100,6,0,20,23000,33000,11,44505,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Wretched Bruiser - On Less than 20% HP - Cast Drink Fel Infusion'), +(24689,0,1,0,0,0,100,6,3800,3800,6000,11000,11,44534,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Bruiser - In Combat - Cast Wretched Strike'), +(24690,0,0,0,2,0,100,6,0,20,29000,39000,11,44505,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Wretched Husk - On Less than 20% HP - Cast Drink Fel Infusion'), +(24690,0,1,0,0,0,50,6,5000,5000,7000,17000,11,44503,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Husk - In Combat - Cast Wretched Fireball'), +(24690,0,2,0,0,0,50,6,6500,6500,14000,24000,11,44504,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Wretched Husk - In Combat - Cast Wretched Frostbolt'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_07_world_creature_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_07_world_creature_loot_template.sql new file mode 100644 index 00000000000..402e00d685e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_07_world_creature_loot_template.sql @@ -0,0 +1,3 @@ +-- Gnomish Grenades have Very High drop chance +-- http://eu.battle.net/wow/en/item/34772 +UPDATE `creature_loot_template` SET `ChanceOrQuestChance`=-90 WHERE `entry`=25449 and `item`=34772; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_08_world_player_factionchange_spells.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_08_world_player_factionchange_spells.sql new file mode 100644 index 00000000000..1d3da3eb33b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_08_world_player_factionchange_spells.sql @@ -0,0 +1,5 @@ +DELETE FROM `player_factionchange_spells` WHERE `alliance_id`=59791 AND `horde_id`=59793; +DELETE FROM `player_factionchange_spells` WHERE `alliance_id`=60114 AND `horde_id`=60116; +INSERT INTO `player_factionchange_spells` (`alliance_id`,`horde_id`) VALUES +(59791, 59793), -- Wooly Mammoth +(60114, 60116); -- Armored Brown Bear diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_09_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_09_world_misc.sql new file mode 100644 index 00000000000..10708ed06b3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_09_world_misc.sql @@ -0,0 +1,44 @@ +UPDATE `creature_template` SET `resistance2`=1000 WHERE `entry` IN (9816); +UPDATE `creature_template` SET `mechanic_immune_mask`=617299803 WHERE `entry` IN (10339); +UPDATE `creature_template` SET `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0 WHERE `entry` IN (9816,10339,10429); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=16337 AND `ConditionValue2`=10429; +UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry` IN (10317,10318); + +-- Pathing for Warchief Rend Blackhand Entry: 10429 +SET @PATH := 1379680; +DELETE FROM `waypoint_data` WHERE `id` IN (@PATH); +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,165.4778,-452.2761,121.9753,0,0,1,0,100,0), +(@PATH,2,165.5801,-457.3273,121.9753,0,0,1,0,100,0), +(@PATH,3,165.5504,-465.8904,116.8073,0,0,1,0,100,0), +(@PATH,4,165.3594,-470.635,116.8296,0,0,1,0,100,0), +(@PATH,5,168.4351,-473.7489,116.8424,0,0,1,0,100,0), +(@PATH,6,179.0059,-473.894,116.8424,0,52000,1,0,100,0), +(@PATH,7,216.6058,-430.4544,110.9169,0,0,1,0,100,0), +(@PATH,8,216.5664,-412.0932,110.9822,0,0,1,0,100,0), +(@PATH,9,217.1734,-401.2561,111.0617,0,0,1,0,100,0), +(@PATH,10,216.5286,-397.7477,111.0883,0,0,1,0,100,0), +(@PATH,11,214.8428,-395.8612,111.1051,0,0,1,0,100,0), +(@PATH,12,213.5363,-395.6153,111.1093,0,0,1,0,100,0); + +-- Text for Lord Victor Nefarius from sniff +SET @VICTOR := 10162; +DELETE FROM `creature_text` WHERE `entry` IN (@VICTOR); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +-- Lord Victor Nefarius texts UBRS +(@VICTOR,0,0,"Excellent... it would appear as if the meddlesome insects have arrived just in time to feed my legion. Welcome, mortals!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,1,0,"Let not even a drop of their blood remain upon the arena floor, my children. Feast on their souls!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,2,0,"Foolsss... Kill the one in the dress!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,3,0,"Inconceivable!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,4,0,"Your efforts will prove fruitless. None shall stand in our way!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,5,0,"Do not force my hand, children! I shall use your hides to line my boots.",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,6,0,"Use the freezing breath, imbecile!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,7,0,"THIS CANNOT BE!!! Rend, deal with these insects.",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,8,0,"The Warchief shall make quick work of you, mortals. Prepare yourselves!",14,0,100,25,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,9,0,"Taste in my power!",14,0,100,0,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,10,0,"Your victory shall be short lived. The days of both the Alliance and Horde are coming to an end! The next time we meet shall be the last.",14,0,100,5,0,0,'Lord Victor Nefarius (UBRS)'), +(@VICTOR,11,0,"The mortals have fallen! The new age of the Blackrock legion is at hand!",14,0,100,22,0,0,'Lord Victor Nefarius (UBRS)'), +-- Lord Victor Nefarius texts BWL +(@VICTOR,12,0,"In this world where time is your enemy, it is my greatest ally. This grand game of life that you think you play in fact plays you. To that I say...",14,0,100,1,0,0,'Lord Victor Nefarius SAY_GAMESBEGIN_1 (BWL)'), +(@VICTOR,13,0,"Let the games begin!",14,0,100,22,0,8280,'Lord Victor Nefarius SAY_GAMESBEGIN_2 (BWL)'), +(@VICTOR,14,0,"Ah, the heroes. You are persistent, aren't you. Your allied attempted to match his power against mine, and had to pay the price. Now he shall serve me, by slaughtering you. Get up, little red wyrm...and destroy them!",14,0,100,23,0,8279,'Lord Victor Nefarius SAY_VAEL_INTRO (BWL)'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_10_world_creature_addon.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_10_world_creature_addon.sql new file mode 100644 index 00000000000..3a38356e295 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_10_world_creature_addon.sql @@ -0,0 +1 @@ +DELETE FROM `creature_addon` WHERE `guid`=121226; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_11_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_11_world_misc.sql new file mode 100644 index 00000000000..81765d1657a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_11_world_misc.sql @@ -0,0 +1,18 @@ +-- Add SAI support for Silas Darkmoon +SET @SILAS := 14823; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@SILAS; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@SILAS; +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 +(@SILAS,0,0,0,1,0,100,0,60000,60000,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Silas Darkmoon - OOC - Say 0'); + +-- Text for Silas Darkmoon +DELETE FROM `creature_text` WHERE `entry` IN (@SILAS); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@SILAS,0,0,'Everyone enjoying themselves so far? That''s great! Welcome to the Darkmoon Faire, the greatest show on all of Azeroth! Make sure that you speak with Yebb and his friends here while you''re taking in Neblegear''s Darkmoon Zoo Bizarre.',12,0,100,0,0,0,'Silas Darkmoon'), +(@SILAS,0,1,'We''re back and better than ever! It''s the Darkmoon Faire friend, and it''s your lucky day! Sparing no expense, we''ve gathered wonders and treats from around the world for your delight. Whether you''re young or old, rich or poor, the Darkmoon Faire has it all! Be sure to turn in your Darkmoon Faire Prize Tickets to Gelvas Grimegate, and choose from several exotic and wondrous prizes!',12,0,100,0,0,0,'Silas Darkmoon'), +(@SILAS,0,2,'Come one, come all. Welcome to the Darkmoon Faire! Don''t be shy. Step right up to Lhara and buy yourself an exotic artifact from far off lands. If you''re one of the lucky few who have found Darkmoon Cards, have a word with Professor Paleo. Hungry? Thirsty? You''re in luck! Refreshments are available right here from Sylannia and Stamp. I recommend the Darkmoon Special Reserve to wash down some Red Hot Wings. And if the future is what you seek, then run, don''t walk, to speak with Sayge.',12,0,100,0,0,0,'Silas Darkmoon'), +(@SILAS,0,3,'Welcome one and all to the Darkmoon Faire, the greatest event in all the world! We have it all... delicious food, strong drink, exotic artifacts, fortunes read, amazing prizes and excitement without end! Don''t forget to turn in your Darkmoon Faire Prize Tickets to Gelvas Grimegate! All it takes is five or more and you''re on your way to the most wondrous prizes on all of Azeroth. Everybody is a winner!',12,0,100,0,0,0,'Silas Darkmoon'); + +UPDATE `waypoint_data` SET `action`=0 WHERE `id`=1376660; +DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000000004 AND 2000000007; +DELETE FROM `waypoint_scripts` WHERE `dataint` BETWEEN 2000000004 AND 2000000007; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_12_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_12_world_misc.sql new file mode 100644 index 00000000000..f3a020acfd7 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_12_world_misc.sql @@ -0,0 +1,15 @@ +-- Add SAI support for Curator Thorius +SET @THORIUS := 8256; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@THORIUS; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@THORIUS; +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 +(@THORIUS,0,0,0,1,0,100,0,120000,120000,120000,120000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Curator Thorius - OOC - Say 0'); + +-- Text for Curator Thorius +DELETE FROM `creature_text` WHERE `entry` IN (@THORIUS); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@THORIUS,0,0,'Poor Dorius. If I ever get my hands on those Dark Irons, so help me...',12,0,100,0,0,0,'Curator Thorius'); + +UPDATE `waypoint_data` SET `action`=0 WHERE `action`=2; +DELETE FROM `db_script_string` WHERE `entry`=2000005000; +DELETE FROM `waypoint_scripts` WHERE `dataint`=2000005000; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_13_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_13_world_misc.sql new file mode 100644 index 00000000000..936c47ec132 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_13_world_misc.sql @@ -0,0 +1,29 @@ +-- Opus already has SAI and text added +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=4567; +DELETE FROM `creature_addon` WHERE `guid`=4567; +UPDATE `waypoint_data` SET `action`=0 WHERE `action` BETWEEN 5 AND 13; +DELETE FROM `waypoint_data` WHERE `id`=45670; +DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000005001 AND 2000005009; +DELETE FROM `waypoint_scripts` WHERE `dataint` BETWEEN 2000005001 AND 2000005009; +DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000000107 AND 2000000109; + +-- Add SAI support for Warp-Huntress Kula +SET @KULA := 32711; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@KULA; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@KULA; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@KULA; +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 +(@KULA,0,0,0,11,0,100,0,0,0,0,0,11,61616,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Warp-Huntress Kula - On Spawn - Summon Backbiter'); + +-- Add SAI support for Thal'trak Proudtusk +SET @THALTRAK := 9082; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@THALTRAK; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@THALTRAK; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@THALTRAK; +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 +(@THALTRAK,0,0,0,9,0,100,0,9,10,180000,180000,1,0,0,0,0,0,0,11,9079,10,0,0,0,0,0, 'Thal''trak Proudtusk - Range - Say 0'); + +-- Text for Thal'trak Proudtusk +DELETE FROM `creature_text` WHERE `entry` IN (@THALTRAK); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@THALTRAK,0,0,'Well done, soldiers! At ease!',12,0,100,0,0,0,'Thal''trak Proudtusk'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_14_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_14_world_misc.sql new file mode 100644 index 00000000000..1db707352f8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_14_world_misc.sql @@ -0,0 +1,82 @@ +-- Add SAI line to Inspector Tarem +SET @TAREM := 23567; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@TAREM AND `id`=2; +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 +(@TAREM,0,2,0,1,0,100,0,60000,70000,60000,70000,1,0,0,0,0,0,0,11,9079,10,0,0,0,0,0, 'Inspector Tarem - OOC - Say 0'); + +-- Text for Inspector Tarem +DELETE FROM `creature_text` WHERE `entry` IN (@TAREM); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@TAREM,0,0,'Mysterious hoofprints, scorched shields, stray badges... how do we make sense of all this?',12,0,100,6,0,0,'Inspector Tarem'); + +-- Add SAI to Krixil Slogswitch +SET @KRIXIL := 23573; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@KRIXIL; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@KRIXIL; +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 +(@KRIXIL,0,0,0,1,0,100,0,60000,70000,170000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Krixil Slogswitch - OOC - Say 0'); + +-- Text for Krixil Slogswitch +DELETE FROM `creature_text` WHERE `entry` IN (@KRIXIL); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@KRIXIL,0,0,'I don''t think Drazzit''s going to have any luck finding anyone to kill this raptor. I mean, he''s already raised the reward twice...',12,0,100,1,0,0,'Krixil Slogswitch'); + +-- Add SAI to Axle +SET @AXLE := 23995; +SET @BROGG := 23579; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@AXLE; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@AXLE; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@AXLE*100; +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 +(@AXLE,0,0,0,11,0,100,0,0,0,0,0,53,0,@AXLE,1,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Spawn - load waypoints'), +(@AXLE,0,1,2,40,0,100,0,4,@AXLE,0,0,54,24000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 4 - Pause Path'), +(@AXLE,0,2,0,61,0,100,0,0,0,0,0,80,@AXLE*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 4 - Run Script'), +(@AXLE,0,3,4,40,0,100,0,8,@AXLE,0,0,54,140000,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 8 - Pause Path'), +(@AXLE,0,4,0,61,0,100,0,0,0,0,0,66,@AXLE,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Reach wp 8 - Turn to'), +(@AXLE*100,9,0,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Script - Say 0'), +(@AXLE*100,9,1,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,11,@BROGG,10,0,0,0,0,0, 'Axle - Script - brogg Say 0'), +(@AXLE*100,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Script - Say 1'), +(@AXLE*100,9,3,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,11,@BROGG,10,0,0,0,0,0, 'Axle - Script - brogg Say 1'), +(@AXLE*100,9,4,0,0,0,100,0,4000,4000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Axle - Script - Say 2'); + +UPDATE `creature` SET `position_x`=-4629.937,`position_y`=-3176.124,`position_z`=41.22349,`orientation`=6.263439 WHERE `id`=@AXLE; + +DELETE FROM `waypoints` WHERE `entry`=@AXLE; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@AXLE,1,-4627.793,-3176.207,41.40616, 'Axle'), +(@AXLE,2,-4617.293,-3178.556,34.95082, 'Axle'), +(@AXLE,3,-4615.726,-3176.381,34.81108, 'Axle'), +(@AXLE,4,-4618.000,-3175.210,34.81240, 'Axle'), +(@AXLE,5,-4615.726,-3176.381,34.81108, 'Axle'), +(@AXLE,6,-4617.293,-3178.556,34.95082, 'Axle'), +(@AXLE,7,-4627.793,-3176.207,41.40616, 'Axle'), +(@AXLE,8,-4629.937,-3176.124,41.22349, 'Axle'); + +-- Text for Axle +DELETE FROM `creature_text` WHERE `entry` IN (@AXLE); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@AXLE,0,0,'I thought we talked about this, Brogg. You can''t stay in this building. Sure, it can house you, but there''s no room for anyone else!',12,0,100,1,0,0,'Axle'), +(@AXLE,1,0,'Yes, we said you can stay here, but this building is our headquarters! All of our manuals and blueprints are stored here!',12,0,100,1,0,0,'Axle'), +(@AXLE,2,0,'I''m inclined to say they made ogres too big! I can see I''m not going to convince you to move now, but don''t think this is permanent!',12,0,100,1,0,0,'Axle'); + +-- Text for Brogg +DELETE FROM `creature_text` WHERE `entry` IN (@BROGG); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@BROGG,0,0,'You said Brogg could stay here! You promised Brogg you'' help regain Stonemaul clan Mound!',12,0,100,1,0,0,'Brogg'), +(@BROGG,1,0,'But this the only building that fit Brogg! Goblins make buildings too small!',12,0,100,1,0,0,'Brogg'); + +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18594; +DELETE FROM `creature_addon` WHERE `guid`=18594; +DELETE FROM `waypoint_data` WHERE `id`=185940; +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18597; +DELETE FROM `creature_addon` WHERE `guid`=18597; +DELETE FROM `waypoint_data` WHERE `id`=185970; +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18598; +DELETE FROM `creature_addon` WHERE `guid`=18598; +DELETE FROM `waypoint_data` WHERE `id`=185980; +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=18599; +DELETE FROM `creature_addon` WHERE `guid`=18599; +DELETE FROM `waypoint_data` WHERE `id`=185990; +UPDATE `waypoint_data` SET `action`=0 WHERE `action` BETWEEN 14 AND 21; +DELETE FROM `db_script_string` WHERE `entry` BETWEEN 2000005010 AND 2000005017; +DELETE FROM `waypoint_scripts` WHERE `dataint` BETWEEN 2000005010 AND 2000005017; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_15_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_15_world_waypoints.sql new file mode 100644 index 00000000000..7d77c68a96c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_15_world_waypoints.sql @@ -0,0 +1,243 @@ +-- Pathing for Silverback Patriarch Entry: 1558 +SET @NPC := 749; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-13838.81,`position_y`=-41.79492,`position_z`=57.10373 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-13838.81,-41.79492,57.10373,0,0,0,0,100,0), +(@PATH,2,-13838.5,-38.40104,57.65744,0,0,0,0,100,0), +(@PATH,3,-13836.35,-38.66819,59.79758,0,0,0,0,100,0), +(@PATH,4,-13832.86,-39.19607,63.04682,0,0,0,0,100,0), +(@PATH,5,-13831.31,-36.38173,64.45819,0,0,0,0,100,0), +(@PATH,6,-13830.13,-33.02333,65.43832,0,0,0,0,100,0), +(@PATH,7,-13828.11,-29.58236,66.1478,0,0,0,0,100,0), +(@PATH,8,-13824.51,-25.85015,65.75058,0,0,0,0,100,0), +(@PATH,9,-13830.01,-34.07888,65.5036,0,0,0,0,100,0), +(@PATH,10,-13831.8,-38.61513,63.99628,0,0,0,0,100,0), +(@PATH,11,-13833.62,-39.39497,62.43454,0,0,0,0,100,0), +(@PATH,12,-13836.13,-38.83323,60.02853,0,0,0,0,100,0), +(@PATH,13,-13838.13,-38.85352,58.11642,0,0,0,0,100,0), +(@PATH,14,-13839.39,-40.52235,56.70822,0,0,0,0,100,0), +(@PATH,15,-13838.61,-42.74751,57.09225,0,0,0,0,100,0), +(@PATH,16,-13836.2,-45.23134,57.99826,0,0,0,0,100,0), +(@PATH,17,-13835.5,-48.41515,57.52194,0,0,0,0,100,0), +(@PATH,18,-13836.58,-51.4235,56.96213,0,0,0,0,100,0), +(@PATH,19,-13836.19,-54.46452,56.9155,0,0,0,0,100,0), +(@PATH,20,-13833.54,-58.13335,56.65427,0,0,0,0,100,0), +(@PATH,21,-13829.67,-61.67665,56.68818,0,0,0,0,100,0), +(@PATH,22,-13826.99,-63.81337,56.73749,0,0,0,0,100,0), +(@PATH,23,-13832.18,-58.75868,56.71039,0,0,0,0,100,0), +(@PATH,24,-13835.33,-53.75391,57.13693,0,0,0,0,100,0), +(@PATH,25,-13835.29,-48.64996,57.6257,0,0,0,0,100,0), +(@PATH,26,-13836.21,-45.25011,57.99411,0,0,0,0,100,0); +-- .go -13838.81 -41.79492 57.10373 + +-- Pathing for Bloodsail Deckhand Entry: 4505 +SET @NPC := 2597; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14943.2,`position_y`=356.997,`position_z`=12.59546 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-14943.2,356.997,12.59546,0,0,0,0,100,0), +(@PATH,2,-14940.8,348.512,7.541732,0,0,0,0,100,0), +(@PATH,3,-14940.6,346.788,7.541214,0,0,0,0,100,0), +(@PATH,4,-14944.1,346.391,7.542305,0,0,0,0,100,0), +(@PATH,5,-14949.2,345.878,7.542548,0,0,0,0,100,0), +(@PATH,6,-14955.6,344.557,7.542547,0,0,0,0,100,0), +(@PATH,7,-14954.4,340.313,7.542553,0,0,0,0,100,0), +(@PATH,8,-14955.6,344.557,7.542547,0,0,0,0,100,0), +(@PATH,9,-14949.2,345.878,7.542548,0,0,0,0,100,0), +(@PATH,10,-14944.1,346.391,7.542305,0,0,0,0,100,0), +(@PATH,11,-14940.6,346.788,7.541214,0,0,0,0,100,0), +(@PATH,12,-14940.8,348.512,7.541732,0,0,0,0,100,0), +(@PATH,13,-14942.7,355.733,12.4607,0,0,0,0,100,0), +(@PATH,14,-14944.9,357.038,12.59546,0,0,0,0,100,0); +-- .go -14943.2 356.997 12.59546 + +-- Pathing for Bloodsail Deckhand Entry: 4505 +SET @NPC := 2629; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14979.3,`position_y`=265.158,`position_z`=7.921213 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-14979.3,265.158,7.921213,0,0,0,0,100,0), +(@PATH,2,-14974.15,264.915,7.921058,0,0,0,0,100,0), +(@PATH,3,-14968.1,264.92,4.665063,0,0,0,0,100,0), +(@PATH,4,-14965.3,267.002,4.658327,0,0,0,0,100,0), +(@PATH,5,-14975.79,269.4849,0.9351397,0,0,0,0,100,0), +(@PATH,6,-14965.2,268.908,4.658086,0,0,0,0,100,0), +(@PATH,7,-14965,264.917,4.657606,0,0,0,0,100,0), +(@PATH,8,-14968.2,264.917,4.665308,0,0,0,0,100,0), +(@PATH,9,-14974.2,264.797,7.881999,0,0,0,0,100,0); +-- .go -14979.3 265.158 7.921213 + +-- Pathing for Bloodsail Elder Magus Entry: 1653 +SET @NPC := 2592; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14956.4,`position_y`=353.116,`position_z`=7.54255 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-14956.4,353.116,7.54255,0,0,0,0,100,0), +(@PATH,2,-14949.4,356.132,7.54255,0,0,0,0,100,0), +(@PATH,3,-14944.9,357.394,7.544742,0,0,0,0,100,0), +(@PATH,4,-14936.1,355.807,7.542393,0,0,0,0,100,0), +(@PATH,5,-14934.4,350.286,7.54255,0,0,0,0,100,0), +(@PATH,6,-14936.1,355.807,7.542393,0,0,0,0,100,0), +(@PATH,7,-14944.9,357.394,7.544742,0,0,0,0,100,0), +(@PATH,8,-14949.4,356.132,7.54255,0,0,0,0,100,0), +(@PATH,9,-14956.4,353.116,7.54255,0,0,0,0,100,0), +(@PATH,10,-14962.9,351.408,7.544349,0,0,0,0,100,0), +(@PATH,11,-14971.6,347.196,7.542575,0,0,0,0,100,0), +(@PATH,12,-14962.9,351.408,7.544349,0,0,0,0,100,0); +-- .go -14956.4 353.116 7.54255 + +-- Pathing for Bloodsail Sea Dog Entry: 1565 +SET @NPC := 2633; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14998.4,`position_y`=261.767,`position_z`=7.921235 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-14998.4,261.767,7.921235,0,0,0,0,100,0), +(@PATH,2,-14995,261.635,7.921237,0,0,0,0,100,0), +(@PATH,3,-14993.8,266.361,6.306773,0,0,0,0,100,0), +(@PATH,4,-14992.8,266.477,6.306773,0,0,0,0,100,0), +(@PATH,5,-14993.18,266.3545,6.306773,0,0,0,0,100,0), +(@PATH,6,-14993.3,261.415,7.922341,0,0,0,0,100,0), +(@PATH,7,-14994.1,256.648,7.922004,0,0,0,0,100,0), +(@PATH,8,-14995,261.635,7.921237,0,0,0,0,100,0), +(@PATH,9,-14998.4,261.767,7.921235,0,0,0,0,100,0), +(@PATH,10,-14999.5,257.26,7.921242,0,0,0,0,100,0), +(@PATH,11,-14999.7,269.5383,7.921235,0,0,0,0,100,0), +(@PATH,12,-14999.24,270.291,7.921232,0,0,0,0,100,0), +(@PATH,13,-14994.7,270.899,7.921236,0,0,0,0,100,0), +(@PATH,14,-14993.9,275.938,7.921239,0,0,0,0,100,0), +(@PATH,15,-14992.9,271.8,7.921234,0,0,0,0,100,0), +(@PATH,16,-14987.2,270.889,7.923097,0,0,0,0,100,0), +(@PATH,17,-14982.9,272.309,7.921443,0,0,0,0,100,0), +(@PATH,18,-14982.7,275.998,7.921844,0,0,0,0,100,0), +(@PATH,19,-14982.8,272.679,7.921484,0,0,0,0,100,0), +(@PATH,20,-14977,272.87,7.921478,0,0,0,0,100,0), +(@PATH,21,-14976.6,275.734,7.921723,0,0,0,0,100,0), +(@PATH,22,-14977,257.986,7.921237,0,0,0,0,100,0), +(@PATH,23,-14977.7,261.219,7.921233,0,0,0,0,100,0), +(@PATH,24,-14982.1,261.434,7.921239,0,0,0,0,100,0), +(@PATH,25,-14982.8,258.325,7.92124,0,0,0,0,100,0), +(@PATH,26,-14982.1,261.434,7.921239,0,0,0,0,100,0), +(@PATH,27,-14979.8,261.929,7.921233,0,0,0,0,100,0), +(@PATH,28,-14977,257.986,7.921237,0,0,0,0,100,0), +(@PATH,29,-14977,272.87,7.921478,0,0,0,0,100,0), +(@PATH,30,-14982.8,272.679,7.921484,0,0,0,0,100,0), +(@PATH,31,-14982.7,275.998,7.921844,0,0,0,0,100,0), +(@PATH,32,-14982.9,272.309,7.921443,0,0,0,0,100,0), +(@PATH,33,-14987.2,270.889,7.923097,0,0,0,0,100,0), +(@PATH,34,-14992.73,271.7733,7.921853,0,0,0,0,100,0), +(@PATH,35,-14993.9,275.938,7.921239,0,0,0,0,100,0), +(@PATH,36,-14994.7,270.899,7.921236,0,0,0,0,100,0), +(@PATH,37,-14999.24,270.291,7.921235,0,0,0,0,100,0), +(@PATH,38,-14999.4,275.372,7.92124,0,0,0,0,100,0), +(@PATH,39,-14999.7,269.592,7.921232,0,0,0,0,100,0), +(@PATH,40,-14999.5,257.26,7.921242,0,0,0,0,100,0); +-- .go -14998.4 261.767 7.921235 + +-- Pathing for Bloodsail Deckhand Entry: 4505 +SET @NPC := 2598; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-14960.1,`position_y`=342.326,`position_z`=7.543998 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-14960.1,342.326,7.543998,0,0,0,0,100,0), +(@PATH,2,-14956.5,345.042,7.542546,0,0,0,0,100,0), +(@PATH,3,-14951.4,349.271,7.542691,0,0,0,0,100,0), +(@PATH,4,-14956.5,345.042,7.542546,0,0,0,0,100,0), +(@PATH,5,-14960.1,342.326,7.543998,0,0,0,0,100,0), +(@PATH,6,-14969,340.03,7.542808,0,0,0,0,100,0), +(@PATH,7,-14974.56,345.089,7.542461,0,0,0,0,100,0), +(@PATH,8,-14977,344.637,7.117788,0,0,0,0,100,0), +(@PATH,9,-14982.7,343.339,4.284928,0,0,0,0,100,0), +(@PATH,10,-14984.6,341.158,4.279126,0,0,0,0,100,0), +(@PATH,11,-14982.7,343.339,4.284928,0,0,0,0,100,0), +(@PATH,12,-14977,344.637,7.117788,0,0,0,0,100,0), +(@PATH,13,-14974.6,345.128,7.542428,0,0,0,0,100,0), +(@PATH,14,-14969,340.03,7.542808,0,0,0,0,100,0); +-- .go -14960.1 342.326 7.543998 + +-- Pathing for Guard Lasiter Entry: 4973 +SET @NPC := 30458; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3772.623,`position_y`=-4533.357,`position_z`=11.58731 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3772.623,-4533.357,11.58731,0,22000,0,0,100,0), +(@PATH,2,-3770.078,-4531.741,11.54261,0,24000,0,0,100,0); +-- .go -3772.623 -4533.357 11.58731 + +-- Pathing for Privateer Entry: 23620 +SET @NPC := 31209; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4060.446,`position_y`=-4506.618,`position_z`=6.030344 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-4060.446,-4506.618,6.030344,0,0,0,0,100,0), +(@PATH,2,-4059.9,-4511.36,6.031829,0,0,0,0,100,0), +(@PATH,3,-4060.427,-4506.697,6.03091,0,0,0,0,100,0), +(@PATH,4,-4066.929,-4501.822,6.031856,0,0,0,0,100,0), +(@PATH,5,-4072.242,-4506.002,6.032337,0,0,0,0,100,0), +(@PATH,6,-4066.929,-4501.822,6.031856,0,0,0,0,100,0); +-- .go -4060.446 -4506.618 6.030344 + +-- Pathing for Sergeant Amelyn Entry: 23835 +SET @NPC := 18589; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3839.592,`position_y`=-4562.359,`position_z`=8.639986 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,2402, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3839.592,-4562.359,8.639986,0,0,0,0,100,0), +(@PATH,2,-3834.418,-4560.115,8.764986,0,0,0,0,100,0), +(@PATH,3,-3831.503,-4554.752,9.017159,0,0,0,0,100,0), +(@PATH,4,-3832.31,-4547.42,9.267159,0,0,0,0,100,0), +(@PATH,5,-3837.411,-4543.646,9.264986,0,0,0,0,100,0), +(@PATH,6,-3843.691,-4542.708,9.139986,0,0,0,0,100,0), +(@PATH,7,-3848.835,-4545.314,8.889986,0,0,0,0,100,0), +(@PATH,8,-3852.152,-4551.402,8.514986,0,0,0,0,100,0), +(@PATH,9,-3849.583,-4557.867,8.514986,0,0,0,0,100,0), +(@PATH,10,-3846.69,-4558.219,8.514986,0,0,0,0,100,0), +(@PATH,11,-3846.69,-4558.219,8.514986,3.892084,50000,0,0,100,0), +(@PATH,12,-3844.929,-4561.821,8.514986,0,0,0,0,100,0); +-- .go -3839.592 -4562.359 8.639986 + +-- Pathing for Zanzil Zombie Entry: 1488 +SET @NPC := 2244; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-13646.8,`position_y`=-274.549,`position_z`=8.300073 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-13646.8,-274.549,8.300073,0,0,0,0,100,0), +(@PATH,2,-13634.3,-280.575,8.300073,0,0,0,0,100,0), +(@PATH,3,-13624.5,-285.943,8.300567,0,0,0,0,100,0), +(@PATH,4,-13622.9,-293.137,8.425567,0,0,0,0,100,0), +(@PATH,5,-13635.7,-313.58,8.309404,0,0,0,0,100,0), +(@PATH,6,-13641.1,-314.866,8.184404,0,0,0,0,100,0), +(@PATH,7,-13649.3,-309.953,8.184404,0,0,0,0,100,0), +(@PATH,8,-13655,-302.635,8.184404,0,0,0,0,100,0), +(@PATH,9,-13656,-290.47,8.300073,0,0,0,0,100,0); +-- 0xF53005D300674CA0 .go -13646.8 -274.549 8.300073 diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_16_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_16_world_misc.sql new file mode 100644 index 00000000000..7e7494e58cd --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_06_30_16_world_misc.sql @@ -0,0 +1,104 @@ +-- Add SAI to Warosh +SET @WAROSH := 10799; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@WAROSH; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@WAROSH; +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 +(@WAROSH,0,0,0,1,0,100,0,20000,20000,20000,20000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Warosh - OOC - Say 0'); +-- Text for Warosh +DELETE FROM `creature_text` WHERE `entry` IN (@WAROSH); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@WAROSH,0,0,'%s cries.',16,0,100,0,0,0,'Warosh'), +(@WAROSH,0,1,'%s snorts.',16,0,100,0,0,0,'Warosh'), +(@WAROSH,0,2,'%s grumbles.',16,0,100,0,0,0,'Warosh'); + +-- Add missing and path Warosh Entry: 10799 +SET @NPC := 17; +SET @PATH := @NPC * 10; +DELETE FROM `creature` WHERE `guid`=@NPC; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(@NPC,10799,229,1,1,0,0,81.104,-479.903,30.86245,3.124139,7200,0,0,1,0,2); +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,81.104,-479.903,30.86245,0,0,0,0,100,0), +(@PATH,2,73.26363,-487.8571,27.89152,0,0,0,0,100,0), +(@PATH,3,54.61135,-489.3818,28.67157,0,0,0,0,100,0), +(@PATH,4,44.71681,-491.037,29.5888,0,0,0,0,100,0), +(@PATH,5,52.57936,-511.4861,29.06968,0,0,0,0,100,0), +(@PATH,6,50.58394,-533.1805,26.7767,0,0,0,0,100,0), +(@PATH,7,50.20008,-560.1547,30.55615,0,0,0,0,100,0), +(@PATH,8,50.46281,-576.035,30.58308,0,0,0,0,100,0), +(@PATH,9,39.68649,-579.5075,31.06343,0,0,0,0,100,0), +(@PATH,10,17.70853,-578.2368,26.5612,0,0,0,0,100,0), +(@PATH,11,-5.465746,-576.0652,29.19087,0,0,0,0,100,0), +(@PATH,12,-27.13421,-574.506,29.19087,0,0,0,0,100,0), +(@PATH,13,-47.66818,-572.6104,29.19087,0,0,0,0,100,0), +(@PATH,14,-60.44478,-573.6581,29.19087,0,0,0,0,100,0), +(@PATH,15,-43.34514,-571.0668,29.19087,0,0,0,0,100,0), +(@PATH,16,-36.48037,-563.5282,29.19087,0,0,0,0,100,0), +(@PATH,17,-48.5064,-537.1736,29.19087,0,0,0,0,100,0), +(@PATH,18,-36.48037,-563.5282,29.19087,0,0,0,0,100,0), +(@PATH,19,-43.34514,-571.0668,29.19087,0,0,0,0,100,0), +(@PATH,20,-60.44478,-573.6581,29.19087,0,0,0,0,100,0), +(@PATH,21,-47.66818,-572.6104,29.19087,0,0,0,0,100,0), +(@PATH,22,-27.13421,-574.506,29.19087,0,0,0,0,100,0), +(@PATH,23,-5.465746,-576.0652,29.19087,0,0,0,0,100,0), +(@PATH,24,17.42213,-578.2202,26.65305,0,0,0,0,100,0), +(@PATH,25,39.67855,-579.5101,31.09808,0,0,0,0,100,0), +(@PATH,26,50.46281,-576.035,30.58308,0,0,0,0,100,0), +(@PATH,27,50.20008,-560.1547,30.55615,0,0,0,0,100,0), +(@PATH,28,50.58394,-533.1805,26.7767,0,0,0,0,100,0), +(@PATH,29,52.60767,-511.5597,29.21094,0,0,0,0,100,0), +(@PATH,30,44.71681,-491.037,29.5888,0,0,0,0,100,0), +(@PATH,31,54.37603,-489.401,28.65347,0,51000,0,0,100,0), +(@PATH,32,73.26363,-487.8571,27.89152,0,0,0,0,100,0), +(@PATH,33,81.104,-479.903,30.86245,0,0,0,0,100,0), +(@PATH,34,78.66329,-463.2451,35.48121,0,0,0,0,100,0), +(@PATH,35,71.58976,-436.8153,41.41042,0,0,0,0,100,0), +(@PATH,36,58.41603,-418.7091,45.02646,0,0,0,0,100,0), +(@PATH,37,49.90298,-402.1319,48.80593,0,0,0,0,100,0), +(@PATH,38,46.01845,-387.0023,48.69103,0,0,0,0,100,0), +(@PATH,39,49.90298,-402.1319,48.80593,0,0,0,0,100,0), +(@PATH,40,58.41603,-418.7091,45.02646,0,0,0,0,100,0), +(@PATH,41,71.58976,-436.8153,41.41042,0,0,0,0,100,0); +-- 0xF130002A2F01FCD8 .go 81.104 -479.903 30.86245 + +-- Pathing for Spirestone Butcher Entry: 9219 +SET @NPC := 43523; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-36.58493,`position_y`=-441.9179,`position_z`=31.83226 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-36.58493,-441.9179,31.83226,0,0,0,0,100,0), +(@PATH,2,-37.40374,-482.51,29.62917,0,0,0,0,100,0), +(@PATH,3,-37.18431,-487.9846,29.38416,0,0,0,0,100,0), +(@PATH,4,-37.40374,-482.51,29.62917,0,0,0,0,100,0), +(@PATH,5,-36.58493,-441.9179,31.83226,0,0,0,0,100,0), +(@PATH,6,-37.03431,-412.0911,31.57773,0,0,0,0,100,0); +-- .go -36.58493 -441.9179 31.83226 + +-- Pathing for Smolderthorn Mystic Entry: 9239 +SET @NPC := 43527; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2.398426,`position_y`=-461.1257,`position_z`=16.14088 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2.398426,-461.1257,16.14088,0,0,0,0,100,0), +(@PATH,2,2.359199,-464.0517,16.06489,0,0,0,0,100,0), +(@PATH,3,2.3592,-464.0517,16.06489,2.216568,21000,0,0,100,0), +(@PATH,4,1.288787,-463.5652,16.07071,0,0,0,0,100,0), +(@PATH,5,-2.044648,-461.8262,16.13557,0,0,0,0,100,0), +(@PATH,6,-7.927852,-461.18,16.73,0,0,0,0,100,0), +(@PATH,7,-15.24469,-460.3805,16.55355,0,0,0,0,100,0), +(@PATH,8,-21.31746,-455.7214,16.58231,0,0,0,0,100,0), +(@PATH,9,-22.68492,-451.7054,16.6012,0,0,0,0,100,0), +(@PATH,10,-22.68492,-451.7054,16.6012,0.7504916,23000,0,0,100,0), +(@PATH,11,-19.41172,-457.9942,16.57828,0,0,0,0,100,0), +(@PATH,12,-13.95378,-460.6527,16.58616,0,0,0,0,100,0), +(@PATH,13,-7.328142,-460.9917,16.72944,0,0,0,0,100,0); +-- .go -2.398426 -461.1257 16.14088 diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_00_world_misc.sql new file mode 100644 index 00000000000..f1812ed2b49 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_00_world_misc.sql @@ -0,0 +1,31 @@ +-- Text for Halycon +DELETE FROM `creature_text` WHERE `entry` IN (10220); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(10220,0,0,'%s lets loose a guttural growl as her body collapses. A horrifying howl can be heard echoing through the halls of Blackrock Spire. Something is very, very angry.',16,0,100,0,0,0,'Halycon DEATH'); + +-- Text for Urok Doomhowl +DELETE FROM `creature_text` WHERE `entry` IN (10584); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(10584,0,0,'You have summoned me, fool! Now DIE!',14,0,100,0,0,0,'Urok Doomhowl SUMMON'), +(10584,1,0,'Me smash! You die!',12,0,100,0,0,0,'Urok Doomhowl AGGRO'); + +DELETE FROM `creature` WHERE `guid`=44457; +DELETE FROM `creature` WHERE `guid`=45844; +DELETE FROM `gameobject` WHERE `id`=175584; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=10268; +DELETE FROM `creature_ai_scripts` WHERE `creature_id`=10584; +UPDATE `gameobject` SET `position_x`=-14.35011,`position_y`=-395.8278,`position_z`=48.50652,`orientation`=3.141593,`rotation2`=-1,`rotation3`=0 WHERE `guid`=99791; + +UPDATE `creature_template` SET `AIName`= '', `ScriptName`= 'boss_gizrul_the_slavener' WHERE `entry`=10268; +UPDATE `creature_template` SET `AIName`= '', `ScriptName`= 'boss_urok_doomhowl' WHERE `entry`=10584; + +-- Pathing for Gizrul the Slavener Entry: 10268 +SET @PATH := 402450; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-166.7968,-381.5575,64.40081,0,0,1,0,100,0), +(@PATH,2,-166.8486,-370.3099,64.40081,0,0,1,0,100,0), +(@PATH,3,-166.4099,-356.3583,64.40081,0,0,1,0,100,0), +(@PATH,4,-166.0918,-341.4831,64.40081,0,0,1,0,100,0), +(@PATH,5,-168.4625,-328.9532,64.40081,0,0,1,0,100,0), +(@PATH,6,-173.3950,-325.9816,64.40932,0,0,1,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_01_world_misc.sql new file mode 100644 index 00000000000..0ffd041aa7c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_01_world_misc.sql @@ -0,0 +1,5 @@ +DELETE FROM `waypoint_scripts` WHERE `id` BETWEEN 16 AND 18; +DELETE FROM `db_script_string` WHERE `entry` IN (2000000107,2000000108); +INSERT INTO `db_script_string` (`entry`,`content_default`) VALUES +(2000000107, 'These aren''t Shango''s tracks.'), +(2000000108, 'These tracks must belong to Shango.'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_02_world_creature.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_02_world_creature.sql new file mode 100644 index 00000000000..3e8e00f9779 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_02_world_creature.sql @@ -0,0 +1,6 @@ +DELETE FROM `creature` WHERE `guid` IN (44456,45095,40507,40508); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`) VALUES +(44456,9197,229,1,1,0,0,-40.63613,-372.2156,50.56116,0.8552113,10800,5,0,1,0,1), +(45095,9197,229,1,1,0,0,-22.85546,-377.8695,49.04873,6.161012,10800,5,0,1,0,1), +(40507,9216,229,1,1,0,0,-44.31393,-364.7873,52.05709,1.832596,10800,5,0,1,0,1), +(40508,9216,229,1,1,0,0,-16.89405,-385.1013,48.95151,0.5934119,10800,5,0,1,0,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_03_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_03_world_creature_template.sql new file mode 100644 index 00000000000..6813f7d5156 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_03_world_creature_template.sql @@ -0,0 +1,4 @@ +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry` IN (14282,10876,14389); +UPDATE `creature_template` SET `AIName`='' WHERE `entry` IN (11946,11947,11948,11949,14762,14763,14764,14765,14772,14773,14776,14777); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (11947,11948); +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (14762,14763,14764,14765,14772,14773,14776,14777); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_04_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_04_world_gameobject.sql new file mode 100644 index 00000000000..f53850871fe --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_04_world_gameobject.sql @@ -0,0 +1,2 @@ +UPDATE `gameobject_template` SET `flags`=16 WHERE `entry` IN (181366,193426); +UPDATE `gameobject` SET `position_x`=2516.595,`position_y`=-2946.82,`position_z`=245.5516,`orientation`=5.480335,`rotation2`=0,`rotation3`=0,`animprogress`=255 WHERE `id` IN (181366,193426); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_05_world_creature_text.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_05_world_creature_text.sql new file mode 100644 index 00000000000..808022ada14 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_05_world_creature_text.sql @@ -0,0 +1,33 @@ +SET @AKAMA := 23089; +SET @ILLIDAN := 22917; +SET @FLAMEOFAZZINOTH := 22997; +SET @MAIEV := 23197; +DELETE FROM `creature_text` WHERE `entry` IN (@AKAMA, @ILLIDAN, @FLAMEOFAZZINOTH, @MAIEV); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@AKAMA,0,0, "Be wary friends, The Betrayer meditates in the court just beyond.",14,0,100,0,0,11388, 'Akama SAY_AKAMA_BEWARE'), +(@AKAMA,1,0, "I'll deal with these mongrels. Strike now, friends! Strike at the betrayer!",14,0,100,0,0,11390, 'Akama SAY_AKAMA_LEAVE'), +(@ILLIDAN,0,0, "Come, my minions. Deal with this traitor as he deserves!",14,0,100,0,0,11465, 'Illidan SAY_ILLIDAN_MINION'), +(@ILLIDAN,1,0, "Who shall be next to taste my blades?!",14,0,100,0,0,11473, 'Illidan SAY_ILLIDAN_KILL'), +(@ILLIDAN,1,1, "This is too easy!",14,0,100,0,0,11472, 'Illidan SAY_ILLIDAN_KILL'), +(@ILLIDAN,2,0, "I will not be touched by rabble such as you!",14,0,100,0,0,11479, 'Illidan SAY_ILLIDAN_TAKEOFF'), +(@ILLIDAN,3,0, "Behold the flames of Azzinoth!",14,0,100,0,0,11480, 'Illidan SAY_ILLIDAN_SUMMONFLAMES'), +(@ILLIDAN,4,0, "Stare into the eyes of the Betrayer!",14,0,100,0,0,11481, 'Illidan SAY_ILLIDAN_EYE_BLAST'), +(@ILLIDAN,5,0, "Behold the power... of the demon within!",14,0,100,0,0,11475, 'Illidan SAY_ILLIDAN_MORPH'), +(@ILLIDAN,6,0, "You've wasted too much time mortals, now you shall fall!",14,0,100,0,0,11474, 'Illidan SAY_ILLIDAN_ENRAGE'), +(@ILLIDAN,7,0, "I can feel your hatred.",14,0,100,0,0,11467, 'Illidan SAY_ILLIDAN_TAUNT'), +(@ILLIDAN,7,1, "Give in to your fear!",14,0,100,0,0,11468, 'Illidan SAY_ILLIDAN_TAUNT'), +(@ILLIDAN,7,2, "You know nothing of power!",14,0,100,0,0,11469, 'Illidan SAY_ILLIDAN_TAUNT'), +(@ILLIDAN,7,3, "Such... arrogance!",14,0,100,0,0,11471, 'Illidan SAY_ILLIDAN_TAUNT'), +(@FLAMEOFAZZINOTH,0,0, "%s sets its gaze on $N!",16,0,100,0,0,0, 'Flame of Azzinoth EMOTE_AZZINOTH_GAZE'), +(@MAIEV,0,0, "That is for Naisha!",14,0,100,0,0,11493, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'), +(@MAIEV,0,1, "Bleed as I have bled!",14,0,100,0,0,11494, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'), +(@MAIEV,0,2, "There shall be no prison for you this time!",14,0,100,0,0,11495, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'), +(@MAIEV,0,3, "Meet your end, demon!",14,0,100,0,0,11500, 'Maiev Shadowsong SAY_MAIEV_SHADOWSONG_TAUNT'); + +-- The time has come to face Illidan, $N. Are you ready? +UPDATE `creature_template` SET `gossip_menu_id`=8713 WHERE `entry`=23089; +DELETE FROM `gossip_menu` WHERE `entry`=8713 AND `text_id`=10960; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8713, 10960); +DELETE FROM `gossip_menu_option` WHERE `menu_id`=8713 AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`box_coded`,`box_money`,`box_text`) VALUES +(8713, 0, 0, 'I''m ready, Akama.', 0, 0, ''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_06_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_06_world_gossip.sql new file mode 100644 index 00000000000..88dcc711c23 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_01_06_world_gossip.sql @@ -0,0 +1,7 @@ +-- I sense you've cleared the path to my brethren. My connection to them and to the temple is still strong. Do you wish to delve deeper inside? +UPDATE `creature_template` SET `gossip_menu_id`=8750 WHERE `entry`=23411; +DELETE FROM `gossip_menu` WHERE `entry`=8750 AND `text_id`=11081; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8750, 11081); +DELETE FROM `gossip_menu_option` WHERE (`menu_id`=8750 AND `id`=1); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `box_coded`, `box_money`, `box_text`) VALUES +(8750, 1, 0, 'Take me to the other Deathsworn, Olum.', 0, 0, ''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_02_00_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_02_00_world_gossip.sql new file mode 100644 index 00000000000..3537ddb0f82 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_02_00_world_gossip.sql @@ -0,0 +1,15 @@ +-- I sense you've cleared the path to my brethren. My connection to them and to the temple is still strong. Do you wish to delve deeper inside? +UPDATE `creature_template` SET `gossip_menu_id`=8750 WHERE `entry`=23411; +DELETE FROM `gossip_menu` WHERE `entry`=8750 AND `text_id`=11081; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8750, 11081); +DELETE FROM `gossip_menu_option` WHERE (`menu_id`=8750 AND `id`=1); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`box_text`) VALUES +(8750, 1, 0, 'Take me to the other Deathsworn, Olum.', 1, 1, ''); + +-- The time has come to face Illidan, $N. Are you ready? +UPDATE `creature_template` SET `gossip_menu_id`=8713 WHERE `entry`=23089; +DELETE FROM `gossip_menu` WHERE `entry`=8713 AND `text_id`=10960; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (8713, 10960); +DELETE FROM `gossip_menu_option` WHERE `menu_id`=8713 AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`box_text`) VALUES +(8713, 0, 0, 'I''m ready, Akama.', 1, 1, ''); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_00_world_misc.sql new file mode 100644 index 00000000000..5e7d7839f5d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_00_world_misc.sql @@ -0,0 +1,2 @@ +-- Fix some startup errors. +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (11946,11949); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_01_world_razorfen_kraul.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_01_world_razorfen_kraul.sql new file mode 100644 index 00000000000..a05037d791f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_01_world_razorfen_kraul.sql @@ -0,0 +1,26 @@ +SET @GUID := 56185; + +DELETE FROM `gameobject` WHERE `id`=20920 OR `id`=300011; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@GUID, 20920, 47, 1, 1, 2082.74, 1671.82, 61.2396, 3.66079, 0, 0, 0.966493, -0.256693, -43200, 100, 1), +(@GUID+1, 20920, 47, 1, 1, 2159.43, 1687.49, 57.5433, 3.66079, 0, 0, 0.966493, -0.256693, -43200, 100, 1), +(@GUID+2, 20920, 47, 1, 1, 2080.89, 1703.36, 56.6447, 0.553757, 0, 0, 0.273354, 0.961913, -43200, 100, 1), +(@GUID+3, 20920, 47, 1, 1, 2055.28, 1767.7, 58.4559, 2.98378, 0, 0, 0.996889, 0.0788245, -43200, 100, 1), +(@GUID+4, 20920, 47, 1, 1, 2196.64, 1827.96, 61.4706, 2.11277, 0, 0, 0.870583, 0.492022, -43200, 100, 1), +(@GUID+5, 20920, 47, 1, 1, 2030.32, 1867.61, 56.2866, 5.6777, 0, 0, 0.298139, -0.954522, -43200, 100, 1), +(@GUID+6, 20920, 47, 1, 1, 2091.33, 1861.73, 51.0341, 1.25355, 0, 0, 0.586536, 0.809923, -43200, 100, 1), +(@GUID+7, 20920, 47, 1, 1, 2200.15, 1897.64, 71.3191, 2.6492, 0, 0, 0.969846, 0.243717, -43200, 100, 1), +(@GUID+8, 20920, 47, 1, 1, 2075.75, 1742.04, 76.7184, 1.33994, 0, 0, 0.620962, 0.78384, -43200, 100, 1), +(@GUID+9, 20920, 47, 1, 1, 2126, 1661.15, 82.4824, 0.0220437, 0, 0, 0.0110216, 0.999939, -43200, 100, 1), +(@GUID+10, 20920, 47, 1, 1, 2207.92, 1596.91, 80.7375, 3.60582, 0, 0, 0.973182, -0.230035, -43200, 100, 1), +(@GUID+11, 20920, 47, 1, 1, 2156.98, 1542.26, 72.849, 2.43086, 0, 0, 0.937519, 0.347934, -43200, 100, 1), +(@GUID+12, 20920, 47, 1, 1, 2179.95, 1514.06, 69.0709, 0.778385, 0, 0, 0.379441, 0.925216, -43200, 100, 1), +(@GUID+13, 20920, 47, 1, 1, 2000.85, 1533.93, 80.3971, 4.919, 0, 0, 0.630419, -0.776255, -43200, 100, 1), +(@GUID+14, 20920, 47, 1, 1, 1991.49, 1608.53, 81.1601, 1.1004, 0, 0, 0.522858, 0.85242, -43200, 100, 1), +(@GUID+15, 300011, 47, 1, 1, 2072.84, 1582.57, 82.14, 0, 0, 0, 0, 1, -43200, 0, 1); + +UPDATE `creature_template` SET `ScriptName`='npc_snufflenose_gopher' WHERE `entry`=4781; + +DELETE FROM `spell_script_names` WHERE `spell_id`=8283; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(8283, 'spell_snufflenose_command'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_02_world_misc.sql new file mode 100644 index 00000000000..95d836122d8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_02_world_misc.sql @@ -0,0 +1,3 @@ +UPDATE `creature_template` SET `ScriptName` = REPLACE(`ScriptName`, 'mob_', 'npc_') WHERE `ScriptName` LIKE 'mob\_%'; +UPDATE `creature_template` SET `ScriptName` = REPLACE(`ScriptName`, 'mobs_', 'npc_') WHERE `ScriptName` LIKE 'mobs\_%'; +UPDATE `spell_script_names` SET `ScriptName`='spell_trash_npc_glacial_strike' WHERE `ScriptName`='spell_trash_mob_glacial_strike'; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_03_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_03_world_sai.sql new file mode 100644 index 00000000000..003919faefa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_04_03_world_sai.sql @@ -0,0 +1,14 @@ +-- Quest: Standards and Practices (9910) / Ignore LOS for trigger spell +SET @SPELL := 32205; -- Place Mag'har Battle Standard + +DELETE FROM `disables` WHERE `sourceType` = 0 AND `entry` = @SPELL; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(0, @SPELL, 64, '', '', 'Ignore LOS for Place Mag''har Battle Standard'); + +-- Quest: Hand of Iruxos (5381) / Attack Closest Player - Demon Spirit +SET @ENTRY := 11876; -- Demon Spirit + +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, 54, 0, 100, 1, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 100, 0, 0, 0, 0, 0, 0, 'Demon Spirit - Just Summoned - Attack Closest Player'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_00_world_sai.sql new file mode 100644 index 00000000000..06781cc63a1 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_00_world_sai.sql @@ -0,0 +1,123 @@ +UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`IN (17811,17812,17809,17810,17807); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=182052; +UPDATE `gameobject` SET `spawntimesecs`=-60 WHERE `guid`=23106; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (182052,17811,17812,17809,17810,17807,18205200,1780900); +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 +(182052,1,1 ,2,70,0,100,0,2,0,0,0,12,17811,8,0,0,0,0,8,0,0,0,10093.899414,-6633.959961,4.099670,1.090000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Swiftblade <Blood Knight>'), +(182052,1,2 ,3,61,0,100,0,0,0,0,0,12,17812,8,0,0,0,0,8,0,0,0,10087.699219,-6617.109863,4.099670,5.870000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Sunstriker <Blood Knight>'), +(182052,1,3 ,4,61,0,100,0,0,0,0,0,12,17809,8,0,0,0,0,8,0,0,0,10104.899414,-6610.909668,4.099670,4.200000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Bloodwrath <Blood Knight>'), +(182052,1,4 ,5,61,0,100,0,0,0,0,0,12,17810,8,0,0,0,0,8,0,0,0,10110.799805,-6628.279785,4.099670,2.700000, 'Harbinger of the Second Trial - Linked with Previous Event - Spawn Champion Lightrend <Blood Knight>'), +(182052,1,5 ,6,61,0,100,0,0,0,0,0,80,18205200,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Harbinger of the Second Trial - Linked with Previous Event - Set Data'), +(182052,1,6 ,0,61,0,100,0,0,0,0,0,99,3,0,0,0,0,0,14,23106,182052,0,0,0,0,0, 'Harbinger of the Second Trial - Linked with Previous Event - Set State on Harbinger of the Second Trial'), +(18205200,9,0 ,0,0,0,100,0,7000,7000,0,0,45,1,1,0,0,0,0,19,17809,200,0,0,0,0,0, 'Harbinger of the Second Trial - Linked with Previous Event - Set Data'), +(18205200,9,1 ,0,0,0,100,0,100,100,0,0,45,1,1,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Harbinger of the Second Trial - On Object State Changed - Linked with Previous Event- Set Data Master Kelerun Bloodmourn <Blood Knight>'); +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 +(17807,0,0 ,1,38,0,100,0,1,1,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,1 ,2,61,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set NPC Flags'), +(17807,0,2 ,3,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'), +(17807,0,3 ,0,61,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'), +(17807,0,5 ,6,38,0,100,0,1,2,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,6 ,23,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'), +(17807,0,7 ,8,38,0,100,0,1,3,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,8 ,24,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'), +(17807,0,9 ,10,38,0,100,0,1,4,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,10 ,25,61,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'), +(17807,0,11 ,12,38,0,100,0,1,5,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,12 ,15,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Phase 2'), +(17807,0,13 ,14,1,2,100,0,300000,300000,300000,300000,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - OOC (Phase 2) - Set Npc Flags'), +(17807,0,14 ,0,61,2,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Npc Flags'), +(17807,0,15 ,16,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17809,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,16 ,17,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17810,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,17 ,18,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17811,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,18 ,0,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,19,17812,200,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,20 ,0,19,0,100,0,9686,0,0,0,70,60,0,0,0,0,0,14,23106,182052,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Quest Accept - Respawn State on Harbinger of the Second Trial'), +(17807,0,23 ,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17810,200,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,24 ,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17811,200,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,25 ,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17812,200,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'), +(17807,0,26 ,27,38,0,100,0,1,6,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,27 ,28,61,0,100,0,0,0,0,0,26,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Give Quest Credit'), +(17807,0,28 ,0,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Set Phase 2'), +(17807,0,29 ,30,38,0,100,0,1,6,0,0,45,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - On Data set - Set Data'), +(17807,0,30 ,0,61,0,100,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Master Kelerun Bloodmourn <Blood Knight> - Linked with Previous Event - Say'); +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 +(17809,0,1 ,0,6,0,100,0,0,0,0,0,45,1,2,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'), +(17809,0,2 ,3, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Player Death - Fail Quest'), +(17809,0,3 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'), +(17809,0,4 ,0,2,0,100,0,0,50,10000,15000,11,19939,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Less than 30% HP - Cast Flash of Light'), +(17809,0,6 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Set Data'), +(17809,0,7 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Data Set - Despawn'), +(17809,0,8 ,10,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Spawn - Set Unit Flags'), +(17809,0,9 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Data Set - Remove Unit Flags'), +(17809,0,10 ,0,61,0,100,0,0,0,0,0,53,0,17809,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Linked with Previous Event - Start Waypoints'), +(17809,0,11 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'), +(17810,0,0 ,11,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Spawn - Set Unit Flags'), +(17810,0,1 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Data Set - Remove Unit Flags'), +(17810,0,3 ,0,6,0,100,0,0,0,0,0,45,1,3,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Set Data'), +(17810,0,4 ,5, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Player Death - Fail Quest'), +(17810,0,5 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Set Data'), +(17810,0,6 ,0,4,0,100,0,0,0,0,0,11,20164,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Agro - Cast Seal of Justice'), +(17810,0,7 ,0,0,0,100,0,0,6000,6000,8000,11,20271,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - IC - Cast Judgement of Light'), +(17810,0,9 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Set Data'), +(17810,0,10 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - On Data Set - Despawn'), +(17810,0,11 ,0,61,0,100,0,100,100,0,0,53,0,17810,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Start Waypoints'), +(17810,0,12 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'), +(17811,0,0 ,10,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Spawn - Set Unit Flags'), +(17811,0,1 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Data Set - Remove Unit Flags'), +(17811,0,3 ,0,6,0,100,0,0,0,0,0,45,1,4,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - Linked with Previous Event - Set Data'), +(17811,0,4 ,5, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Player Death - Fail Quest'), +(17811,0,5 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - Linked with Previous Event - Set Data'), +(17811,0,6 ,0,2,0,100,0,0,50,10000,15000,11,19939,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Less than 30% HP - Cast Flash of Light'), +(17811,0,8 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - Linked with Previous Event - Set Data'), +(17811,0,9 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Swiftblade <Blood Knight> - On Data Set - Despawn'), +(17811,0,10 ,0,61,0,100,0,0,0,0,0,53,0,17811,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Lightrend <Blood Knight> - Linked with Previous Event - Start Waypoints'), +(17811,0,11 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'), +(17812,0,0 ,13,11,0,100,0,0,0,0,0,18,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Spawn - Set Unit Flags'), +(17812,0,1 ,0,38,0,100,0,1,1,0,0,80,1780900,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Data Set - Remove Unit Flags'), +(17812,0,2 ,3, 6,0,100,0,0,0,0,0,26,9686,0,0,0,0,0,16,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Death - Give Quest Credit'), +(17812,0,3 ,12,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'), +(17812,0,4 ,5, 5,0,100,0,0,0,0,0,6,9686,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Player Death - Fail Quest'), +(17812,0,5 ,0,61,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'), +(17812,0,6 ,0,4,0,100,0,0,0,0,0,11,20375,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Agro - Cast Seal of Command'), +(17812,0,7 ,0,2,0,100,0,0,50,8000,13000,11,19939,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Less than 30% HP - Cast Flash of Light'), +(17812,0,8 ,0,0,0,100,0,0,6000,6000,6000,11,20271,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - IC - Cast Judgement of Light'), +(17812,0,10 ,0,21,0,100,0,0,0,0,0,45,1,5,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'), +(17812,0,11 ,0,38,0,100,0,1,2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - On Data Set - Despawn'), +(17812,0,12 ,0,61,0,100,0,0,0,0,0,45,1,6,0,0,0,0,10,63509,17807,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Set Data'), +(17812,0,13 ,0,61,0,100,0,0,0,0,0,53,0,17812,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Sunstriker <Blood Knight> - Linked with Previous Event - Start Waypoints'), +(17812,0,14 ,0,40,0,100,0,5,0,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - On Reached WP5 - Set Kneel'), +(1780900,9,1 ,0,0,0,100,0,100,100,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Move'), +(1780900,9,2 ,0,0,0,100,0,100,100,0,0,2,45,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Set Faction'), +(1780900,9,3 ,0,0,0,100,0,100,100,0,0,101,0,0,0,0,0,0,21,50,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Set Home'), +(1780900,9,4 ,0,0,0,100,0,100,100,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0, 'Champion Bloodwrath <Blood Knight> - Script - Attack'); + +DELETE FROM `creature_text` WHERE `entry` =17807; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(17807,0,0, 'Let the trial begin, Bloodwrath Attack!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'), +(17807,1,0, 'Champion Lightrend, make me proud!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'), +(17807,2,0, 'Show this upstart how a real Blood Knight fights, Swiftblade!', 14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'), +(17807,3,0, 'Show $n the meaning of pain, Sunstriker!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'), +(17807,4,0, 'Well Done $n! You have passed the second trial!',14,0,100,0,7000,0, 'Master Kelerun Bloodmourn <Blood Knight>'); + +DELETE FROM `waypoints` WHERE `entry`IN (17811,17812,17809,17810); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(17809, 1, 10104.131836,-6612.683105,4.101346, 'Champion Bloodwrath'), +(17809, 2, 10102.344727,-6612.981445,4.053924, 'Champion Bloodwrath'), +(17809, 3, 10099.358398,-6612.392090,4.054283, 'Champion Bloodwrath'), +(17809, 4, 10095.998047,-6613.050293,4.146625, 'Champion Bloodwrath'), +(17809, 5, 10096.130859,-6613.828125,4.059120, 'Champion Bloodwrath'), +(17810, 1, 10109.248047,-6627.423340,4.102483, 'Champion Lightrend'), +(17810, 2, 10109.353516,-6625.280762,4.053146, 'Champion Lightrend'), +(17810, 3, 10109.612305,-6622.480957,4.054108, 'Champion Lightrend'), +(17810, 4, 10108.892578,-6619.477051,4.055830, 'Champion Lightrend'), +(17810, 5, 10108.208008,-6619.648926,4.059035, 'Champion Lightrend'), +(17811, 1, 10094.589844,-6632.596680,4.101971, 'Champion Swiftblade'), +(17811, 2, 10097.296875,-6632.817383,4.053012, 'Champion Swiftblade'), +(17811, 3, 10100.189453,-6633.041992,4.054625, 'Champion Swiftblade'), +(17811, 4, 10102.728516,-6632.252930,4.056830, 'Champion Swiftblade'), +(17811, 5, 10102.631836,-6631.925293,4.058280, 'Champion Swiftblade'), +(17812, 1, 10089.456055,-6618.075684,4.101974, 'Champion Sunstriker'), +(17812, 2, 10089.222656,-6620.535645,4.053116, 'Champion Sunstriker'), +(17812, 3, 10089.138672,-6623.319336,4.054400, 'Champion Sunstriker'), +(17812, 4, 10090.097656,-6626.027344,4.057493, 'Champion Sunstriker'), +(17812, 5, 10090.363281,-6625.857910,4.060020, 'Champion Sunstriker'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_01_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_01_world_creature_template.sql new file mode 100644 index 00000000000..117df2273a9 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_01_world_creature_template.sql @@ -0,0 +1,204 @@ +-- Alterac Valley NPC fix +UPDATE `creature_template` SET `difficulty_entry_3`=37234 WHERE `entry`=13086; +UPDATE `creature_template` SET `difficulty_entry_3`=37236 WHERE `entry`=13116; +UPDATE `creature_template` SET `difficulty_entry_3`=37237 WHERE `entry`=10990; +UPDATE `creature_template` SET `difficulty_entry_3`=37239 WHERE `entry`=13442; +UPDATE `creature_template` SET `difficulty_entry_3`=37240 WHERE `entry`=14187; +UPDATE `creature_template` SET `difficulty_entry_3`=37242 WHERE `entry`=4255; +UPDATE `creature_template` SET `difficulty_entry_3`=37243 WHERE `entry`=11949; +UPDATE `creature_template` SET `difficulty_entry_3`=37244 WHERE `entry`=11947; +UPDATE `creature_template` SET `difficulty_entry_3`=37250 WHERE `entry`=13422; +UPDATE `creature_template` SET `difficulty_entry_3`=37251 WHERE `entry`=13421; +UPDATE `creature_template` SET `difficulty_entry_3`=37264 WHERE `entry`=13096; +UPDATE `creature_template` SET `difficulty_entry_3`=37267 WHERE `entry`=13317; +UPDATE `creature_template` SET `difficulty_entry_3`=37268 WHERE `entry`=13316; +UPDATE `creature_template` SET `difficulty_entry_3`=37269 WHERE `entry`=13097; +UPDATE `creature_template` SET `difficulty_entry_3`=37278 WHERE `entry`=13447; +UPDATE `creature_template` SET `difficulty_entry_3`=37281 WHERE `entry`=14188; +UPDATE `creature_template` SET `difficulty_entry_3`=37282 WHERE `entry`=12121; +UPDATE `creature_template` SET `difficulty_entry_3`=37283 WHERE `entry`=11946; +UPDATE `creature_template` SET `difficulty_entry_3`=37284 WHERE `entry`=13443; +UPDATE `creature_template` SET `difficulty_entry_3`=37285 WHERE `entry`=14762; +UPDATE `creature_template` SET `difficulty_entry_3`=37287 WHERE `entry`=14763; +UPDATE `creature_template` SET `difficulty_entry_3`=37289 WHERE `entry`=12122; +UPDATE `creature_template` SET `difficulty_entry_3`=37291 WHERE `entry`=14772; +UPDATE `creature_template` SET `difficulty_entry_3`=37294 WHERE `entry`=10981; +UPDATE `creature_template` SET `difficulty_entry_3`=37296 WHERE `entry`=14282; +UPDATE `creature_template` SET `difficulty_entry_3`=37297 WHERE `entry`=13359; +UPDATE `creature_template` SET `difficulty_entry_3`=37300 WHERE `entry`=12053; +UPDATE `creature_template` SET `difficulty_entry_3`=37302 WHERE `entry`=12051; +UPDATE `creature_template` SET `difficulty_entry_3`=37305 WHERE `entry`=12097; +UPDATE `creature_template` SET `difficulty_entry_3`=37308 WHERE `entry`=13284; +UPDATE `creature_template` SET `difficulty_entry_3`=37310 WHERE `entry`=13616; +UPDATE `creature_template` SET `difficulty_entry_3`=37313 WHERE `entry`=13441; +UPDATE `creature_template` SET `difficulty_entry_3`=37315 WHERE `entry`=13216; +UPDATE `creature_template` SET `difficulty_entry_3`=37318 WHERE `entry`=3343; +UPDATE `creature_template` SET `difficulty_entry_3`=37320 WHERE `entry`=13218; +UPDATE `creature_template` SET `difficulty_entry_3`=37323 WHERE `entry`=13117; +UPDATE `creature_template` SET `difficulty_entry_3`=37326 WHERE `entry`=14773; +UPDATE `creature_template` SET `difficulty_entry_3`=37327 WHERE `entry`=14764; +UPDATE `creature_template` SET `difficulty_entry_3`=37331 WHERE `entry`=13099; +UPDATE `creature_template` SET `difficulty_entry_3`=37333 WHERE `entry`=13080; +UPDATE `creature_template` SET `difficulty_entry_3`=37334 WHERE `entry`=13396; +UPDATE `creature_template` SET `difficulty_entry_3`=37335 WHERE `entry`=13397; +UPDATE `creature_template` SET `difficulty_entry_3`=37337 WHERE `entry`=11600; +UPDATE `creature_template` SET `difficulty_entry_3`=37340 WHERE `entry`=10987; +UPDATE `creature_template` SET `difficulty_entry_3`=37344 WHERE `entry`=5134; +UPDATE `creature_template` SET `difficulty_entry_3`=37345 WHERE `entry`=13798; +UPDATE `creature_template` SET `difficulty_entry_3`=37346 WHERE `entry`=13079; +UPDATE `creature_template` SET `difficulty_entry_3`=37348 WHERE `entry`=5139; +UPDATE `creature_template` SET `difficulty_entry_3`=37349 WHERE `entry`=4257; +UPDATE `creature_template` SET `difficulty_entry_3`=37364 WHERE `entry`=13088; +UPDATE `creature_template` SET `difficulty_entry_3`=37366 WHERE `entry`=11657; +UPDATE `creature_template` SET `difficulty_entry_3`=37367 WHERE `entry`=13797; +UPDATE `creature_template` SET `difficulty_entry_3`=37369 WHERE `entry`=13257; +UPDATE `creature_template` SET `difficulty_entry_3`=37370 WHERE `entry`=14185; +UPDATE `creature_template` SET `difficulty_entry_3`=37371 WHERE `entry`=13236; +UPDATE `creature_template` SET `difficulty_entry_3`=37372 WHERE `entry`=13816; +UPDATE `creature_template` SET `difficulty_entry_3`=37373 WHERE `entry`=3625; +UPDATE `creature_template` SET `difficulty_entry_3`=37374 WHERE `entry`=14186; +UPDATE `creature_template` SET `difficulty_entry_3`=37383 WHERE `entry`=13326; +UPDATE `creature_template` SET `difficulty_entry_3`=37384 WHERE `entry`=13328; +UPDATE `creature_template` SET `difficulty_entry_3`=37398 WHERE `entry`=13448; +UPDATE `creature_template` SET `difficulty_entry_3`=37399 WHERE `entry`=10367; +UPDATE `creature_template` SET `difficulty_entry_3`=37401 WHERE `entry`=13176; +UPDATE `creature_template` SET `difficulty_entry_3`=37402 WHERE `entry`=11678; +UPDATE `creature_template` SET `difficulty_entry_3`=37403 WHERE `entry`=10986; +UPDATE `creature_template` SET `difficulty_entry_3`=37404 WHERE `entry`=11675; +UPDATE `creature_template` SET `difficulty_entry_3`=37407 WHERE `entry`=14765; +UPDATE `creature_template` SET `difficulty_entry_3`=37409 WHERE `entry`=14284; +UPDATE `creature_template` SET `difficulty_entry_3`=37410 WHERE `entry`=13358; +UPDATE `creature_template` SET `difficulty_entry_3`=37412 WHERE `entry`=12050; +UPDATE `creature_template` SET `difficulty_entry_3`=37415 WHERE `entry`=12127; +UPDATE `creature_template` SET `difficulty_entry_3`=37416 WHERE `entry`=11997; +UPDATE `creature_template` SET `difficulty_entry_3`=37419 WHERE `entry`=14283; +UPDATE `creature_template` SET `difficulty_entry_3`=37420 WHERE `entry`=12096; +UPDATE `creature_template` SET `difficulty_entry_3`=37422 WHERE `entry`=13577; +UPDATE `creature_template` SET `difficulty_entry_3`=37426 WHERE `entry`=13617; +UPDATE `creature_template` SET `difficulty_entry_3`=37427 WHERE `entry`=5135; +UPDATE `creature_template` SET `difficulty_entry_3`=37431 WHERE `entry`=11677; +UPDATE `creature_template` SET `difficulty_entry_3`=37435 WHERE `entry`=14776; +UPDATE `creature_template` SET `difficulty_entry_3`=37442 WHERE `entry`=13078; +UPDATE `creature_template` SET `difficulty_entry_3`=37444 WHERE `entry`=11948; +UPDATE `creature_template` SET `difficulty_entry_3`=37450 WHERE `entry`=13331; +UPDATE `creature_template` SET `difficulty_entry_3`=37451 WHERE `entry`=13332; +UPDATE `creature_template` SET `difficulty_entry_3`=37468 WHERE `entry`=14777; +UPDATE `creature_template` SET `difficulty_entry_3`=37469 WHERE `entry`=11603; +UPDATE `creature_template` SET `difficulty_entry_3`=37470 WHERE `entry`=11604; +UPDATE `creature_template` SET `difficulty_entry_3`=37473 WHERE `entry`=10982; +UPDATE `creature_template` SET `difficulty_entry_3`=37475 WHERE `entry`=11839; +UPDATE `creature_template` SET `difficulty_entry_3`=37479 WHERE `entry`=13179; +UPDATE `creature_template` SET `difficulty_entry_3`=37480 WHERE `entry`=13437; +UPDATE `creature_template` SET `difficulty_entry_3`=37481 WHERE `entry`=13180; +UPDATE `creature_template` SET `difficulty_entry_3`=37483 WHERE `entry`=13438; +UPDATE `creature_template` SET `difficulty_entry_3`=37484 WHERE `entry`=13439; +UPDATE `creature_template` SET `difficulty_entry_3`=37485 WHERE `entry`=10364; +UPDATE `creature_template` SET `difficulty_entry_3`=37486 WHERE `entry`=2225; + +UPDATE `creature_template` SET `KillCredit1`=13086, `modelid1`=13298, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.75, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=15655, `spell3`=0, `spell4`=0, `mingold`=192, `maxgold`=192 WHERE `entry`=37234; +UPDATE `creature_template` SET `KillCredit1`=13116, `modelid1`=13336, `modelid2`=13337, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1802, `faction_H`=1802, `npcflag`=32768, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=405, `maxdmg`=609, `attackpower`=152, `dmg_multiplier`=49.1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=2, `unit_flags`=4930, `minrangedmg`=324, `maxrangedmg`=487, `rangedattackpower`=122, `type`=7, `type_flags`=2, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37236; +UPDATE `creature_template` SET `KillCredit1`=10990, `modelid1`=13340, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1274, `faction_H`=1274, `npcflag`=0, `speed_walk`=1, `speed_run`=1.38571, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=0, `spell1`=13443, `spell2`=22120, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37237; +UPDATE `creature_template` SET `KillCredit1`=13442, `modelid1`=13403, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5142, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=8.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15981, `spell2`=22127, `spell3`=22206, `spell4`=0, `mingold`=1861, `maxgold`=1861 WHERE `entry`=37239; +UPDATE `creature_template` SET `KillCredit1`=14187, `modelid1`=14215, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=79, `faction_H`=79, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=606, `maxgold`=606 WHERE `entry`=37240; +UPDATE `creature_template` SET `KillCredit1`=4255, `modelid1`=2284, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.6, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37242; +UPDATE `creature_template` SET `KillCredit1`=11949, `modelid1`=12823, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=435, `maxdmg`=653, `attackpower`=163, `dmg_multiplier`=40.9, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=348, `maxrangedmg`=522, `rangedattackpower`=130, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1917, `maxgold`=1917 WHERE `entry`=37243; +UPDATE `creature_template` SET `KillCredit1`=11947, `modelid1`=11895, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=468, `maxdmg`=702, `attackpower`=175, `dmg_multiplier`=38, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4160, `minrangedmg`=374, `maxrangedmg`=562, `rangedattackpower`=140, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1918, `maxgold`=1918 WHERE `entry`=37244; +UPDATE `creature_template` SET `KillCredit1`=13422, `modelid1`=13351, `modelid2`=13352, `modelid3`=13353, `modelid4`=13354, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.27, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=570, `maxgold`=570 WHERE `entry`=37250; +UPDATE `creature_template` SET `KillCredit1`=13421, `modelid1`=13361, `modelid2`=13362, `modelid3`=13363, `modelid4`=13364, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.27, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=207, `maxgold`=596 WHERE `entry`=37251; +UPDATE `creature_template` SET `KillCredit1`=13096, `modelid1`=13895, `modelid2`=13896, `modelid3`=13552, `modelid4`=13553, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=2.01, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=12544, `spell2`=14145, `spell3`=15242, `spell4`=15244, `mingold`=105, `maxgold`=105 WHERE `entry`=37264; +UPDATE `creature_template` SET `KillCredit1`=13317, `modelid1`=556, `modelid2`=308, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37267; +UPDATE `creature_template` SET `KillCredit1`=13316, `modelid1`=13334, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37268; +UPDATE `creature_template` SET `KillCredit1`=13097, `modelid1`=13330, `modelid2`=13331, `modelid3`=13540, `modelid4`=13537, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15498, `spell2`=15586, `spell3`=15654, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37269; +UPDATE `creature_template` SET `KillCredit1`=13447, `modelid1`=13383, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5081, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=1667, `maxgold`=1667 WHERE `entry`=37278; +UPDATE `creature_template` SET `KillCredit1`=14188, `modelid1`=14234, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=55, `faction_H`=55, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=607, `maxgold`=607 WHERE `entry`=37281; +UPDATE `creature_template` SET `KillCredit1`=12121, `modelid1`=10278, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=1, `type_flags`=0, `spell1`=8599, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37282; +UPDATE `creature_template` SET `KillCredit1`=11946, `modelid1`=11894, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1214, `faction_H`=1214, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=468, `maxdmg`=702, `attackpower`=175, `dmg_multiplier`=63.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=374, `maxrangedmg`=562, `rangedattackpower`=140, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37283; +UPDATE `creature_template` SET `KillCredit1`=13443, `modelid1`=13409, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5141, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=203, `maxdmg`=304, `attackpower`=76, `dmg_multiplier`=7.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=162, `maxrangedmg`=243, `rangedattackpower`=61, `type`=7, `type_flags`=0, `spell1`=21668, `spell2`=22127, `spell3`=22128, `spell4`=0, `mingold`=1656, `maxgold`=1656 WHERE `entry`=37284; +UPDATE `creature_template` SET `KillCredit1`=14762, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=32768, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37285; +UPDATE `creature_template` SET `KillCredit1`=14763, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=32768, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37287; +UPDATE `creature_template` SET `KillCredit1`=12122, `modelid1`=10278, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=1, `type_flags`=0, `spell1`=8599, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37289; +UPDATE `creature_template` SET `KillCredit1`=14772, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37291; +UPDATE `creature_template` SET `KillCredit1`=10981, `modelid1`=10278, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1275, `faction_H`=1275, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=1, `spell1`=13443, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37294; +UPDATE `creature_template` SET `KillCredit1`=14282, `modelid1`=782, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1275, `faction_H`=1275, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=0, `spell1`=3391, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37296; +UPDATE `creature_template` SET `KillCredit1`=13359, `modelid1`=13398, `modelid2`=13399, `modelid3`=13400, `modelid4`=13401, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=420, `maxdmg`=630, `attackpower`=157, `dmg_multiplier`=1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=336, `maxrangedmg`=504, `rangedattackpower`=126, `type`=7, `type_flags`=0, `spell1`=22121, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=576, `maxgold`=576 WHERE `entry`=37297; +UPDATE `creature_template` SET `KillCredit1`=12053, `modelid1`=12165, `modelid2`=12166, `modelid3`=12167, `modelid4`=12170, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=543, `maxgold`=543 WHERE `entry`=37300; +UPDATE `creature_template` SET `KillCredit1`=12051, `modelid1`=12949, `modelid2`=12950, `modelid3`=12951, `modelid4`=12952, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=11977, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=524, `maxgold`=524 WHERE `entry`=37302; +UPDATE `creature_template` SET `KillCredit1`=12097, `modelid1`=13385, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=131, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37305; +UPDATE `creature_template` SET `KillCredit1`=13284, `modelid1`=13410, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=203, `maxdmg`=304, `attackpower`=76, `dmg_multiplier`=5.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=162, `maxrangedmg`=243, `rangedattackpower`=61, `type`=7, `type_flags`=0, `spell1`=12550, `spell2`=21401, `spell3`=0, `spell4`=0, `mingold`=1627, `maxgold`=1627 WHERE `entry`=37308; +UPDATE `creature_template` SET `KillCredit1`=13616, `modelid1`=13670, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=9821, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=4194307, `speed_walk`=1.78, `speed_run`=1.14286, `rank`=1, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=7.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37310; +UPDATE `creature_template` SET `KillCredit1`=13441, `modelid1`=13415, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=2, `speed_walk`=1.79, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.4, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=2855, `maxgold`=2855 WHERE `entry`=37313; +UPDATE `creature_template` SET `KillCredit1`=13216, `modelid1`=13476, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.4, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1662, `maxgold`=1662 WHERE `entry`=37315; +UPDATE `creature_template` SET `KillCredit1`=3343, `modelid1`=1359, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37318; +UPDATE `creature_template` SET `KillCredit1`=13218, `modelid1`=13477, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=4.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1561, `maxgold`=1561 WHERE `entry`=37320; +UPDATE `creature_template` SET `KillCredit1`=13117, `modelid1`=13338, `modelid2`=13339, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1801, `faction_H`=1801, `npcflag`=32768, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=405, `maxdmg`=609, `attackpower`=152, `dmg_multiplier`=49.1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=2, `unit_flags`=4930, `minrangedmg`=324, `maxrangedmg`=487, `rangedattackpower`=122, `type`=7, `type_flags`=2, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37323; +UPDATE `creature_template` SET `KillCredit1`=14773, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37326; +UPDATE `creature_template` SET `KillCredit1`=14764, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37327; +UPDATE `creature_template` SET `KillCredit1`=13099, `modelid1`=13430, `modelid2`=13431, `modelid3`=13432, `modelid4`=13433, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.74, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=12544, `spell2`=14145, `spell3`=15242, `spell4`=15244, `mingold`=0, `maxgold`=0 WHERE `entry`=37331; +UPDATE `creature_template` SET `KillCredit1`=13080, `modelid1`=13311, `modelid2`=13313, `modelid3`=13312, `modelid4`=13314, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15284, `spell2`=16856, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37333; +UPDATE `creature_template` SET `KillCredit1`=13396, `modelid1`=556, `modelid2`=308, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37334; +UPDATE `creature_template` SET `KillCredit1`=13397, `modelid1`=13335, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=80, `maxgold`=80 WHERE `entry`=37335; +UPDATE `creature_template` SET `KillCredit1`=11600, `modelid1`=10285, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=12492, `spell2`=15786, `spell3`=15801, `spell4`=0, `mingold`=246, `maxgold`=246 WHERE `entry`=37337; +UPDATE `creature_template` SET `KillCredit1`=10987, `modelid1`=10285, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=14516, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=333, `maxgold`=333 WHERE `entry`=37340; +UPDATE `creature_template` SET `KillCredit1`=5134, `modelid1`=3061, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=8, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37344; +UPDATE `creature_template` SET `KillCredit1`=13798, `modelid1`=13808, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.7, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15284, `spell2`=16856, `spell3`=0, `spell4`=0, `mingold`=598, `maxgold`=598 WHERE `entry`=37345; +UPDATE `creature_template` SET `KillCredit1`=13079, `modelid1`=13300, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=14516, `spell2`=15496, `spell3`=15576, `spell4`=17207, `mingold`=175, `maxgold`=175 WHERE `entry`=37346; +UPDATE `creature_template` SET `KillCredit1`=5139, `modelid1`=3084, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=104, `maxgold`=104 WHERE `entry`=37348; +UPDATE `creature_template` SET `KillCredit1`=4257, `modelid1`=2286, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=4224, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=133, `maxgold`=133 WHERE `entry`=37349; +UPDATE `creature_template` SET `KillCredit1`=13088, `modelid1`=13305, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=3391, `spell2`=6434, `spell3`=15667, `spell4`=0, `mingold`=278, `maxgold`=278 WHERE `entry`=37364; +UPDATE `creature_template` SET `KillCredit1`=11657, `modelid1`=5945, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=512, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15537, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=111, `maxgold`=111 WHERE `entry`=37366; +UPDATE `creature_template` SET `KillCredit1`=13797, `modelid1`=13849, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=3.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=11976, `spell2`=22120, `spell3`=0, `spell4`=0, `mingold`=1828, `maxgold`=1828 WHERE `entry`=37367; +UPDATE `creature_template` SET `KillCredit1`=13257, `modelid1`=13151, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5021, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=21163, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=639, `maxgold`=639 WHERE `entry`=37369; +UPDATE `creature_template` SET `KillCredit1`=14185, `modelid1`=14232, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=126, `faction_H`=126, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=578, `maxgold`=578 WHERE `entry`=37370; +UPDATE `creature_template` SET `KillCredit1`=13236, `modelid1`=13478, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=2, `rank`=1, `mindmg`=203, `maxdmg`=304, `attackpower`=76, `dmg_multiplier`=8.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=4096, `minrangedmg`=162, `maxrangedmg`=243, `rangedattackpower`=61, `type`=7, `type_flags`=0, `spell1`=15234, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1854, `maxgold`=1854 WHERE `entry`=37371; +UPDATE `creature_template` SET `KillCredit1`=13816, `modelid1`=13794, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=175, `maxgold`=175 WHERE `entry`=37372; +UPDATE `creature_template` SET `KillCredit1`=3625, `modelid1`=4294, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=135, `maxgold`=135 WHERE `entry`=37373; +UPDATE `creature_template` SET `KillCredit1`=14186, `modelid1`=14233, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=105, `faction_H`=105, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=420, `maxdmg`=630, `attackpower`=157, `dmg_multiplier`=1.2, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=336, `maxrangedmg`=504, `rangedattackpower`=126, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=600, `maxgold`=600 WHERE `entry`=37374; +UPDATE `creature_template` SET `KillCredit1`=13326, `modelid1`=13262, `modelid2`=13263, `modelid3`=13264, `modelid4`=13265, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.3, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=575, `maxgold`=575 WHERE `entry`=37383; +UPDATE `creature_template` SET `KillCredit1`=13328, `modelid1`=13278, `modelid2`=13279, `modelid3`=13280, `modelid4`=13281, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.3, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=581, `maxgold`=581 WHERE `entry`=37384; +UPDATE `creature_template` SET `KillCredit1`=13448, `modelid1`=13402, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=11977, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=900, `maxgold`=900 WHERE `entry`=37398; +UPDATE `creature_template` SET `KillCredit1`=10367, `modelid1`=9765, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37399; +UPDATE `creature_template` SET `KillCredit1`=13176, `modelid1`=13152, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5124, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=21163, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1910, `maxgold`=1910 WHERE `entry`=37401; +UPDATE `creature_template` SET `KillCredit1`=11678, `modelid1`=10282, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1.38889, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=7159, `spell2`=19472, `spell3`=0, `spell4`=0, `mingold`=411, `maxgold`=411 WHERE `entry`=37402; +UPDATE `creature_template` SET `KillCredit1`=10986, `modelid1`=10282, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=514, `faction_H`=514, `npcflag`=0, `speed_walk`=1.38889, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=3589, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=411, `maxgold`=411 WHERE `entry`=37403; +UPDATE `creature_template` SET `KillCredit1`=11675, `modelid1`=10282, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1.38889, `speed_run`=1.14286, `rank`=0, `mindmg`=293, `maxdmg`=439, `attackpower`=110, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=2, `unit_flags`=0, `minrangedmg`=234, `maxrangedmg`=351, `rangedattackpower`=88, `type`=7, `type_flags`=0, `spell1`=9532, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=426, `maxgold`=426 WHERE `entry`=37404; +UPDATE `creature_template` SET `KillCredit1`=14765, `modelid1`=14793, `modelid2`=14795, `modelid3`=14794, `modelid4`=14796, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=13.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=13736, `spell2`=15589, `spell3`=22911, `spell4`=23511, `mingold`=0, `maxgold`=0 WHERE `entry`=37407; +UPDATE `creature_template` SET `KillCredit1`=14284, `modelid1`=14322, `modelid2`=14324, `modelid3`=14326, `modelid4`=14327, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=1616, `maxgold`=1616 WHERE `entry`=37409; +UPDATE `creature_template` SET `KillCredit1`=13358, `modelid1`=13390, `modelid2`=13391, `modelid3`=13392, `modelid4`=13393, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=420, `maxdmg`=630, `attackpower`=157, `dmg_multiplier`=1, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=336, `maxrangedmg`=504, `rangedattackpower`=126, `type`=7, `type_flags`=0, `spell1`=22121, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=580, `maxgold`=580 WHERE `entry`=37410; +UPDATE `creature_template` SET `KillCredit1`=12050, `modelid1`=13274, `modelid2`=13275, `modelid3`=13276, `modelid4`=13277, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=547, `maxgold`=547 WHERE `entry`=37412; +UPDATE `creature_template` SET `KillCredit1`=12127, `modelid1`=13253, `modelid2`=12077, `modelid3`=12079, `modelid4`=12078, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=11976, `spell2`=22120, `spell3`=0, `spell4`=0, `mingold`=520, `maxgold`=520 WHERE `entry`=37415; +UPDATE `creature_template` SET `KillCredit1`=11997, `modelid1`=12075, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=1, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37416; +UPDATE `creature_template` SET `KillCredit1`=14283, `modelid1`=10828, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=0.9, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=1, `type_flags`=1, `spell1`=3391, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37419; +UPDATE `creature_template` SET `KillCredit1`=12096, `modelid1`=13384, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5241, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=131, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=150, `maxgold`=150 WHERE `entry`=37420; +UPDATE `creature_template` SET `KillCredit1`=13577, `modelid1`=13714, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5281, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.38571, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=8.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15284, `spell2`=16856, `spell3`=0, `spell4`=0, `mingold`=1713, `maxgold`=1713 WHERE `entry`=37422; +UPDATE `creature_template` SET `KillCredit1`=13617, `modelid1`=13669, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=9821, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=4194307, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=7.3, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=632, `maxgold`=632 WHERE `entry`=37426; +UPDATE `creature_template` SET `KillCredit1`=5135, `modelid1`=3083, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37427; +UPDATE `creature_template` SET `KillCredit1`=11677, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1.76, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.2, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=3391, `spell2`=14516, `spell3`=16170, `spell4`=0, `mingold`=254, `maxgold`=254 WHERE `entry`=37431; +UPDATE `creature_template` SET `KillCredit1`=14776, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=150, `maxgold`=150 WHERE `entry`=37435; +UPDATE `creature_template` SET `KillCredit1`=13078, `modelid1`=13299, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.77, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=8147, `spell2`=12057, `spell3`=0, `spell4`=0, `mingold`=117, `maxgold`=117 WHERE `entry`=37442; +UPDATE `creature_template` SET `KillCredit1`=11948, `modelid1`=11896, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=83, `maxlevel`=83, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=3, `mindmg`=468, `maxdmg`=702, `attackpower`=175, `dmg_multiplier`=62, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=374, `maxrangedmg`=562, `rangedattackpower`=140, `type`=7, `type_flags`=4, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37444; +UPDATE `creature_template` SET `KillCredit1`=13331, `modelid1`=13258, `modelid2`=13259, `modelid3`=13260, `modelid4`=13261, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1216, `faction_H`=1216, `npcflag`=0, `speed_walk`=1.28, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=662, `maxgold`=662 WHERE `entry`=37450; +UPDATE `creature_template` SET `KillCredit1`=13332, `modelid1`=13282, `modelid2`=13283, `modelid3`=13284, `modelid4`=13285, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1.28, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1.4, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=12169, `spell2`=19130, `spell3`=0, `spell4`=0, `mingold`=617, `maxgold`=617 WHERE `entry`=37451; +UPDATE `creature_template` SET `KillCredit1`=14777, `modelid1`=14797, `modelid2`=14799, `modelid3`=14798, `modelid4`=14800, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=436, `maxdmg`=654, `attackpower`=163, `dmg_multiplier`=51.4, `baseattacktime`=2000, `rangeattacktime`=2000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=349, `maxrangedmg`=523, `rangedattackpower`=130, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37468; +UPDATE `creature_template` SET `KillCredit1`=11603, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=0.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=12057, `spell2`=15572, `spell3`=0, `spell4`=0, `mingold`=195, `maxgold`=195 WHERE `entry`=37469; +UPDATE `creature_template` SET `KillCredit1`=11604, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=195, `maxdmg`=293, `attackpower`=73, `dmg_multiplier`=1.1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=2, `unit_flags`=0, `minrangedmg`=156, `maxrangedmg`=234, `rangedattackpower`=58, `type`=7, `type_flags`=0, `spell1`=15228, `spell2`=18968, `spell3`=0, `spell4`=0, `mingold`=271, `maxgold`=271 WHERE `entry`=37470; +UPDATE `creature_template` SET `KillCredit1`=10982, `modelid1`=371, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=210, `maxdmg`=315, `attackpower`=79, `dmg_multiplier`=1, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=0, `minrangedmg`=168, `maxrangedmg`=252, `rangedattackpower`=63, `type`=7, `type_flags`=0, `spell1`=17230, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=145, `maxgold`=145 WHERE `entry`=37473; +UPDATE `creature_template` SET `KillCredit1`=11839, `modelid1`=494, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=14, `faction_H`=14, `npcflag`=0, `speed_walk`=1, `speed_run`=1.19048, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=0, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=13737, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=498, `maxgold`=498 WHERE `entry`=37475; +UPDATE `creature_template` SET `KillCredit1`=13179, `modelid1`=13473, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.7, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=15580, `spell3`=0, `spell4`=0, `mingold`=1714, `maxgold`=1714 WHERE `entry`=37479; +UPDATE `creature_template` SET `KillCredit1`=13437, `modelid1`=13470, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5146, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=6.9, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4928, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15580, `spell2`=16509, `spell3`=0, `spell4`=0, `mingold`=1813, `maxgold`=1813 WHERE `entry`=37480; +UPDATE `creature_template` SET `KillCredit1`=13180, `modelid1`=13474, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=81, `maxlevel`=81, `faction_A`=1214, `faction_H`=1214, `npcflag`=2, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.4, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15572, `spell2`=15580, `spell3`=0, `spell4`=0, `mingold`=1758, `maxgold`=1758 WHERE `entry`=37481; +UPDATE `creature_template` SET `KillCredit1`=13438, `modelid1`=13471, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5148, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.8, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15580, `spell2`=16509, `spell3`=0, `spell4`=0, `mingold`=1586, `maxgold`=1586 WHERE `entry`=37483; +UPDATE `creature_template` SET `KillCredit1`=13439, `modelid1`=13472, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=5147, `minlevel`=81, `maxlevel`=81, `faction_A`=1216, `faction_H`=1216, `npcflag`=3, `speed_walk`=1, `speed_run`=1.14286, `rank`=1, `mindmg`=218, `maxdmg`=327, `attackpower`=82, `dmg_multiplier`=4.5, `baseattacktime`=1000, `rangeattacktime`=1000, `unit_class`=1, `unit_flags`=4608, `minrangedmg`=174, `maxrangedmg`=262, `rangedattackpower`=66, `type`=7, `type_flags`=0, `spell1`=15580, `spell2`=16509, `spell3`=0, `spell4`=0, `mingold`=1645, `maxgold`=1645 WHERE `entry`=37484; +UPDATE `creature_template` SET `KillCredit1`=10364, `modelid1`=9763, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37485; +UPDATE `creature_template` SET `KillCredit1`=2225, `modelid1`=14781, `modelid2`=0, `modelid3`=0, `modelid4`=0, `gossip_menu_id`=0, `minlevel`=80, `maxlevel`=80, `faction_A`=1214, `faction_H`=1214, `npcflag`=128, `speed_walk`=1, `speed_run`=1.14286, `rank`=0, `mindmg`=315, `maxdmg`=472, `attackpower`=118, `dmg_multiplier`=1, `baseattacktime`=1500, `rangeattacktime`=1500, `unit_class`=1, `unit_flags`=4096, `minrangedmg`=252, `maxrangedmg`=378, `rangedattackpower`=94, `type`=7, `type_flags`=0, `spell1`=0, `spell2`=0, `spell3`=0, `spell4`=0, `mingold`=0, `maxgold`=0 WHERE `entry`=37486; + +update `creature_template` set exp=2 where `entry` in (37234, +37236, 37237, 37239, 37240, 37242, 37243, 37244, 37250, 37251, 37264, +37267, 37268, 37269, 37278, 37281, 37282, 37283, 37284, 37285, 37287, +37289, 37291, 37294, 37296, 37297, 37300, 37302, 37305, 37308, 37310, +37313, 37315, 37318, 37320, 37323, 37326, 37327, 37331, 37333, 37334, +37335, 37337, 37340, 37344, 37345, 37346, 37348, 37349, 37364, 37366, +37367, 37369, 37370, 37371, 37372, 37373, 37374, 37383, 37384, 37398, +37399, 37401, 37402, 37403, 37404, 37407, 37409, 37410, 37412, 37415, +37416, 37419, 37420, 37422, 37426, 37427, 37431, 37435, 37442, 37444, +37450, 37451, 37468, 37469, 37470, 37473, 37475, 37479, 37480, 37481, +37483, 37484, 37485, 37486); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_02_world_QuestchainSOH.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_02_world_QuestchainSOH.sql new file mode 100644 index 00000000000..14a3ea7c1a0 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_02_world_QuestchainSOH.sql @@ -0,0 +1,543 @@ +-- A lot of missing npcs/gobs/quest relations/quests/phases etc.. +-- http://www.wowwiki.com/Storm_Peaks_quests +-- http://www.wowwiki.com/Sons_of_Hodir +-- http://www.wowhead.com/faction=1119#comments:id=905880 +SET @NJORMELD := 30099; -- At Fjorn's Anvil +SET @NJORMELD2 := 30127; -- At Dun Niffelem +SET @SNORRI_NPC := 30123; -- At Fjorn's Anvil +SET @SNORRI_MOUNT := 30124; -- Snorri spell_click +SET @NPC_BUNNY := 30122; -- Storm Peaks Anvil Bunny +SET @NPC_SR2 := 30120; -- Seething Revenant (phase 2) +SET @NPC_SR3 := 30387; -- Seething Revenant (phase 3) +SET @NPC_FGS := 30121; -- Frost Giant Stormherald +SET @NPC_BR := 30160; -- Brittle Revenant +SET @NPC_SOH2 := 30262; -- Son of Hodir (phase 2) +SET @NPC_BF := 30320; -- Battlescarred Frostworg (phase 2) +SET @SM := 30260; -- Stoic Mammoth (phase 2) +SET @RJ := 30422; -- Roaming Jormungar +SET @WARBEAR := 29918; -- Warbear Matriarch +SET @HYLDSMEET_WB := 30174; -- Hyldsmeet Warbear +SET @BUNNY_SPEAR := 30246; -- Dun Niffelem Spear Chain Bunny (Phase 2) +SET @F_WORG := 30219; -- Ethereal Frostwarg +SET @SF_INFIL := 30222; -- Stormforged Infiltrator + +SET @NPC_THORIM2 := 30390; -- at Thunderfall +SET @NPC_THORIM3 := 30295; -- at Terrace of the Makers +-- Will be used in Hot and Cold +SET @SPELL_RIDE := 55957; -- Ride Snorri +SET @SPELL_GATHER := 56750; -- Gather Snow +SET @SPELL_THROW := 56753; -- Throw Snowball +SET @SPELL_SLEEP := 32951; -- Sleeping Sleep +SET @SPELL_WAKE := 56752; -- Wake Snorri +SET @SPELL_KCtTM := 56755; -- KC toTarget Master +SET @SPELL_KC := 56754; -- Kill Credit, Seething Revenant +SET @F_REPUTATION := 57048; -- Force Reputation +SET @SUMMON_SFINF := 56325; -- Summon Stormforged Infiltrator + +SET @GO_SNOWDRIFT := 192075; -- Snowdrift +SET @GO_ANVIL1 := 192060; -- Fjorn's Anvil (at Fjorn's Anvil) +SET @GO_ANVIL2 := 192071; -- Fjorn's Anvil (at Dun Niffelem) +SET @GO_SPEAR := 192079; -- Hodir's Spear +SET @GO_ARNGRIM := 192524; -- Arngrim the Insatiable +SET @GO_HORN := 192078; -- Hodir's Horn +SET @GO_WARG := 300244; -- Corpse of the Fallen Worg (Spell focus) +SET @GO_GRANITE := 191815; -- Granite Boulder +SET @GO_GRANITE2 := 191814; -- Granite Boulder +SET @QUEST1 := 12967; -- Battling the Elements +SET @QUEST2 := 12981; -- Hot and Cold +SET @QUEST3 := 13003; -- Thrusting Hodir's Spear +SET @QUEST4 := 13046; -- Feeding Arngrim +SET @QUEST5 := 12977; -- Blowing Hodir's Horn + +SET @GUID_BUNNY1 := 63373; -- 4 required NPC +SET @GUID_BUNNY2 := 129993; -- 6 required NPC +SET @GUID_BUNNY := 116620; -- 23 required NPC +SET @GUID := 142335; -- 77 reqiured NPC +SET @OGUID := 20918; -- 17 requied GO +SET @GUID_GO := 21065; -- 20 required GO + + +DELETE FROM `gameobject` WHERE `id` IN (@GO_ANVIL1,@GO_ANVIL2,@GO_SNOWDRIFT,@GO_SPEAR,@GO_ARNGRIM,@GO_HORN,@GO_WARG,@GO_GRANITE,@GO_GRANITE2); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +-- Making anvil visible in phase 1 just to be sure it can be seen +(@GUID_GO+0,@GO_ANVIL1,571,1,1+2+4,7217.072,-3645.753,819.4065,1.797689,0,0,0.782608,0.6225148,300,255,1), +(@GUID_GO+1,@GO_ANVIL2,571,1,4,7213.591,-2648.741,810.5506,0.2268925,0,0,0.113203,0.9935719,300,255,1), +-- +(@GUID_GO+2,@GO_SNOWDRIFT,571,1,4,7218.64,-3529.71,828.539,-1.93732,0,0,-0.824127,0.566404,300,100,1), +(@GUID_GO+3,@GO_SNOWDRIFT,571,1,4,7201.17,-3556.13,828.03,2.18166,0,0,0.88701,0.461749,300,100,1), +(@GUID_GO+4,@GO_SNOWDRIFT,571,1,4,7230.44,-3555.63,841.772,1.85005,0,0,0.798636,0.601815,300,100,1), +(@GUID_GO+5,@GO_SNOWDRIFT,571,1,4,7169.6,-3615.71,830.249,-2.89724,0,0,-0.992546,0.121873,300,100,1), +(@GUID_GO+6,@GO_SNOWDRIFT,571,1,4,7121.83,-3542.56,835.008,-0.750491,0,0,-0.366501,0.930418,300,100,1), +(@GUID_GO+7,@GO_SNOWDRIFT,571,1,4,7131.5,-3584.22,840.195,-1.91986,0,0,-0.819151,0.573577,300,100,1), +(@GUID_GO+8,@GO_SNOWDRIFT,571,1,4,7162.55,-3582.66,830.36,1.11701,0,0,0.529919,0.848048,300,100,1), +(@GUID_GO+9,@GO_SNOWDRIFT,571,1,4,7176.21,-3511.2,833.381,1.93731,0,0,0.824125,0.566409,300,100,1), +(@GUID_GO+10,@GO_SNOWDRIFT,571,1,4,7148.73,-3559.17,830.36,-2.72271,0,0,-0.978147,0.207914,300,100,1), +(@GUID_GO+11,@GO_SNOWDRIFT,571,1,4,7165.47,-3639.53,832.157,0.890117,0,0,0.430511,0.902586,300,100,1), +(@GUID_GO+12,@GO_SPEAR,571,1,4,7309.3,-2782.45,869.824,-0.610864,0,0,-0.300705,0.953717,180,255,1), +(@GUID_GO+13,@GO_ARNGRIM,571,1,4,7355.87,-2962.37,912.502,1.74533,0,0,0.766045,0.642787,180,255,1), +(@GUID_GO+14,@GO_HORN,571,1,4,7142.23,-2723.25,787.769,-2.63544,0,0,-0.968147,0.250383,180,255,1), +(@GUID_GO+15,@GO_WARG, 571, 1, 4, 7161.11, -2228.79, 758.93, 5.72936, 0, 0, 0.273389, -0.961904, 300, 0, 1), +-- Additional GO's for Mending Fences +(@GUID_GO+16,@GO_GRANITE,571,1,1,7229.834,-3560.515,840.1581,4.97419,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil) +(@GUID_GO+32,@GO_GRANITE,571,1,1,7170.086,-3644.12,830.1971,3.996807,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil) +(@GUID_GO+33,@GO_GRANITE,571,1,1,7273.538,-3632.394,829.7211,0.4537851,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil) +(@GUID_GO+34,@GO_GRANITE,571,1,1,7464.846,-3014.682,851.4673,5.253442,0,0,0,1,120,255,1); -- Granite Boulder (Area: Frostfield Lake + +DELETE FROM `creature` WHERE `id` IN (@NJORMELD,@SNORRI_NPC,@NPC_BUNNY,@NPC_SR2,@NPC_FGS,@NPC_BR,@NPC_SR3,@NPC_SOH2,@NPC_BF,@SM,@RJ,@BUNNY_SPEAR,@NPC_THORIM3); +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,@NJORMELD,571,1,4,24531,0,7183.295,-3519.859,827.4118,0.03490658,300,0,0,50400,0,0,0,0,0), +(@GUID+1,@SNORRI_NPC,571,1,4,26772,0,7167.375,-3543.059,827.746,6.056293,300,0,0,50400,0,0,0,0,0), +(@GUID+2,@NPC_BUNNY,571,1,4,19595,0,7219.52,-3645.4,824.558,2.61799,300,0,0,4979,0,0,0,0,0), +(@GUID+3,@NPC_SR2,571,1,4,25680,0,7268.63,-3640.36,825.267,2.37365,120,5,0,12600,0,1,0,0,0), +(@GUID+4,@NPC_SR2,571,1,4,25680,0,7192.8,-3665,824.727,6.05783,120,5,0,12600,0,1,0,0,0), +(@GUID+5,@NPC_SR2,571,1,4,25680,0,7250.05,-3636.57,825.872,-1.4385,120,5,0,12600,0,1,0,0,0), +(@GUID+6,@NPC_SR2,571,1,4,25680,0,7201.55,-3622.78,823.52,5.55015,120,5,0,12600,0,1,0,0,0), +(@GUID+7,@NPC_SR2,571,1,4,25680,0,7223.84,-3676.14,828.727,2.17625,120,5,0,12600,0,1,0,0,0), +(@GUID+8,@NPC_FGS,571,1,4,24531,0,7201.98,-3624.42,823.542,5.13733,120,0,0,48700,0,0,0,0,0), +(@GUID+9,@NPC_FGS,571,1,4,24531,0,7251.04,-3644,823.097,3.15905,120,0,0,48700,0,0,0,0,0), +(@GUID+10,@NPC_FGS,571,1,4,24531,0,7220.33,-3671.06,823.633,1.67552,120,0,0,50400,0,0,0,0,0), +(@GUID+11,@NPC_BR,571,1,4,26698,0,7419.28,-3141.33,837.577,1.34635,300,0,0,12600,0,0,0,0,0), +(@GUID+12,@NPC_BR,571,1,4,26698,0,7359.13,-3103.31,837.534,4.17214,300,0,0,12600,0,2,0,0,0), +(@GUID+13,@NPC_BR,571,1,4,26698,0,7376.07,-3153.04,837.577,1.80255,300,0,0,12600,0,0,0,0,0), +(@GUID+14,@NPC_BR,571,1,4,26698,0,7315.46,-3179.34,837.617,1.60589,300,0,0,12600,0,0,0,0,0), +(@GUID+15,@NPC_BR,571,1,4,26698,0,7255.27,-3083.26,837.577,-2.07948,300,0,0,12600,0,0,0,0,0), +(@GUID+16,@NPC_BR,571,1,4,26698,0,7405.8,-3082.12,837.57,-0.036917,300,0,0,12600,0,0,0,0,0), +(@GUID+17,@NPC_BR,571,1,4,26698,0,7300.77,-3084.76,837.577,3.23101,300,0,0,12600,0,0,0,0,0), +(@GUID+18,@NPC_SR3,571,1,8,0,0,7231.77,-3648.91,823.616,5.67933,600,0,0,12600,0,0,0,0,0), +(@GUID+19,@NPC_SR3,571,1,8,0,0,7181.85,-3561.65,827.102,1.34394,600,0,0,12600,0,0,0,0,0), +(@GUID+20,@NPC_SR3,571,1,8,0,0,7171.87,-3564.23,826.705,1.05727,600,0,0,12600,0,0,0,0,0), +(@GUID+21,@NPC_SR3,571,1,8,0,0,7235.26,-3480.56,850.328,4.32905,600,0,0,12600,0,0,0,0,0), +(@GUID+22,@NPC_SR3,571,1,8,0,0,7190.62,-3549.54,827.918,1.28897,600,0,0,12600,0,0,0,0,0), +(@GUID+23,@NPC_SR3,571,1,8,0,0,7146.46,-3553.65,830.519,0.613523,600,0,0,12600,0,0,0,0,0), +(@GUID+24,@NPC_SR3,571,1,8,0,0,7209.96,-3426.8,839.399,1.92906,600,0,0,12600,0,0,0,0,0), +(@GUID+25,@NPC_SR3,571,1,8,0,0,7191.38,-3364.16,846.246,1.41463,600,0,0,12600,0,0,0,0,0), +(@GUID+26,@NPC_SR3,571,1,8,25680,0,7224.41,-3496.64,840.3,3.8813,300,0,0,12600,0,0,0,0,0), +(@GUID+27,@NPC_SOH2,571,1,4,24531,0,7200.93,-2751.15,777.517,1.58738,300,0,0,73050,0,0,0,0,0), +(@GUID+28,@NPC_SOH2,571,1,4,24531,0,7305.37,-2755.09,775.266,1.22173,300,0,0,73050,0,0,0,0,0), +(@GUID+29,@NPC_SOH2,571,1,4,24531,0,7316.17,-2635.26,814.969,3.28639,300,0,0,75600,0,0,0,0,0), +(@GUID+30,@NPC_SOH2,571,1,4,24531,0,7125.52,-2690.9,786.766,0.244346,300,0,0,75600,0,0,0,0,0), +(@GUID+31,@NPC_SOH2,571,1,4,24531,0,7126.99,-2749.76,786.682,0.261799,300,0,0,73050,0,0,0,0,0), +(@GUID+32,@NPC_SOH2,571,1,4,24531,0,7450.26,-2713.95,809.15,4.57385,300,0,0,73050,0,0,0,0,0), +(@GUID+33,@NPC_SOH2,571,1,4,24531,0,7241.71,-2883.89,824.505,5.93024,300,0,0,73050,0,2,0,0,0), +(@GUID+34,@NPC_SOH2,571,1,4,24531,0,7206.07,-2828.19,824.699,1.46608,300,0,0,73050,0,0,0,0,0), +(@GUID+35,@NPC_SOH2,571,1,4,24531,0,7327.04,-2396.17,749.132,0.84682,300,0,0,75600,0,0,0,0,0), +(@GUID+36,@NPC_SOH2,571,1,4,24531,0,7303.96,-2519.59,750.318,2.88288,300,0,0,75600,0,2,0,0,0), +(@GUID+37,@NPC_SOH2,571,1,4,24531,0,7419.77,-2885.54,823.037,1.64061,300,0,0,75600,0,0,0,0,0), +(@GUID+38,@NPC_SOH2,571,1,4,24531,0,7288.75,-2579.84,750.516,1.13446,300,0,0,75600,0,0,0,0,0), +(@GUID+39,@NPC_SOH2,571,1,4,24531,0,7239.24,-2638.54,753.62,5.48033,300,0,0,75600,0,0,0,0,0), +(@GUID+40,@NPC_SOH2,571,1,4,24531,0,7431.13,-2429.4,753.04,4.09782,300,0,0,73050,0,0,0,0,0), +(@GUID+41,@NPC_SOH2,571,1,4,24531,0,7394.44,-2524.73,749.249,5.16889,300,0,0,73050,0,2,0,0,0), +(@GUID+42,@NPC_SOH2,571,1,4,24531,0,7407.6,-2934.94,847.905,1.95477,300,0,0,75600,0,0,0,0,0), +(@GUID+43,@NPC_BF,571,1,4,26331,0,7401.46,-2522.13,749.245,5.24142,300,0,0,60875,0,2,0,0,0), +(@GUID+44,@NPC_BF,571,1,4,26331,0,7311.83,-2530.07,749.488,2.87671,300,0,0,60875,0,2,0,0,0), +(@GUID+45,@SM,571,1,4,0,0,7143.71,-2251.43,760.439,1.29097,300,0,0,11379,0,0,0,0,0), +(@GUID+46,@SM,571,1,4,27281,0,7172.8,-2257.74,759.628,1.11662,300,0,0,11379,0,0,0,0,0), +(@GUID+47,@SM,571,1,4,27281,0,7218.29,-2214.53,759.112,3.43747,300,0,0,11379,0,0,0,0,0), +(@GUID+48,@SM,571,1,4,27281,0,7164.95,-2214.65,758.563,4.15611,300,0,0,11379,0,0,0,0,0), +(@GUID+49,@SM,571,1,4,0,0,7105.5,-2211.86,759.098,0.688573,300,0,0,11379,0,0,0,0,0), +(@GUID+50,@SM,571,1,4,27281,0,7110.67,-2133.14,758.775,5.04282,300,0,0,11379,0,0,0,0,0), +(@GUID+51,@SM,571,1,4,27281,0,7071.03,-2168.81,760.815,0.91791,300,0,0,11379,0,0,0,0,0), +(@GUID+52,@SM,571,1,4,27281,0,7028.51,-2077.67,753.23,5.25331,300,0,0,11379,0,0,0,0,0), +(@GUID+53,@SM,571,1,4,27281,0,7106.01,-1988.13,771.455,4.35011,300,0,0,11379,0,0,0,0,0), +(@GUID+54,@SM,571,1,4,0,0,7041.36,-1981.59,776.354,0.266033,300,0,0,11379,0,0,0,0,0), +(@GUID+55,@SM,571,1,4,0,0,7133.88,-2039.53,771.902,3.57334,300,0,0,11379,0,0,0,0,0), +(@GUID+56,@SM,571,1,4,27281,0,7077.88,-2078.98,759.218,1.99469,300,0,0,11379,0,0,0,0,0), +(@GUID+57,@RJ,571,1,4,26262,0,7188.82,-2320.21,757.813,-1.87154,300,0,0,12175,0,0,0,0,0), +(@GUID+58,@RJ,571,1,4,26262,0,7250.3,-2342.8,751.68,0.851782,300,0,0,12600,0,0,0,0,0), +(@GUID+59,@RJ,571,1,4,26262,0,7149.57,-2163.88,761.147,2.97457,300,0,0,12600,0,0,0,0,0), +(@GUID+60,@RJ,571,1,4,26262,0,7194.98,-2195.57,761.949,-0.387345,300,0,0,12600,0,0,0,0,0), +(@GUID+61,@RJ,571,1,4,26262,0,7157.35,-2262.32,761.623,0.494206,300,0,0,12600,0,0,0,0,0), +(@GUID+62,@RJ,571,1,4,26262,0,7252.51,-2230.52,760.183,3.20023,300,0,0,12175,0,0,0,0,0), +(@GUID+63,@RJ,571,1,4,26262,0,7082.68,-2112.98,758.537,3.60123,300,0,0,12175,0,0,0,0,0), +(@GUID+64,@RJ,571,1,4,26262,0,7138.08,-2036.25,771.858,2.03839,300,0,0,12600,0,0,0,0,0), +(@GUID+65,@RJ,571,1,4,26262,0,7065.27,-2070.9,759.016,0.790229,300,0,0,12600,0,0,0,0,0), +(@GUID+66,@RJ,571,1,4,26262,0,7142.27,-2214.55,758.268,5.21568,300,0,0,12600,0,0,0,0,0), +(@GUID+67,@RJ,571,1,4,26262,0,7093.6,-2159.45,758.662,5.46951,300,0,0,12175,0,0,0,0,0), +(@GUID+68,@RJ,571,1,4,26262,0,7050.49,-2148.12,755.994,5.28631,300,0,0,12175,0,0,0,0,0), +(@GUID+69,@RJ,571,1,4,26262,0,7117.06,-2117.56,760.043,4.86823,300,0,0,12175,0,0,0,0,0), +(@GUID+70,@RJ,571,1,4,26262,0,7134.93,-2112.19,761.723,0.788161,300,0,0,12600,0,0,0,0,0), +(@GUID+71,@RJ,571,1,4,26262,0,7123.43,-2085.57,764.362,5.11831,300,0,0,12175,0,0,0,0,0), +(@GUID+72,@BUNNY_SPEAR,571,1,4,0,0,7266.99,-2753.76,870.875,6.23082,180,0,0,9215,0,0,0,0,0), +(@GUID+73,@BUNNY_SPEAR,571,1,4,0,0,7347.33,-2809.35,868.826,0.122173,180,0,0,9215,0,0,0,0,0), +(@GUID+74,@BUNNY_SPEAR,571,1,4,0,0,7215.59,-2712.18,894.848,0.034907,180,0,0,9215,0,0,0,0,0), +(@GUID+75,@BUNNY_SPEAR,571,1,4,0,0,7393.33,-2841.03,888.614,6.14356,180,0,0,9215,0,0,0,0,0), +(@GUID+76,@NPC_THORIM3,571,1,1,0,0,7762.389,-2159.516,1233.409,1.53589,300,0,0,13481,0,0,0,0,0); + +UPDATE `creature_template` SET `npcflag`=`npcflag`|1|2,`faction_A`=2107,`faction_H`=2107 WHERE `entry`=@NJORMELD; +UPDATE `creature_template` SET `faction_A`=2107,`faction_H`=2107,`npcflag`=`npcflag`|16777216 WHERE `entry`=@SNORRI_NPC; +UPDATE `creature_template` SET `npcflag`=`npcflag`|33554688 WHERE `entry`=@NPC_BUNNY; +UPDATE `creature_template` SET `AIName`='SmartAI',`npcflag`=0,`spell1`=@SPELL_GATHER,`spell2`=@SPELL_THROW,`spell5`=@SPELL_WAKE WHERE `entry`=@SNORRI_MOUNT; +UPDATE `creature_template` SET `AIName`='SmartAI',`faction_A`=2124,`faction_H`=2124 WHERE `entry`=@NPC_SR2; +UPDATE `creature_template` SET `faction_A`=2107,`faction_H`=2107,`unit_flags`=`unit_flags`|131072 WHERE `entry`=@NPC_FGS; +UPDATE `creature_template` SET `gossip_menu_id`=10109 WHERE `entry`=@NPC_THORIM3; +UPDATE `creature_template` SET `spell1`=54459, `spell2`=54458, `spell3`=54460, `spell4`=0, `spell5`=0, `spell6`=0 WHERE `entry`=@WARBEAR; +UPDATE `gameobject_template` SET `flags`=0 WHERE `entry`=191814; +UPDATE `gameobject_template` SET `flags`=0 WHERE `entry`=191815; +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=@SPELL_WAKE; +INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES +(@SPELL_WAKE,-@SPELL_SLEEP,1,'Wake Snorri removes Sleeping Sleep'); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (@NJORMELD,@NJORMELD2,@SNORRI_NPC,@NPC_FGS,@NPC_THORIM3,@F_WORG); +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(@F_WORG,0,0x0,0x101,0,0, '31748'), -- Spirit Particles, big. +(@NJORMELD,0,0,0,0,0,'61208'), -- Fjorn's Anvil - Quest Invisibility 3 +(@NJORMELD2,0,0,0,0,0,'56768'), -- Quest Invisibility Tier 1 +(@SNORRI_NPC,0,0,0,0,0,'61208'), -- Fjorn's Anvil - Quest Invisibility 3 +(@NPC_FGS,0,0,0,0,0,'56568'), -- Cooling Breath +(@NPC_THORIM3,0,0,0,0,0,'54500'); -- Quest Invisibility 1 + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=@SNORRI_NPC; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=29375 AND `SourceEntry`=41556; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(18,@SNORRI_NPC,@SPELL_RIDE,0,0,9,0,12967,0,0,0,0,'','Required quest active for spellclick'), +(1,29375,41556,0,0,9,0,12915,0,0,0,0,'','Drop Slag Covered Metal on quest Mending Fences taken'), +-- These next 2 conditions are not blizzlike (adding them for idiots that turn in Mending Fences without taking this item) +(1,29375,41556,0,1,8,0,12915,0,0,0,0,'','Drop Slag Covered Metal on quest Mending Fences rewarded'), +(1,29375,41556,0,2,14,0,12922,0,0,0,0,'','Stop dropping Slag Covered Metal on quest The Refiner''s Fire'); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=@SNORRI_NPC; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(@SNORRI_NPC,@SPELL_RIDE,3,0); + +DELETE FROM `creature_text` WHERE `entry`=@SNORRI_MOUNT; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(@SNORRI_MOUNT,0,0,'Oh, hello, little $r.',12,0,100,15,0,0,"Snorri text"); + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (@NPC_SR2,@NPC_FGS); +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@SNORRI_MOUNT,@NPC_SR2); +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 +-- Snorri (mount) +(@SNORRI_MOUNT,0,0,0,54,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Snorri - Say text - On just spawned'), +(@SNORRI_MOUNT,0,1,0,60,0,100,0,30000,60000,30000,60000,11,@SPELL_SLEEP,0,0,0,0,0,1,0,0,0,0,0,0,0,'Snorri - On Update - Cast sleep self'), +(@SNORRI_MOUNT,0,2,0,8,0,100,0,@SPELL_KCtTM,0,0,0,11,@SPELL_KC,0,0,0,0,0,23,0,0,0,0,0,0,0,'Snorri - On spellhit - Cast spell on owner'), +-- Seething Revenant +(@NPC_SR2,0,0,0,0,0,100,0,3000,6000,7000,12000,11,56620,1,0,0,0,0,2,0,0,0,0,0,0,0,'Seething Revenant - In Combat - Cast Seething Flames'), +(@NPC_SR2,0,1,0,6,0,100,0,0,0,0,0,11,@SPELL_KCtTM,0,0,0,0,0,7,0,0,0,0,0,0,0,'Seething Revenant - Cast KC - Target Master'); + +-- Quest relations +DELETE FROM `gameobject_questrelation` WHERE `id` IN (@GO_ANVIL2,@GO_SPEAR,@GO_ARNGRIM,@GO_HORN); +INSERT INTO `gameobject_questrelation` (`id`,`quest`) VALUES +(@GO_ANVIL2,@QUEST2), +(@GO_SPEAR,@QUEST3), +(@GO_ARNGRIM,@QUEST4), +(@GO_HORN,@QUEST5); + +DELETE FROM `gameobject_involvedrelation` WHERE `id`IN (@GO_ANVIL2,@GO_SPEAR,@GO_ARNGRIM,@GO_HORN); +INSERT INTO `gameobject_involvedrelation` (`id`,`quest`) VALUES +(@GO_ANVIL2,@QUEST2), +(@GO_SPEAR,@QUEST3), +(@GO_ARNGRIM,@QUEST4), +(@GO_HORN,@QUEST5); + +-- Quest progression linking +UPDATE `quest_template` SET `PrevQuestId`=13063 WHERE `id`=12900; -- Making a Harness +UPDATE `quest_template` SET `PrevQuestId`=12900 WHERE `id`=12983; -- The Last of Her Kind +UPDATE `quest_template` SET `PrevQuestId`=12900 WHERE `id`=12989; -- The Slithering Darkness +UPDATE `quest_template` SET `PrevQuestId`=12956 WHERE `id`=12924; -- Forging an Alliance +UPDATE `quest_template` SET `PrevQuestId`=13047 WHERE `id`=13109; -- Diametrically Opposed +UPDATE `quest_template` SET `PrevQuestId`=12967 WHERE `id`=12981; -- Hot and Cold +UPDATE `quest_template` SET `PrevQuestId`=12987 WHERE `id`=13006; -- Polishing the Helm +UPDATE `quest_template` SET `PrevQuestId`=13001 WHERE `id`=13003; -- Thrusting Hodir's Spear + +-- Quest reputation conditions +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=21000 WHERE `id`=13046; -- Feeding Arngrim +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=9000 WHERE `id`=13003; -- Thrusting Hodir's Spear +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=9000 WHERE `id`=13001; -- Raising Hodir's Spear +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=9000 WHERE `id`=12994; -- Spy Hunter +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13559; -- Hodir's Tribute +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13421; -- Remember Everfrost! +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13420; -- Everfrost +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13006; -- Polishing the Helm +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=12987; -- Mounting Hodir's Helm +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=12985; -- Forging a Head +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=13011; -- Jormuttar is Soo Fat... +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=3000 WHERE `id`=12975; -- In Memoriam +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=0 WHERE `id`=12977; -- Blowing Hodir's Horn +UPDATE `quest_template` SET `RequiredMinRepFaction`=1119,`RequiredMinRepValue`=0 WHERE `id`=12981; -- Hot and Cold + +UPDATE `quest_template` SET `ExclusiveGroup`=-13035 WHERE `id`=13035; -- Loken's Lackeys +UPDATE `quest_template` SET `ExclusiveGroup`=-13035 WHERE `id`=13005; -- The Earthen Oath +UPDATE `quest_template` SET `PrevQuestId`=13035 WHERE `id`=13047; -- The Reckoning + +DELETE FROM `gossip_menu` WHERE `entry` IN (9900,9898,9899,10109); +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES +(9900,13747), -- King Jokkum gossip for quest Krolmir, Hammer of Storms +(9898,13748), -- King Jokkum gossip for quest Krolmir, Hammer of Storms +(9899,13749), -- King Jokkum gossip for quest Krolmir, Hammer of Storms +(10109,14034); -- Thorim at Terrace of the Makers + +-- Npc Texts +DELETE FROM `npc_text` WHERE `id` IN (13747,13748,13749); +INSERT INTO `npc_text` (`ID`,`text0_0`,`text0_1`,`lang0`,`prob0`,`em0_0`,`em0_1`,`em0_2`,`em0_3`,`em0_4`,`em0_5`,`text1_0`,`text1_1`,`lang1`,`prob1`,`em1_0`,`em1_1`,`em1_2`,`em1_3`,`em1_4`,`em1_5`,`text2_0`,`text2_1`,`lang2`,`prob2`,`em2_0`,`em2_1`,`em2_2`,`em2_3`,`em2_4`,`em2_5`,`text3_0`,`text3_1`,`lang3`,`prob3`,`em3_0`,`em3_1`,`em3_2`,`em3_3`,`em3_4`,`em3_5`,`text4_0`,`text4_1`,`lang4`,`prob4`,`em4_0`,`em4_1`,`em4_2`,`em4_3`,`em4_4`,`em4_5`,`text5_0`,`text5_1`,`lang5`,`prob5`,`em5_0`,`em5_1`,`em5_2`,`em5_3`,`em5_4`,`em5_5`,`text6_0`,`text6_1`,`lang6`,`prob6`,`em6_0`,`em6_1`,`em6_2`,`em6_3`,`em6_4`,`em6_5`,`text7_0`,`text7_1`,`lang7`,`prob7`,`em7_0`,`em7_1`,`em7_2`,`em7_3`,`em7_4`,`em7_5`,`WDBVerified`) VALUES +(13747,'You are permitted to visit our stronghold, little $r.$b$bDo not bring us dishonor!','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,12340), +(13748,'I do not trust you enough to speak of such things.$b$bYou must respect the trials our people have endured, the burdens we have borne...$b$bPerhaps, if you were to bring great honor to Dun Niffelem, I would be inclined to share with you the knowledge of our people.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,12340), +(13749,'Very well, little $c.$b$bWhile there is much left for you to do to mend our relations with Thorim, I am compelled to share with you this one secret.$b$bSpeak to me again when you are ready to be shown that which you seek.','',0,1,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',0,0,0,0,0,0,0,0,'','',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,12340); +-- Gossip menus +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (9900,9899); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`,`action_poi_id`,`box_coded`,`box_money`,`box_text`) VALUES +(9900,0,0,'If it please you, King Jokkum, may I know what has become of Krolmir?',1,1,9898,0,0,0,NULL), +(9900,1,0,'If it please you, King Jokkum, may I know what has become of Krolmir?',1,1,9899,0,0,0,NULL), +(9899,0,0,'I am ready to be shown the fate of Krolmir,',1,1,0,0,0,0,NULL); +-- Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9900; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,9900,1,0,0,8,0,13011,0,0,0,0,'','Show gossip if player has quest completed'), +(15,9900,0,0,0,8,0,13011,0,0,1,0,'','Show gossip if player doesn''t have quest completed'); + +-- Hot and Cold (12981) + +SET @SPELL_ESSENCE := 56099; -- Throw Essence of Ice +SET @SPELL_SSM := 56073; -- Summon Smoldering Scrap +SET @SPELL_SFIS := 56101; -- Summon Frozen Iron Scrap +SET @AURA_SMOKE := 56118; -- Smolder Smoke +SET @NPC_BUNNY2 := 30169; -- Smoldering Scrap Bunny +SET @GO_SMOLDERING_SCRAP := 192124; -- Smoldering Scrap + + +DELETE FROM `creature` WHERE `id`=@NPC_BUNNY2; +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_BUNNY+0,@NPC_BUNNY2,571,1,8,1,0,7138.416,-3553.746,832.2787,4.694936,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+1,@NPC_BUNNY2,571,1,8,1,0,7191.637,-3490.598,833.993,0.2094395,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+2,@NPC_BUNNY2,571,1,8,1,0,7181.407,-3533.111,826.9557,3.211406,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+3,@NPC_BUNNY2,571,1,8,1,0,7178.466,-3558.917,827.0338,3.351032,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+4,@NPC_BUNNY2,571,1,8,1,0,7204.097,-3497.685,830.7673,2.635447,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+5,@NPC_BUNNY2,571,1,8,1,0,7232.065,-3474.279,850.7675,3.926991,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+6,@NPC_BUNNY2,571,1,8,1,0,7206.615,-3481.997,833.5632,3.281219,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+7,@NPC_BUNNY2,571,1,8,1,0,7192.001,-3386.612,846.4163,2.111848,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+8,@NPC_BUNNY2,571,1,8,1,0,7206.483,-3460.641,835.8506,3.909538,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+9,@NPC_BUNNY2,571,1,8,1,0,7227.852,-3415.956,840.174,1.553343,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+10,@NPC_BUNNY2,571,1,8,1,0,7222.42,-3441.838,837.1934,2.146755,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+11,@NPC_BUNNY2,571,1,8,1,0,7207.466,-3438.533,838.8736,2.897247,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+12,@NPC_BUNNY2,571,1,8,1,0,7217.787,-3378.616,846.7336,5.410521,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+13,@NPC_BUNNY2,571,1,8,1,0,7206.611,-3404.196,841.4804,4.223697,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+14,@NPC_BUNNY2,571,1,8,1,0,7248.638,-3625.245,826.9236,3.647738,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+15,@NPC_BUNNY2,571,1,8,1,0,7219.116,-3607.771,822.712,1.658063,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+16,@NPC_BUNNY2,571,1,8,1,0,7204.861,-3628.249,823.5885,4.223697,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+17,@NPC_BUNNY2,571,1,8,1,0,7196.265,-3652.629,823.5908,4.886922,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+18,@NPC_BUNNY2,571,1,8,1,0,7246.637,-3648.932,823.046,0.9948376,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+19,@NPC_BUNNY2,571,1,8,1,0,7236.381,-3678.733,822.8235,0.8726646,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+20,@NPC_BUNNY2,571,1,8,1,0,7192.001,-3386.612,846.4163,2.111848,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+21,@NPC_BUNNY2,571,1,8,1,0,7217.787,-3378.616,846.7336,5.410521,120,0,0,1,0,0,0,0,0), +(@GUID_BUNNY+22,@NPC_BUNNY2,571,1,8,1,0,7206.611,-3404.196,841.4804,4.223697,120,0,0,1,0,0,0,0,0); + +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC_BUNNY2; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(@NPC_BUNNY2,0,0,0,1,0,@AURA_SMOKE); + +UPDATE `creature_template` SET `AIName`='SmartAI',`flags_extra`=`flags_extra`|128 WHERE `entry`=@NPC_BUNNY2; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@NPC_BUNNY2; +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 +(@NPC_BUNNY2,0,0,0,11,0,100,0,0,0,0,0,11,@SPELL_SSM,0,0,0,0,0,1,0,0,0,0,0,0,0,'Smoldering Scrap Bunny - On spawn - Cast Summon Smoldering Scrap'), +(@NPC_BUNNY2,0,1,2,8,0,100,1,@SPELL_ESSENCE,0,0,0,99,3,0,0,0,0,0,20,@GO_SMOLDERING_SCRAP,1,0,0,0,0,0,'Smoldering Scrap Bunny- On spellhit - Set Go state 3'), +(@NPC_BUNNY2,0,2,3,61,0,100,0,0,0,0,0,11,@SPELL_SFIS,0,0,0,0,0,1,0,0,0,0,0,0,0,'Smoldering Scrap Bunny - Link - Cast Summon Frozen Iron Scrap'), +(@NPC_BUNNY2,0,3,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Smoldering Scrap Bunny - Link - Despawn'); + +-- Spear Holder +-- Will be used with @SPELL_CHAIN +SET @BUNNY_SPEAR := 30246; -- Dun Niffelem Spear Chain Bunny (Phase 2) +SET @SPELL_CHAIN := 56379; -- Spear Chain Beam + +UPDATE `creature_template` SET `AIName`='SmartAI', `InhabitType`=4, `modelid1`=21342, `modelid2`=0 WHERE `entry`=30246; +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=@BUNNY_SPEAR; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-142408,-142407); +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 +(-142408,0,0,0,60,0,100,0,0,1,20000,20000,11,@SPELL_CHAIN,0,0,0,0,0,10,142410,@BUNNY_SPEAR,0,0,0,0,0,'Chain Bunny - OOC - Cast Chain on bunny'), +(-142407,0,0,0,60,0,100,0,0,1,20000,20000,11,@SPELL_CHAIN,0,0,0,0,0,10,142409,@BUNNY_SPEAR,0,0,0,0,0,'Chain Bunny- OOC - Cast Chain on bunny'); + +-- Into the Pit +SET @SPELL_SMASH := 54458; +SET @SPELL_DSHOUT := 54459; +SET @SPELL_CHARGE := 54460; + +UPDATE `creature_template` SET `AIName`='SmartAI', `faction_A`=1125, `faction_H`=1125 WHERE `entry`=@HYLDSMEET_WB; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@HYLDSMEET_WB; +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 +(@HYLDSMEET_WB,0,0,0,0,0,100,0,3000,6000,7000,12000,11,@SPELL_SMASH,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Smash'), +(@HYLDSMEET_WB,0,1,0,0,0,100,0,1000,35000,70000,95000,11,@SPELL_DSHOUT,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Demoralizing Shout'), +(@HYLDSMEET_WB,0,2,0,0,0,100,0,5000,9000,11000,17000,11,@SPELL_CHARGE,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Charge'); + +-- Spy Hunter +UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE entry= @F_WORG; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@F_WORG,@F_WORG*100,@F_WORG*100+1,@F_WORG*100+2) AND `source_type`IN(0,9); +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 +(@F_WORG,0,0,1,54,0,100,0,0,0,0,0,87,@F_WORG*100,@F_WORG*100+1,@F_WORG*100+2,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - Just summoned - Execute random Action Script'), +(@F_WORG,0,1,2,61,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Link - Set Run'), +(@F_WORG,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Link - Say 0'), +-- +(@F_WORG*100,9,1,0,0,0,100,0,5000,5000,5000,5000,69,0,0,0,0,0,0,8,0,0,0,7149.648,-2189.751,759.320,0,'Ethereal Frostwarg - On Script - Go to POS'), +(@F_WORG*100,9,2,0,0,0,100,0,1000,1000,1000,1000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 1'), +(@F_WORG*100,9,3,0,0,0,100,0,7000,7000,7000,7000,89,20,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Random Movement'), +(@F_WORG*100,9,4,0,0,0,100,0,1000,1000,1000,1000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 2'), +(@F_WORG*100,9,5,0,0,0,100,0,1000,1000,1000,1000,11,@SUMMON_SFINF,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Summon SFI'), +-- +(@F_WORG*100+1,9,1,0,0,0,100,0,5000,5000,5000,5000,69,0,0,0,0,0,0,8,0,0,0,7220.366,-2228.265,758.8727,0,'Ethereal Frostwarg - On Script - Go to POS'), +(@F_WORG*100+1,9,2,0,0,0,100,0,1000,1000,1000,1000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 1'), +(@F_WORG*100+1,9,3,0,0,0,100,0,7000,7000,7000,7000,89,20,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Random Movement'), +(@F_WORG*100+1,9,4,0,0,0,100,0,1000,1000,1000,1000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 2'), +(@F_WORG*100+1,9,5,0,0,0,100,0,1000,1000,1000,1000,11,@SUMMON_SFINF,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Summon SFI'), +-- +(@F_WORG*100+2,9,1,0,0,0,100,0,5000,5000,5000,5000,69,0,0,0,0,0,0,8,0,0,0,7181.581,-2264.689,758.043,0,'Ethereal Frostwarg - On Script - Summon SFI'), +(@F_WORG*100+2,9,2,0,0,0,100,0,1000,1000,1000,1000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 1'), +(@F_WORG*100+2,9,3,0,0,0,100,0,7000,7000,7000,7000,89,20,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Random Movement'), +(@F_WORG*100+2,9,4,0,0,0,100,0,1000,1000,1000,1000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Say 2'), +(@F_WORG*100+2,9,5,0,0,0,100,0,1000,1000,1000,1000,11,@SUMMON_SFINF,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereal Frostwarg - On Script - Summon SFI'); + +DELETE FROM `creature_text` WHERE entry = @F_WORG; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(@F_WORG, 0, 0, 'The worg sprints off in search of enemies.', 16, 0, 100, 0, 0, 1108, 'Ethereal Frostworg'), +(@F_WORG, 1, 0, 'The worg growls as it closes in on its prey.', 16, 0, 100, 0, 0, 0, 'Ethereal Frostworg'), +(@F_WORG, 2, 0, 'The frostworg howls, exposing its prey!', 16, 0, 100, 53, 0, 9036, 'Ethereal Frostworg'); + +/*SoH phasing progression +Since all npcs/gobs from @PHASE1 are using ingame phasemask 1, +won't use this spell to phase the area,because that would need all of them rephased +(as spell @PHASE1 is actually ingame phasemask 2) +*/ + +SET @PHASE1 := 55857; -- Phase Shift 1: Frost Giants +SET @PHASE2 := 55858; -- Phase Shift 2: Frost Giants +SET @PHASE3 := 55952; -- Phase Shift 3: Fjorn's Anvil +SET @SPIKE := 56305; -- See Quest Invisibility 1 (Ice Spike Bunny) +SET @QUEST_TIER1 := 56771; -- See Invisibility Tier 1 +SET @FA := 61209; -- Fjorn's Anvil - See Quest Invisibility 3 +SET @BARGAIN1 := 55012; -- Lok'lira's Bargain +SET @BARGAIN2 := 72914; -- Lok'lira's Bargain +SET @SEE_INV := 54502; -- See Quest Invisibility 1 + +SET @AREA0 := 4437; -- Valley of Ancient Winters +SET @AREA1 := 4438; -- Dun Niffelem +SET @AREA2 := 4439; -- Frostfield Lake +SET @AREA3 := 4495; -- Fjorn's Anvil +SET @AREA4 := 4440; -- Thunderfall +SET @AREA5 := 4446; -- Terrace of the Makers +SET @AREA6 := 4455; -- Hibernal Cavern + +-- P1 adds when taking Forging an Alliance (0,1,2,3,4)(0 ends disguise) +-- P2 starts with Forging an Alliance (0,1,2,3,4) +-- P3 starts after turning in Forging an Alliance (3) +-- @PHASE1 added just as a reference, it won't be used +DELETE FROM `spell_area` WHERE `area` IN (@AREA0,@AREA1,@AREA2,@AREA3,@AREA4,@AREA5,@AREA5,@AREA6); +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(@BARGAIN2, @AREA0, 12972, 13063, 0, 0, 2, 1, 74, 11), +(@BARGAIN1, @AREA0, 12972, 13063, 0, 0, 2, 1, 74, 11), +(@PHASE2, @AREA0, 12924, 0, 0, 0, 2, 1, 74, 11), +(@PHASE2, @AREA1, 12924, 0, 0, 0, 2, 1, 74, 11), +(@SPIKE, @AREA1, 12987, 12987, 0, 0, 2, 1, 74, 11), +(@QUEST_TIER1, @AREA1, 12967, 0, 0, 0, 2, 1, 64, 11), +(@PHASE3, @AREA3, 12924, 0, 0, 0, 2, 1, 64, 11), +(@PHASE2,@AREA6, 12924, 0, 0, 0, 2, 1, 74, 11), +(@PHASE2, @AREA4, 12924, 0, 0, 0, 2, 1, 74, 11), +(@PHASE2, @AREA2, 12924, 0, 0, 0, 2, 1, 74, 11), +(@BARGAIN1, @AREA1, 12856, 12856, 0, 0, 2, 1, 74, 11), +(@FA, @AREA3, 12924, 12924, 0, 0, 2, 1, 74, 11), +(@BARGAIN2, @AREA1, 12856, 12856, 0, 0, 2, 1, 74, 11), +(@PHASE2, @AREA3, 12924, 12924, 0, 0, 2, 1, 74, 11), +(@SEE_INV, @AREA5, 13057, 0, 0, 0, 2, 1, 74, 11); + +-- Mending Fences +SET @SFIG := 29375; -- Stormforged Iron Giant +SET @S_EARTHEN := 55528; -- Summon Earthen Ironbane +SET @SHOCKWAVE := 57741; -- Shockwave + +DELETE FROM `creature_equip_template` WHERE entry = 29927; +INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`) VALUES +(29927, 1, 743, 0, 0); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 55818; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`,`comment`) VALUES (55818, 55528, 0, 'Summon Earthen'); +DELETE FROM `spell_scripts` WHERE `id`= 55818; +INSERT INTO `spell_scripts` (`id`, `command`, `datalong`, `datalong2`) VALUES (55818, 15, 55528, 1); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE entry = @SFIG; +UPDATE `creature_template` SET `faction_A`=2118,`faction_H`=2118,`unit_flags`=526336,`speed_run`=0.99206285714286 WHERE `entry`=29927; -- Earthen Ironbane +DELETE FROM `creature_ai_scripts` WHERE creature_id = @SFIG; +DELETE FROM `smart_scripts` WHERE entryorguid = 29375 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 +(@SFIG, 0, 0, 0, 0, 0, 100, 0, 6000, 12000, 20000, 26000, 11, @SHOCKWAVE, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - In combat - Cast Shockwave'), +(@SFIG, 0, 1, 2, 8, 0, 100, 0, 55818, 0, 0, 0, 11, @S_EARTHEN, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - On Spellhit - Summon Earthen Ironbane'), +(@SFIG, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 11, @S_EARTHEN, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - On Spellhit - Summon Earthen Ironbane'), +(@SFIG, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, @S_EARTHEN, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Stormforged Iron Giant - On Spellhit - Summon Earthen Ironbane'); + +-- Forging a Head (12985) +SET @NPC := 29914; -- Dead Iron Giant +SET @SPELL := 29266; -- Permanent Feign Death +SET @SF_A := 30208; -- Stormforged Ambusher + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` =@NPC ; +DELETE FROM `smart_scripts` WHERE entryorguid IN (@NPC,@NPC*100,@NPC*100+1) AND `source_type` IN (0,9); +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 +(@NPC, 0, 0, 0, 8, 0, 100, 0, 56227, 0, 0, 0, 88, @NPC*100,@NPC*100+1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Run Random Script on Salvage Corpse Spell Hit'), +(@NPC, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Set Passive'), +(@NPC*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 56230, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Cast Create Fireforged Eyes'), +(@NPC*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Despawn'), +(@NPC*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, @SF_A, 1, 60000, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Summon Stormforged Ambusher'), +(@NPC*100+1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dead Iron Giant - Despawn'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56227; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 56227, 0, 0, 31, 0, 3, 29914, 0, 0, 0, 0, '', 'Salvage Corpse can hit Dead Iron Giant'); + + +DELETE FROM `creature_loot_template` WHERE entry = @SF_A; +INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES +(@SF_A, 42105, -33, 1, 0, 1, 1), +(@SF_A, 42423, -50, 1, 0, 1, 1); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=56562; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(56562, 56566, 0, 'Carve Bear Flank triggers create bear flank'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 17 AND `SourceEntry`= 56562; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 56562, 0, 0, 23, 0, 4455, 0, 0, 0, 0, 0, '', 'Carve Bear Flank only hits bear'); + +DELETE FROM `creature` WHERE `id`=@NPC AND `phaseMask`=4; +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_BUNNY2,@NPC,571,1,4,0,0,7429.23,-3187.91,837.452,0.19249,120,0,0,50400,0,0,0,0,0), +(@GUID_BUNNY2+1,@NPC,571,1,4,0,0,7359.28,-3176.45,837.452,1.31954,120,0,0,50400,0,0,0,0,0), +(@GUID_BUNNY2+2,@NPC,571,1,4,0,0,7280.03,-3142.9,837.452,4.41243,120,0,0,50400,0,0,0,0,0), +(@GUID_BUNNY2+3,@NPC,571,1,4,0,0,7515.58,-3137.05,837.452,5.47429,120,0,0,50400,0,0,0,0,0), +(@GUID_BUNNY2+4,@NPC,571,1,4,0,0,7509.03,-3225.78,837.432,2.03661,120,0,0,50400,0,0,0,0,0), +(@GUID_BUNNY2+5,@NPC,571,1,4,0,0,7259.32,-3221.84,837.452,1.06349,120,0,0,50400,0,0,0,0,0); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID AND @OGUID+16; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@OGUID,192187,571,1,4,7306.37,-2060.06,760.918,-3.11488,0,0,-0.999911,0.0133559,180,255,1), +(@OGUID+1,192188,571,1,4,7313.11,-2054.22,760.599,2.81615,0,0,0.98679,0.162004,180,255,1), +(@OGUID+2,192189,571,1,4,7313.61,-2054.12,761.261,0.711686,0,0,0.348381,0.937353,180,255,1), +(@OGUID+3,192190,571,1,4,7309.42,-2060.01,761.261,0.504564,0,0,0.249614,0.968345,180,255,1), +(@OGUID+4,192191,571,1,4,7320.77,-2041.83,760.599,2.81615,0,0,0.98679,0.162004,180,255,1), +(@OGUID+5,192192,571,1,4,7314.04,-2044.86,759.983,1.09942,0,0,0.52244,0.852676,180,255,1), +(@OGUID+6,192193,571,1,4,7325.57,-2044.47,760.737,-0.80439,0,0,-0.391439,0.920204,180,255,1), +(@OGUID+7,192194,571,1,4,7320.69,-2053.65,761.339,-0.80439,0,0,-0.391439,0.920204,180,255,1), +(@OGUID+8,192195,571,1,4,7321,-2054.29,760.9,-1.40123,0,0,-0.644688,0.764446,180,255,1), +-- Granite Boulders for "Mending Fences" +(@OGUID+9,191814,571,1,1,7337.647,-3049.821,841.3665,1.221729,0,0,0,1,120,255,1), -- Granite Boulder (Area: Dun Niffelem) +(@OGUID+10,191814,571,1,1,7254.236,-3021.713,846.6954,0.4886912,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake) +(@OGUID+11,191814,571,1,1,7329.995,-3292.084,859.1428,5.550147,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake) +(@OGUID+12,191814,571,1,1,7241.131,-3344.769,852.5411,1.692969,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake) +(@OGUID+13,191814,571,1,1,7158.728,-3356.495,860.1804,4.433136,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake) +(@OGUID+14,191814,571,1,1,7239.152,-3403.615,849.8006,2.35619,0,0,0,1,120,255,1), -- Granite Boulder (Area: Frostfield Lake) +(@OGUID+15,191814,571,1,1,7160.917,-3487.592,857.127,1.623156,0,0,0,1,120,255,1), -- Granite Boulder (Area: Fjorn's Anvil) +(@OGUID+16,191814,571,1,1,7207.494,-3539.533,827.2614,2.408554,0,0,0,1,120,255,1); -- Granite Boulder (Area: Fjorn's Anvil) + +DELETE FROM `creature_loot_template` WHERE entry = @SM; +INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES +(@SM, 42104, -33, 1, 0, 1, 1), +(@SM, 42542, -29, 1, 0, 1, 1), +(@SM, 45912, 0.1, 1, 0, 1, 1); + + +UPDATE `spell_area` SET `quest_start`=12921 WHERE `spell` IN (55012,72914) AND `area`=4437; -- Valley of Ancient Winters +DELETE FROM `spell_area` WHERE `spell`=54784; -- Frost Reaction Frost Vrykul + +-- Already spawned by TDB and visible in all phases +UPDATE `creature` SET `phaseMask`=1|2|4 WHERE `guid` IN (116761,116762,116763); + +DELETE FROM `creature_addon` WHERE `guid` IN (116761,116762,116763); +DELETE FROM `creature_template_addon` WHERE `entry`=@NPC; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(@NPC,0,0,0,0,0,@SPELL); + +UPDATE `creature` SET `phaseMask`=1 WHERE `guid`=152124; +UPDATE `gameobject` SET `phaseMask`=4 WHERE `id`=192081; -- Horn Fragment diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_03_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_03_world_misc.sql new file mode 100644 index 00000000000..435a37613c3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_03_world_misc.sql @@ -0,0 +1,27 @@ +-- Into the Pit (thx to KirkHammett) +SET @ENTRY := 30174; +SET @SPELL_SMASH := 54458; +SET @SPELL_DSHOUT := 54459; +SET @SPELL_CHARGE := 54460; + +UPDATE `creature_template` SET `AIName`='SmartAI', `faction_A`=2128, `faction_H`=2128 WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid` =@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,0,0,0,0,2,31,0,0,0,0,0,1,0,0,0,0,0,0,0,'Hyldsmeet Warbear - OOC - Set Faction'), +(@ENTRY,0,1,0,0,0,100,0,3000,6000,7000,12000,11,@SPELL_SMASH,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Smash'), +(@ENTRY,0,2,0,0,0,100,0,1000,35000,70000,95000,11,@SPELL_DSHOUT,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Demoralizing Shout'), +(@ENTRY,0,3,0,0,0,100,0,5000,9000,11000,17000,11,@SPELL_CHARGE,1,0,0,0,0,2,0,0,0,0,0,0,0,'Hyldsmeet Warbear - In Combat - Cast Charge'); + +-- Some errors startup errors +UPDATE `creature_equip_template` SET `itemEntry1`=12883 WHERE `entry`=29927 AND `id`=1; + +UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=37416; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37346; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37364; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37269; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37369; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37268; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37335; +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=37483; +UPDATE `creature_template` SET `npcflag`=4194306 WHERE `entry`=37310; +UPDATE `creature_template` SET `npcflag`=4194306 WHERE `entry`=37426; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_04_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_04_world_sai.sql new file mode 100644 index 00000000000..dc493837814 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_05_04_world_sai.sql @@ -0,0 +1,12 @@ +DELETE FROM `disables` WHERE `sourcetype`=0 AND `entry`=53038 AND `flags`=64; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(0,53038,64, '', '', 'Disable Vmaps for Didgeridoo of Contemplation'); + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (29056,29057,29069,29058); +UPDATE `creature_template` SET `ainame`='SmartAI',`scriptname`='' WHERE `entry` IN (29056,29057,29069,29058); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (29056,29057,29069,29058) AND `source_type`=0; +INSERT INTO `smart_scripts` VALUES +(29056,0,0,0,8,0,100,0,53038,0,0,0,33,29056,0,0,0,0,0,7,0,0,0,0,0,0,0,'Glimmering Pillar Credit - On Spell Hit - Give Quest Credit'), +(29057,0,0,0,8,0,100,0,53038,0,0,0,33,29057,0,0,0,0,0,7,0,0,0,0,0,0,0,'Mosslight Pillar Credit - On Spell Hit - Give Quest Credit'), +(29069,0,0,0,8,0,100,0,53038,0,0,0,33,29069,0,0,0,0,0,7,0,0,0,0,0,0,0,'Skyreach Pillar Credit - On Spell Hit - Give Quest Credit'), +(29058,0,0,0,8,0,100,0,53038,0,0,0,33,29058,0,0,0,0,0,7,0,0,0,0,0,0,0,'Suntouched Pillar Credit - On Spell Hit - Give Quest Credit'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_00_world_spelldifficulty_dbc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_00_world_spelldifficulty_dbc.sql new file mode 100644 index 00000000000..07be40f8565 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_00_world_spelldifficulty_dbc.sql @@ -0,0 +1,19 @@ +DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (64213,64216,28371,28374,58960,58663,58666,60919,60897,60902,33526,33527,33528,33529,29107,36383,32302); +INSERT INTO `spelldifficulty_dbc` (`id`,`spellid0`,`spellid1`,`spellid2`,`spellid3`) VALUES +(64213,64213,64215,0,0), +(64216,64216,65279,0,0), +(28371,28371,54427,0,0), +(28374,28374,54426,0,0), +(58960,58960,60894,0,0), +(58663,58663,60880,0,0), +(58666,58666,60882,0,0), +(60919,60919,60923,0,0), +(60897,60897,60899,0,0), +(60902,60902,60916,0,0), +(33526,33526,38141,0,0), +(33527,33527,38138,0,0), +(33528,33528,38142,0,0), +(33529,33529,38143,0,0), +(29107,29107,55543,0,0), +(36383,36383,39382,0,0), +(32302,32302,38382,0,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_01_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_01_world_conditions.sql new file mode 100644 index 00000000000..fd26b9a3409 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_01_world_conditions.sql @@ -0,0 +1,17 @@ +UPDATE `quest_template` SET `PrevQuestId`=0 WHERE `Id`=12486; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19,20) and `SourceEntry`IN(11595,11596,11597,12486); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(20,0,12486,0,0,8,0,11595,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'), +(19,0,12486,0,0,8,0,11595,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'), +(20,0,12486,0,1,8,0,11596,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'), +(19,0,12486,0,1,8,0,11596,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'), +(20,0,12486,0,2,8,0,11597,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'), +(19,0,12486,0,2,8,0,11597,0,0,0,0,0, '', 'To Bor gorok Outpost,Quickly! once The Defense of Warsong Hold Has been completed'), +(20,0,11595,0,0,8,0,7784,0,0,0,0,0, '', 'Defense of Warsong Hold (11595) Only if player has completed The Lord of Blackrock'), +(19,0,11595,0,0,8,0,7784,0,0,0,0,0, '', 'Defense of Warsong Hold (11595) Only if player has completed The Lord of Blackrock'), +(20,0,11596,0,0,8,0,7784,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed The Lord of Blackrock'), +(19,0,11596,0,0,8,0,7784,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed The Lord of Blackrock'), +(20,0,11596,0,0,8,0,8743,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed Bang a Gong'), +(19,0,11596,0,0,8,0,8743,0,0,1,0,0, '', 'Defense of Warsong Hold (11596) Only if player has not completed Bang a Gong'), +(20,0,11597,0,0,8,0,8743,0,0,0,0,0, '', 'Defense of Warsong Hold (11597) Only if player has completed Bang a Gong'), +(19,0,11597,0,0,8,0,8743,0,0,0,0,0, '', 'Defense of Warsong Hold (11597) Only if player has completed Bang a Gong'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_02_world_gobj_loot_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_02_world_gobj_loot_template.sql new file mode 100644 index 00000000000..8b06691321a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_02_world_gobj_loot_template.sql @@ -0,0 +1,3 @@ +DELETE FROM `gameobject_loot_template` WHERE `entry`=2772; +INSERT INTO `gameobject_loot_template` (`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) +VALUES (2772,5339,-100,1,0,1,1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_03_world_creature_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_03_world_creature_template.sql new file mode 100644 index 00000000000..04d8f545d45 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_03_world_creature_template.sql @@ -0,0 +1 @@ +UPDATE `creature_template` SET `unit_flags`=`unit_flags`&~256 &~512 WHERE `entry`=29775; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_04_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_04_world_sai.sql new file mode 100644 index 00000000000..77bd130d8b6 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_06_04_world_sai.sql @@ -0,0 +1,9 @@ +SET @AXTROZ := 12899; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = @AXTROZ; +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = @AXTROZ; +-- SAI for Axtroz +DELETE FROM `smart_scripts` WHERE `entryorguid`=@AXTROZ 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 +(@AXTROZ,0,0,0,0,0,100,0,6100,7100,16200,16200,11,20712,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Axtroz - In Combat - Cast Flame Breath'), +(@AXTROZ,0,1,0,0,0,100,0,8300,13300,7700,11400,11,16095,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Axtroz - In Combat - Cast Vicious Rend'), +(@AXTROZ,0,2,0,0,0,90,0,4600,5200,6400,11800,11,20714,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Axtroz - In Combat - Cast Fireball'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_07_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_07_00_world_misc.sql new file mode 100644 index 00000000000..65fe90423e8 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_07_00_world_misc.sql @@ -0,0 +1,8 @@ +-- Fix some runtime errors +UPDATE `creature` SET `MovementType`=0 WHERE `guid` IN (142347,142368,142371,142376,142378,142379); +UPDATE `creature` SET `modelid`=0 WHERE `id` = 30169; +-- Add missing doors on old Hyjal +DELETE FROM `gameobject` WHERE `guid` IN (4658,4695); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(4658, 182060, 534, 1, 1, 4270.964, -4143.027, 870.7232, 6.020715, 0, 0, 0.8829476, -0.4694716, 7200, 255, 1), +(4695, 182061, 534, 1, 1, 4204.479, -4112.277, 877.9128, 4.985382, 0, 0, 0.8829476, -0.4694716, 7200, 255, 1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_07_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_07_01_world_misc.sql new file mode 100644 index 00000000000..e6e9e07e04e --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_07_01_world_misc.sql @@ -0,0 +1,19 @@ +-- Add missing Gameobjects into The Shattered Halls +DELETE FROM `gameobject` WHERE `guid` IN (4700,4712,4713,4719,4720,4752,4756,4779,4796,4806,4842,4853,4857,4932,4940,4944); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(4700, 182539, 540, 1, 1, 141.5157, 266.3664, -11.56821, 3.141593, 0, 0, 1, 0, 7200, 255, 1), +(4712, 182540, 540, 1, 1, 214.4881, 266.1671, -11.51811, 0, 0, 0, 1, 0, 7200, 255, 1), +(4713, 181915, 540, 1, 1, 464.7611, 315.0286, 1.929426, 4.204196, 0, 0, 0, 1, 7200, 255, 1), +(4719, 181915, 540, 1, 1, 403.0749, 322.5745, 1.894548, 2.034194, 0, 0, 0, 1, 7200, 255, 1), +(4720, 181915, 540, 1, 1, 469.9535, 313.0817, 1.918688, 5.924535, 0, 0, 0, 1, 7200, 255, 1), +(4752, 181915, 540, 1, 1, 445.6028, 316.2987, 1.912614, 3.658597, 0, 0, 0, 1, 7200, 255, 1), +(4756, 181671, 540, 1, 1, 330.7506, 74.20586, 1.079237, 3.159062, 0, 0, 0, 1, 7200, 255, 1), +(4779, 181671, 540, 1, 1, 330.7946, 41.02605, 1.070399, 0.01745246, 0, 0, 0, 1, 7200, 255, 1), +(4796, 181439, 540, 1, 1, 260.3188, -79.31659, -6.418934, 5.846854, 0, 0, 1, 0, 7200, 255, 1), +(4806, 181438, 540, 1, 1, 257.0056, -102.1912, -5.668888, 4.450591, 0, 0, 1, 0, 7200, 255, 1), +(4842, 181435, 540, 1, 1, 242.159, -75.06284, -9.304095, 4.886921, 0, 0, 1, 0, 7200, 255, 1), +(4853, 181436, 540, 1, 1, 232.8329, -98.32433, -11.76173, 0.6981294, 0, 0, 1, 0, 7200, 255, 1), +(4857, 181441, 540, 1, 1, 220.3093, -54.90799, -6.456299, 2.007125, 0, 0, 1, 0, 7200, 255, 1), +(4932, 181437, 540, 1, 1, 222.6859, -78.63619, -11.1251, 3.752462, 0, 0, 1, 0, 7200, 255, 1), +(4940, 181440, 540, 1, 1, 215.4215, -112.6428, -6.456299, 2.007125, 0, 0, 1, 0, 7200, 255, 1), +(4944, 181442, 540, 1, 1, 197.2586, -84.19016, -7.345709, 2.007125, 0, 0, 1, 0, 7200, 255, 1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_00_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_00_world_gameobject.sql new file mode 100644 index 00000000000..bd628379002 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_00_world_gameobject.sql @@ -0,0 +1 @@ +UPDATE `gameobject` SET `spawnMask`=3 WHERE `guid` IN (4700,4712,4713,4719,4720,4752,4756,4779,4796,4806,4842,4853,4857,4932,4940,4944); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_01_world_misc.sql new file mode 100644 index 00000000000..ae116a3059d --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_01_world_misc.sql @@ -0,0 +1,77 @@ +-- Pathing for Akama Entry: 23191 +SET @PATH := 847160; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,517.4877,400.7993,112.7837,0,0,0,0,100,0), +(@PATH,2,517.4877,400.7993,112.7837,3.118662,0,0,0,100,0); + +SET @GOSSIP := 21335; +SET @TEXTID := 10866; +UPDATE `creature_template` SET `gossip_menu_id`=@GOSSIP WHERE `entry`=23191; +UPDATE `creature_template` SET `gossip_menu_id`=0 WHERE `entry`=22990; +DELETE FROM `gossip_menu` WHERE `entry`=@GOSSIP AND `text_id`=@TEXTID; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (@GOSSIP, @TEXTID); +DELETE FROM `gossip_menu_option` WHERE `menu_id`=@GOSSIP AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`box_text`) VALUES +(@GOSSIP, 0, 0, 'I am ready to fight alongside you, Akama.', 1, 1, ''); + +UPDATE `creature` SET `id`=23191,`position_x`=547.1864,`position_y`=400.5344,`position_z`=112.8671,`orientation`=3.124139 WHERE `guid`=84716; +UPDATE `creature_template` SET `speed_walk`=1.6, `ScriptName` = 'npc_akama_shade' WHERE `entry`=23191; +UPDATE `creature_template` SET `ScriptName` = 'npc_creature_generator_akama' WHERE `entry`=23210; +UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry`=22990; + +UPDATE `creature_template` SET `speed_run`=1.7143, `AIName`= '', `flags_extra`=0, `ScriptName` = 'npc_ashtongue_defender' WHERE `entry`=23216; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23216; +DELETE FROM `creature_equip_template` WHERE `entry`=23216 AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(23216,1,18983,31468,0); + +UPDATE `creature_template` SET `speed_run`=1.7143, `ScriptName` = 'npc_ashtongue_sorcerer' WHERE `entry`=23215; +DELETE FROM `creature_equip_template` WHERE `entry`=23215 AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(23215,1,29685,0,0); + +UPDATE `creature_template` SET `speed_run`=1.7143, `baseattacktime`=1600, `AIName`= '', `ScriptName` = 'npc_ashtongue_rogue' WHERE `entry`=23318; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23318; + +DELETE FROM `creature_equip_template` WHERE `entry`=23318 AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(23318,1,10612,10612,0); + +UPDATE `creature_template` SET `speed_run`=0.99206, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22847; +DELETE FROM `creature_equip_template` WHERE `entry`=22847 AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(22847,1,29651,13924,0); + +UPDATE `creature_template` SET `speed_run`=0.99206, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22845; +DELETE FROM `creature_equip_template` WHERE `entry`=22845 AND `id`=1; +INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`) VALUES +(22845,1,29685,0,0); + +UPDATE `creature_template` SET `speed_walk`=2, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22849; + +UPDATE `creature_template` SET `speed_run`=0.99206, `faction_A`=1813, `faction_H`=1813 WHERE `entry`=22846; + +DELETE FROM `creature_text` WHERE `entry`=23191; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES +(23191, 0, 0, 'Broken of the Ashtongue tribe, your leader speaks!', 14, 0, 100, 0, 0, 0, 'Akama SAY_BROKEN_FREE_0'), +(23191, 1, 0, 'The Betrayer no longer holds sway over us. His dark magic over the Ashtongue soul has been destroyed!', 14, 0, 100, 0, 0, 0, 'Akama SAY_BROKEN_FREE_1'), +(23191, 2, 0, 'Come out from the shadows! I''ve returned to lead you against our true enemy! Shed your chains and raise your weapons against your Illidari masters!', 14, 0, 100, 0, 0, 0, 'Akama SAY_BROKEN_FREE_2'); + +DELETE FROM `creature` WHERE `guid` BETWEEN 53919 AND 53929; +UPDATE `creature` SET `modelid`=0 WHERE `id`=23033; +UPDATE `creature_template` SET `AIName`='', `flags_extra`=128 WHERE `entry`=23033; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=40607; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,40607,0,0,31,0,3,22841,0,0,'','Spell Fixate targets Shade of Akama'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=41602; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,41602,0,0,31,0,3,23191,0,0,'','Spell Threat targets Akama'); + +DELETE FROM `creature_addon` WHERE `guid`=12777; +DELETE FROM `creature_template_addon` WHERE `entry`=22841; +INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES (22841, 1, '40973'); +UPDATE `creature_template` SET `speed_walk`=0.8 WHERE `entry`=22841; +UPDATE `creature_template` SET `speed_walk`=1, `unit_flags`=33587200, `unit_flags2`=0 WHERE `entry`=23421; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_02_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_02_world_misc.sql new file mode 100644 index 00000000000..782d4620e56 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_08_02_world_misc.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `ScriptName` = 'npc_ashtongue_channeler' WHERE `entry`=23421; +DELETE FROM `waypoint_data` WHERE `id`=847160; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_10_00_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_10_00_world_gameobject.sql new file mode 100644 index 00000000000..0b7b1211826 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_10_00_world_gameobject.sql @@ -0,0 +1,20 @@ +-- Spawn some missing gameobjects +DELETE FROM `gameobject` WHERE `id`= 192081; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(4946, 192081, 571, 1, 4, 7766.29, -3291.49, 867.549, 3.4413, 0, 0, 0.988793, -0.149295, 300, 0, 1), +(4953, 192081, 571, 1, 4, 7777.38, -3315.96, 870.557, 3.64289, 0, 0, 0.968752, -0.248033, 300, 0, 1), +(4972, 192081, 571, 1, 4, 7793.63, -3335.38, 874.607, 5.71525, 0, 0, 0.280166, -0.959952, 300, 0, 1), +(4980, 192081, 571, 1, 4, 7847.24, -3328.97, 860.566, 3.49149, 0, 0, 0.984736, -0.174056, 300, 0, 1), +(5025, 192081, 571, 1, 4, 7848.67, -3297.97, 858.592, 2.65853, 0, 0, 0.970973, 0.239191, 300, 0, 1), +(5030, 192081, 571, 1, 4, 7833.79, -3273.39, 858.925, 2.02126, 0, 0, 0.847168, 0.531325, 300, 0, 1), +(5042, 192081, 571, 1, 4, 7834.22, -3234.66, 854.051, 2.17682, 0, 0, 0.88589, 0.463896, 300, 0, 1), +(5052, 192081, 571, 1, 4, 7861.13, -3221.38, 851.222, 0.199794, 0, 0, 0.099731, 0.995014, 300, 0, 1), +(5064, 192081, 571, 1, 4, 7891.3, -3204.92, 856.156, 1.95869, 0, 0, 0.830133, 0.557565, 300, 0, 1), +(5076, 192081, 571, 1, 4, 7912.37, -3223.15, 854.569, 5.38674, 0, 0, 0.433365, -0.901218, 300, 0, 1), +(5081, 192081, 571, 1, 4, 7931.66, -3258.14, 858.264, 4.92008, 0, 0, 0.629999, -0.776596, 300, 0, 1), +(5113, 192081, 571, 1, 4, 7916.21, -3301.92, 858.29, 3.82118, 0, 0, 0.942824, -0.333292, 300, 0, 1), +(5130, 192081, 571, 1, 4, 7896.12, -3340.67, 857.777, 5.03497, 0, 0, 0.584373, -0.811485, 300, 0, 1), +(5170, 192081, 571, 1, 4, 7900.34, -3376.97, 861.646, 4.64358, 0, 0, 0.731011, -0.682366, 300, 0, 1), +(5185, 192081, 571, 1, 4, 7892.06, -3408.05, 864.871, 4.50853, 0, 0, 0.775386, -0.631488, 300, 0, 1), +(5194, 192081, 571, 1, 4, 7863.29, -3388.16, 863.473, 2.74226, 0, 0, 0.980133, 0.198341, 300, 0, 1), +(5198, 192081, 571, 1, 4, 7827.1, -3354.03, 865.865, 2.67201, 0, 0, 0.972563, 0.232639, 300, 0, 1); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_10_01_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_10_01_world_misc.sql new file mode 100644 index 00000000000..8a2430215df --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_10_01_world_misc.sql @@ -0,0 +1,5 @@ +UPDATE `creature_template` SET `AIName`= '', `ScriptName` = 'npc_ashtongue_elementalist' WHERE `entry`=23523; +DELETE FROM smart_scripts WHERE entryorguid=23523; + +UPDATE `creature_template` SET `AIName`= '', `ScriptName` = 'npc_ashtongue_spiritbinder' WHERE `entry`=23524; +DELETE FROM smart_scripts WHERE entryorguid=23524; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_00_world_sai.sql new file mode 100644 index 00000000000..aaf95553f18 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_00_world_sai.sql @@ -0,0 +1,3 @@ +-- Sandfury Shadowhunter spam fix +UPDATE `smart_scripts` SET `event_flags`=3 WHERE `entryorguid`=7246 AND `source_type`=0 AND `id`=15 AND `link`=16; +UPDATE `smart_scripts` SET `event_flags`=0 WHERE `entryorguid`=7246 AND `source_type`=0 AND `id`=16 AND `link`=0; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_01_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_01_world_waypoints.sql new file mode 100644 index 00000000000..504dfad5631 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_01_world_waypoints.sql @@ -0,0 +1,444 @@ +-- Pathing for Illidari Fearbringer Entry: 22954 +SET @NPC := 52768; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=612.1008,`position_y`=715.0594,`position_z`=77.48019 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,612.1008,715.0594,77.48019,0,0,0,0,100,0), +(@PATH,2,626.8418,715.1508,75.81075,0,0,0,0,100,0), +(@PATH,3,643.162,716.2298,70.8769,0,0,0,0,100,0), +(@PATH,4,663.4116,720.2251,70.52241,0,0,0,0,100,0), +(@PATH,5,682.2949,737.6859,68.97373,0,0,0,0,100,0), +(@PATH,6,692.6406,756.8541,66.75413,0,0,0,0,100,0), +(@PATH,7,682.2949,737.6859,68.97373,0,0,0,0,100,0), +(@PATH,8,663.4116,720.2251,70.52241,0,0,0,0,100,0), +(@PATH,9,643.162,716.2298,70.8769,0,0,0,0,100,0), +(@PATH,10,626.8418,715.1508,75.81075,0,0,0,0,100,0); + +-- Pathing for Illidari Fearbringer Entry: 22954 +SET @NPC := 52773; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=680.5127,`position_y`=736.589,`position_z`=68.98032 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,680.5127,736.589,68.98032,0,0,0,0,100,0), +(@PATH,2,689.7178,752.5954,67.10484,0,0,0,0,100,0), +(@PATH,3,690.7227,773.5752,65.17497,0,0,0,0,100,0), +(@PATH,4,682.0201,797.8951,63.36504,0,0,0,0,100,0), +(@PATH,5,679.8043,821.2305,61.06209,0,0,0,0,100,0), +(@PATH,6,680.7047,848.535,58.56005,0,0,0,0,100,0), +(@PATH,7,679.8043,821.2305,61.06209,0,0,0,0,100,0), +(@PATH,8,682.0201,797.8951,63.36504,0,0,0,0,100,0), +(@PATH,9,690.7438,773.907,65.11858,0,0,0,0,100,0), +(@PATH,10,689.7178,752.5954,67.10484,0,0,0,0,100,0); + +-- Pathing for Illidari Fearbringer Entry: 22954 +SET @NPC := 52769; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=713.0262,`position_y`=704.147,`position_z`=70.84101 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,713.0262,704.147,70.84101,0,0,0,0,100,0), +(@PATH,2,733.0706,690.4993,71.98522,0,0,0,0,100,0), +(@PATH,3,769.0543,692.4883,71.78658,0,0,0,0,100,0), +(@PATH,4,790.8868,701.6238,73.08874,0,0,0,0,100,0), +(@PATH,5,801.6542,721.7141,70.07971,0,0,0,0,100,0), +(@PATH,6,790.8868,701.6238,73.08874,0,0,0,0,100,0), +(@PATH,7,769.0543,692.4883,71.78658,0,0,0,0,100,0), +(@PATH,8,733.0706,690.4993,71.98522,0,0,0,0,100,0); + +-- Pathing for Illidari Fearbringer Entry: 22954 +SET @NPC := 52772; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=721.4406,`position_y`=728.4247,`position_z`=68.65119 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,721.4406,728.4247,68.65119,0,0,0,0,100,0), +(@PATH,2,721.3423,745.3929,67.11169,0,0,0,0,100,0), +(@PATH,3,716.5741,774.6444,64.54839,0,0,0,0,100,0), +(@PATH,4,724.2047,803.066,62.11536,0,0,0,0,100,0), +(@PATH,5,735.2154,833.7368,58.94956,0,0,0,0,100,0), +(@PATH,6,734.4446,863.5928,56.50595,0,0,0,0,100,0), +(@PATH,7,735.2154,833.7368,58.94956,0,0,0,0,100,0), +(@PATH,8,724.2047,803.066,62.11536,0,0,0,0,100,0), +(@PATH,9,716.5741,774.6444,64.54839,0,0,0,0,100,0), +(@PATH,10,721.3423,745.3929,67.11169,0,0,0,0,100,0); + +-- Pathing for Aqueous Lord Entry: 22878 +SET @NPC := 12866; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=312.8537,`position_y`=813.1077,`position_z`=-17.58058 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,312.8537,813.1077,-17.58058,0,0,0,0,100,0), +(@PATH,2,341.3598,812.8531,-6.117754,0,0,0,0,100,0), +(@PATH,3,381.8092,812.6519,9.062115,0,0,0,0,100,0), +(@PATH,4,341.4501,812.8524,-6.08468,0,0,0,0,100,0); + +-- Pathing for Aqueous Lord Entry: 22878 +SET @NPC := 12869; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=252.3342,`position_y`=893.9015,`position_z`=-30.78079 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,252.3342,893.9015,-30.78079,0,0,0,0,100,0), +(@PATH,2,252.6844,922.2958,-44.67338,0,0,0,0,100,0), +(@PATH,3,252.5329,943.3651,-55.76704,0,0,0,0,100,0), +(@PATH,4,252.6844,922.2958,-44.67338,0,0,0,0,100,0); + +-- Pathing for Priestess of Dementia Entry: 22957 +SET @NPC := 52857; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=946.3522,`position_y`=337.5683,`position_z`=191.208 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,946.3522,337.5683,191.208,0,0,0,0,100,0), +(@PATH,2,946.4788,358.0963,191.208,0,0,0,0,100,0), +(@PATH,3,946.3522,337.5683,191.208,0,0,0,0,100,0), +(@PATH,4,946.2967,310.864,191.208,0,0,0,0,100,0), +(@PATH,5,946.0381,284.1759,191.208,0,0,0,0,100,0), +(@PATH,6,945.9597,259.7708,191.208,0,0,0,0,100,0), +(@PATH,7,945.9167,242.3769,191.208,0,0,0,0,100,0), +(@PATH,8,945.6511,224.3957,191.208,0,0,0,0,100,0), +(@PATH,9,945.9167,242.3769,191.208,0,0,0,0,100,0), +(@PATH,10,945.9597,259.7708,191.208,0,0,0,0,100,0), +(@PATH,11,946.0381,284.1759,191.208,0,0,0,0,100,0), +(@PATH,12,946.2967,310.864,191.208,0,0,0,0,100,0), +(@PATH,13,946.3522,337.5683,191.208,0,0,0,0,100,0), +(@PATH,14,946.4788,358.0963,191.208,0,0,0,0,100,0); + +-- Pathing for Promenade Sentinel Entry: 23394 +SET @NPC := 12884; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=761.1854,`position_y`=161.5995,`position_z`=218.4323 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,761.1854,161.5995,218.4323,0,0,0,0,100,0), +(@PATH,2,762.2211,175.3375,218.453,0,0,0,0,100,0), +(@PATH,3,788.6677,173.3627,212.4686,0,0,0,0,100,0), +(@PATH,4,813.4553,170.9617,204.7675,0,0,0,0,100,0), +(@PATH,5,812.7894,149.1826,204.7681,0,0,0,0,100,0), +(@PATH,6,812.5944,127.2771,204.7675,0,0,0,0,100,0), +(@PATH,7,788.8348,125.6381,212.1583,0,0,0,0,100,0), +(@PATH,8,760.3759,122.2594,218.5355,0,0,0,0,100,0), +(@PATH,9,760.9326,144.1558,218.4856,0,0,0,0,100,0); + +-- Pathing for Promenade Sentinel Entry: 23394 +SET @NPC := 12886; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=624.8207,`position_y`=173.8407,`position_z`=253.2433 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,624.8207,173.8407,253.2433,0,0,0,0,100,0), +(@PATH,2,640.5691,173.9213,245.0594,0,0,0,0,100,0), +(@PATH,3,642.4141,149.8184,245.0508,0,0,0,0,100,0), +(@PATH,4,639.9938,127.3701,245.0583,0,0,0,0,100,0), +(@PATH,5,626.2823,127.0409,251.9054,0,0,0,0,100,0), +(@PATH,6,611.546,126.5545,258.8932,0,0,0,0,100,0), +(@PATH,7,606.4694,138.4668,258.7596,0,0,0,0,100,0), +(@PATH,8,607.1602,162.4693,258.7508,0,0,0,0,100,0), +(@PATH,9,613.0195,175.0303,258.9398,0,0,0,0,100,0), +(@PATH,10,624.8207,173.8407,253.2433,0,0,0,0,100,0); + +-- Pathing for Promenade Sentinel Entry: 23394 +SET @NPC := 12888; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=548.1619,`position_y`=222.5298,`position_z`=271.9026 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,548.1619,222.5298,271.9026,4.712389,33000,0,0,100,0), +(@PATH,2,548.1752,204.6016,265.1634,0,0,0,0,100,0), +(@PATH,3,548.1595,190.8972,258.734,0,0,0,0,100,0), +(@PATH,4,548.0938,205.5043,265.7878,0,0,0,0,100,0); + +-- Pathing for Promenade Sentinel Entry: 23394 +SET @NPC := 12889; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=696.7759,`position_y`=173.015,`position_z`=232.0304 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,4097,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,696.7759,173.015,232.0304,0,0,0,0,100,0), +(@PATH,2,711.6221,149.6127,231.9982,0,0,0,0,100,0), +(@PATH,3,696.7689,127.0203,232.0802,0,0,0,0,100,0), +(@PATH,4,679.1018,126.4796,239.9357,0,0,0,0,100,0), +(@PATH,5,664.3721,125.8799,245.6465,0,0,0,0,100,0), +(@PATH,6,656.2635,131.5955,245.4032,0,0,0,0,100,0), +(@PATH,7,656.2786,146.7755,245.3991,0,0,0,0,100,0), +(@PATH,8,656.2986,153.3558,245.3982,0,0,0,0,100,0), +(@PATH,9,656.5179,169.0384,245.4051,0,0,0,0,100,0), +(@PATH,10,663.8251,173.6144,245.7881,0,0,0,0,100,0), +(@PATH,11,678.0536,173.7249,240.8454,0,0,0,0,100,0); + +-- Pathing for Bonechewer Behemoth Entry: 23196 +SET @NPC := 52739; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=909.464,`position_y`=245.1965,`position_z`=85.64125 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,909.464,245.1965,85.64125,0,0,0,0,100,0), +(@PATH,2,936.0223,259.309,85.6412,0,0,0,0,100,0), +(@PATH,3,941.6469,283.9179,85.64117,0,0,0,0,100,0), +(@PATH,4,924.2444,298.756,86.15284,0,0,0,0,100,0), +(@PATH,5,941.6469,283.9179,85.64117,0,0,0,0,100,0), +(@PATH,6,936.0223,259.309,85.6412,0,0,0,0,100,0), +(@PATH,7,909.464,245.1965,85.64125,0,0,0,0,100,0), +(@PATH,8,881.7233,244.0528,84.85726,0,0,0,0,100,0); + +-- Pathing for Bonechewer Behemoth Entry: 23196 +SET @NPC := 52740; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=899.0332,`position_y`=197.8294,`position_z`=86.16103 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,899.0332,197.8294,86.16103,0,0,0,0,100,0), +(@PATH,2,897.7601,186.8322,86.16117,0,0,0,0,100,0), +(@PATH,3,899.0332,197.8294,86.16103,0,0,0,0,100,0), +(@PATH,4,897.392,207.5867,86.1609,0,0,0,0,100,0), +(@PATH,5,921.5169,224.1364,85.64123,0,0,0,0,100,0), +(@PATH,6,930.8919,235.1188,85.64124,0,0,0,0,100,0), +(@PATH,7,940.9707,239.6061,85.64124,0,0,0,0,100,0), +(@PATH,8,950.1663,237.9947,86.16045,0,0,0,0,100,0), +(@PATH,9,956.6059,230.0929,86.16039,0,0,0,0,100,0), +(@PATH,10,956.8278,213.7176,86.16056,0,0,0,0,100,0), +(@PATH,11,957.555,199.413,86.1607,0,0,0,0,100,0), +(@PATH,12,956.8278,213.7176,86.16056,0,0,0,0,100,0), +(@PATH,13,956.6059,230.0929,86.16039,0,0,0,0,100,0), +(@PATH,14,950.1663,237.9947,86.16045,0,0,0,0,100,0), +(@PATH,15,940.9707,239.6061,85.64124,0,0,0,0,100,0), +(@PATH,16,930.8919,235.1188,85.64124,0,0,0,0,100,0), +(@PATH,17,921.5169,224.1364,85.64123,0,0,0,0,100,0), +(@PATH,18,897.392,207.5867,86.1609,0,0,0,0,100,0), +(@PATH,19,899.0332,197.8294,86.16103,0,0,0,0,100,0), +(@PATH,20,897.7601,186.8322,86.16117,0,0,0,0,100,0); + +-- Pathing for Bonechewer Behemoth Entry: 23196 +SET @NPC := 52542; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=872.4788,`position_y`=65.84342,`position_z`=112.7412 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,872.4788,65.84342,112.7412,0,0,0,0,100,0), +(@PATH,2,935.6211,65.98904,112.7535,0,0,0,0,100,0), +(@PATH,3,899.9241,69.37424,112.7376,0,0,0,0,100,0), +(@PATH,4,869.3976,68.47385,112.7417,0,0,0,0,100,0), +(@PATH,5,826.9479,67.30523,112.7454,0,0,0,0,100,0), +(@PATH,6,869.2424,69.2244,112.7418,0,0,0,0,100,0), +(@PATH,7,863.1619,63.82265,112.7426,0,0,0,0,100,0), +(@PATH,8,868.8893,72.09175,112.7419,0,0,0,0,100,0), +(@PATH,9,861.7059,67.34996,112.7429,0,0,0,0,100,0), +(@PATH,10,867.9327,69.0042,112.742,0,0,0,0,100,0), +(@PATH,11,825.1594,65.52496,112.7448,0,0,0,0,100,0), +(@PATH,12,874.6883,67.74924,112.7409,0,0,0,0,100,0), +(@PATH,13,899.5973,69.61382,112.7372,0,0,0,0,100,0), +(@PATH,14,927.8147,64.82682,112.7534,0,0,0,0,100,0), +(@PATH,15,870.0113,69.63828,112.7417,0,0,0,0,100,0), +(@PATH,16,870.6498,66.78909,112.7415,0,0,0,0,100,0); + +-- Pathing for Bonechewer Behemoth Entry: 23196 +SET @NPC := 52743; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=763.4602,`position_y`=121.2597,`position_z`=112.5469 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,763.4602,121.2597,112.5469,0,0,0,0,100,0), +(@PATH,2,765.515,120.5528,112.4407,0,0,0,0,100,0), +(@PATH,3,761.6171,120.877,112.6373,0,0,0,0,100,0), +(@PATH,4,763.0114,122.1931,112.5738,0,0,0,0,100,0), +(@PATH,5,762.4429,119.6596,112.5902,0,0,0,0,100,0), +(@PATH,6,762.847,118.4683,112.5643,0,0,0,0,100,0), +(@PATH,7,764.7086,116.9735,112.464,0,0,0,0,100,0), +(@PATH,8,762.533,120.0672,112.5876,0,0,0,0,100,0), +(@PATH,9,760.8773,120.2691,112.6714,0,0,0,0,100,0), +(@PATH,10,761.802,117.5317,112.6121,0,0,0,0,100,0), +(@PATH,11,765.24,118.7345,112.4458,0,0,0,0,100,0), +(@PATH,12,762.7466,119.8271,112.5758,0,0,0,0,100,0), +(@PATH,13,759.4903,118.7799,112.7338,0,0,0,0,100,0), +(@PATH,14,760.2434,121.535,112.7092,0,0,0,0,100,0), +(@PATH,15,767.4446,120.2948,112.3428,0,0,0,0,100,0), +(@PATH,16,752.21,117.786,112.7387,0,0,0,0,100,0), +(@PATH,17,735.6179,101.9004,112.7494,0,0,0,0,100,0), +(@PATH,18,724.5951,75.40408,113.4761,0,0,0,0,100,0), +(@PATH,19,756.7452,71.75539,112.7374,0,0,0,0,100,0), +(@PATH,20,756.4152,69.2236,112.7374,0,0,0,0,100,0), +(@PATH,21,730.9688,65.39399,113.2859,0,0,0,0,100,0), +(@PATH,22,775.8292,75.42676,112.7374,0,0,0,0,100,0), +(@PATH,23,772.0274,107.9498,112.6996,0,0,0,0,100,0); + +-- Pathing for Bonechewer Taskmaster Entry: 23028 +SET @NPC := 53816; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=775.0792,`position_y`=766.9516,`position_z`=66.16946 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,775.0792,766.9516,66.16946,0,0,0,0,100,0), +(@PATH,2,776.4752,758.1284,68.59184,0,0,0,0,100,0), +(@PATH,3,776.7239,748.5446,70.04276,0,0,0,0,100,0), +(@PATH,4,771.1584,744.486,69.7692,0,0,0,0,100,0), +(@PATH,5,776.7239,748.5446,70.04276,0,0,0,0,100,0), +(@PATH,6,776.4752,758.1284,68.59184,0,0,0,0,100,0), +(@PATH,7,775.0792,766.9516,66.16946,0,0,0,0,100,0), +(@PATH,8,776.6424,775.2938,65.64797,0,0,0,0,100,0), +(@PATH,9,779.1,781.9779,65.93484,0,0,0,0,100,0), +(@PATH,10,776.9979,791.3973,65.63259,0,0,0,0,100,0), +(@PATH,11,779.1,781.9779,65.93484,0,0,0,0,100,0), +(@PATH,12,776.6424,775.2938,65.64797,0,0,0,0,100,0); + +-- Pathing for Suffering Soul Fragment Entry: 23399 +SET @NPC := 40526; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=496.5382,`position_y`=84.75467,`position_z`=108.4162 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,496.5382,84.75467,108.4162,0,0,0,0,100,0), +(@PATH,2,521.0706,76.54764,112.8559,0,0,0,0,100,0), +(@PATH,3,496.5382,84.75467,108.4162,0,0,0,0,100,0), +(@PATH,4,474.7787,75.08279,111.861,0,0,0,0,100,0); + +-- Pathing for Suffering Soul Fragment Entry: 23399 +SET @NPC := 52411; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=557.008,`position_y`=29.39996,`position_z`=112.4988 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,557.008,29.39996,112.4988,0,0,0,0,100,0), +(@PATH,2,519.227,48.72656,113.3207,0,0,0,0,100,0), +(@PATH,3,477.2372,27.49957,112.5984,0,0,0,0,100,0), +(@PATH,4,519.227,48.72656,113.3207,0,0,0,0,100,0); + +-- Pathing for Suffering Soul Fragment Entry: 23399 +SET @NPC := 46817; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=609.3162,`position_y`=98.43359,`position_z`=112.342 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,609.3162,98.43359,112.342,0,0,0,0,100,0), +(@PATH,2,580.6458,90.18815,111.1614,0,0,0,0,100,0), +(@PATH,3,609.3162,98.43359,112.342,0,0,0,0,100,0), +(@PATH,4,629.5143,77.47526,112.7921,0,0,0,0,100,0); + +-- Pathing for Suffering Soul Fragment Entry: 23399 +SET @NPC := 40446; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=535.6982,`position_y`=75.88596,`position_z`=112.9535 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,535.6982,75.88596,112.9535,0,0,0,0,100,0), +(@PATH,2,560.1788,80.13477,113.2281,0,0,0,0,100,0), +(@PATH,3,574.8022,104.9709,113.0734,0,0,0,0,100,0), +(@PATH,4,560.1788,80.13477,113.2281,0,0,0,0,100,0); + +-- Pathing for Suffering Soul Fragment Entry: 23399 +SET @NPC := 42920; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=629.0891,`position_y`=47.3309,`position_z`=112.7773 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,629.0891,47.3309,112.7773,0,0,0,0,100,0), +(@PATH,2,601.5073,37.56067,112.7347,0,0,0,0,100,0), +(@PATH,3,575.1098,56.30285,111.0313,0,0,0,0,100,0), +(@PATH,4,601.2772,37.47917,112.7411,0,0,0,0,100,0); + +-- Pathing for Hungering Soul Fragment Entry: 23401 +SET @NPC := 52420; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=620.9159,`position_y`=30.22016,`position_z`=112.7356 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,620.9159,30.22016,112.7356,0,0,0,0,100,0), +(@PATH,2,607.7153,64.61448,111.7263,0,0,0,0,100,0), +(@PATH,3,589.4402,39.24023,112.765,0,0,0,0,100,0), +(@PATH,4,607.5776,64.42328,111.7202,0,0,0,0,100,0); + +-- Pathing for Hungering Soul Fragment Entry: 23401 +SET @NPC := 52424; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=518.9474,`position_y`=74.61002,`position_z`=112.9129 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,518.9474,74.61002,112.9129,0,0,0,0,100,0), +(@PATH,2,473.2182,73.22733,111.8457,0,0,0,0,100,0); + +-- Pathing for Hungering Soul Fragment Entry: 23401 +SET @NPC := 52418; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=617.4402,`position_y`=102.7646,`position_z`=112.7506 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,617.4402,102.7646,112.7506,0,0,0,0,100,0), +(@PATH,2,601.6309,74.0624,111.239,0,0,0,0,100,0), +(@PATH,3,578.1609,98.96626,113.0465,0,0,0,0,100,0), +(@PATH,4,601.5496,73.97516,111.2432,0,0,0,0,100,0); + +-- Pathing for Hungering Soul Fragment Entry: 23401 +SET @NPC := 52427; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=552.3234,`position_y`=97.95421,`position_z`=112.4811 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,552.3234,97.95421,112.4811,0,0,0,0,100,0), +(@PATH,2,536.0945,78.04199,113.071,0,0,0,0,100,0), +(@PATH,3,552.3234,97.95421,112.4811,0,0,0,0,100,0), +(@PATH,4,573.4583,103.4899,113.1861,0,0,0,0,100,0); + +-- Pathing for Hungering Soul Fragment Entry: 23401 +SET @NPC := 52423; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=512.1553,`position_y`=30.04926,`position_z`=113.648 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '41248'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,512.1553,30.04926,113.648,0,0,0,0,100,0), +(@PATH,2,487.4863,43.71723,112.3249,0,0,0,0,100,0), +(@PATH,3,512.1553,30.04926,113.648,0,0,0,0,100,0), +(@PATH,4,550.6255,48.4656,112.5677,0,0,0,0,100,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_02_world_waypoints.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_02_world_waypoints.sql new file mode 100644 index 00000000000..0fcce3f25cf --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_11_02_world_waypoints.sql @@ -0,0 +1,351 @@ +-- Pathing for Sister of Pain Entry: 22956 +SET @NPC := 52847; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=927.6238,`position_y`=341.3523,`position_z`=192.8381 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,927.6238,341.3523,192.8381,0,0,0,0,100,0), +(@PATH,2,933.1646,349.9787,192.8489,0,0,0,0,100,0), +(@PATH,3,946.3496,351.5887,191.208,0,0,0,0,100,0), +(@PATH,4,957.402,349.1798,192.8489,0,0,0,0,100,0), +(@PATH,5,959.1028,340.2523,192.8339,0,0,0,0,100,0), +(@PATH,6,958.7474,315.7549,192.85,0,0,0,0,100,0), +(@PATH,7,958.1597,284.2602,192.8316,0,0,0,0,100,0), +(@PATH,8,957.9045,261.2944,192.8105,0,0,0,0,100,0), +(@PATH,9,934.2908,249.2501,192.8218,0,0,0,0,100,0), +(@PATH,10,924.9614,242.9601,192.8321,0,0,0,0,100,0), +(@PATH,11,923.0469,232.589,192.8392,0,0,0,0,100,0), +(@PATH,12,936.2947,223.5277,192.8423,0,0,0,0,100,0), +(@PATH,13,956.1213,223.5726,192.8414,0,0,0,0,100,0), +(@PATH,14,957.9364,265.2702,192.8146,0,0,0,0,100,0), +(@PATH,15,958.333,291.847,192.8519,0,0,0,0,100,0), +(@PATH,16,958.7474,315.7549,192.85,0,0,0,0,100,0), +(@PATH,17,926.8249,319.8605,192.8298,0,0,0,0,100,0); +-- 0xF13059AC00000970 .go 927.6238 341.3523 192.8381 + +-- Pathing for Sister of Pleasure Entry: 22964 +SET @NPC := 53055; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=925.0996,`position_y`=342.9736,`position_z`=192.8381 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,925.0996,342.9736,192.8381,0,0,0,0,100,0), +(@PATH,2,932.8010,352.9566,192.8489,0,0,0,0,100,0), +(@PATH,3,946.9885,354.5199,191.2080,0,0,0,0,100,0), +(@PATH,4,960.3490,349.7412,192.8489,0,0,0,0,100,0), +(@PATH,5,962.1025,340.2088,192.8339,0,0,0,0,100,0), +(@PATH,6,961.7469,315.6989,192.8500,0,0,0,0,100,0), +(@PATH,7,961.1595,284.2269,192.8316,0,0,0,0,100,0), +(@PATH,8,959.2676,258.6220,192.8105,0,0,0,0,100,0), +(@PATH,9,935.9679,246.7626,192.8218,0,0,0,0,100,0), +(@PATH,10,927.9116,242.4155,192.8321,0,0,0,0,100,0), +(@PATH,11,924.7406,235.0652,192.8392,0,0,0,0,100,0), +(@PATH,12,936.2879,226.5277,192.8423,0,0,0,0,100,0), +(@PATH,13,953.1241,223.7031,192.8414,0,0,0,0,100,0), +(@PATH,14,954.9367,265.3150,192.8146,0,0,0,0,100,0), +(@PATH,15,955.3335,291.8990,192.8519,0,0,0,0,100,0), +(@PATH,16,958.3647,312.7794,192.8500,0,0,0,0,100,0), +(@PATH,17,923.8270,319.9719,192.8298,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=52847; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(52847,52847,0,0,2), +(52847,53055,3,270,2); + +-- Pathing for Sister of Pain Entry: 22956 +SET @NPC := 52848; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=939.6501,`position_y`=392.5455,`position_z`=192.2012 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,939.6501,392.5455,192.2012,0,0,0,0,100,0), +(@PATH,2,955.7531,392.462,192.8371,0,0,0,0,100,0), +(@PATH,3,962.5223,393.8847,192.8374,0,0,0,0,100,0), +(@PATH,4,969.5388,399.207,192.8365,0,0,0,0,100,0), +(@PATH,5,970.2259,412.7339,192.8371,0,0,0,0,100,0), +(@PATH,6,971.1399,429.8507,192.8395,0,0,0,0,100,0), +(@PATH,7,971.1545,441.883,192.8399,0,0,0,0,100,0), +(@PATH,8,963.2639,447.4974,192.8385,0,0,0,0,100,0), +(@PATH,9,950.0648,453.577,192.8389,0,0,0,0,100,0), +(@PATH,10,938.3679,452.2439,192.8379,0,0,0,0,100,0), +(@PATH,11,927.6536,446.5119,192.8374,0,0,0,0,100,0), +(@PATH,12,920.3358,436.4881,192.841,0,0,0,0,100,0), +(@PATH,13,920.5208,411.5176,192.8447,0,0,0,0,100,0), +(@PATH,14,922.6708,402.1874,192.8461,0,0,0,0,100,0), +(@PATH,15,931.1328,395.2974,192.8446,0,0,0,0,100,0); +-- 0xF13059AC00000972 .go 939.6501 392.5455 192.2012 + +-- Pathing for Sister of Pleasure Entry: 22964 +SET @NPC := 53056; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=939.6657,`position_y`=395.5455,`position_z`=192.2012 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,939.6657,395.5455,192.2012,0,0,0,0,100,0), +(@PATH,2,955.1361,395.3979,192.8371,0,0,0,0,100,0), +(@PATH,3,960.7093,396.2749,192.8374,0,0,0,0,100,0), +(@PATH,4,966.5427,399.3592,192.8365,0,0,0,0,100,0), +(@PATH,5,967.2302,412.8939,192.8371,0,0,0,0,100,0), +(@PATH,6,968.1399,429.8543,192.8395,0,0,0,0,100,0), +(@PATH,7,969.4152,439.4386,192.8399,0,0,0,0,100,0), +(@PATH,8,962.0088,444.7726,192.8385,0,0,0,0,100,0), +(@PATH,9,950.4045,450.5963,192.8389,0,0,0,0,100,0), +(@PATH,10,939.7831,449.5987,192.8379,0,0,0,0,100,0), +(@PATH,11,930.0766,444.7430,192.8374,0,0,0,0,100,0), +(@PATH,12,923.3357,436.5103,192.8410,0,0,0,0,100,0), +(@PATH,13,923.4442,412.1912,192.8447,0,0,0,0,100,0), +(@PATH,14,924.5650,404.5138,192.8461,0,0,0,0,100,0), +(@PATH,15,932.0551,398.1521,192.8446,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=52848; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(52848,52848,0,0,2), +(52848,53056,3,270,2); + +-- Pathing for Sister of Pain Entry: 22956 +SET @NPC := 52855; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=946.1318,`position_y`=109.8686,`position_z`=192.8489 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,946.1318,109.8686,192.8489,0,0,0,0,100,0), +(@PATH,2,927.7674,117.2716,192.8514,0,0,0,0,100,0), +(@PATH,3,918.4934,131.3158,192.8362,0,0,0,0,100,0), +(@PATH,4,919.8276,156.7103,192.8208,0,0,0,0,100,0), +(@PATH,5,924.041,177.5718,192.8279,0,0,0,0,100,0), +(@PATH,6,935.0341,190.2466,192.8337,0,0,0,0,100,0), +(@PATH,7,946.1438,190.5046,192.0657,0,0,0,0,100,0), +(@PATH,8,957.5206,190.2688,192.8344,0,0,0,0,100,0), +(@PATH,9,967.0856,176.6067,192.8276,0,0,0,0,100,0), +(@PATH,10,970.228,156.7281,192.829,0,0,0,0,100,0), +(@PATH,11,971.1368,131.5664,192.8254,0,0,0,0,100,0), +(@PATH,12,963.462,116.8087,192.829,0,0,0,0,100,0); +-- 0xF13059AC00000975 .go 946.1318 109.8686 192.8489 + +-- Pathing for Sister of Pleasure Entry: 22964 +SET @NPC := 53059; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=945.0102,`position_y`=107.0862,`position_z`=192.8489 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,945.0102,107.0862,192.8489,0,0,0,0,100,0), +(@PATH,2,925.2640,115.6185,192.8514,0,0,0,0,100,0), +(@PATH,3,915.4975,131.4732,192.8362,0,0,0,0,100,0), +(@PATH,4,916.8870,157.3042,192.8208,0,0,0,0,100,0), +(@PATH,5,921.7747,179.5374,192.8279,0,0,0,0,100,0), +(@PATH,6,934.9644,193.2458,192.8337,0,0,0,0,100,0), +(@PATH,7,946.2060,193.5040,192.0657,0,0,0,0,100,0), +(@PATH,8,959.9782,191.9894,192.8344,0,0,0,0,100,0), +(@PATH,9,970.0488,177.0751,192.8276,0,0,0,0,100,0), +(@PATH,10,973.2260,156.8364,192.8290,0,0,0,0,100,0), +(@PATH,11,973.7984,130.1822,192.8254,0,0,0,0,100,0), +(@PATH,12,964.5773,114.0237,192.8290,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=52855; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(52855,52855,0,0,2), +(52855,53059,3,270,2); + +-- Pathing for Sister of Pain Entry: 22956 +SET @NPC := 52846; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=832.2903,`position_y`=526.5916,`position_z`=165.7311 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,832.2903,526.5916,165.7311,0,0,0,0,100,0), +(@PATH,2,818.8309,520.7764,165.9885,0,0,0,0,100,0), +(@PATH,3,812.696,514.7813,166.1044,0,0,0,0,100,0), +(@PATH,4,812.6564,506.3056,170.2904,0,0,0,0,100,0), +(@PATH,5,812.5226,493.5983,180.3996,0,0,0,0,100,0), +(@PATH,6,812.2745,477.484,192.7058,0,0,0,0,100,0), +(@PATH,7,812.5706,466.9394,192.7913,0,0,0,0,100,0), +(@PATH,8,812.2745,477.484,192.7058,0,0,0,0,100,0), +(@PATH,9,812.5226,493.5983,180.3996,0,0,0,0,100,0), +(@PATH,10,812.6564,506.3056,170.2904,0,0,0,0,100,0), +(@PATH,11,812.696,514.7813,166.1044,0,0,0,0,100,0), +(@PATH,12,818.8309,520.7764,165.9885,0,0,0,0,100,0), +(@PATH,13,832.2903,526.5916,165.7311,0,0,0,0,100,0), +(@PATH,14,837.6116,532.7322,165.7527,0,0,0,0,100,0), +(@PATH,15,840.6443,543.301,165.6792,0,0,0,0,100,0), +(@PATH,16,849.1154,543.5079,165.8225,0,0,0,0,100,0), +(@PATH,17,862.1961,543.5349,156.2316,0,0,0,0,100,0), +(@PATH,18,874.82,543.4052,146.1888,0,0,0,0,100,0), +(@PATH,19,890.8995,543.0212,139.3036,0,0,0,0,100,0), +(@PATH,20,874.82,543.4052,146.1888,0,0,0,0,100,0), +(@PATH,21,862.1961,543.5349,156.2316,0,0,0,0,100,0), +(@PATH,22,849.1154,543.5079,165.8225,0,0,0,0,100,0), +(@PATH,23,840.6443,543.301,165.6792,0,0,0,0,100,0), +(@PATH,24,837.6116,532.7322,165.7527,0,0,0,0,100,0); +-- 0xF13059AC000009CB .go 832.2903 526.5916 165.7311 + +-- Pathing for Sister of Pleasure Entry: 22964 +SET @NPC := 53054; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=833.4802,`position_y`=523.8377,`position_z`=165.7311 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,833.4802,523.8377,165.7311,0,0,0,0,100,0), +(@PATH,2,820.9276,518.6308,165.9885,0,0,0,0,100,0), +(@PATH,3,815.6960,514.7673,166.1044,0,0,0,0,100,0), +(@PATH,4,815.6562,506.2740,170.2904,0,0,0,0,100,0), +(@PATH,5,815.5222,493.5521,180.3996,0,0,0,0,100,0), +(@PATH,6,815.2733,477.5682,192.7058,0,0,0,0,100,0), +(@PATH,7,815.5694,467.0236,192.7913,0,0,0,0,100,0), +(@PATH,8,815.2741,477.4378,192.7058,0,0,0,0,100,0), +(@PATH,9,815.5224,493.5667,180.3996,0,0,0,0,100,0), +(@PATH,10,815.6564,506.2916,170.2904,0,0,0,0,100,0), +(@PATH,11,814.7927,512.6357,166.1044,0,0,0,0,100,0), +(@PATH,12,820.0208,518.0225,165.9885,0,0,0,0,100,0), +(@PATH,13,834.5575,524.6269,165.7311,0,0,0,0,100,0), +(@PATH,14,840.4952,531.9047,165.7527,0,0,0,0,100,0), +(@PATH,15,840.7176,540.3019,165.6792,0,0,0,0,100,0), +(@PATH,16,849.1216,540.5079,165.8225,0,0,0,0,100,0), +(@PATH,17,862.1653,540.5351,156.2316,0,0,0,0,100,0), +(@PATH,18,874.7484,540.4061,146.1888,0,0,0,0,100,0), +(@PATH,19,890.8279,540.0221,139.3036,0,0,0,0,100,0), +(@PATH,20,874.7892,540.4054,146.1888,0,0,0,0,100,0), +(@PATH,21,862.2023,540.5349,156.2316,0,0,0,0,100,0), +(@PATH,22,849.1887,540.5088,165.8225,0,0,0,0,100,0), +(@PATH,23,843.5279,542.4735,165.6792,0,0,0,0,100,0), +(@PATH,24,839.8788,530.7675,165.7527,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=52846; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(52846,52846,0,0,2), +(52846,53054,3,270,2); + +-- Pathing for Sister of Pain Entry: 22956 +SET @NPC := 52854; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=897.643,`position_y`=368.6811,`position_z`=112.7681 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,897.643,368.6811,112.7682,0,0,0,0,100,0), +(@PATH,2,891.4086,375.0052,112.7682,0,0,0,0,100,0), +(@PATH,3,886.6258,392.1916,112.7681,0,0,0,0,100,0), +(@PATH,4,889.0926,406.6414,112.7681,0,0,0,0,100,0), +(@PATH,5,895.0201,414.2144,112.7681,0,0,0,0,100,0), +(@PATH,6,907.2474,422.6099,112.7681,0,0,0,0,100,0), +(@PATH,7,917.291,427.4965,112.7681,0,0,0,0,100,0), +(@PATH,8,917.538,443.7802,112.7681,0,0,0,0,100,0), +(@PATH,9,918.18,480.8549,121.0903,0,0,0,0,100,0), +(@PATH,10,918.1483,469.0587,112.768,0,0,0,0,100,0), +(@PATH,11,917.9372,449.7168,112.7681,0,0,0,0,100,0), +(@PATH,12,917.7559,427.5167,112.7681,0,0,0,0,100,0), +(@PATH,13,928.2393,423.6823,112.768,0,0,0,0,100,0), +(@PATH,14,942.3116,412.3955,112.768,0,0,0,0,100,0), +(@PATH,15,947.6193,400.7702,112.768,0,0,0,0,100,0), +(@PATH,16,947.3901,388.0476,112.768,0,0,0,0,100,0), +(@PATH,17,944.3997,375.4843,112.768,0,0,0,0,100,0), +(@PATH,18,934.3572,366.3027,112.7681,0,0,0,0,100,0), +(@PATH,19,922.269,361.623,112.7681,0,0,0,0,100,0), +(@PATH,20,907.52,362.9464,112.7682,0,0,0,0,100,0); +-- 0xF13059AC000009CE .go 917.291 427.4965 112.7681 + +-- Pathing for Sister of Pleasure Entry: 22964 +SET @NPC := 53058; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=895.5066,`position_y`=366.5750,`position_z`=112.7681 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,895.5066,366.5750,112.7682,0,0,0,0,100,0), +(@PATH,2,888.5184,374.2009,112.7682,0,0,0,0,100,0), +(@PATH,3,883.6686,392.6964,112.7681,0,0,0,0,100,0), +(@PATH,4,886.7302,408.4905,112.7681,0,0,0,0,100,0), +(@PATH,5,893.3220,416.6875,112.7681,0,0,0,0,100,0), +(@PATH,6,905.9349,425.3075,112.7681,0,0,0,0,100,0), +(@PATH,7,914.2913,427.5420,112.7681,0,0,0,0,100,0), +(@PATH,8,914.5384,443.8321,112.7681,0,0,0,0,100,0), +(@PATH,9,915.1800,480.8630,121.0903,0,0,0,0,100,0), +(@PATH,10,915.1485,469.0914,112.7680,0,0,0,0,100,0), +(@PATH,11,914.9373,449.7413,112.7681,0,0,0,0,100,0), +(@PATH,12,916.7254,424.6992,112.7681,0,0,0,0,100,0), +(@PATH,13,930.1163,426.0226,112.7680,0,0,0,0,100,0), +(@PATH,14,945.0406,413.6415,112.7680,0,0,0,0,100,0), +(@PATH,15,950.6188,400.7162,112.7680,0,0,0,0,100,0), +(@PATH,16,950.3086,387.3529,112.7680,0,0,0,0,100,0), +(@PATH,17,946.4240,373.2702,112.7680,0,0,0,0,100,0), +(@PATH,18,935.4403,363.5050,112.7681,0,0,0,0,100,0), +(@PATH,19,922.0009,358.6350,112.7681,0,0,0,0,100,0), +(@PATH,20,906.0137,360.3520,112.7682,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=52854; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(52854,52854,0,0,2), +(52854,53058,3,270,2); + +-- Pathing for Sister of Pain Entry: 22956 +SET @NPC := 52850; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=863.5932,`position_y`=404.4617,`position_z`=192.8021 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,863.5932,404.4617,192.8021,0,0,0,0,100,0), +(@PATH,2,857.1285,400.2212,192.8021,0,0,0,0,100,0), +(@PATH,3,841.5421,399.2611,192.8021,0,0,0,0,100,0), +(@PATH,4,824.6133,403.406,192.8021,0,0,0,0,100,0), +(@PATH,5,809.0944,408.0469,192.8021,0,0,0,0,100,0), +(@PATH,6,803.2555,409.021,192.8021,0,0,0,0,100,0), +(@PATH,7,798.0318,415.624,192.8021,0,0,0,0,100,0), +(@PATH,8,797.907,434.2558,192.8021,0,0,0,0,100,0), +(@PATH,9,803.9134,446.4958,192.8102,0,0,0,0,100,0), +(@PATH,10,822.2453,446.5771,192.8121,0,0,0,0,100,0), +(@PATH,11,832.8823,444.5272,192.8021,0,0,0,0,100,0), +(@PATH,12,841.865,440.6642,192.8021,0,0,0,0,100,0), +(@PATH,13,857.7858,440.4023,192.8021,0,0,0,0,100,0), +(@PATH,14,868.998,422.5621,192.8202,0,0,0,0,100,0), +(@PATH,15,892.9637,421.5781,192.8236,0,0,0,0,100,0), +(@PATH,16,869.101,417.053,192.80818,0,0,0,0,100,0); +-- 0xF13059AC00000B10 .go 863.5932 404.4617 192.8021 + +-- Pathing for Sister of Pleasure Entry: 22964 +SET @NPC := 53057; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=865.2386,`position_y`=401.9532,`position_z`=192.8021 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_flag`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,865.2386,401.9532,192.8021,0,0,0,0,100,0), +(@PATH,2,857.3129,397.2269,192.8021,0,0,0,0,100,0), +(@PATH,3,840.8286,396.3472,192.8021,0,0,0,0,100,0), +(@PATH,4,823.7538,400.5318,192.8021,0,0,0,0,100,0), +(@PATH,5,808.6007,405.0878,192.8021,0,0,0,0,100,0), +(@PATH,6,800.9027,407.1597,192.8021,0,0,0,0,100,0), +(@PATH,7,795.0319,415.6039,192.8021,0,0,0,0,100,0), +(@PATH,8,795.2138,435.5774,192.8021,0,0,0,0,100,0), +(@PATH,9,803.9001,449.4958,192.8102,0,0,0,0,100,0), +(@PATH,10,822.8130,449.5229,192.8121,0,0,0,0,100,0), +(@PATH,11,834.0675,447.2832,192.8021,0,0,0,0,100,0), +(@PATH,12,841.9143,443.6638,192.8021,0,0,0,0,100,0), +(@PATH,13,860.3258,441.9986,192.8021,0,0,0,0,100,0), +(@PATH,14,869.1211,425.5596,192.8202,0,0,0,0,100,0), +(@PATH,15,893.0868,424.5756,192.8236,0,0,0,0,100,0), +(@PATH,16,868.987,420.166,192.80742,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=52850; +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`) VALUES +(52850,52850,0,0,2), +(52850,53057,3,270,2); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_12_00_world_sai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_12_00_world_sai.sql new file mode 100644 index 00000000000..cf2c80f580f --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_12_00_world_sai.sql @@ -0,0 +1,7 @@ +-- Fixes Blowing Hodir's Horn (12977) +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=29974; +DELETE FROM `smart_scripts` WHERE `entryorguid`=29974 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 +(29974, 0, 0, 0, 0, 0, 100, 0, 1000, 5000, 8000, 13000, 11, 57454, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Niffelem Forefather - IC - Cast Ice Spike'), +(29974, 0, 1, 2, 8, 0, 100, 0, 55983, 0, 0, 0, 33, 30138, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Niffelem Forefather - On Spellhit - Give Kill Credit'), +(29974, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Niffelem Forefather - Linked with Previous Event Despawn'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_12_01_world_eai.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_12_01_world_eai.sql new file mode 100644 index 00000000000..c36b6d0f3c6 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_12_01_world_eai.sql @@ -0,0 +1 @@ +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29974; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_13_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_13_00_world_misc.sql new file mode 100644 index 00000000000..b34e96a0811 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_13_00_world_misc.sql @@ -0,0 +1,5 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=40094; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,40094,0,0,31,0,3,22953,0,0,'','Spell summom channel targets Wrathbone Flayer'); +UPDATE `creature_template` SET `AIName`= '', `ScriptName` = 'npc_wrathbone_flayer' WHERE `entry`=22953; +DELETE FROM smart_scripts WHERE entryorguid=22953; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_14_00_world_errors.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_14_00_world_errors.sql new file mode 100644 index 00000000000..f6ce6c2c0aa --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_14_00_world_errors.sql @@ -0,0 +1,4 @@ +-- Fix "There is no waypoint which links to the waypoint script 332" + +DELETE FROM `waypoint_scripts` WHERE `id`=332; +DELETE FROM `db_script_string` WHERE `entry`=2000005146; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_14_01_world_item_template.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_14_01_world_item_template.sql new file mode 100644 index 00000000000..ab372605f4b --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_14_01_world_item_template.sql @@ -0,0 +1,14 @@ +UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=23614; +UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=28635; +UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=28636; +UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=28637; +UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=30503; +UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=34868; +UPDATE `item_template` SET `Flags`=0x80000000 WHERE `entry`=37020; +UPDATE `item_template` SET `Flags`=0x80010000 WHERE `entry`=37200; +UPDATE `item_template` SET `Flags`=0x80000040 WHERE `entry`=40652; +UPDATE `item_template` SET `Flags`=0x80000040 WHERE `entry`=40970; +UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=41843; +UPDATE `item_template` SET `Flags`=0x80000800 WHERE `entry`=42782; + +ALTER TABLE `item_template` CHANGE `Flags` `Flags` int(10) unsigned NOT NULL DEFAULT '0'; diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_00_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_00_world_gossip.sql new file mode 100644 index 00000000000..33467ad43be --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_00_world_gossip.sql @@ -0,0 +1,25 @@ +-- Add SAI for Sputtervalve <Independent Contractor> Quest 6981 +UPDATE `creature_template` SET `gossip_menu_id`=21,`ScriptName`='' WHERE `entry`=3442; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3442 AND `source_type`=0 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 +(3442, 0, 1, 0, 62, 0, 100, 0, 21, 1, 0, 0, 15, 6981, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sputtervalve - Gossip Option 1 - Complete quest 6981'); +-- Gossip Menu +DELETE FROM `gossip_menu` WHERE `entry`=21199; +DELETE FROM `gossip_menu` WHERE `entry` IN (21,22,21340); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +('21','518'), ('21','519'), ('22','520'), (21340,2013); +-- Gossip Options +DELETE FROM `gossip_menu_option` WHERE `menu_id`=21; +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES +(21,0,0, 'How can I help?',1,1,22), +(21,1,0, 'Can you tell me about this shard?',1,1,21340); +-- Gossip Menu Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=21; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,21,518,0,0,27,0,10,3,0,0,'','Gossip text requires level 10 or higher'), +(15,21,519,0,0,27,0,10,2,0,0,'','Gossip text requires lower than level 10'); +-- Gossip Options Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=21; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,21,0,0,0,27,0,10,3,0,0,'','Gossip Option requires level 10 or higher'), +(15,21,1,0,0,9,0,6981,0,0,0,'','Gossip Option requires quest not complete'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_01_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_01_world_gossip.sql new file mode 100644 index 00000000000..b59feae2c5c --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_01_world_gossip.sql @@ -0,0 +1,15 @@ +-- Gossip fixup for Drull and Tog'thar +UPDATE `creature_template` SET `gossip_menu_id`=262 WHERE `entry`=2239; +DELETE FROM `gossip_menu` WHERE `entry` IN (261,262,263); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +('261','760'), ('262','759'), ('263','762'); +-- Gossip Options +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (262,264); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES +(262,0,0, 'Where is the key to this lock?',1,1,261), +(264,1,0, 'Where is the key to this lock?',1,1,263); +-- Gossip Options Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (262,264); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,262,0,0,0,9,0,498,0,0,0,'','Gossip Option requires quest not complete'), +(15,264,1,0,0,9,0,498,0,0,0,'','Gossip Option requires quest not complete'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_02_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_02_world_gossip.sql new file mode 100644 index 00000000000..9e54b17899a --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_02_world_gossip.sql @@ -0,0 +1,8 @@ +-- Gossip fixup for Morridune +UPDATE `creature_template` SET `gossip_menu_id`=321 WHERE `entry`=6729; +DELETE FROM `gossip_menu` WHERE `entry` IN (321); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (321,818); +-- Gossip Options +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (321); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES +(321,0,0, 'Please port me to Darnassus.',1,1,0); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_03_world_gossip.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_03_world_gossip.sql new file mode 100644 index 00000000000..1193522b273 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_15_03_world_gossip.sql @@ -0,0 +1,37 @@ +-- Gossip fixup for Aleanna Edune +UPDATE `creature_template` SET `gossip_menu_id`=361 WHERE `entry`=24734; +DELETE FROM `gossip_menu` WHERE `entry` IN (361); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (361,838); + +-- Gossip fixup for Marli Wishrunner +UPDATE `creature_template` SET `gossip_menu_id`=1421 WHERE `entry`=7773; +DELETE FROM `gossip_menu` WHERE `entry` IN (1421); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (1421,2053); + +-- Gossip fixup for Kalin Windflight "This guy may be missing a script" +UPDATE `creature_template` SET `gossip_menu_id`=1422 WHERE `entry`=7772; +DELETE FROM `gossip_menu` WHERE `entry` IN (1422); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (1422,2054); +-- Gossip Options +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (1422); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES +(1422,0,1, 'Can you help me get down?',3,128,0); + +-- Gossip fixup for Henry Stern +UPDATE `creature_template` SET `gossip_menu_id`=1443 WHERE `entry`=8696; +DELETE FROM `gossip_menu` WHERE `entry` IN (1442,1443,1444,1501,1502); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(1442,2115),(1443,2113),(1444,2114),(1501,2173),(1502,2174); +-- Gossip Options +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (1443); +INSERT INTO `gossip_menu_option` (`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`,`action_menu_id`) VALUES +(1443,0,0, 'You can cook? So can I! Is there a recipe you can teach me?',1,1,0), +(1443,1,0, 'You''re an alchemist? So am I. Perhaps you can teach me what you know...',1,1,0); + +-- Gossip Options Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1443; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,1443,0,0,0,7,0,185,0,0,0,0,'','Gossip Option requires cooking skill'), +(15,1443,0,0,1,25,0,13028,0,0,1,0,'','Gossip Option requires player not learned spell'), +(15,1443,1,0,0,7,0,171,0,0,0,0,'','Gossip Option requires alchemy skill'), +(15,1443,1,0,1,25,0,3451,0,0,1,0,'','Gossip Option requires player not learned spell'); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_00_world_misc.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_00_world_misc.sql new file mode 100644 index 00000000000..449919e44e2 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_00_world_misc.sql @@ -0,0 +1,19 @@ +-- No longer used as of patch 3.3.0 +DELETE FROM `areatrigger_teleport` WHERE `id`=4156; + +UPDATE `game_graveyard_zone` SET `faction`=469 WHERE `id`=1308; -- Alliance Only + +DELETE FROM `game_graveyard_zone` WHERE `id`=1309; +INSERT INTO `game_graveyard_zone` (`id`, `ghost_zone`, `faction`) VALUES +(1309, 3456, 67); -- Dragonblight, Forsaken East GY - Horde Only + +DELETE FROM `gameobject` WHERE `guid` IN (5216, 5222); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(5216, 202277, 533, 3, 1, 3495.97, -5357.84, 144.9645, 0.5410506, 0, 0, 0, 1, 7200, 255, 1), -- Orb of Naxxramas +(5222, 202278, 533, 3, 1, 2997.675, -3437.799, 304.1996, 1.151916, 0, 0, 0, 1, 7200, 255, 1); -- Orb of Naxxramas + +-- Teleportation positions for Orbs from sniff - TODO: add db coords for spell 72613 +DELETE FROM `spell_target_position` WHERE `id` IN (28444, 72617); +INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES +(28444, 533, 3005.74, -3434.27, 304.196, 0), -- Portal Effect: Deathknight Wing +(72617, 533, 3498.22, -5349.36, 144.969, 1.32679); -- Naxxramas Teleport - Sapphiron Entry diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_01_world_gameobject.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_01_world_gameobject.sql new file mode 100644 index 00000000000..ef5624ee090 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_01_world_gameobject.sql @@ -0,0 +1 @@ +UPDATE `gameobject` SET `spawnMask`=3 WHERE `guid` IN (5216,5222); diff --git a/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_02_world_conditions.sql b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_02_world_conditions.sql new file mode 100644 index 00000000000..5b89e1b93d3 --- /dev/null +++ b/sql/old/3.3.5a/TDB51_to_TDB52_updates/world/2013_07_16_02_world_conditions.sql @@ -0,0 +1 @@ +UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1443 AND `ConditionTypeOrReference`=7 AND `ConditionValue1` IN (171,185); |