From 119d4d143a5c20f50491abde3d61ea79d2b91569 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 21 Dec 2018 19:52:29 +0100 Subject: [PATCH] DB: merged all custom updates into a single sql file --- .../custom/custom_2017_12_19_00_world.sql | 0 .../custom/custom_2017_12_19_01_world.sql | 0 .../custom/custom_2017_12_19_02_world.sql | 0 .../custom/custom_2017_12_19_03_world.sql | 0 .../custom/custom_2017_12_19_04_world.sql | 0 .../custom/custom_2017_12_19_05_world.sql | 0 .../custom/custom_2017_12_19_06_world.sql | 0 .../custom/custom_2017_12_20_00_world.sql | 0 .../custom/custom_2017_12_21_00_world.sql | 0 .../custom/custom_2017_12_21_01_world.sql | 0 .../custom/custom_2017_12_21_02_world.sql | 0 .../custom/custom_2017_12_22_00_world.sql | 0 .../custom/custom_2017_12_22_01_world.sql | 0 .../custom/custom_2017_12_22_02_world.sql | 0 .../custom/custom_2017_12_22_03_world.sql | 0 .../custom/custom_2017_12_22_04_world.sql | 0 .../custom/custom_2017_12_22_05_world.sql | 0 .../custom/custom_2018_01_07_00_world.sql | 0 .../custom/custom_2018_01_07_01_world.sql | 0 .../custom/custom_2018_01_07_02_world.sql | 0 .../custom/custom_2018_01_08_00_world.sql | 0 .../custom/custom_2018_01_08_01_world.sql | 0 .../custom/custom_2018_01_11_00_world.sql | 0 .../custom/custom_2018_01_12_00_world.sql | 0 .../custom/custom_2018_01_13_00_world.sql | 0 .../custom/custom_2018_01_13_01_world.sql | 0 .../custom/custom_2018_01_13_02_world.sql | 0 .../custom/custom_2018_01_15_00_world.sql | 0 .../custom/custom_2018_01_16_00_world.sql | 0 .../custom/custom_2018_01_17_00_world.sql | 0 .../custom/custom_2018_01_18_00_world.sql | 0 .../custom/custom_2018_01_20_00_world.sql | 0 .../custom/custom_2018_01_20_01_world.sql | 0 .../custom/custom_2018_01_20_02_world.sql | 0 .../custom/custom_2018_01_21_00_world.sql | 0 .../custom/custom_2018_01_22_00_world.sql | 0 .../custom/custom_2018_01_26_00_world.sql | 0 .../custom/custom_2018_01_26_01_world.sql | 0 .../custom/custom_2018_01_26_02_world.sql | 0 .../custom/custom_2018_01_27_00_world.sql | 0 .../custom/custom_2018_01_30_00_world.sql | 0 .../custom/custom_2018_01_31_00_world.sql | 0 .../custom/custom_2018_02_08_00_world.sql | 0 .../custom/custom_2018_02_09_00_world.sql | 0 .../custom/custom_2018_02_14_00_world.sql | 0 .../custom/custom_2018_02_14_01_world.sql | 0 .../custom/custom_2018_02_15_00_world.sql | 0 .../custom/custom_2018_02_15_01_world.sql | 0 .../custom/custom_2018_02_17_00_world.sql | 0 .../custom/custom_2018_02_18_00_world.sql | 0 .../custom/custom_2018_02_18_01_world.sql | 0 .../custom/custom_2018_02_19_00_world.sql | 0 .../custom/custom_2018_02_19_01_world.sql | 0 .../custom/custom_2018_02_21_00_world.sql | 0 .../custom/custom_2018_02_25_00_world.sql | 0 .../custom/custom_2018_02_25_01_world.sql | 0 .../custom/custom_2018_02_26_00_world.sql | 0 .../custom/custom_2018_03_15_00_world.sql | 0 .../custom/custom_2018_03_17_00_world.sql | 0 .../custom/custom_2018_03_17_01_world.sql | 0 .../custom/custom_2018_03_17_02_world.sql | 0 .../custom/custom_2018_03_17_03_world.sql | 0 .../custom/custom_2018_03_19_00_world.sql | 0 .../custom/custom_2018_03_19_01_world.sql | 0 .../custom/custom_2018_03_20_00_world.sql | 0 .../custom/custom_2018_03_20_01_world.sql | 0 .../custom/custom_2018_03_21_00_world.sql | 0 .../custom/custom_2018_03_22_00_world.sql | 0 .../custom/custom_2018_03_22_01_world.sql | 0 .../custom/custom_2018_03_23_00_world.sql | 0 .../custom/custom_2018_03_23_01_world.sql | 0 .../custom/custom_2018_03_23_02_world.sql | 0 .../custom/custom_2018_03_23_03_world.sql | 0 .../custom/custom_2018_03_23_04_world.sql | 0 .../custom/custom_2018_03_27_00_world.sql | 0 .../custom/custom_2018_03_28_00_world.sql | 0 .../custom/custom_2018_03_28_01_world.sql | 0 .../custom/custom_2018_04_02_00_world.sql | 0 .../custom/custom_2018_04_02_01_world.sql | 0 .../custom/custom_2018_04_09_00_world.sql | 0 .../custom/custom_2018_04_16_00_world.sql | 0 .../custom/custom_2018_04_16_01_world.sql | 0 .../custom/custom_2018_04_17_00_world.sql | 0 .../custom/custom_2018_04_18_00_world.sql | 0 .../custom/custom_2018_04_25_00_world.sql | 0 .../custom/custom_2018_04_26_00_world.sql | 0 .../custom/custom_2018_05_12_00_world.sql | 0 .../custom/custom_2018_05_20_00_world.sql | 0 .../custom/custom_2018_05_26_00_world.sql | 0 .../custom/custom_2018_05_26_01_world.sql | 0 .../custom/custom_2018_05_26_02_world.sql | 0 .../custom/custom_2018_05_27_03_world.sql | 0 .../custom/custom_2018_05_28_00_world.sql | 0 .../custom/custom_2018_05_28_01_world.sql | 0 .../custom/custom_2018_06_06_00_world.sql | 0 .../custom/custom_2018_06_07_00_world.sql | 0 .../custom/custom_2018_06_08_00_world.sql | 0 .../custom/custom_2018_06_10_00_world.sql | 0 .../custom/custom_2018_06_10_01_world.sql | 0 .../custom/custom_2018_06_10_02_world.sql | 0 .../custom/custom_2018_06_11_00_world.sql | 0 .../custom/custom_2018_06_16_00_world.sql | 0 .../custom/custom_2018_06_16_01_world.sql | 0 .../custom/custom_2018_06_17_00_world.sql | 0 .../custom/custom_2018_06_17_01_world.sql | 0 .../custom/custom_2018_06_17_02_world.sql | 0 .../custom/custom_2018_06_17_03_world.sql | 0 .../custom/custom_2018_06_17_04_world.sql | 0 .../custom/custom_2018_06_18_00_world.sql | 0 .../custom/custom_2018_06_18_01_world.sql | 0 .../custom/custom_2018_06_19_00_world.sql | 0 .../custom/custom_2018_06_19_01_world.sql | 0 .../custom/custom_2018_06_19_03_world.sql | 0 .../custom/custom_2018_06_22_00_world.sql | 0 .../custom/custom_2018_06_22_01_world.sql | 0 .../custom/custom_2018_06_23_00_world.sql | 0 .../custom/custom_2018_06_24_00_world.sql | 0 .../custom/custom_2018_06_24_01_world.sql | 0 .../custom/custom_2018_06_24_02_world.sql | 0 .../custom/custom_2018_06_26_00_world.sql | 0 .../custom/custom_2018_06_27_00_world.sql | 0 .../custom/custom_2018_06_27_01_world.sql | 0 .../custom/custom_2018_06_27_02_world.sql | 0 .../custom/custom_2018_06_29_00_world.sql | 0 .../custom/custom_2018_07_01_00_world.sql | 0 .../custom/custom_2018_07_01_01_world.sql | 0 .../custom/custom_2018_07_02_00_world.sql | 0 .../custom/custom_2018_07_04_00_world.sql | 0 .../custom/custom_2018_07_04_01_world.sql | 0 .../custom/custom_2018_07_04_02_world.sql | 0 .../custom/custom_2018_07_05_00_world.sql | 0 .../custom/custom_2018_07_06_00_world.sql | 0 .../custom/custom_2018_07_06_01_world.sql | 0 .../custom/custom_2018_07_06_02_world.sql | 0 .../custom/custom_2018_07_07_00_world.sql | 0 .../custom/custom_2018_07_07_01_world.sql | 0 .../custom/custom_2018_07_07_02_world.sql | 0 .../custom/custom_2018_07_07_03_world.sql | 0 .../custom/custom_2018_07_08_00_world.sql | 0 .../custom/custom_2018_07_08_01_world.sql | 0 .../custom/custom_2018_07_08_02_world.sql | 0 .../custom/custom_2018_07_08_03_world.sql | 0 .../custom/custom_2018_07_08_04_world.sql | 0 .../custom/custom_2018_07_08_05_world.sql | 0 .../custom/custom_2018_07_08_06_world.sql | 0 .../custom/custom_2018_07_08_07_world.sql | 0 .../custom/custom_2018_07_08_08_world.sql | 0 .../custom/custom_2018_07_09_00_world.sql | 0 .../custom/custom_2018_07_09_01_world.sql | 0 .../custom/custom_2018_07_09_02_world.sql | 0 .../custom/custom_2018_07_09_03_world.sql | 0 .../custom/custom_2018_07_10_00_world.sql | 0 .../custom/custom_2018_07_10_01_world.sql | 0 .../custom/custom_2018_07_11_00_world.sql | 0 .../custom/custom_2018_07_13_00_world.sql | 0 .../custom/custom_2018_07_13_01_world.sql | 0 .../custom/custom_2018_07_14_00_world.sql | 0 .../custom/custom_2018_07_14_01_world.sql | 0 .../custom/custom_2018_07_14_02_world.sql | 0 .../custom/custom_2018_07_14_03_world.sql | 0 .../custom/custom_2018_07_14_04_world.sql | 0 .../custom/custom_2018_07_15_00_world.sql | 0 .../custom/custom_2018_07_15_01_world.sql | 0 .../custom/custom_2018_07_15_02_world.sql | 0 .../custom/custom_2018_07_20_00_world.sql | 0 .../custom/custom_2018_07_22_00_world.sql | 0 .../custom/custom_2018_07_22_01_world.sql | 0 .../custom/custom_2018_07_23_00_world.sql | 0 .../custom/custom_2018_07_23_01_world.sql | 0 .../custom/custom_2018_07_23_02_world.sql | 0 .../custom/custom_2018_07_24_00_world.sql | 0 .../custom/custom_2018_07_25_00_world.sql | 0 .../custom/custom_2018_07_25_01_world.sql | 0 .../custom/custom_2018_07_25_02_world.sql | 0 .../custom/custom_2018_07_26_00_world.sql | 0 .../custom/custom_2018_07_26_01_world.sql | 0 .../custom/custom_2018_07_27_00_world.sql | 0 .../custom/custom_2018_07_27_01_world.sql | 0 .../custom/custom_2018_07_27_02_world.sql | 0 .../custom/custom_2018_07_28_00_world.sql | 0 .../custom/custom_2018_07_28_01_world.sql | 0 .../custom/custom_2018_07_30_00_world.sql | 0 .../custom/custom_2018_07_30_01_world.sql | 0 .../custom/custom_2018_07_30_02_world.sql | 0 .../custom/custom_2018_07_31_00_world.sql | 0 .../custom/custom_2018_08_01_00_world.sql | 0 .../custom/custom_2018_08_05_00_world.sql | 0 .../custom/custom_2018_08_05_01_world.sql | 0 .../custom/custom_2018_08_06_00_world.sql | 0 .../custom/custom_2018_08_08_00_world.sql | 0 .../custom/custom_2018_08_10_00_world.sql | 0 .../custom/custom_2018_08_13_00_world.sql | 0 .../custom/custom_2018_08_14_00_world.sql | 0 .../custom/custom_2018_08_14_01_world.sql | 0 .../custom/custom_2018_08_14_02_world.sql | 0 .../custom/custom_2018_08_18_00_world.sql | 0 .../custom/custom_2018_08_21_00_world.sql | 0 .../custom/custom_2018_08_21_01_world.sql | 0 .../custom/custom_2018_08_22_00_world.sql | 0 .../custom/custom_2018_08_22_01_world.sql | 0 .../custom/custom_2018_08_22_02_world.sql | 0 .../custom/custom_2018_08_22_03_world.sql | 0 .../custom/custom_2018_08_22_04_world.sql | 0 .../custom/custom_2018_08_23_05_world.sql | 0 .../custom/custom_2018_08_23_06_world.sql | 0 .../custom/custom_2018_08_24_00_world.sql | 0 .../custom/custom_2018_08_24_01_world.sql | 0 .../custom/custom_2018_08_24_02_world.sql | 0 .../custom/custom_2018_08_24_03_world.sql | 0 .../custom/custom_2018_08_28_00_world.sql | 0 .../custom/custom_2018_08_28_01_world.sql | 0 .../custom/custom_2018_08_28_02_world.sql | 0 .../custom/custom_2018_08_29_00_world.sql | 0 .../custom/custom_2018_08_29_01_world.sql | 0 .../custom/custom_2018_08_30_00_world.sql | 0 .../custom/custom_2018_08_30_01_world.sql | 0 .../custom/custom_2018_08_30_02_world.sql | 0 .../custom/custom_2018_08_31_00_world.sql | 0 .../custom/custom_2018_08_31_01_world.sql | 0 .../custom/custom_2018_09_02_00_world.sql | 0 .../custom/custom_2018_09_03_00_world.sql | 0 .../custom/custom_2018_09_03_01_world.sql | 0 .../custom/custom_2018_09_08_00_world.sql | 0 .../custom/custom_2018_09_11_00_world.sql | 0 .../custom/custom_2018_09_16_00_world.sql | 0 .../custom/custom_2018_09_16_01_world.sql | 0 .../custom/custom_2018_09_23_00_world.sql | 0 .../custom/custom_2018_09_23_01_world.sql | 0 .../custom/custom_2018_09_24_00_world.sql | 0 .../custom/custom_2018_09_24_01_world.sql | 0 .../custom/custom_2018_09_24_02_world.sql | 0 .../custom/custom_2018_09_24_03_world.sql | 0 .../custom/custom_2018_09_25_00_world.sql | 0 .../custom/custom_2018_10_07_00_world.sql | 0 .../custom/custom_2018_10_08_00_world.sql | 0 .../custom/custom_2018_10_11_00_world.sql | 0 .../custom/custom_2018_10_12_00_world.sql | 0 .../custom/custom_2018_10_19_00_world.sql | 0 .../custom/custom_2018_10_22_00_world.sql | 0 .../custom/custom_2018_10_26_00_world.sql | 0 .../custom/custom_2018_10_26_01_world.sql | 0 .../custom/custom_2018_10_26_02_world.sql | 0 .../custom/custom_2018_10_26_03_world.sql | 0 .../custom/custom_2018_10_26_04_world.sql | 0 .../custom/custom_2018_10_27_00_world.sql | 0 .../custom/custom_2018_10_27_01_world.sql | 0 .../custom/custom_2018_10_27_02_world.sql | 0 .../custom/custom_2018_10_27_03_world.sql | 0 .../custom/custom_2018_10_28_00_world.sql | 0 .../custom/custom_2018_11_01_00_world.sql | 0 .../custom/custom_2018_11_01_01_world.sql | 0 .../custom/custom_2018_11_01_02_world.sql | 0 .../custom/custom_2018_11_02_00_world.sql | 0 .../custom/custom_2018_11_03_00_world.sql | 0 .../custom/custom_2018_11_07_00_world.sql | 0 .../custom/custom_2018_11_07_01_world.sql | 0 .../custom/custom_2018_11_12_00_world.sql | 0 .../custom/custom_2018_11_13_00_world.sql | 0 .../custom/custom_2018_11_14_00_world.sql | 0 .../custom/custom_2018_11_14_01_world.sql | 0 .../custom/custom_2018_11_14_02_world.sql | 0 .../custom/custom_2018_11_14_03_world.sql | 0 .../custom/custom_2018_11_14_04_world.sql | 0 .../custom/custom_2018_11_14_05_world.sql | 0 .../custom/custom_2018_11_14_06_world.sql | 0 .../custom/custom_2018_11_14_07_world.sql | 0 .../custom/custom_2018_11_14_08_world.sql | 0 .../custom/custom_2018_11_16_00_world.sql | 0 .../custom/custom_2018_11_18_00_world.sql | 0 .../custom/custom_2018_11_20_00_world.sql | 0 .../custom/custom_2018_11_21_00_world.sql | 0 .../custom/custom_2018_11_21_01_world.sql | 0 .../custom/custom_2018_11_21_02_world.sql | 0 .../custom/custom_2018_11_23_00_world.sql | 0 .../custom/custom_2018_11_23_01_world.sql | 0 .../custom/custom_2018_12_04_00_world.sql | 0 .../custom/custom_2018_12_14_00_world.sql | 0 .../custom/custom_2018_12_14_01_world.sql | 0 .../custom/custom_2018_12_15_00_world.sql | 0 .../custom/custom_2018_12_15_01_world.sql | 0 .../custom/custom_2018_12_16_00_world.sql | 0 .../custom/custom_2018_12_17_00_world.sql | 0 .../custom/custom_2018_12_18_00_world.sql | 0 .../custom/custom_2018_12_18_01_world.sql | 0 .../custom/custom_2018_12_18_02_world.sql | 0 .../custom_2018_12_21_00_world_updatepack.sql | 15639 ++++++++++++++++ 286 files changed, 15639 insertions(+) rename sql/{updates/world => old}/custom/custom_2017_12_19_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_19_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_19_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_19_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_19_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_19_05_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_19_06_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_20_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_21_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_21_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_21_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_22_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_22_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_22_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_22_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2017_12_22_05_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_07_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_07_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_07_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_08_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_11_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_12_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_13_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_13_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_13_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_15_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_16_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_17_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_20_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_20_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_20_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_21_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_26_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_26_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_27_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_30_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_01_31_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_09_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_14_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_14_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_15_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_15_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_17_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_18_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_19_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_19_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_21_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_25_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_25_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_02_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_15_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_17_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_17_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_17_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_17_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_19_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_19_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_20_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_20_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_21_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_22_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_23_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_23_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_23_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_23_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_23_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_27_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_28_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_03_28_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_02_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_02_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_09_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_16_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_16_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_17_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_25_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_04_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_12_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_20_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_26_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_26_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_27_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_28_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_05_28_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_06_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_07_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_10_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_10_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_10_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_11_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_16_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_16_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_17_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_17_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_17_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_17_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_17_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_18_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_19_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_19_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_19_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_22_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_23_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_24_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_24_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_24_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_27_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_27_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_27_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_06_29_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_01_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_01_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_02_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_04_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_04_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_04_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_05_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_06_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_06_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_06_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_07_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_07_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_07_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_07_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_05_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_06_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_07_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_08_08_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_09_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_09_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_09_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_09_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_10_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_10_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_11_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_13_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_13_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_14_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_14_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_14_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_14_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_14_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_15_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_15_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_15_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_20_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_22_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_23_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_23_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_23_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_24_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_25_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_25_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_25_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_26_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_27_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_27_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_27_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_28_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_28_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_30_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_30_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_30_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_07_31_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_01_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_05_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_05_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_06_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_10_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_13_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_14_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_14_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_14_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_21_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_21_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_22_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_22_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_22_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_22_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_23_05_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_23_06_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_24_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_24_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_24_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_24_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_28_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_28_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_28_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_29_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_29_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_30_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_30_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_30_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_31_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_08_31_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_02_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_03_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_03_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_11_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_16_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_16_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_23_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_23_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_24_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_24_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_24_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_24_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_09_25_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_07_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_08_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_11_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_12_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_19_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_22_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_26_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_26_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_26_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_26_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_26_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_27_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_27_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_27_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_27_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_10_28_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_01_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_01_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_01_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_02_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_03_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_07_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_07_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_12_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_13_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_03_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_04_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_05_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_06_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_07_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_14_08_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_16_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_20_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_21_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_21_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_21_02_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_23_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_11_23_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_04_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_14_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_14_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_15_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_15_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_16_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_17_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_18_00_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_18_01_world.sql (100%) rename sql/{updates/world => old}/custom/custom_2018_12_18_02_world.sql (100%) create mode 100644 sql/updates/world/custom/custom_2018_12_21_00_world_updatepack.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_00_world.sql b/sql/old/custom/custom_2017_12_19_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_00_world.sql rename to sql/old/custom/custom_2017_12_19_00_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_01_world.sql b/sql/old/custom/custom_2017_12_19_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_01_world.sql rename to sql/old/custom/custom_2017_12_19_01_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_02_world.sql b/sql/old/custom/custom_2017_12_19_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_02_world.sql rename to sql/old/custom/custom_2017_12_19_02_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_03_world.sql b/sql/old/custom/custom_2017_12_19_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_03_world.sql rename to sql/old/custom/custom_2017_12_19_03_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_04_world.sql b/sql/old/custom/custom_2017_12_19_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_04_world.sql rename to sql/old/custom/custom_2017_12_19_04_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_05_world.sql b/sql/old/custom/custom_2017_12_19_05_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_05_world.sql rename to sql/old/custom/custom_2017_12_19_05_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_19_06_world.sql b/sql/old/custom/custom_2017_12_19_06_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_19_06_world.sql rename to sql/old/custom/custom_2017_12_19_06_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_20_00_world.sql b/sql/old/custom/custom_2017_12_20_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_20_00_world.sql rename to sql/old/custom/custom_2017_12_20_00_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_21_00_world.sql b/sql/old/custom/custom_2017_12_21_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_21_00_world.sql rename to sql/old/custom/custom_2017_12_21_00_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_21_01_world.sql b/sql/old/custom/custom_2017_12_21_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_21_01_world.sql rename to sql/old/custom/custom_2017_12_21_01_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_21_02_world.sql b/sql/old/custom/custom_2017_12_21_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_21_02_world.sql rename to sql/old/custom/custom_2017_12_21_02_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_22_00_world.sql b/sql/old/custom/custom_2017_12_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_22_00_world.sql rename to sql/old/custom/custom_2017_12_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_22_01_world.sql b/sql/old/custom/custom_2017_12_22_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_22_01_world.sql rename to sql/old/custom/custom_2017_12_22_01_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_22_02_world.sql b/sql/old/custom/custom_2017_12_22_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_22_02_world.sql rename to sql/old/custom/custom_2017_12_22_02_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_22_03_world.sql b/sql/old/custom/custom_2017_12_22_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_22_03_world.sql rename to sql/old/custom/custom_2017_12_22_03_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_22_04_world.sql b/sql/old/custom/custom_2017_12_22_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_22_04_world.sql rename to sql/old/custom/custom_2017_12_22_04_world.sql diff --git a/sql/updates/world/custom/custom_2017_12_22_05_world.sql b/sql/old/custom/custom_2017_12_22_05_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2017_12_22_05_world.sql rename to sql/old/custom/custom_2017_12_22_05_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_07_00_world.sql b/sql/old/custom/custom_2018_01_07_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_07_00_world.sql rename to sql/old/custom/custom_2018_01_07_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_07_01_world.sql b/sql/old/custom/custom_2018_01_07_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_07_01_world.sql rename to sql/old/custom/custom_2018_01_07_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_07_02_world.sql b/sql/old/custom/custom_2018_01_07_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_07_02_world.sql rename to sql/old/custom/custom_2018_01_07_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_08_00_world.sql b/sql/old/custom/custom_2018_01_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_08_00_world.sql rename to sql/old/custom/custom_2018_01_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_08_01_world.sql b/sql/old/custom/custom_2018_01_08_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_08_01_world.sql rename to sql/old/custom/custom_2018_01_08_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_11_00_world.sql b/sql/old/custom/custom_2018_01_11_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_11_00_world.sql rename to sql/old/custom/custom_2018_01_11_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_12_00_world.sql b/sql/old/custom/custom_2018_01_12_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_12_00_world.sql rename to sql/old/custom/custom_2018_01_12_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_13_00_world.sql b/sql/old/custom/custom_2018_01_13_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_13_00_world.sql rename to sql/old/custom/custom_2018_01_13_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_13_01_world.sql b/sql/old/custom/custom_2018_01_13_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_13_01_world.sql rename to sql/old/custom/custom_2018_01_13_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_13_02_world.sql b/sql/old/custom/custom_2018_01_13_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_13_02_world.sql rename to sql/old/custom/custom_2018_01_13_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_15_00_world.sql b/sql/old/custom/custom_2018_01_15_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_15_00_world.sql rename to sql/old/custom/custom_2018_01_15_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_16_00_world.sql b/sql/old/custom/custom_2018_01_16_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_16_00_world.sql rename to sql/old/custom/custom_2018_01_16_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_17_00_world.sql b/sql/old/custom/custom_2018_01_17_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_17_00_world.sql rename to sql/old/custom/custom_2018_01_17_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_18_00_world.sql b/sql/old/custom/custom_2018_01_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_18_00_world.sql rename to sql/old/custom/custom_2018_01_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_20_00_world.sql b/sql/old/custom/custom_2018_01_20_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_20_00_world.sql rename to sql/old/custom/custom_2018_01_20_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_20_01_world.sql b/sql/old/custom/custom_2018_01_20_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_20_01_world.sql rename to sql/old/custom/custom_2018_01_20_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_20_02_world.sql b/sql/old/custom/custom_2018_01_20_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_20_02_world.sql rename to sql/old/custom/custom_2018_01_20_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_21_00_world.sql b/sql/old/custom/custom_2018_01_21_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_21_00_world.sql rename to sql/old/custom/custom_2018_01_21_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_22_00_world.sql b/sql/old/custom/custom_2018_01_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_22_00_world.sql rename to sql/old/custom/custom_2018_01_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_26_00_world.sql b/sql/old/custom/custom_2018_01_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_26_00_world.sql rename to sql/old/custom/custom_2018_01_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_26_01_world.sql b/sql/old/custom/custom_2018_01_26_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_26_01_world.sql rename to sql/old/custom/custom_2018_01_26_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_26_02_world.sql b/sql/old/custom/custom_2018_01_26_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_26_02_world.sql rename to sql/old/custom/custom_2018_01_26_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_27_00_world.sql b/sql/old/custom/custom_2018_01_27_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_27_00_world.sql rename to sql/old/custom/custom_2018_01_27_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_30_00_world.sql b/sql/old/custom/custom_2018_01_30_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_30_00_world.sql rename to sql/old/custom/custom_2018_01_30_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_01_31_00_world.sql b/sql/old/custom/custom_2018_01_31_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_01_31_00_world.sql rename to sql/old/custom/custom_2018_01_31_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_08_00_world.sql b/sql/old/custom/custom_2018_02_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_08_00_world.sql rename to sql/old/custom/custom_2018_02_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_09_00_world.sql b/sql/old/custom/custom_2018_02_09_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_09_00_world.sql rename to sql/old/custom/custom_2018_02_09_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_14_00_world.sql b/sql/old/custom/custom_2018_02_14_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_14_00_world.sql rename to sql/old/custom/custom_2018_02_14_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_14_01_world.sql b/sql/old/custom/custom_2018_02_14_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_14_01_world.sql rename to sql/old/custom/custom_2018_02_14_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_15_00_world.sql b/sql/old/custom/custom_2018_02_15_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_15_00_world.sql rename to sql/old/custom/custom_2018_02_15_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_15_01_world.sql b/sql/old/custom/custom_2018_02_15_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_15_01_world.sql rename to sql/old/custom/custom_2018_02_15_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_17_00_world.sql b/sql/old/custom/custom_2018_02_17_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_17_00_world.sql rename to sql/old/custom/custom_2018_02_17_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_18_00_world.sql b/sql/old/custom/custom_2018_02_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_18_00_world.sql rename to sql/old/custom/custom_2018_02_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_18_01_world.sql b/sql/old/custom/custom_2018_02_18_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_18_01_world.sql rename to sql/old/custom/custom_2018_02_18_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_19_00_world.sql b/sql/old/custom/custom_2018_02_19_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_19_00_world.sql rename to sql/old/custom/custom_2018_02_19_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_19_01_world.sql b/sql/old/custom/custom_2018_02_19_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_19_01_world.sql rename to sql/old/custom/custom_2018_02_19_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_21_00_world.sql b/sql/old/custom/custom_2018_02_21_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_21_00_world.sql rename to sql/old/custom/custom_2018_02_21_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_25_00_world.sql b/sql/old/custom/custom_2018_02_25_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_25_00_world.sql rename to sql/old/custom/custom_2018_02_25_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_25_01_world.sql b/sql/old/custom/custom_2018_02_25_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_25_01_world.sql rename to sql/old/custom/custom_2018_02_25_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_02_26_00_world.sql b/sql/old/custom/custom_2018_02_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_02_26_00_world.sql rename to sql/old/custom/custom_2018_02_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_15_00_world.sql b/sql/old/custom/custom_2018_03_15_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_15_00_world.sql rename to sql/old/custom/custom_2018_03_15_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_17_00_world.sql b/sql/old/custom/custom_2018_03_17_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_17_00_world.sql rename to sql/old/custom/custom_2018_03_17_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_17_01_world.sql b/sql/old/custom/custom_2018_03_17_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_17_01_world.sql rename to sql/old/custom/custom_2018_03_17_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_17_02_world.sql b/sql/old/custom/custom_2018_03_17_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_17_02_world.sql rename to sql/old/custom/custom_2018_03_17_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_17_03_world.sql b/sql/old/custom/custom_2018_03_17_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_17_03_world.sql rename to sql/old/custom/custom_2018_03_17_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_19_00_world.sql b/sql/old/custom/custom_2018_03_19_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_19_00_world.sql rename to sql/old/custom/custom_2018_03_19_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_19_01_world.sql b/sql/old/custom/custom_2018_03_19_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_19_01_world.sql rename to sql/old/custom/custom_2018_03_19_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_20_00_world.sql b/sql/old/custom/custom_2018_03_20_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_20_00_world.sql rename to sql/old/custom/custom_2018_03_20_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_20_01_world.sql b/sql/old/custom/custom_2018_03_20_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_20_01_world.sql rename to sql/old/custom/custom_2018_03_20_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_21_00_world.sql b/sql/old/custom/custom_2018_03_21_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_21_00_world.sql rename to sql/old/custom/custom_2018_03_21_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_22_00_world.sql b/sql/old/custom/custom_2018_03_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_22_00_world.sql rename to sql/old/custom/custom_2018_03_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_22_01_world.sql b/sql/old/custom/custom_2018_03_22_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_22_01_world.sql rename to sql/old/custom/custom_2018_03_22_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_23_00_world.sql b/sql/old/custom/custom_2018_03_23_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_23_00_world.sql rename to sql/old/custom/custom_2018_03_23_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_23_01_world.sql b/sql/old/custom/custom_2018_03_23_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_23_01_world.sql rename to sql/old/custom/custom_2018_03_23_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_23_02_world.sql b/sql/old/custom/custom_2018_03_23_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_23_02_world.sql rename to sql/old/custom/custom_2018_03_23_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_23_03_world.sql b/sql/old/custom/custom_2018_03_23_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_23_03_world.sql rename to sql/old/custom/custom_2018_03_23_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_23_04_world.sql b/sql/old/custom/custom_2018_03_23_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_23_04_world.sql rename to sql/old/custom/custom_2018_03_23_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_27_00_world.sql b/sql/old/custom/custom_2018_03_27_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_27_00_world.sql rename to sql/old/custom/custom_2018_03_27_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_28_00_world.sql b/sql/old/custom/custom_2018_03_28_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_28_00_world.sql rename to sql/old/custom/custom_2018_03_28_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_03_28_01_world.sql b/sql/old/custom/custom_2018_03_28_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_03_28_01_world.sql rename to sql/old/custom/custom_2018_03_28_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_02_00_world.sql b/sql/old/custom/custom_2018_04_02_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_02_00_world.sql rename to sql/old/custom/custom_2018_04_02_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_02_01_world.sql b/sql/old/custom/custom_2018_04_02_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_02_01_world.sql rename to sql/old/custom/custom_2018_04_02_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_09_00_world.sql b/sql/old/custom/custom_2018_04_09_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_09_00_world.sql rename to sql/old/custom/custom_2018_04_09_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_16_00_world.sql b/sql/old/custom/custom_2018_04_16_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_16_00_world.sql rename to sql/old/custom/custom_2018_04_16_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_16_01_world.sql b/sql/old/custom/custom_2018_04_16_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_16_01_world.sql rename to sql/old/custom/custom_2018_04_16_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_17_00_world.sql b/sql/old/custom/custom_2018_04_17_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_17_00_world.sql rename to sql/old/custom/custom_2018_04_17_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_18_00_world.sql b/sql/old/custom/custom_2018_04_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_18_00_world.sql rename to sql/old/custom/custom_2018_04_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_25_00_world.sql b/sql/old/custom/custom_2018_04_25_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_25_00_world.sql rename to sql/old/custom/custom_2018_04_25_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_04_26_00_world.sql b/sql/old/custom/custom_2018_04_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_04_26_00_world.sql rename to sql/old/custom/custom_2018_04_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_12_00_world.sql b/sql/old/custom/custom_2018_05_12_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_12_00_world.sql rename to sql/old/custom/custom_2018_05_12_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_20_00_world.sql b/sql/old/custom/custom_2018_05_20_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_20_00_world.sql rename to sql/old/custom/custom_2018_05_20_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_26_00_world.sql b/sql/old/custom/custom_2018_05_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_26_00_world.sql rename to sql/old/custom/custom_2018_05_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_26_01_world.sql b/sql/old/custom/custom_2018_05_26_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_26_01_world.sql rename to sql/old/custom/custom_2018_05_26_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_26_02_world.sql b/sql/old/custom/custom_2018_05_26_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_26_02_world.sql rename to sql/old/custom/custom_2018_05_26_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_27_03_world.sql b/sql/old/custom/custom_2018_05_27_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_27_03_world.sql rename to sql/old/custom/custom_2018_05_27_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_28_00_world.sql b/sql/old/custom/custom_2018_05_28_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_28_00_world.sql rename to sql/old/custom/custom_2018_05_28_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_05_28_01_world.sql b/sql/old/custom/custom_2018_05_28_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_05_28_01_world.sql rename to sql/old/custom/custom_2018_05_28_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_06_00_world.sql b/sql/old/custom/custom_2018_06_06_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_06_00_world.sql rename to sql/old/custom/custom_2018_06_06_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_07_00_world.sql b/sql/old/custom/custom_2018_06_07_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_07_00_world.sql rename to sql/old/custom/custom_2018_06_07_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_08_00_world.sql b/sql/old/custom/custom_2018_06_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_08_00_world.sql rename to sql/old/custom/custom_2018_06_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_10_00_world.sql b/sql/old/custom/custom_2018_06_10_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_10_00_world.sql rename to sql/old/custom/custom_2018_06_10_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_10_01_world.sql b/sql/old/custom/custom_2018_06_10_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_10_01_world.sql rename to sql/old/custom/custom_2018_06_10_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_10_02_world.sql b/sql/old/custom/custom_2018_06_10_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_10_02_world.sql rename to sql/old/custom/custom_2018_06_10_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_11_00_world.sql b/sql/old/custom/custom_2018_06_11_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_11_00_world.sql rename to sql/old/custom/custom_2018_06_11_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_16_00_world.sql b/sql/old/custom/custom_2018_06_16_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_16_00_world.sql rename to sql/old/custom/custom_2018_06_16_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_16_01_world.sql b/sql/old/custom/custom_2018_06_16_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_16_01_world.sql rename to sql/old/custom/custom_2018_06_16_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_17_00_world.sql b/sql/old/custom/custom_2018_06_17_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_17_00_world.sql rename to sql/old/custom/custom_2018_06_17_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_17_01_world.sql b/sql/old/custom/custom_2018_06_17_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_17_01_world.sql rename to sql/old/custom/custom_2018_06_17_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_17_02_world.sql b/sql/old/custom/custom_2018_06_17_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_17_02_world.sql rename to sql/old/custom/custom_2018_06_17_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_17_03_world.sql b/sql/old/custom/custom_2018_06_17_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_17_03_world.sql rename to sql/old/custom/custom_2018_06_17_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_17_04_world.sql b/sql/old/custom/custom_2018_06_17_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_17_04_world.sql rename to sql/old/custom/custom_2018_06_17_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_18_00_world.sql b/sql/old/custom/custom_2018_06_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_18_00_world.sql rename to sql/old/custom/custom_2018_06_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_18_01_world.sql b/sql/old/custom/custom_2018_06_18_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_18_01_world.sql rename to sql/old/custom/custom_2018_06_18_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_19_00_world.sql b/sql/old/custom/custom_2018_06_19_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_19_00_world.sql rename to sql/old/custom/custom_2018_06_19_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_19_01_world.sql b/sql/old/custom/custom_2018_06_19_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_19_01_world.sql rename to sql/old/custom/custom_2018_06_19_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_19_03_world.sql b/sql/old/custom/custom_2018_06_19_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_19_03_world.sql rename to sql/old/custom/custom_2018_06_19_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_22_00_world.sql b/sql/old/custom/custom_2018_06_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_22_00_world.sql rename to sql/old/custom/custom_2018_06_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_22_01_world.sql b/sql/old/custom/custom_2018_06_22_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_22_01_world.sql rename to sql/old/custom/custom_2018_06_22_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_23_00_world.sql b/sql/old/custom/custom_2018_06_23_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_23_00_world.sql rename to sql/old/custom/custom_2018_06_23_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_24_00_world.sql b/sql/old/custom/custom_2018_06_24_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_24_00_world.sql rename to sql/old/custom/custom_2018_06_24_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_24_01_world.sql b/sql/old/custom/custom_2018_06_24_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_24_01_world.sql rename to sql/old/custom/custom_2018_06_24_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_24_02_world.sql b/sql/old/custom/custom_2018_06_24_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_24_02_world.sql rename to sql/old/custom/custom_2018_06_24_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_26_00_world.sql b/sql/old/custom/custom_2018_06_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_26_00_world.sql rename to sql/old/custom/custom_2018_06_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_27_00_world.sql b/sql/old/custom/custom_2018_06_27_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_27_00_world.sql rename to sql/old/custom/custom_2018_06_27_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_27_01_world.sql b/sql/old/custom/custom_2018_06_27_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_27_01_world.sql rename to sql/old/custom/custom_2018_06_27_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_27_02_world.sql b/sql/old/custom/custom_2018_06_27_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_27_02_world.sql rename to sql/old/custom/custom_2018_06_27_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_06_29_00_world.sql b/sql/old/custom/custom_2018_06_29_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_06_29_00_world.sql rename to sql/old/custom/custom_2018_06_29_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_01_00_world.sql b/sql/old/custom/custom_2018_07_01_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_01_00_world.sql rename to sql/old/custom/custom_2018_07_01_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_01_01_world.sql b/sql/old/custom/custom_2018_07_01_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_01_01_world.sql rename to sql/old/custom/custom_2018_07_01_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_02_00_world.sql b/sql/old/custom/custom_2018_07_02_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_02_00_world.sql rename to sql/old/custom/custom_2018_07_02_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_04_00_world.sql b/sql/old/custom/custom_2018_07_04_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_04_00_world.sql rename to sql/old/custom/custom_2018_07_04_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_04_01_world.sql b/sql/old/custom/custom_2018_07_04_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_04_01_world.sql rename to sql/old/custom/custom_2018_07_04_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_04_02_world.sql b/sql/old/custom/custom_2018_07_04_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_04_02_world.sql rename to sql/old/custom/custom_2018_07_04_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_05_00_world.sql b/sql/old/custom/custom_2018_07_05_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_05_00_world.sql rename to sql/old/custom/custom_2018_07_05_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_06_00_world.sql b/sql/old/custom/custom_2018_07_06_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_06_00_world.sql rename to sql/old/custom/custom_2018_07_06_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_06_01_world.sql b/sql/old/custom/custom_2018_07_06_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_06_01_world.sql rename to sql/old/custom/custom_2018_07_06_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_06_02_world.sql b/sql/old/custom/custom_2018_07_06_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_06_02_world.sql rename to sql/old/custom/custom_2018_07_06_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_07_00_world.sql b/sql/old/custom/custom_2018_07_07_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_07_00_world.sql rename to sql/old/custom/custom_2018_07_07_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_07_01_world.sql b/sql/old/custom/custom_2018_07_07_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_07_01_world.sql rename to sql/old/custom/custom_2018_07_07_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_07_02_world.sql b/sql/old/custom/custom_2018_07_07_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_07_02_world.sql rename to sql/old/custom/custom_2018_07_07_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_07_03_world.sql b/sql/old/custom/custom_2018_07_07_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_07_03_world.sql rename to sql/old/custom/custom_2018_07_07_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_00_world.sql b/sql/old/custom/custom_2018_07_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_00_world.sql rename to sql/old/custom/custom_2018_07_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_01_world.sql b/sql/old/custom/custom_2018_07_08_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_01_world.sql rename to sql/old/custom/custom_2018_07_08_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_02_world.sql b/sql/old/custom/custom_2018_07_08_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_02_world.sql rename to sql/old/custom/custom_2018_07_08_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_03_world.sql b/sql/old/custom/custom_2018_07_08_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_03_world.sql rename to sql/old/custom/custom_2018_07_08_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_04_world.sql b/sql/old/custom/custom_2018_07_08_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_04_world.sql rename to sql/old/custom/custom_2018_07_08_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_05_world.sql b/sql/old/custom/custom_2018_07_08_05_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_05_world.sql rename to sql/old/custom/custom_2018_07_08_05_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_06_world.sql b/sql/old/custom/custom_2018_07_08_06_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_06_world.sql rename to sql/old/custom/custom_2018_07_08_06_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_07_world.sql b/sql/old/custom/custom_2018_07_08_07_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_07_world.sql rename to sql/old/custom/custom_2018_07_08_07_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_08_08_world.sql b/sql/old/custom/custom_2018_07_08_08_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_08_08_world.sql rename to sql/old/custom/custom_2018_07_08_08_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_09_00_world.sql b/sql/old/custom/custom_2018_07_09_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_09_00_world.sql rename to sql/old/custom/custom_2018_07_09_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_09_01_world.sql b/sql/old/custom/custom_2018_07_09_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_09_01_world.sql rename to sql/old/custom/custom_2018_07_09_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_09_02_world.sql b/sql/old/custom/custom_2018_07_09_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_09_02_world.sql rename to sql/old/custom/custom_2018_07_09_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_09_03_world.sql b/sql/old/custom/custom_2018_07_09_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_09_03_world.sql rename to sql/old/custom/custom_2018_07_09_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_10_00_world.sql b/sql/old/custom/custom_2018_07_10_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_10_00_world.sql rename to sql/old/custom/custom_2018_07_10_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_10_01_world.sql b/sql/old/custom/custom_2018_07_10_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_10_01_world.sql rename to sql/old/custom/custom_2018_07_10_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_11_00_world.sql b/sql/old/custom/custom_2018_07_11_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_11_00_world.sql rename to sql/old/custom/custom_2018_07_11_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_13_00_world.sql b/sql/old/custom/custom_2018_07_13_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_13_00_world.sql rename to sql/old/custom/custom_2018_07_13_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_13_01_world.sql b/sql/old/custom/custom_2018_07_13_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_13_01_world.sql rename to sql/old/custom/custom_2018_07_13_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_14_00_world.sql b/sql/old/custom/custom_2018_07_14_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_14_00_world.sql rename to sql/old/custom/custom_2018_07_14_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_14_01_world.sql b/sql/old/custom/custom_2018_07_14_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_14_01_world.sql rename to sql/old/custom/custom_2018_07_14_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_14_02_world.sql b/sql/old/custom/custom_2018_07_14_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_14_02_world.sql rename to sql/old/custom/custom_2018_07_14_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_14_03_world.sql b/sql/old/custom/custom_2018_07_14_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_14_03_world.sql rename to sql/old/custom/custom_2018_07_14_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_14_04_world.sql b/sql/old/custom/custom_2018_07_14_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_14_04_world.sql rename to sql/old/custom/custom_2018_07_14_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_15_00_world.sql b/sql/old/custom/custom_2018_07_15_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_15_00_world.sql rename to sql/old/custom/custom_2018_07_15_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_15_01_world.sql b/sql/old/custom/custom_2018_07_15_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_15_01_world.sql rename to sql/old/custom/custom_2018_07_15_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_15_02_world.sql b/sql/old/custom/custom_2018_07_15_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_15_02_world.sql rename to sql/old/custom/custom_2018_07_15_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_20_00_world.sql b/sql/old/custom/custom_2018_07_20_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_20_00_world.sql rename to sql/old/custom/custom_2018_07_20_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_22_00_world.sql b/sql/old/custom/custom_2018_07_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_22_00_world.sql rename to sql/old/custom/custom_2018_07_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_22_01_world.sql b/sql/old/custom/custom_2018_07_22_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_22_01_world.sql rename to sql/old/custom/custom_2018_07_22_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_23_00_world.sql b/sql/old/custom/custom_2018_07_23_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_23_00_world.sql rename to sql/old/custom/custom_2018_07_23_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_23_01_world.sql b/sql/old/custom/custom_2018_07_23_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_23_01_world.sql rename to sql/old/custom/custom_2018_07_23_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_23_02_world.sql b/sql/old/custom/custom_2018_07_23_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_23_02_world.sql rename to sql/old/custom/custom_2018_07_23_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_24_00_world.sql b/sql/old/custom/custom_2018_07_24_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_24_00_world.sql rename to sql/old/custom/custom_2018_07_24_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_25_00_world.sql b/sql/old/custom/custom_2018_07_25_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_25_00_world.sql rename to sql/old/custom/custom_2018_07_25_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_25_01_world.sql b/sql/old/custom/custom_2018_07_25_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_25_01_world.sql rename to sql/old/custom/custom_2018_07_25_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_25_02_world.sql b/sql/old/custom/custom_2018_07_25_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_25_02_world.sql rename to sql/old/custom/custom_2018_07_25_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_26_00_world.sql b/sql/old/custom/custom_2018_07_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_26_00_world.sql rename to sql/old/custom/custom_2018_07_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_26_01_world.sql b/sql/old/custom/custom_2018_07_26_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_26_01_world.sql rename to sql/old/custom/custom_2018_07_26_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_27_00_world.sql b/sql/old/custom/custom_2018_07_27_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_27_00_world.sql rename to sql/old/custom/custom_2018_07_27_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_27_01_world.sql b/sql/old/custom/custom_2018_07_27_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_27_01_world.sql rename to sql/old/custom/custom_2018_07_27_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_27_02_world.sql b/sql/old/custom/custom_2018_07_27_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_27_02_world.sql rename to sql/old/custom/custom_2018_07_27_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_28_00_world.sql b/sql/old/custom/custom_2018_07_28_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_28_00_world.sql rename to sql/old/custom/custom_2018_07_28_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_28_01_world.sql b/sql/old/custom/custom_2018_07_28_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_28_01_world.sql rename to sql/old/custom/custom_2018_07_28_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_30_00_world.sql b/sql/old/custom/custom_2018_07_30_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_30_00_world.sql rename to sql/old/custom/custom_2018_07_30_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_30_01_world.sql b/sql/old/custom/custom_2018_07_30_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_30_01_world.sql rename to sql/old/custom/custom_2018_07_30_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_30_02_world.sql b/sql/old/custom/custom_2018_07_30_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_30_02_world.sql rename to sql/old/custom/custom_2018_07_30_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_07_31_00_world.sql b/sql/old/custom/custom_2018_07_31_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_07_31_00_world.sql rename to sql/old/custom/custom_2018_07_31_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_01_00_world.sql b/sql/old/custom/custom_2018_08_01_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_01_00_world.sql rename to sql/old/custom/custom_2018_08_01_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_05_00_world.sql b/sql/old/custom/custom_2018_08_05_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_05_00_world.sql rename to sql/old/custom/custom_2018_08_05_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_05_01_world.sql b/sql/old/custom/custom_2018_08_05_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_05_01_world.sql rename to sql/old/custom/custom_2018_08_05_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_06_00_world.sql b/sql/old/custom/custom_2018_08_06_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_06_00_world.sql rename to sql/old/custom/custom_2018_08_06_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_08_00_world.sql b/sql/old/custom/custom_2018_08_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_08_00_world.sql rename to sql/old/custom/custom_2018_08_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_10_00_world.sql b/sql/old/custom/custom_2018_08_10_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_10_00_world.sql rename to sql/old/custom/custom_2018_08_10_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_13_00_world.sql b/sql/old/custom/custom_2018_08_13_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_13_00_world.sql rename to sql/old/custom/custom_2018_08_13_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_14_00_world.sql b/sql/old/custom/custom_2018_08_14_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_14_00_world.sql rename to sql/old/custom/custom_2018_08_14_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_14_01_world.sql b/sql/old/custom/custom_2018_08_14_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_14_01_world.sql rename to sql/old/custom/custom_2018_08_14_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_14_02_world.sql b/sql/old/custom/custom_2018_08_14_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_14_02_world.sql rename to sql/old/custom/custom_2018_08_14_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_18_00_world.sql b/sql/old/custom/custom_2018_08_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_18_00_world.sql rename to sql/old/custom/custom_2018_08_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_21_00_world.sql b/sql/old/custom/custom_2018_08_21_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_21_00_world.sql rename to sql/old/custom/custom_2018_08_21_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_21_01_world.sql b/sql/old/custom/custom_2018_08_21_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_21_01_world.sql rename to sql/old/custom/custom_2018_08_21_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_22_00_world.sql b/sql/old/custom/custom_2018_08_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_22_00_world.sql rename to sql/old/custom/custom_2018_08_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_22_01_world.sql b/sql/old/custom/custom_2018_08_22_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_22_01_world.sql rename to sql/old/custom/custom_2018_08_22_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_22_02_world.sql b/sql/old/custom/custom_2018_08_22_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_22_02_world.sql rename to sql/old/custom/custom_2018_08_22_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_22_03_world.sql b/sql/old/custom/custom_2018_08_22_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_22_03_world.sql rename to sql/old/custom/custom_2018_08_22_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_22_04_world.sql b/sql/old/custom/custom_2018_08_22_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_22_04_world.sql rename to sql/old/custom/custom_2018_08_22_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_23_05_world.sql b/sql/old/custom/custom_2018_08_23_05_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_23_05_world.sql rename to sql/old/custom/custom_2018_08_23_05_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_23_06_world.sql b/sql/old/custom/custom_2018_08_23_06_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_23_06_world.sql rename to sql/old/custom/custom_2018_08_23_06_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_24_00_world.sql b/sql/old/custom/custom_2018_08_24_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_24_00_world.sql rename to sql/old/custom/custom_2018_08_24_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_24_01_world.sql b/sql/old/custom/custom_2018_08_24_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_24_01_world.sql rename to sql/old/custom/custom_2018_08_24_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_24_02_world.sql b/sql/old/custom/custom_2018_08_24_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_24_02_world.sql rename to sql/old/custom/custom_2018_08_24_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_24_03_world.sql b/sql/old/custom/custom_2018_08_24_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_24_03_world.sql rename to sql/old/custom/custom_2018_08_24_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_28_00_world.sql b/sql/old/custom/custom_2018_08_28_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_28_00_world.sql rename to sql/old/custom/custom_2018_08_28_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_28_01_world.sql b/sql/old/custom/custom_2018_08_28_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_28_01_world.sql rename to sql/old/custom/custom_2018_08_28_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_28_02_world.sql b/sql/old/custom/custom_2018_08_28_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_28_02_world.sql rename to sql/old/custom/custom_2018_08_28_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_29_00_world.sql b/sql/old/custom/custom_2018_08_29_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_29_00_world.sql rename to sql/old/custom/custom_2018_08_29_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_29_01_world.sql b/sql/old/custom/custom_2018_08_29_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_29_01_world.sql rename to sql/old/custom/custom_2018_08_29_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_30_00_world.sql b/sql/old/custom/custom_2018_08_30_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_30_00_world.sql rename to sql/old/custom/custom_2018_08_30_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_30_01_world.sql b/sql/old/custom/custom_2018_08_30_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_30_01_world.sql rename to sql/old/custom/custom_2018_08_30_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_30_02_world.sql b/sql/old/custom/custom_2018_08_30_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_30_02_world.sql rename to sql/old/custom/custom_2018_08_30_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_31_00_world.sql b/sql/old/custom/custom_2018_08_31_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_31_00_world.sql rename to sql/old/custom/custom_2018_08_31_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_08_31_01_world.sql b/sql/old/custom/custom_2018_08_31_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_08_31_01_world.sql rename to sql/old/custom/custom_2018_08_31_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_02_00_world.sql b/sql/old/custom/custom_2018_09_02_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_02_00_world.sql rename to sql/old/custom/custom_2018_09_02_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_03_00_world.sql b/sql/old/custom/custom_2018_09_03_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_03_00_world.sql rename to sql/old/custom/custom_2018_09_03_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_03_01_world.sql b/sql/old/custom/custom_2018_09_03_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_03_01_world.sql rename to sql/old/custom/custom_2018_09_03_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_08_00_world.sql b/sql/old/custom/custom_2018_09_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_08_00_world.sql rename to sql/old/custom/custom_2018_09_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_11_00_world.sql b/sql/old/custom/custom_2018_09_11_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_11_00_world.sql rename to sql/old/custom/custom_2018_09_11_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_16_00_world.sql b/sql/old/custom/custom_2018_09_16_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_16_00_world.sql rename to sql/old/custom/custom_2018_09_16_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_16_01_world.sql b/sql/old/custom/custom_2018_09_16_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_16_01_world.sql rename to sql/old/custom/custom_2018_09_16_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_23_00_world.sql b/sql/old/custom/custom_2018_09_23_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_23_00_world.sql rename to sql/old/custom/custom_2018_09_23_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_23_01_world.sql b/sql/old/custom/custom_2018_09_23_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_23_01_world.sql rename to sql/old/custom/custom_2018_09_23_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_24_00_world.sql b/sql/old/custom/custom_2018_09_24_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_24_00_world.sql rename to sql/old/custom/custom_2018_09_24_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_24_01_world.sql b/sql/old/custom/custom_2018_09_24_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_24_01_world.sql rename to sql/old/custom/custom_2018_09_24_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_24_02_world.sql b/sql/old/custom/custom_2018_09_24_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_24_02_world.sql rename to sql/old/custom/custom_2018_09_24_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_24_03_world.sql b/sql/old/custom/custom_2018_09_24_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_24_03_world.sql rename to sql/old/custom/custom_2018_09_24_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_09_25_00_world.sql b/sql/old/custom/custom_2018_09_25_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_09_25_00_world.sql rename to sql/old/custom/custom_2018_09_25_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_07_00_world.sql b/sql/old/custom/custom_2018_10_07_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_07_00_world.sql rename to sql/old/custom/custom_2018_10_07_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_08_00_world.sql b/sql/old/custom/custom_2018_10_08_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_08_00_world.sql rename to sql/old/custom/custom_2018_10_08_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_11_00_world.sql b/sql/old/custom/custom_2018_10_11_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_11_00_world.sql rename to sql/old/custom/custom_2018_10_11_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_12_00_world.sql b/sql/old/custom/custom_2018_10_12_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_12_00_world.sql rename to sql/old/custom/custom_2018_10_12_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_19_00_world.sql b/sql/old/custom/custom_2018_10_19_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_19_00_world.sql rename to sql/old/custom/custom_2018_10_19_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_22_00_world.sql b/sql/old/custom/custom_2018_10_22_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_22_00_world.sql rename to sql/old/custom/custom_2018_10_22_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_26_00_world.sql b/sql/old/custom/custom_2018_10_26_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_26_00_world.sql rename to sql/old/custom/custom_2018_10_26_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_26_01_world.sql b/sql/old/custom/custom_2018_10_26_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_26_01_world.sql rename to sql/old/custom/custom_2018_10_26_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_26_02_world.sql b/sql/old/custom/custom_2018_10_26_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_26_02_world.sql rename to sql/old/custom/custom_2018_10_26_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_26_03_world.sql b/sql/old/custom/custom_2018_10_26_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_26_03_world.sql rename to sql/old/custom/custom_2018_10_26_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_26_04_world.sql b/sql/old/custom/custom_2018_10_26_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_26_04_world.sql rename to sql/old/custom/custom_2018_10_26_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_27_00_world.sql b/sql/old/custom/custom_2018_10_27_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_27_00_world.sql rename to sql/old/custom/custom_2018_10_27_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_27_01_world.sql b/sql/old/custom/custom_2018_10_27_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_27_01_world.sql rename to sql/old/custom/custom_2018_10_27_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_27_02_world.sql b/sql/old/custom/custom_2018_10_27_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_27_02_world.sql rename to sql/old/custom/custom_2018_10_27_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_27_03_world.sql b/sql/old/custom/custom_2018_10_27_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_27_03_world.sql rename to sql/old/custom/custom_2018_10_27_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_10_28_00_world.sql b/sql/old/custom/custom_2018_10_28_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_10_28_00_world.sql rename to sql/old/custom/custom_2018_10_28_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_01_00_world.sql b/sql/old/custom/custom_2018_11_01_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_01_00_world.sql rename to sql/old/custom/custom_2018_11_01_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_01_01_world.sql b/sql/old/custom/custom_2018_11_01_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_01_01_world.sql rename to sql/old/custom/custom_2018_11_01_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_01_02_world.sql b/sql/old/custom/custom_2018_11_01_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_01_02_world.sql rename to sql/old/custom/custom_2018_11_01_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_02_00_world.sql b/sql/old/custom/custom_2018_11_02_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_02_00_world.sql rename to sql/old/custom/custom_2018_11_02_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_03_00_world.sql b/sql/old/custom/custom_2018_11_03_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_03_00_world.sql rename to sql/old/custom/custom_2018_11_03_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_07_00_world.sql b/sql/old/custom/custom_2018_11_07_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_07_00_world.sql rename to sql/old/custom/custom_2018_11_07_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_07_01_world.sql b/sql/old/custom/custom_2018_11_07_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_07_01_world.sql rename to sql/old/custom/custom_2018_11_07_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_12_00_world.sql b/sql/old/custom/custom_2018_11_12_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_12_00_world.sql rename to sql/old/custom/custom_2018_11_12_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_13_00_world.sql b/sql/old/custom/custom_2018_11_13_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_13_00_world.sql rename to sql/old/custom/custom_2018_11_13_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_00_world.sql b/sql/old/custom/custom_2018_11_14_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_00_world.sql rename to sql/old/custom/custom_2018_11_14_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_01_world.sql b/sql/old/custom/custom_2018_11_14_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_01_world.sql rename to sql/old/custom/custom_2018_11_14_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_02_world.sql b/sql/old/custom/custom_2018_11_14_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_02_world.sql rename to sql/old/custom/custom_2018_11_14_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_03_world.sql b/sql/old/custom/custom_2018_11_14_03_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_03_world.sql rename to sql/old/custom/custom_2018_11_14_03_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_04_world.sql b/sql/old/custom/custom_2018_11_14_04_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_04_world.sql rename to sql/old/custom/custom_2018_11_14_04_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_05_world.sql b/sql/old/custom/custom_2018_11_14_05_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_05_world.sql rename to sql/old/custom/custom_2018_11_14_05_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_06_world.sql b/sql/old/custom/custom_2018_11_14_06_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_06_world.sql rename to sql/old/custom/custom_2018_11_14_06_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_07_world.sql b/sql/old/custom/custom_2018_11_14_07_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_07_world.sql rename to sql/old/custom/custom_2018_11_14_07_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_14_08_world.sql b/sql/old/custom/custom_2018_11_14_08_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_14_08_world.sql rename to sql/old/custom/custom_2018_11_14_08_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_16_00_world.sql b/sql/old/custom/custom_2018_11_16_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_16_00_world.sql rename to sql/old/custom/custom_2018_11_16_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_18_00_world.sql b/sql/old/custom/custom_2018_11_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_18_00_world.sql rename to sql/old/custom/custom_2018_11_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_20_00_world.sql b/sql/old/custom/custom_2018_11_20_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_20_00_world.sql rename to sql/old/custom/custom_2018_11_20_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_21_00_world.sql b/sql/old/custom/custom_2018_11_21_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_21_00_world.sql rename to sql/old/custom/custom_2018_11_21_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_21_01_world.sql b/sql/old/custom/custom_2018_11_21_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_21_01_world.sql rename to sql/old/custom/custom_2018_11_21_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_21_02_world.sql b/sql/old/custom/custom_2018_11_21_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_21_02_world.sql rename to sql/old/custom/custom_2018_11_21_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_23_00_world.sql b/sql/old/custom/custom_2018_11_23_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_23_00_world.sql rename to sql/old/custom/custom_2018_11_23_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_11_23_01_world.sql b/sql/old/custom/custom_2018_11_23_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_11_23_01_world.sql rename to sql/old/custom/custom_2018_11_23_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_04_00_world.sql b/sql/old/custom/custom_2018_12_04_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_04_00_world.sql rename to sql/old/custom/custom_2018_12_04_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_14_00_world.sql b/sql/old/custom/custom_2018_12_14_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_14_00_world.sql rename to sql/old/custom/custom_2018_12_14_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_14_01_world.sql b/sql/old/custom/custom_2018_12_14_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_14_01_world.sql rename to sql/old/custom/custom_2018_12_14_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_15_00_world.sql b/sql/old/custom/custom_2018_12_15_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_15_00_world.sql rename to sql/old/custom/custom_2018_12_15_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_15_01_world.sql b/sql/old/custom/custom_2018_12_15_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_15_01_world.sql rename to sql/old/custom/custom_2018_12_15_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_16_00_world.sql b/sql/old/custom/custom_2018_12_16_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_16_00_world.sql rename to sql/old/custom/custom_2018_12_16_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_17_00_world.sql b/sql/old/custom/custom_2018_12_17_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_17_00_world.sql rename to sql/old/custom/custom_2018_12_17_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_18_00_world.sql b/sql/old/custom/custom_2018_12_18_00_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_18_00_world.sql rename to sql/old/custom/custom_2018_12_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_18_01_world.sql b/sql/old/custom/custom_2018_12_18_01_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_18_01_world.sql rename to sql/old/custom/custom_2018_12_18_01_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_18_02_world.sql b/sql/old/custom/custom_2018_12_18_02_world.sql similarity index 100% rename from sql/updates/world/custom/custom_2018_12_18_02_world.sql rename to sql/old/custom/custom_2018_12_18_02_world.sql diff --git a/sql/updates/world/custom/custom_2018_12_21_00_world_updatepack.sql b/sql/updates/world/custom/custom_2018_12_21_00_world_updatepack.sql new file mode 100644 index 0000000000..2c49cd82fd --- /dev/null +++ b/sql/updates/world/custom/custom_2018_12_21_00_world_updatepack.sql @@ -0,0 +1,15639 @@ +-- Lockmaw +UPDATE `creature_template` SET `difficulty_entry_1`= 49043, `mechanic_immune_mask`= 667893759, `scriptname`= 'boss_lockmaw' WHERE `entry`= 43614; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `exp`= 3, `mechanic_immune_mask`= 667893759 WHERE `entry`= 49043; +-- Dust Flail Front +UPDATE `creature_template` SET `minlevel`= 80, `maxlevel`= 80, `faction`= 14, `unit_flags`= 33554944, `flags_extra`= 128 WHERE `entry`= 43655; +-- Dust Flail Back +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 14, `unit_flags`= 33554944, `flags_extra`= 128 WHERE `entry`= 43650; +-- Frenzied Crocolisk +UPDATE `creature_template` SET `minlevel`= 84, `maxlevel`= 84, `difficulty_entry_1`= 49311, `flags_extra`= 256, `scriptname`= 'npc_lockmaw_frenzied_crocolisk' WHERE `entry`= 43658; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `flags_extra`= 256 WHERE `entry`= 49311; +-- Augh 1 and 2 +UPDATE `creature_template` SET `unit_flags`= 32832, `mechanic_immune_mask`= 667893759, `scriptname`= 'npc_lockmaw_augh' WHERE `entry` IN (45379, 45378); +-- Augh +UPDATE `creature_template` SET `mechanic_immune_mask`= 667893759, `scriptname`= 'boss_augh' WHERE `entry`= 49045; +-- Add Stalker +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 131 WHERE `entry`= 45124; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_lockmaw_paralytic_blow_dart', +'spell_lockmaw_scent_of_blood', +'spell_lockmaw_random_aggro_taunt'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(84799, 'spell_lockmaw_paralytic_blow_dart'), +(89989, 'spell_lockmaw_paralytic_blow_dart'), +(81690, 'spell_lockmaw_scent_of_blood'), +(89998, 'spell_lockmaw_scent_of_blood'), +(50230, 'spell_lockmaw_random_aggro_taunt'); + +DELETE FROM `creature_template_addon` WHERE `entry`= 43650; +INSERT INTO `creature_template_addon` (`entry`, `Auras`) VALUES +(43650, '81646'); + +DELETE FROM `creature_text` WHERE `CreatureID`= 49045; +INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES +(49045, 0, 0, 'Augh appears from the distance!', 41, 0, 0, 0, 0, 0, 50638, 'Augh - Intro 1'), +(49045, 1, 0, 'GAAAH! How you kill croc?!', 12, 0, 0, 53, 0, 0, 49169, 'Augh - Intro 2'), +(49045, 2, 0, 'Augh smart! Augh already steal treasure while you no looking!', 12, 0, 0, 1, 0, 0, 49170, 'Augh - Intro 3'), +(49045, 3, 0, 'Augh da boss! Oh yeah!', 12, 0, 0, 0, 0, 0, 49171, 'Augh Taunt'), +(49045, 4, 0, 'Augh steal your treasure. Uhn uhn uhnnn!', 12, 0, 0, 0, 0, 0, 49173, 'Augh Taunt'), +(49045, 5, 0, 'Who bad?! Augh bad!! Ugn!', 12, 0, 0, 0, 0, 0, 49172, 'Augh Taunt'); + +-- Template Updates +UPDATE `creature_template` SET `scriptname`= 'boss_baron_ashbury', `flags_extra`= 1 WHERE `entry`= 46962; +UPDATE `creature_template` SET `AIName`= '', `flags_extra`= 1, `scriptname`= 'boss_lord_godfrey' WHERE `entry`= 46964; +UPDATE `creature_template` SET `AIName`= '', `scriptname`= 'npc_sfk_bloodthirsty_ghoul' WHERE `entry`= 50561; +UPDATE `creature_template` SET `flags_extra`= 130, `InhabitType`= 4 WHERE `entry`= 52065; +UPDATE `creature_template` SET `scriptname`= 'boss_baron_silverlaine', `flags_extra`= 1 WHERE `entry`= 3887; +UPDATE `creature_template` SET `flags_extra`= 130 WHERE `entry` IN (51047, 51080, 51085, 50934); +UPDATE `creature_template` SET `scriptname`= 'npc_wolf_master_nandos' WHERE `entry`= 50851; +UPDATE `creature_template` SET `scriptname`= 'npc_razorclaw_the_butcher' WHERE `entry`= 50869; +UPDATE `creature_template` SET `scriptname`= 'npc_odo_the_blindwatcher' WHERE `entry`= 50857; +UPDATE `creature_template` SET `scriptname`= 'npc_rethilgore' WHERE `entry`= 50834; +UPDATE `creature_template` SET `scriptname`= 'boss_commander_springvale', `AIName`= '', `flags_extra`= 1 WHERE `entry`= 4278; +UPDATE `creature_template` SET `flags_extra`= 130, `unit_flags`= 33554688 WHERE `entry`= 50547; +UPDATE `creature_template` SET `faction`= 14, `minlevel`= 87, `maxlevel`= 87, `flags_extra`= 130, `unit_flags`= 33554432 WHERE `entry` IN (50503, 51258); +UPDATE `creature_template` SET `AIName`= '', `scriptname`= 'boss_lord_walden', `flags_extra`= 1 WHERE `entry`= 46963; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 14, `flags_extra`= 130, `modelid1`= 1126, `modelid2`= 23767, `InhabitType`= 4, `unit_flags`= unit_flags | 256 | 512 WHERE `entry`= 50522; +UPDATE `creature_template` SET `scriptname`= 'npc_wailing_guardsman' WHERE `entry`= 50613; +UPDATE `creature_template` SET `scriptname`= 'npc_tormented_officer' WHERE `entry`= 50615; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 14, `unit_flags`= 33554432, `flags_extra`= 130 WHERE `entry`= 50503; +UPDATE `creature_template` SET `flags_extra`= 130 WHERE `entry` IN (50611, 50604, 51085, 51080, 50934, 51047); +UPDATE `creature_template` SET `unit_flags`= 768, `unit_flags2`= 33556480 WHERE `entry`= 47031; + +-- Creature Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (46964, 46962, 3887, 4278, 46963, 47293, 47006, 47027, 48124, 47862, 47294); +INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +(46964, 0, 0, 'Ivar''s pack failed horribly, so now he sends mercenaries. No matter, your journey ends in agony.', 14, 0, 100, 0, 0, 0, 'Lord Godfrey - Aggro Alliance'), +(46964, 1, 0, 'That bitch Sylvanas sent you too, did she? No matter, your journey ends in agony.', 14, 0, 100, 0, 0, 0, 'Lord Godfrey - Aggro Horde'), +(46964, 2, 0, 'Murder never gets old.', 14, 0, 100, 0, 0, 0, 'Lord Godfrey - Aggro Horde'), +(46964, 2, 1, 'This is the quality of assassin sent to kill me? Laughable.', 14, 0, 100, 0, 0, 0, 'Lord Godfrey - Aggro Horde'), +(46964, 3, 0, '|TInterface\\Icons\\INV_FIREARM_2H_RIFLE_CATACLYSM_B_01.BLP:20|t%s begins to cast |cFFFF0000|Hspell:93520|h[Pistol Barrage]|h|r!', 41, 0, 100, 0, 0, 0, 'Lord Godfrey Pistol Barrage'), +(46964, 4, 0, 'I thank you for the clean death. I would not have done the same...', 14, 0, 100, 0, 0, 0, 'Lord Godfrey'), +(46962, 1, 0, 'Tally ho! The hunt begins!', 14, 0, 100, 0, 0, 0, 'Baron Ashbury'), +(46962, 2, 0, 'This is just too easy...', 14, 0, 100, 0, 0, 0, 'Baron Ashbury'), +(46962, 3, 0, '|TInterface\\Icons\\spell_holy_healingaura.blp:20|tBaron Ashbury begins to channel |cFFFF0000|Hspell:93468|h''Stay of Execution''|h|r !', 41, 0, 100, 0, 0, 0, 'Baron Ashbury'), +(46962, 4, 0, 'HA! Let''s at least keep it interesting.', 14, 0, 100, 0, 0, 0, 'Baron Ashbury'), +(46962, 5, 0, 'I grow tired of this hunt... Time to die!', 14, 0, 100, 0, 0, 0, 'Baron Ashbury'), +(46962, 6, 0, 'Killed by lowly commoners, how droll...', 14, 0, 100, 0, 0, 0, 'Baron Ashbury'), +(3887, 0, 0, 'Leave this accursed place at once!', 14, 0, 100, 0, 0, 0, 'Baron Silverlaine - Aggro'), +(3887, 1, 0, 'This death is only a temporary respite from my curse.', 14, 0, 100, 0, 0, 0, 'Baron Silverlaine - Death'), +(3887, 2, 0, 'I hope your spirit finds solace.', 14, 0, 100, 0, 0, 0, 'Baron Silverlaine - Slay 1'), +(3887, 2, 1, 'May you rest in peace.', 14, 0, 100, 0, 0, 0, 'Baron Silverlaine - Slay 2'), +(4278, 0, 0, 'Intruders in the keep! To arms!', 14, 0, 100, 0, 0, 0, 'Commander Springvale - Aggro'), +(4278, 1, 0, 'Repel the intruders!', 14, 0, 100, 0, 0, 0, 'Commander Springvale - Summon Adds'), +(4278, 2, 0, 'The attackers weaken!', 14, 0, 100, 0, 0, 0, 'Commander Springvale - Slay 1'), +(4278, 2, 1, 'One step closer to victory!', 14, 0, 100, 0, 0, 0, 'Commander Springvale - Slay 2'), +(4278, 3, 0, 'Our vigilance is eternal...', 14, 0, 100, 0, 0, 0, 'Commander Springvale - Death'), +(46963, 0, 0, 'Even here I find myself beset by fools!', 14, 0, 100, 0, 0, 0, 'Lord Walden - Aggro'), +(46963, 1, 0, 'This childish effort ends now!', 14, 0, 100, 0, 0, 0, 'Lord Walden - Slay 1'), +(46963, 1, 1, 'You shall annoy me no longer!', 14, 0, 100, 0, 0, 0, 'Lord Walden - Slay 2'), +(46963, 2, 0, 'My new life was just beginning...', 14, 0, 100, 0, 0, 0, 'Lord Walden - Death'), +-- Belmont +(47293, 0, 0, 'You''re more skilled in combat than I thought.', 12, 0, 100, 1, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 1, 0, 'Very well then. Let''s get the courtyard door open so we can continue our mission!', 12, 0, 100, 1, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 2, 0, 'This lock should be easy enough to pick.', 12, 0, 100, 1, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 3, 0, 'There we go!', 12, 0, 100, 0, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 4, 0, 'Excellent. Now, to plague this area and move on to-', 12, 0, 100, 396, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 5, 0, 'Cromush! What''re you doing here? This is a covert operation!', 12, 0, 100, 5, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 6, 0, 'My apologies, Cromush, but I assure you there is no problem. We are using an extremely dilute plague.', 12, 0, 100, 396, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 7, 0, 'In fact, it really only serves to scare off the worgen from trying to follow us in here. It''s completely harmless.', 12, 0, 100, 396, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 8, 0, 'The time has come, soldiers! Godfrey lies just ahead! Have no mercy! We fight-', 12, 0, 100, 396, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 9, 0, 'You''d better hurry up if you want in on all the fun.', 12, 0, 100, 153, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 10, 0, 'Why is the door shut? What in Sylvanas'' name is going on here...', 12, 0, 100, 396, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 11, 0, 'Cromush! What happened?', 12, 0, 100, 396, 0, 0, 'Deathstalker Commander Belmont to Player'), +(47293, 12, 0, 'You''ll pay for this Godfrey!', 12, 0, 100, 397, 0, 0, 'Deathstalker Commander Belmont to Player'), +-- Cromush +(47294, 0, 0, 'Unless I''m mistaken, the Warchief explicity forbids using the full plague, no matter the circumstance.', 12, 0, 100, 396, 0, 0, 'High Warlord Cromush to Player'), +(47294, 1, 0, 'Then I''m sure you won''t mind if I accompany you on your mission.', 12, 0, 100, 396, 0, 0, 'High Warlord Cromush to Player'), +(47294, 2, 0, 'FOR THE HORDE!!!', 14, 0, 100, 71, 0, 0, 'High Warlord Cromush to Player'), +(47294, 3, 0, 'The coward...killed them...poisoned...me...', 12, 0, 100, 0, 0, 0, 'High Warlord Cromush to Player'), +-- Ivar +(47006, 0, 0, 'Pathetic.', 12, 0, 100, 1, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 1, 0, 'Keep moving forward. My men will dispose of this sorry bag of bones.', 12, 0, 100, 1, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 2, 0, 'Control yourselves! We''re here for Godfrey''s head above all else. Relish in the spoils of war later!', 12, 0, 100, 5, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 3, 0, 'We have to push forward if we''re to put an end to him. Follow me, I''ll open the courtyard so that you can spearhead our assault.', 12, 0, 100, 0, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 4, 0, 'What a pathetic lock! Godfrey is going to have to try harder than this if he wants to defeat us.', 12, 0, 100, 0, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 5, 0, 'The Bloodfang Berserkers begin to salivate heavily.', 16, 0, 100, 0, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 6, 0, 'The Bloodfang come for you, worgen hunters!', 14, 0, 100, 15, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 7, 0, 'I''ve picked up Walden''s foul scent. Fill the air with his blood!', 12, 0, 100, 1, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 8, 0, 'Your time has finally come, Godfrey!', 14, 0, 100, 53, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 9, 0, 'Attack, my brothers! Make him feel the fury of the pack!', 14, 0, 100, 25, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 10, 0, 'You''d best hurry if you want any of the spoils.', 12, 0, 100, 0, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 11, 0, 'I don''t know why the door is closed, heroes. My pack should have already taken care of Godfrey by now...', 12, 0, 100, 1, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 12, 0, 'We will stand idle no longer! The time to act is now!', 12, 0, 100, 1, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 13, 0, 'I''ll make sure nothing interferes. Go now heroes! Kill Godfrey!', 12, 0, 100, 0, 0, 0, 'Packleader Ivar Bloodfang to Player'), +(47006, 14, 0, 'Crowley is a disgrace to our kind for giving in to the Forsaken. My pack will show them the true face of the worgen and the relentless fury that comes with our presence!', 12, 0, 100, 5, 0, 0, 'Packleader Ivar Bloodfang to Player'), +-- Bloodfang Berserker +(47027, 0, 0, 'Bones?', 12, 0, 100, 1, 0, 0, 'Bloodfang Berserker'), +-- Rabid Mastiff +(48124, 0, 0, 'The Rabid Mastiff slobbers all over the floor...', 16, 0, 100, 0, 0, 0, 'Rabid Mastiff'), +(48124, 0, 1, 'The dog stares blankly at the wall...', 16, 0, 100, 0, 0, 0, 'Rabid Mastiff'), +(48124, 0, 2, 'A Rabid Mastiff growls...', 16, 0, 100, 0, 0, 0, 'Rabid Mastiff'), +-- Hentry Maleb +(47862, 0, 0, 'Better to rot in this cell than live as a dishonorable traitor.', 12, 0, 100, 1, 0, 0, 'Magistrate Henry Maleb'); + +-- Creature Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (46964, 49712, 50604, 47030, 93424, 50503,50851, 50923, 50834, 50857, 50869, 50547, 47006, 47031, 47293, 47294); +INSERT INTO `creature_template_addon` (`entry`, `Auras`) VALUES +(46964, '93597'), +(49712, '93597'), +(50503, '93690 67803'), +(50851 , '93853'), +(50923 , '93853'), +(50857 , '93853'), +(50869 , '93853'), +(50834 , '50834'); + +-- Spell Script Names +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_sfk_summon_bloodthirsty_ghouls', +'spell_sfk_pistol_barrage', +'spell_sfk_pain_and_suffering', +'spell_sfk_summon_worgen_spirit', +'spell_sfk_forsaken_ability', +'spell_sfk_asphyxiate', +'spell_sfk_unholy_power', +'spell_sfk_unholy_empowerment', +'spell_sfk_toxic_coagulant', +'spell_sfk_pistol_barrage_summon', +'spell_sfk_conjure_poisonous_mixture', +'spell_sfk_cursed_bullets'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(93707, 'spell_sfk_summon_bloodthirsty_ghouls'), +(93520, 'spell_sfk_pistol_barrage'), +(93581, 'spell_sfk_pain_and_suffering'), +(93712, 'spell_sfk_pain_and_suffering'), +(93857, 'spell_sfk_summon_worgen_spirit'), +(7054, 'spell_sfk_forsaken_ability'), +(93423, 'spell_sfk_asphyxiate'), +(93710, 'spell_sfk_asphyxiate'), +(93686, 'spell_sfk_unholy_power'), +(93735, 'spell_sfk_unholy_power'), +(93844, 'spell_sfk_unholy_empowerment'), +(93617, 'spell_sfk_toxic_coagulant'), +(96344, 'spell_sfk_pistol_barrage_summon'), +(93697, 'spell_sfk_conjure_poisonous_mixture'), +(93704, 'spell_sfk_conjure_poisonous_mixture'), +(93629, 'spell_sfk_cursed_bullets'), +(93761, 'spell_sfk_cursed_bullets'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (93564, 93784, 93766, 93599, 93594); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 2, 93564, 0, 0, 31, 0, 3, 50561, 0, 0, 0, '', 'Pistol Barrage - Target Bloodthirsty Ghoul'), +(13, 2, 93784, 0, 0, 31, 0, 3, 50561, 0, 0, 0, '', 'Pistol Barrage HC - Target Bloodthirsty Ghoul'), +(13, 1, 93766, 0, 0, 31, 0, 3, 50604, 0, 0, 0, '', 'Dark Archangel - Wings Aura'), +(13, 1, 93599, 0, 0, 31, 0, 3, 46963, 0, 0, 0, '', 'Toxic Coagulant - Target Lord Walden'), +(13, 1, 93594, 0, 0, 31, 0, 3, 46963, 0, 0, 0, '', 'Toxic Cataclyst - Target Lord Walden'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`= 93757; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +('93757', '93766', '0', 'Baron Ashbury Wings - Apply Aura'), +('93757', '93812', '0', 'Baron Ashbury - Archangel Damage Aura'); + +DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (16081, 16085, 16544, 16086, 16544); +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(16081, 11, 0, 0, 'achievement_pardon_denied'), +(16085, 11, 0, 0, 'achievement_to_the_ground'), +(16086, 11, 0, 0, 'achievement_bullet_time'); + +DELETE FROM `spell_dbc` WHERE `Id`= 93716; +INSERT INTO `spell_dbc` (`Id`, `CastingTimeIndex`, `DurationIndex`, `Comment`) VALUES +(93716, 0, 27, 'Shield of the Perfidious'); + +DELETE FROM `spelleffect_dbc` WHERE `Id`= 155915; +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(155915, 28, 50547, 64, 7,7, 18, 18, 93716, 0, ''); + +-- Boss Loot +-- Baron Ashbury +UPDATE `creature_template` SET `difficulty_entry_1`= 49708, `lootid`= 46962 WHERE `entry` = 46962; +DELETE FROM `creature_loot_template` WHERE `entry` IN (46962, 49708); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(46962, 6314, 0, 1, 1, 1, 1), +(46962, 6324, 0, 1, 1, 1, 1), +(46962, 6323, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49708 WHERE `entry`= 49708; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49708, 63433, 0, 1, 1, 1, 1), +(49708, 63437, 0, 1, 1, 1, 1), +(49708, 63435, 0, 1, 1, 1, 1), +(49708, 63436, 0, 1, 1, 1, 1), +(49708, 63434, 0, 1, 1, 1, 1); + +-- Baron Silverlaine +UPDATE creature_template SET `difficulty_entry_1`= 49709, `lootid`= 3887 WHERE `entry`= 3887; +DELETE FROM `creature_loot_template` WHERE `entry` IN (3887, 49709); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(3887, 6321, 0, 1, 1, 1, 1), +(3887, 6323, 0, 1, 1, 1, 1), +(3887, 60885, -100, 1, 2, 1, 1), +(3887, 60878, -100, 1, 3, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49709 WHERE `entry`= 49709; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49709, 63440, 0, 1, 1, 1, 1), +(49709, 63439, 0, 1, 1, 1, 1), +(49709, 63444, 0, 1, 1, 1, 1), +(49709, 63438, 0, 1, 1, 1, 1), +(49709, 63441, 0, 1, 1, 1, 1); + +-- Commander Springvale +UPDATE creature_template SET `difficulty_entry_1`= 49710, `lootid`= 4278 WHERE `entry`= 4278; +DELETE FROM `creature_loot_template` WHERE `entry` IN (4278, 49710); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(4278, 3191, 0, 1, 1, 1, 1), +(4278, 6320, 0, 1, 1, 1, 1), +(4278, 60879, -100, 1, 2, 1, 1), +(4278, 60880, -100, 1, 3, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49710 WHERE `entry`= 49710; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49710, 63448, 0, 1, 1, 1, 1), +(49710, 63449, 0, 1, 1, 1, 1), +(49710, 63447, 0, 1, 1, 1, 1), +(49710, 63446, 0, 1, 1, 1, 1), +(49710, 63445, 0, 1, 1, 1, 1); + +-- Lord Walden +UPDATE creature_template SET `difficulty_entry_1`= 49711, `lootid`= 46962 WHERE `entry`= 46962; +DELETE FROM `creature_loot_template` WHERE `entry` IN (46962, 49711); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(46962, 3230, 0, 1, 1, 1, 1), +(46962, 6642, 0, 1, 1, 1, 1), +(46962, 6341, 0, 1, 1, 1, 1), +(46962, 1292, 0, 1, 1, 1, 1), +(46962, 60876, -100, 1, 2, 1, 1), +(46962, 60881, -100, 1, 3, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49711 WHERE `entry`= 49711; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49711, 63455, 0, 1, 1, 1, 1), +(49711, 63454, 0, 1, 1, 1, 1), +(49711, 63452, 0, 1, 1, 1, 1), +(49711, 63450, 0, 1, 1, 1, 1), +(49711, 63453, 0, 1, 1, 1, 1); + +-- Lord Godfrey +UPDATE `creature_template` SET `difficulty_entry_1`= 49712, `lootid`= 46964 WHERE `entry`= 46964; +UPDATE `creature_template` SET `lootid`= 49712 WHERE `entry`= 49712; +DELETE FROM `creature_loot_template` WHERE `Entry` IN (46964, 49712); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (469640, 497120, 497121); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(46964, 469640, 100, 1, 469640, 2), +(49712, 497120, 100, 1, 497120, 2), +(49712, 497121, 100, 1, 497121, 1); -- Chaos Orb + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(469640, 3748, 0, 1, 1, 1, 1), +(469640, 6220, 0, 1, 1, 1, 1), +(469640, 6641, 0, 1, 1, 1, 1), +(469640, 6318, 0, 1, 1, 1, 1), +(469640, 60877, -100, 1, 2, 1, 1), +(469640, 60882, -100, 1, 3, 1, 1), +(497120, 63465, 0, 1, 1, 1, 1), +(497120, 63463, 0, 1, 1, 1, 1), +(497120, 63459, 0, 1, 1, 1, 1), +(497120, 63462, 0, 1, 1, 1, 1), +(497120, 63458, 0, 1, 1, 1, 1), +(497120, 63457, 0, 1, 1, 1, 1), +(497120, 63464, 0, 1, 1, 1, 1), +(497120, 63460, 0, 1, 1, 1, 1), +(497120, 63456, 0, 1, 1, 1, 1), +(497120, 63461, 0, 1, 1, 1, 1), +(497121, 52078, 100, 1, 1, 1, 1); +-- Siamat +UPDATE `creature_template` SET `difficulty_entry_1`= 51088, `minlevel`= 86, `maxlevel`= 86, `mechanic_immune_mask`= 667893759, `flags_extra`= 536870912, `scriptname`= 'boss_siamat' WHERE `entry`= 44819; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `exp`= 3, `mechanic_immune_mask`= 667893759, `flags_extra`= 536870912 WHERE `entry`= 51088; +-- Servant of Siamat +UPDATE `creature_template` SET `minlevel`= 84, `maxlevel`= 84, `scale`= 1, `mechanic_immune_mask`= 667893759, `flags_extra`= 536870912, `scriptname`= 'npc_siamat_servant_of_siamat' WHERE `entry` IN (45259, 45268, 45269); +UPDATE `creature_template` SET `difficulty_entry_1`= 49256 WHERE `entry`= 45259; +UPDATE `creature_template` SET `difficulty_entry_1`= 49257 WHERE `entry`= 45268; +UPDATE `creature_template` SET `difficulty_entry_1`= 49258 WHERE `entry`= 45269; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `scale`= 1, `exp`= 3, `faction`= 16, `mechanic_immune_mask`= 667893759, `movementId`= 130, `flags_extra`= 536870912 WHERE `entry` IN (49256, 49257, 49258); +-- Cloud Burst +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 14, `unit_flags`= 33554944, `flags_extra`= 131 WHERE `entry`= 44541; +-- Minion of Siamat +UPDATE `creature_template` SET `difficulty_entry_1`= 49260, `minlevel`= 82, `maxlevel`= 82, `flags_extra`= 536870912, `scriptname`= 'npc_siamat_minion_of_siamat' WHERE `entry`= 44704; +UPDATE `creature_template` SET `minlevel`= 83, `maxlevel`= 83, `exp`= 3, `faction`= 16 , `movementId`= 130, `flags_extra`= 536870912 WHERE `entry`= 49260; +-- Minion of Siamat (Tempest Storm trigger) +UPDATE `creature_template` SET `minlevel`= 83, `maxlevel`= 83, `faction`= 16 , `unit_flags`= 33554496, `flags_extra`= 128 | 536870912 WHERE `entry`= 44713; + +DELETE FROM `spell_dbc` WHERE `Id`= 59632; +INSERT INTO `spell_dbc` (`Id`, `DurationIndex`, `Comment`) VALUES +(59632, 21, "Serverside Spell: mod scale 0.1"); + +DELETE FROM `spelleffect_dbc` WHERE `Id`= 160080; +INSERT INTO `spelleffect_dbc` (`Id`, `EffectSpellId`, `Effect`, `EffectApplyAuraName`, `EffectBasePoints`, `EffectIndex`, `Comment`) VALUES +(160080, 59632, 6, 61, -90, 0, ''); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (45259, 45268, 45269, 49256, 49257, 49258, 44541, 44704, 49260, 44713); +INSERT INTO `creature_template_addon` (`entry`, `Auras`) VALUES +(45259, '59632'), +(45268, '59632'), +(45269, '59632'), +(49256, '59632'), +(49257, '59632'), +(49258, '59632'), +(44541, '83048'), +(44704, '59632'), +(49260, '59632'), +(44713, '84512'); + +DELETE FROM `creature_text` WHERE `CreatureID`= 44819; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(44819, 0, 0, 'I. AM. UNLEASHED!', 14, 0, 100, 0, 0, 20231, 45481, 'Siamat - Intro'), +(44819, 1, 0, 'Winds of the south, rise and come to your master''s aid!', 14, 0, 100, 0, 0, 20227, 45483, 'Siamat - Aggro 1'), +(44819, 1, 1, 'Your city will be buried, your lives forfeit to the elements!', 14, 0, 100, 0, 0, 20230, 45486, 'Siamat - Aggro 2'), +(44819, 2, 0, 'Cower before the tempest storm!', 14, 0, 100, 0, 0, 20228, 45487, 'Siamat - Wailing Winds 1'), +(44819, 2, 1, 'Suffer the storm!', 14, 0, 100, 0, 0, 20229, 45485, 'Siamat - Wailing Winds 2'), +(44819, 3, 0, 'Nothing more than dust in the wind.', 14, 0, 100, 0, 0, 20232, 45482, 'Siamat - Slay'), +(44819, 4, 0, 'The sky... Beckons...', 14, 0, 100, 0, 0, 20226, 45484, 'Siamat - Death'); +UPDATE `creature_text` SET `TextRange`= 2 WHERE `CreatureID`= 44819 AND `GroupID`= 0; + +-- Spell Script Names +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_siamat_thunder_crash', +'spell_siamat_wailing_winds', +'spell_siamat_cloud_burst', +'spell_siamat_wailing_winds_player', +'spell_siamat_wailing_winds_knockback', +'spell_siamat_gathered_storms', +'spell_siamat_absorb_storms'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(84521, 'spell_siamat_thunder_crash'), +(83066, 'spell_siamat_wailing_winds'), +(83790, 'spell_siamat_cloud_burst'), +(83089, 'spell_siamat_wailing_winds_player'), +(83566, 'spell_siamat_wailing_winds_knockback'), +(84987, 'spell_siamat_gathered_storms'), +(83151, 'spell_siamat_absorb_storms'); + +DELETE FROM `conditions` WHERE `SourceEntry`= 83151 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 83151, 0, 0, 31, 0, 3, 44713, 0, 0, 0, '', 'Absorb Storms - Target Minion of Siamat'); + +-- Creature Cloud Burst 44541 SAI +SET @ENTRY := 44541; +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, 1, 60, 0, 100, 1, 3000, 3000, 0, 0, 11, 83051, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 3000 and 3000 ms) - Self: Cast spell 83051 on Self // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 28, 83048, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Remove aura due to spell 83048 // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Despawn in 5000 ms // "); + +-- Creature Minion of Siamat 44713 SAI +SET @ENTRY := 44713; +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, 1, 60, 0, 100, 1, 1000, 1000, 0, 0, 11, 83406, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 1000 and 1000 ms) - Self: Cast spell 83406 on Self // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 89, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Move in radius 10 yards // "); +-- Make Cataclysm lfg quests repeatable. Their currency weekly cap is handled by the core +UPDATE `quest_template_addon` SET `SpecialFlags`= 8 | 1 WHERE `ID` IN (29185, 28905, 28907); + +-- Add loot to Satches of Exotic Mysteries +DELETE FROM `item_loot_template` WHERE `entry`= 69903; +INSERT INTO `item_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `MinCount`, `MaxCount`) VALUES +(69903, 0, 69903, 100, 2, 2); +DELETE FROM `reference_loot_template` WHERE `entry`= 69903; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `Lootmode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(69903, 58085, 10, 1, 1, 1, 1), +(69903, 58090, 7, 1, 1, 1, 3), +(69903, 57191, 7, 1, 1, 1, 3), +(69903, 58087, 6, 1, 1, 1, 1), +(69903, 52195, 5, 1, 1, 1, 1), +(69903, 52194, 5, 1, 1, 1, 1), +(69903, 52192, 5, 1, 1, 1, 1), +(69903, 52193, 5, 1, 1, 1, 1), +(69903, 58086, 5, 1, 1, 1, 1), +(69903, 52190, 5, 1, 1, 1, 1), +(69903, 58145, 5, 1, 1, 1, 3), +(69903, 52191, 4, 1, 1, 1, 1), +(69903, 58088, 3, 1, 1, 1, 1), +(69903, 57192, 3, 1, 1, 1, 3), +(69903, 62251, 3, 1, 1, 1, 3), +(69903, 57193, 1.7, 1, 1, 1, 3), +(69903, 58091, 1.6, 1, 1, 1, 3), +(69903, 58146, 1.5, 1, 1, 1, 3), +(69903, 57194, 1.5, 1, 1, 1, 3), +(69903, 67438, 1.4, 1, 1, 1, 1), +(69903, 54436, 0.6, 1, 1, 1, 1), +(69903, 8490, 0.6, 1, 1, 1, 1), +(69903, 48120, 0.6, 1, 1, 1, 1), +(69903, 8495, 0.6, 1, 1, 1, 1), +(69903, 46398, 0.5, 1, 1, 1, 1), +(69903, 8496, 0.5, 1, 1, 1, 1), +(69903, 69991, 0.5, 1, 1, 1, 1), +(69903, 43698, 0.4, 1, 1, 1, 1), +(69903, 44980, 0.4, 1, 1, 1, 1), +(69903, 44721, 0.4, 1, 1, 1, 1), +(69903, 69992, 0.4, 1, 1, 1, 1), +(69903, 44965, 0.4, 1, 1, 1, 1), +(69903, 44971, 0.4, 1, 1, 1, 1), +(69903, 44984, 0.3, 1, 1, 1, 1), +(69903, 29901, 0.3, 1, 1, 1, 1), +(69903, 8491, 0.3, 1, 1, 1, 1), +(69903, 8485, 0.3, 1, 1, 1, 1), +(69903, 8487, 0.3, 1, 1, 1, 1), +(69903, 10392, 0.3, 1, 1, 1, 1), +(69903, 44970, 0.3, 1, 1, 1, 1), +(69903, 44973, 0.3, 1, 1, 1, 1), +(69903, 44974, 0.3, 1, 1, 1, 1), +(69903, 44982, 0.3, 1, 1, 1, 1), +(69903, 29953, 0.3, 1, 1, 1, 1), +(69903, 8500, 0.3, 1, 1, 1, 1), +(69903, 45002, 0.3, 1, 1, 1, 1), +(69903, 8492, 0.3, 1, 1, 1, 1), +(69903, 10394, 0.3, 1, 1, 1, 1), +(69903, 8497, 0.3, 1, 1, 1, 1), +(69903, 44707, 0.3, 1, 1, 1, 1), +(69903, 45606, 0.3, 1, 1, 1, 1), +(69903, 10393, 0.3, 1, 1, 1, 1), +(69903, 29904, 0.3, 1, 1, 1, 1), +(69903, 35504, 0.2, 1, 1, 1, 1), +(69903, 43953, 0.2, 1, 1, 1, 1), +(69903, 43962, 0.2, 1, 1, 1, 1), +(69903, 44151, 0.19, 1, 1, 1, 1), +(69903, 13335, 0.07, 1, 1, 1, 1), +(69903, 32768, 0.07, 1, 1, 1, 1), +(69903, 8494, 0.06, 1, 1, 1, 1); + +-- Add missing dungeon ID to High Priestess Azil +UPDATE `instance_encounters` SET `lastEncounterDungeon`= 307 WHERE `entry`= 1057; +UPDATE `command` SET +`name`= "reload creature_onkill_reward", +`help`= "Syntax: .reload creature_onkill_reward \nReload creature_onkill_reward table." WHERE `permission`= 635; + +ALTER TABLE `creature_onkill_reputation` ADD COLUMN `CurrencyId1` MEDIUMINT(8) DEFAULT 0 NULL AFTER `TeamDependent`, +ADD COLUMN `CurrencyId2` MEDIUMINT(8) DEFAULT 0 NULL AFTER `CurrencyId1`, +ADD COLUMN `CurrencyId3` MEDIUMINT(8) DEFAULT 0 NULL AFTER `CurrencyId2`, +ADD COLUMN `CurrencyCount1` MEDIUMINT(8) DEFAULT 0 NULL AFTER `CurrencyId3`, +ADD COLUMN `CurrencyCount2` MEDIUMINT(8) DEFAULT 0 NULL AFTER `CurrencyCount1`, +ADD COLUMN `CurrencyCount3` MEDIUMINT(8) DEFAULT 0 NULL AFTER `CurrencyCount2`; +RENAME TABLE`creature_onkill_reputation` TO `creature_onkill_reward`; +DELETE FROM `spell_area` WHERE `spell`= 59073 AND `area` IN (4756, 4755, 4757, 4714); +INSERT INTO `spell_area` (`spell`, `area`, `gender`, `quest_start`, `quest_start_status`, `autocast`, `quest_end`, `quest_end_status`) VALUES +(59073, 4756, 2, 14078, 64, 1, 14159, 1|2|8|32), +(59073, 4755, 2, 14099, 2|64, 1, 14159, 1|2|8|32), +(59073, 4757, 2, 14099, 2|64, 1, 14159, 1|2|8|32), +(59073, 4714, 2, 14099, 2|64, 1, 14159, 1|2|8|32); + +DELETE FROM `spell_area` WHERE `spell`= 49416 AND `area`= 4756; +INSERT INTO `spell_area` (`spell`, `area`, `gender`, `quest_start`, `quest_start_status`, `autocast`, `quest_end`, `quest_end_status`) VALUES +(49416, 4756, 2, 14078, 64, 1, 14099, 1|8|32); + +-- Generic NPC phasing fixups +UPDATE `creature` SET `phaseId`= 0, `phaseGroup`= 371 WHERE `id` IN (39095, 34863); + +-- Generic trigger bunny (multiphase) +UPDATE `creature` SET `phaseId`= 0, `phaseGroup`= 372 WHERE `id` IN (35374, 35830, 35010, 35011) AND `map`= 654 AND `areaId`= 4756; + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (68087, 68070, 80281) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 68087, 0, 0, 31, 0, 3, 35374, 0, 0, 0, '', 'Just Citizen'), +(13, 1, 80281, 0, 0, 31, 0, 3, 35374, 0, 0, 0, '', 'Summon Citizen and Worgen'), +(13, 3, 68070, 0, 0, 31, 0, 3, 35374, 0, 0, 0, '', 'Summon Citizen and Worgen'); + +-- Royal orders pre-quest chain +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 19 AND `SourceEntry`= 14099; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ElseGroup`) VALUES +-- Royal Orders +(19, 14099, 8, 14093, 0), +(19, 14099, 8, 14098, 0), +(19, 14099, 8, 14094, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_q14098_knocking_67869'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(67869, 'spell_q14098_knocking_67869'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`= 34981; +UPDATE `creature_template` SET `AIName`= '', `ScriptName`= 'npc_frightened_citizen' WHERE `entry` IN (34981, 35836); + +-- Rampaging Worgen fixups +UPDATE `creature_template` SET `flags_extra` = `flags_extra` | 2 WHERE `entry`= 34884; + +-- Merchant Square Quest Chain +DELETE FROM `quest_template_addon` WHERE `ID` IN (14093, 14098, 14099, 14094); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`) VALUES +(14093, 14091, 0, 0), +(14098, 14091, 0, 0), +(14094, 14091, 0, 0), +(14099, 0, 0, 0); -- Royal Orders + +-- Remove questgiver entry from rampaging worgens +DELETE FROM `creature_queststarter` WHERE `id`= 34884; + +DELETE FROM `creature_text` WHERE `CreatureID` IN (34981, 35836, 34913); +INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES +-- Frightened Citizen +(34981, 0, 0, 'What in the world? Let''s get out of here!', 12, 0, 100, 1, 0, 0, 35235, 'Frightened Citizen to Player'), +(34981, 0, 1, 'Let''s go!', 12, 0, 100, 1, 0, 0, 35236, 'Frightened Citizen to Player'), +(34981, 0, 2, 'No time to waste!', 12, 0, 100, 1, 0, 0, 35237, 'Frightened Citizen to Player'), +(34981, 0, 3, 'Worgen! Worgen everywhere!', 12, 0, 100, 1, 0, 0, 35238, 'Frightened Citizen to Player'), +(34981, 0, 4, 'Flee! They''re everywhere!', 12, 0, 100, 1, 0, 0, 35240, 'Frightened Citizen to Player'), +(34981, 0, 5, 'This place isn''t safe. Let''s leave!', 12, 0, 100, 1, 0, 0, 35239, 'Frightened Citizen to Player'), +(34981, 0, 6, 'Protect me, please!', 12, 0, 100, 1, 0, 0, 35234, 'Frightened Citizen to Player'), +(35836, 0, 0, 'It''s coming right for me!!', 12, 0, 100, 1, 0, 0, 36037, 'Frightened Citizen to Player'), +(35836, 0, 1, 'Help me, please!', 12, 0, 100, 1, 0, 0, 36038, 'Frightened Citizen to Player'), +(35836, 0, 2, 'There''s one after me!', 12, 0, 100, 1, 0, 0, 36039, 'Frightened Citizen to Player'), +(35836, 0, 3, 'Help!', 12, 0, 100, 1, 0, 0, 36040, 'Frightened Citizen to Player'), +(35836, 0, 4, 'I don''t want to die!', 12, 0, 100, 1, 0, 0, 36041, 'Frightened Citizen to Player'), +-- Liam Greyman Phase 170 +(34913, 0, 0, 'Stand your ground, men!', 14, 0, 100, 0, 0, 19617, 35166, 'Prince Liam Greymane'), +(34913, 0, 1, 'Defeat these foul beasts!', 14, 0, 100, 0, 0, 19618, 35167, 'Prince Liam Greymane'), +(34913, 0, 2, 'Protect the civilians!', 14, 0, 100, 0, 0, 19619, 35168, 'Prince Liam Greymane'), +(34913, 0, 3, 'Push them back!', 14, 0, 100, 0, 0, 19620, 35169, 'Prince Liam Greymane'), +(34913, 0, 4, 'Take heart, men! We must protect our city!', 14, 0, 100, 0, 0, 19621, 35170, 'Prince Liam Greymane'); + +-- Creature Prince Liam Greymane 34913 SAI +SET @ENTRY := 34913; +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, 37, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Disable combat based movement // "), +(@ENTRY, 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, "On aggro - Self: Talk 0 // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 11, 50092, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 0 and 0 ms (and later repeats every 2000 and 2000 ms) - Self: Cast spell 50092 on Victim // "); + +-- Make Supply crate quest related +UPDATE `gameobject_template_addon` SET `flags`= 4 WHERE `entry`= 195306; +-- Turn Gwen into a civillian so she wont attack anymore +UPDATE `creature_template` SET `flags_extra`= 2 WHERE `entry`= 34936; +-- Add some trigger flags +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry`= 35374; +-- Chains for Military District + +-- Class Quests +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14280; +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14275; +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14277; +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14278; +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14269; +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14273; +UPDATE `quest_template_addon` SET `PrevQuestID`= 14099 WHERE `ID`= 14265; + +DELETE FROM `quest_template_addon` WHERE `ID` IN (14157, 24930); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 19 AND `SourceEntry` IN (14157, 24930); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ElseGroup`) VALUES +-- Old Divisions +(19, 14157, 8, 14285, 0), +(19, 14157, 8, 14286, 1), +(19, 14157, 8, 14287, 2), +(19, 14157, 8, 14288, 3), +(19, 14157, 8, 14289, 4), +(19, 14157, 8, 14290, 5), +(19, 14157, 8, 14291, 6), +-- While you're at it +(19, 24930, 8, 14285, 0), +(19, 24930, 8, 14286, 1), +(19, 24930, 8, 14287, 2), +(19, 24930, 8, 14288, 3), +(19, 24930, 8, 14289, 4), +(19, 24930, 8, 14290, 5), +(19, 24930, 8, 14291, 6); + +DELETE FROM `quest_template_addon` WHERE `ID` IN (14159, 14294, 14212); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`) VALUES +(14159, 26129, 0, 0), +(14294, 14293, 0, 0), +(14212, 14294, 0, 0); + +-- Creature Lord Godfrey 35115 SAI +SET @ENTRY := 35115; +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, 1, 19, 0, 100, 0, 24930, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 24930 - Action invoker: Talk 0 // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Target_0 = Action invoker // "), +(@ENTRY, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 35112, 10, 0, 0, 0, 0, 0, " Linked - Self: Send stored target 0 to Creature King Genn Greymane (35112) in 10 yd // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 11, 35112, 10, 0, 0, 0, 0, 0, " Linked - Creature King Genn Greymane (35112) in 10 yd: Set creature data #0 to 1 // "); + +-- Creature King Genn Greymane 35112 SAI +SET @ENTRY := 35112; +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, 38, 0, 100, 0, 0, 1, 0, 0, 67, 0, 5000, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On data 0 set to 1 - Trigger timed event #0 in 5000 - 5000 ms // "), +(@ENTRY, 0, 1, 0, 59, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - storedTarget[0]: Talk 0 // "); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (35112, 35115, 35378, 35550, 35905, 35907, 35906); +INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES +(35112, 0, 0, 'Enough! I''ve made up my mind. We need Crowley on our side.', 12, 0, 100, 0, 0, 0, 38602, 'King Genn Greymane to Player'), +(35115, 0, 0, 'We ought to leave Crowley in prison with those beasts!', 12, 0, 100, 0, 0, 0, 38601, 'Lord Godfrey to Player'), +(35378, 0, 0, 'This mastiff will help you find the hidden worgen.', 12, 0, 100, 0, 0, 19696, 38744, 'Lorna Crowley to Player'), +(35550, 0, 0, 'Keep them back!', 14, 0, 100, 0, 0, 19712, 36092, 'King Genn Greymane'), +(35550, 0, 1, 'Fire!', 14, 0, 100, 0, 0, 19710, 36091, 'King Genn Greymane'), +(35550, 0, 2, 'Hold the barricades! Do not give them an inch!', 14, 0, 100, 0, 0, 19709, 36090, 'King Genn Greymane'), +(35905, 0, 0, 'Rescue Krennan Aranas by using your vehicle''s ability.$B|TInterface\\Icons\\inv_misc_groupneedmore.blp:64|t', 42, 0, 100, 0, 0, 0, 36078, 'King Greymane''s Horse to Player'), +(35907, 0, 0, 'Thank you! I owe you my life.', 12, 0, 100, 0, 0, 20922, 38729, 'Krennan Aranas to King Greymane''s Horse'), +(35906, 0, 0, 'We''ve got Aranas! Fire at will!', 14, 0, 100, 0, 0, 19634, 36099, 'Lord Godfrey to Player'); + + +DELETE FROM `creature` WHERE `id` IN (35456, 35457); + +-- Creature Lord Darius Crowley 35077 SAI +SET @ENTRY := 35077; +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, 19, 0, 100, 0, 14154, 0, 0, 0, 11, 66914, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 14154 - Self: Cast spell 66914 on Action invoker // "); + +DELETE FROM `spell_area` WHERE `spell` IN (72870, 49416, 72872, 76642) AND `area` IN (4755, 4757, 4758, 4759, 4761); +INSERT INTO `spell_area` (`spell`, `area`, `gender`, `quest_start`, `quest_start_status`, `autocast`, `quest_end`, `quest_end_status`) VALUES +(72870, 4757, 2, 14159, 64, 1, 14293, 1|2|8|32), +(72870, 4758, 2, 14159, 64, 1, 14293, 1|2|8|32), +(49416, 4757, 2, 14159, 64, 1, 14221, 1|2|8|32), +(72872, 4757, 2, 14293, 64, 1, 14221, 1|2|8|32), +(72872, 4758, 2, 14293, 64, 1, 14221, 1|2|8|32), +(72872, 4759, 2, 14293, 64, 1, 14221, 1|2|8|32), +(72872, 4761, 2, 14293, 64, 1, 14221, 1|2|8|32), +(72872, 4755, 2, 14293, 64, 1, 14221, 1|2|8|32), +-- Last Stand +(76642, 4757, 2, 14221, 64, 1, 14222, 1|2|8|32), +(76642, 4758, 2, 14221, 64, 1, 14222, 1|2|8|32), +(76642, 4759, 2, 14221, 64, 1, 14222, 1|2|8|32), +(76642, 4761, 2, 14221, 64, 1, 14222, 1|2|8|32); + +UPDATE `creature` SET `phaseId`= 0, `phaseGroup`= 367 WHERE `id` IN (35906); +UPDATE `creature` SET `phaseId`= 0, `phaseGroup`= 460 WHERE `id` IN (35229, 35317, 35566); +UPDATE `creature` SET `phaseId`= 172, `phaseGroup`= 0 WHERE `id` IN (35618, 36057); + +-- Creature Wounded Guard 47091 SAI +SET @ENTRY := 47091; +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, 8, 0, 100, 0, 774, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 774 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "), +(@ENTRY, 0, 1, 0, 8, 0, 100, 0, 2061, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 2061 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "), +(@ENTRY, 0, 2, 0, 1, 0, 100, 0, 1, 1, 30000, 30000, 11, 46577, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1 and 1 ms (and later repeats every 30000 and 30000 ms) - Self: Cast spell 46577 on Self // "); + +-- Creature Bloodfang Worgen 35118 SAI +SET @ENTRY := 35118; +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, 1, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 8599 on Self // Bloodfang Worgen - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY, 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, " Linked - Self: Talk 0 // Bloodfang Worgen - Between 0-30% Health - Say Line 0 (No Repeat)"), +(@ENTRY, 0, 2, 0, 8, 0, 100, 0, 100, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 100 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "), +(@ENTRY, 0, 3, 0, 8, 0, 100, 0, 56641, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 56641 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "), +(@ENTRY, 0, 4, 0, 8, 0, 100, 0, 2098, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 2098 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "), +(@ENTRY, 0, 5, 0, 8, 0, 100, 0, 348, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 348 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "), +(@ENTRY, 0, 6, 0, 8, 0, 100, 0, 5143, 0, 0, 0, 33, 44175, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 5143 hit - Action invoker: Give kill credit Spell Practice Credit (44175) // "); + +-- Creature Myriam Spellwaker 35872 SAI +SET @ENTRY := 35872; +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, 37, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Disable combat based movement // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 0, 0, 3000, 3000, 11, 11538, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 0 and 0 ms (and later repeats every 3000 and 3000 ms) - Self: Cast spell 11538 on Victim // "); + +-- Creature Sergeant Cleese 35839 SAI +SET @ENTRY := 35839; +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, 37, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Disable combat based movement // "); + +-- Creature Lorna Crowley 35378 SAI +SET @ENTRY := 35378; +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, 19, 0, 100, 0, 14204, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 14204 - Action invoker: Talk 0 // "); + +DELETE FROM `conditions` WHERE `SourceEntry` IN (67805, 68228, 68235) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 67805, 0, 0, 31, 0, 3, 35463, 0, 0, 0, '', 'Attack Lurker - Target Bloodfang Lurker'), +(13, 1, 68228, 0, 0, 31, 0, 3, 35753, 0, 0, 0, '', 'Rescue Krennan - Target Krennan'), +(13, 1, 68235, 0, 0, 31, 0, 3, 35916, 0, 0, 0, '', 'Cannon Fire - Target Bloodfang Ripper'); + +-- Creature Bloodfang Lurker 35463 SAI +SET @ENTRY := 35463; +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, 1, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 8599 on Self // Bloodfang Lurker - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY, 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, " Linked - Self: Talk 0 // Bloodfang Lurker - Between 0-30% Health - Say Line 0 (No Repeat)"), +(@ENTRY, 0, 2, 3, 11, 0, 100, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On respawn - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 5916, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 5916 on Self // Bloodfang Lurker - On Respawn - Cast 'Shadowstalker Stealth' (No Repeat)"), +(@ENTRY, 0, 4, 5, 7, 0, 100, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On evade - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 5916, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 5916 on Self // Bloodfang Lurker - On Evade - Cast 'Shadowstalker Stealth' (No Repeat)"), +(@ENTRY, 0, 6, 0, 4, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Set react state to REACT_AGGRESSIVE // "); + +-- Creature King Genn Greymane 35550 SAI +SET @ENTRY := 35550; +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, 60, 0, 100, 0, 19000, 20000, 70000, 70000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 70000 and 70000 ms (for the first time, timer between 19000 and 20000 ms) - Self: Talk 0 // "), +(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 14293, 0, 0, 0, 11, 68232, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 14293 - Self: Cast spell 68232 on Action invoker // "); + +-- Creature Krennan Aranas 35907 SAI +SET @ENTRY := 35907; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 54, 0, 100, 1, 0, 0, 0, 0, 11, 46598, 2, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Cast spell 46598 on Invoker's vehicle // "); + +-- Creature Lord Godfrey 35906 SAI +SET @ENTRY := 35906; +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, 1, 20, 0, 100, 0, 14293, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player rewards quest 14293 - Action invoker: Talk 0 // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 3591400, 0, 0, 0, 0, 0, 10, 376902, 0, 0, 0, 0, 0, 0, " Linked - Start timed action list id #0 // "); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= 35914; +DELETE FROM `smart_scripts` WHERE `entryorguid`=35914 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3591400 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 +(3591400,9,0,0,0,0,100,0,3000,3000,0,0,11,68235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Commandeered Cannon - On Script - cast spell"), -- 3secs delay +(3591400,9,1,0,0,0,100,0,2000,2000,0,0,11,68235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Commandeered Cannon - On Script - cast spell"), -- 2secs delay +(3591400,9,2,0,0,0,100,0,2000,2000,0,0,11,68235,0,0,0,0,0,1,0,0,0,0,0,0,0,"Commandeered Cannon - On Script - cast spell"); -- 2secs delay + +UPDATE `creature_template` SET `vehicleID`= 494, `speed_run`= 1.2857, `ScriptName`= 'npc_greymanes_horse' WHERE `entry`= 35905; +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 35753; +UPDATE `creature_addon` SET `emote`= 472 WHERE `guid`= 376850; +UPDATE `creature_template` SET `vehicleID`= 1418 WHERE `entry`= 50420; + +UPDATE `creature_addon` SET `emote`= 431 WHERE `guid`= 376588; +UPDATE `gameobject` SET `phaseGroup`= 0, `phaseID`= 171 WHERE `guid`= 235509; +UPDATE `gameobject` SET `phaseGroup`= 507, `phaseID`= 0 WHERE `guid`= 235509; + +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry`= 35374; +-- Turn multiple npc's into civillians to avoid aggro +UPDATE `creature_template` SET `flags_extra`= 2 WHERE `entry` IN (35112, 35115, 47091, 35912, 35873, 32768, 35869, 35874, 38832, 35550, 35618, 51947, 35906, 35753, 44469, 44461, 44463, 44465, 35554, 44455, 35552, 35911, 44470, 44468, 44459, 35551); + +-- Spawn Krennan Gameobject Focus +DELETE FROM `gameobject` WHERE `guid`= 235581; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseID`, `position_x`, `position_y`, `position_z`, `orientation`) VALUES +(235581, 195660, 654, 1, 171, -1672.96, 1344.75, 15.1352, 1.36203); + +-- Fix flags for not selectable gameobjects +UPDATE `gameobject_template_addon` SET `flags`= `flags`|16 WHERE `entry` IN (195466, 195465, 195430, 195454, 195453); +-- Put barricades in correct phase +UPDATE `gameobject` SET `phaseId`= 0, `phaseGroup`= 507 WHERE `guid` IN (235561, 235562, 235560, 235559); +-- Corrected trigger phase id's +UPDATE `creature` SET `phaseId`= 0, `phaseGroup`= 372 WHERE `id`= 35374 AND `map`= 654; +-- Spell Scriptnames +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_gen_armor_specialization'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(86530, 'spell_gen_armor_specialization'), +(86531, 'spell_gen_armor_specialization'), +(86529, 'spell_gen_armor_specialization'), +(86528, 'spell_gen_armor_specialization'), +(86525, 'spell_gen_armor_specialization'), +(86524, 'spell_gen_armor_specialization'), +(86526, 'spell_gen_armor_specialization'); + +-- Correct wrong teaching spells +-- Warrior +UPDATE `npc_trainer` SET `SpellID`= 86526 WHERE `SpellID`= 87509; +-- Paladin +UPDATE `npc_trainer` SET `SpellID`= 86525 WHERE `SpellID`= 87511; +-- Death Knight +DELETE FROM `npc_trainer` WHERE `SpellID`= 86524; +INSERT INTO `npc_trainer` (`ID`, `SpellID`, `MoneyCost`, `ReqLevel`) VALUES +(200006, 86524, 22500, 50); +-- Shaman +UPDATE `npc_trainer` SET `SpellID`= 86529 WHERE `SpellID`= 87507; +-- Hunter +UPDATE `npc_trainer` SET `SpellID`= 86528 WHERE `SpellID`= 87506; +-- Rogue +UPDATE `npc_trainer` SET `SpellID`= 86531 WHERE `SpellID`= 87504; +-- Druid +UPDATE `npc_trainer` SET `SpellID`= 86530 WHERE `SpellID`= 87505; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_gen_pvp_trinket', +'spell_pvp_trinket_shared_cd'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(42292, 'spell_gen_pvp_trinket'), +(59752, 'spell_gen_pvp_trinket'); +UPDATE `creature_template` SET `scriptname`= 'npc_sfk_deathstalker_commander_belmont' WHERE `entry`= 47293; +UPDATE `creature_template` SET `scriptname`= 'npc_sfk_packleader_ivar_bloodfang' WHERE `entry`= 47006; +UPDATE `creature_template` SET `scriptname`= 'npc_sfk_bloodfang_berserker' WHERE `entry`= 47027; +UPDATE `creature_template` SET `scriptname`= 'npc_sfk_veteran_forsaken_trooper' WHERE `entry` IN (47030, 47031); +UPDATE `creature_template` SET `InhabitType`= 5, `scriptname`= 'npc_sfk_high_warlord_cromush' WHERE `entry`= 47294; + +-- Remove static event spawns +DELETE FROM `creature` WHERE `Id` IN (47294, 47031, 47293, 47030); + +-- Remove otherwise handled creatures +DELETE FROM `creature` WHERE `id` IN (50604, 50613, 50615); + +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6425, 6431); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6425, 'at_sfk_pre_walden'), +(6431, 'at_sfk_godfrey_intro'); + +DELETE FROM `waypoint_data` WHERE `id` IN (4700600); +SET @ID := 4700600; +DELETE FROM `waypoint_data` WHERE `id` BETWEEN 00 AND 01; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES +-- 0 +(4700600, 1, -243.3535, 2117.76, 87.30002), +(4700600, 2, -248.271, 2119.36, 87.0129); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`= 33; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`) VALUES +-- Default Plague +(33, 2, 0, 23837, -214.318, 2102.04, 76.97733, 4.206244, 1), +(33, 2, 0, 23837, -204.96, 2104.55, 77.02894, 4.206244, 1), +(33, 2, 0, 23837, -213.861, 2125.93, 80.53143, 2.984513, 1), +(33, 2, 0, 23837, -214.344, 2124.69, 80.37054, 2.984513, 1), +(33, 2, 0, 23837, -203.427, 2104.38, 76.40823, 4.206244, 1), +(33, 2, 0, 23837, -221.415, 2106.98, 76.80504, 2.984513, 1), +(33, 2, 0, 23837, -214.344, 2123.62, 80.32754, 2.984513, 1), +(33, 2, 0, 23837, -233.965, 2112.36, 76.93284, 2.984513, 1), +(33, 2, 0, 23837, -213.844, 2104.05, 76.97723, 4.206244, 1), +(33, 2, 0, 23837, -232.684, 2115.75, 76.91784, 2.984513, 1), +(33, 2, 0, 23837, -230.3, 2131.51, 80.54034, 2.984513, 1), +(33, 2, 0, 23837, -211.948, 2103.17, 76.97723, 4.206244, 1), +(33, 2, 0, 23837, -213.181, 2102.54, 76.97733, 4.206244, 1), +(33, 2, 0, 23837, -232.595, 2109.81, 76.97463, 2.984513, 1), +(33, 2, 0, 23837, -212.635, 2101.51, 76.97733, 4.206244, 1), +(33, 2, 0, 23837, -233.686, 2114.25, 76.97353, 2.984513, 1), +(33, 2, 0, 23837, -233.917, 2113.56, 76.69134, 2.984513, 1), +(33, 2, 0, 23837, -233.111, 2110.01, 76.81664, 2.984513, 1), +(33, 2, 0, 23837, -226.214, 2144.81, 81.37144, 4.206244, 1), +(33, 2, 0, 23837, -215.217, 2140.47, 81.55943, 4.206244, 1), +(33, 2, 0, 23837, -228.016, 2145.52, 81.41843, 4.206244, 1), +(33, 2, 0, 23837, -213.128, 2139.61, 81.71724, 4.206244, 1), +(33, 2, 0, 23837, -222.495, 2143.35, 81.57973, 4.206244, 1), +(33, 2, 0, 23837, -218.227, 2141.67, 81.38644, 4.206244, 1), +(33, 2, 0, 23837, -219.042, 2141.99, 81.62763, 4.206244, 1), +(33, 2, 0, 23837, -225.245, 2144.43, 81.35064, 4.520403, 1), +(33, 2, 0, 23837, -216.286, 2140.91, 81.48534, 4.206244, 1), +(33, 2, 0, 23837, -220.905, 2142.73, 81.48224, 4.206244, 1), +(33, 2, 0, 23837, -224.319, 2144.07, 81.46143, 4.206244, 1), +(33, 2, 0, 23837, -230.608, 2146.54, 81.36684, 4.206244, 1), +(33, 2, 0, 23837, -219.905, 2142.33, 81.50333, 4.468043, 1), +(33, 2, 0, 23837, -228.818, 2145.84, 81.49213, 4.537856, 1), +(33, 2, 0, 23837, -221.708, 2143.04, 81.70863, 4.433136, 1), +(33, 2, 0, 23837, -229.615, 2146.15, 81.40894, 4.206244, 1), +(33, 2, 0, 23837, -223.46, 2143.73, 81.47704, 4.29351, 1), +(33, 2, 0, 23837, -214.439, 2140.15, 81.69784, 4.206244, 1), +(33, 2, 0, 23837, -217.28, 2141.3, 81.67484, 4.206244, 1), +(33, 2, 0, 23837, -227.076, 2145.15, 81.34364, 4.555309, 1), +-- After Ashbury +(33, 2, 1, 23837, -244.672, 2149.47, 90.51843, 4.206244, 1), +(33, 2, 1, 23837, -209.188, 2128.17, 86.58434, 4.206244, 1), +(33, 2, 1, 23837, -198.984, 2109.59, 81.20223, 4.206244, 1), +(33, 2, 1, 23837, -240.747, 2149.55, 90.70734, 4.206244, 1), +(33, 2, 1, 23837, -241.332, 2148.02, 90.70734, 4.206244, 1), +(33, 2, 1, 23837, -240.908, 2150.54, 90.70734, 4.206244, 1), +(33, 2, 1, 23837, -192.332, 2138.53, 81.58394, 4.206244, 1), +(33, 2, 1, 23837, -194.257, 2139.17, 81.76923, 4.206244, 1), +(33, 2, 1, 23837, -193.042, 2138.81, 81.67624, 4.206244, 1), +(33, 2, 1, 23837, -245.837, 2149.73, 90.58404, 4.206244, 1), +(33, 2, 1, 23837, -210.578, 2127.44, 86.58394, 4.206244, 1), +(33, 2, 1, 23837, -195.33, 2139.63, 81.65154, 4.206244, 1), +(33, 2, 1, 23837, -193.012, 2137.23, 81.58414, 4.206244, 1), +(33, 2, 1, 23837, -238.49, 2127.21, 86.99274, 4.206244, 1), +(33, 2, 1, 23837, -239.46, 2127.16, 87.09354, 4.206244, 1), +(33, 2, 1, 23837, -242.214, 2149.84, 90.70734, 4.206244, 1), +(33, 2, 1, 23837, -209.547, 2127.47, 86.58434, 4.206244, 1), +(33, 2, 1, 23837, -211.467, 2145.36, 90.60223, 4.206244, 1), +(33, 2, 1, 23837, -189.962, 2124.26, 81.58504, 4.206244, 1), +(33, 2, 1, 23837, -195.901, 2108.78, 81.14014, 4.206244, 1), +(33, 2, 1, 23837, -196.424, 2111.61, 81.14014, 4.206244, 1), +(33, 2, 1, 23837, -189.793, 2125.31, 81.58504, 4.206244, 1), +(33, 2, 1, 23837, -190.896, 2127.02, 81.58504, 4.206244, 1), +(33, 2, 1, 23837, -191.422, 2124.09, 81.58504, 4.206244, 1), +(33, 2, 1, 23837, -187.273, 2140.47, 83.16393, 4.206244, 1), +(33, 2, 1, 23837, -197.415, 2109.11, 81.14014, 4.206244, 1), +(33, 2, 1, 23837, -189.167, 2125.87, 81.58504, 4.206244, 1), +(33, 2, 1, 23837, -191.642, 2125.76, 81.58504, 4.206244, 1), +(33, 2, 1, 23837, -198.033, 2110.79, 81.14014, 4.206244, 1), +(33, 2, 1, 23837, -196.08, 2110.17, 81.14014, 4.206244, 1), +-- After Springvale +(33, 2, 2, 23837, -214.177, 2259.62, 83.15204, 4.206244, 1), +(33, 2, 2, 23837, -221.995, 2272.82, 77.13573, 4.206244, 1), +(33, 2, 2, 23837, -202.703, 2272.38, 78.76473, 4.206244, 1), +(33, 2, 2, 23837, -203.132, 2270.7, 77.15324, 4.206244, 1), +(33, 2, 2, 23837, -204.274, 2271.15, 77.01453, 4.206244, 1), +(33, 2, 2, 23837, -202.089, 2249.86, 76.28464, 4.206244, 1), +(33, 2, 2, 23837, -194.781, 2263.11, 76.28464, 4.206244, 1), +(33, 2, 2, 23837, -216.3368, 2286.54, 77.03741, 4.206244, 1), +(33, 2, 2, 23837, -202.156, 2273.49, 78.73904, 4.206244, 1), +(33, 2, 2, 23837, -203.488, 2271.35, 78.61384, 4.206244, 1), +(33, 2, 2, 23837, -221.891, 2273.96, 77.13573, 4.206244, 1), +(33, 2, 2, 23837, -217.373, 2278.09, 77.13573, 4.206244, 1), +(33, 2, 2, 23837, -203.703, 2271.25, 76.86504, 4.206244, 1), +(33, 2, 2, 23837, -202.627, 2250.4, 76.28464, 2.897247, 1), +(33, 2, 2, 23837, -194.944, 2263.74, 76.28464, 4.206244, 1), +(33, 2, 2, 23837, -217.625, 2287.2, 76.94003, 4.206244, 1), +(33, 2, 2, 23837, -203.359, 2271.83, 76.76674, 4.206244, 1), +(33, 2, 2, 23837, -203.111, 2272.61, 77.20544, 4.206244, 1), +(33, 2, 2, 23837, -226.009, 2206.58, 79.79234, 4.206244, 1), +(33, 2, 2, 23837, -175.674, 2228.62, 76.18094, 4.206244, 1), +(33, 2, 2, 23837, -199.908, 2230.16, 81.84364, 4.206244, 1), +(33, 2, 2, 23837, -197.302, 2228.6, 82.07034, 4.206244, 1), +(33, 2, 2, 23837, -213.875, 2190.87, 82.37473, 4.206244, 1), +(33, 2, 2, 23837, -214.997, 2192.38, 79.84834, 4.206244, 1), +(33, 2, 2, 23837, -192.259, 2205.29, 79.84174, 2.70526, 1), +(33, 2, 2, 23837, -213.297, 2192.14, 82.56724, 4.206244, 1), +(33, 2, 2, 23837, -226.271, 2204.88, 80.11623, 4.206244, 1), +(33, 2, 2, 23837, -214.839, 2191.37, 79.84834, 4.206244, 1), +(33, 2, 2, 23837, -177.997, 2212.55, 80.18803, 4.206244, 1), +(33, 2, 2, 23837, -212.493, 2191.66, 79.84814, 4.206244, 1), +(33, 2, 2, 23837, -181.095, 2245.94, 76.26663, 4.206244, 1), +(33, 2, 2, 23837, -180.616, 2244.9, 76.29803, 4.206244, 1), +(33, 2, 2, 23837, -213.929, 2191.35, 83.98174, 4.206244, 1), +(33, 2, 2, 23837, -180.087, 2243.93, 76.43644, 4.206244, 1), +(33, 2, 2, 23837, -215.231, 2190.72, 79.84843, 4.206244, 1), +(33, 2, 2, 23837, -213.165, 2191.37, 82.32024, 4.206244, 1), +(33, 2, 2, 23837, -212.054, 2192.07, 79.84814, 4.206244, 1), +(33, 2, 2, 23837, -213.503, 2193.08, 79.84804, 4.206244, 1), +(33, 2, 2, 23837, -201.847, 2248.88, 76.28464, 4.206244, 1), +(33, 2, 2, 23837, -198.583, 2229.32, 82.26794, 4.206244, 1), +(33, 2, 2, 23837, -213.41, 2192.32, 79.84804, 4.206244, 1), +(33, 2, 2, 23837, -213.632, 2191.24, 81.98494, 4.206244, 1), +(33, 2, 2, 23837, -226.057, 2205.81, 79.76114, 4.206244, 1), +(33, 2, 2, 23837, -177.424, 2211.92, 80.33204, 4.206244, 1), +(33, 2, 2, 23837, -214.444, 2190.19, 79.84834, 4.206244, 1), +(33, 2, 2, 23837, -175.649, 2212.22, 80.07214, 4.206244, 1), +(33, 2, 2, 23837, -214.299, 2190.41, 82.36844, 4.206244, 1), +(33, 2, 2, 23837, -212.434, 2190.51, 79.84834, 4.206244, 1), +(33, 2, 2, 23837, -212.069, 2190.69, 79.84834, 4.206244, 1), +(33, 2, 2, 23837, -176.701, 2211.61, 79.95013, 4.206244, 1), +(33, 2, 2, 23837, -213.594, 2191.03, 84.28364, 4.206244, 1), +(33, 2, 2, 23837, -174.637, 2212.59, 80.13503, 4.206244, 1), +(33, 2, 2, 23837, -213.547, 2189.75, 79.84843, 4.206244, 1), +(33, 2, 2, 23837, -241.872, 2271.81, 80.15474, 4.206244, 1), +(33, 2, 2, 23837, -237.762, 2270.24, 81.89844, 4.206244, 1), +(33, 2, 2, 23837, -238.691, 2270.7, 81.82224, 4.206244, 1), +(33, 2, 2, 23837, -240.677, 2271.35, 83.54284, 4.206244, 1), +(33, 2, 2, 23837, -238.752, 2270.49, 83.55624, 4.206244, 1), +(33, 2, 2, 23837, -240.578, 2271.34, 87.07004, 4.206244, 1), +(33, 2, 2, 23837, -237.788, 2270.23, 87.21204, 1.186824, 1), +(33, 2, 2, 23837, -238.694, 2270.53, 87.15884, 4.206244, 1), +(33, 2, 2, 23837, -239.642, 2271.03, 79.38973, 4.206244, 1), +(33, 2, 2, 23837, -241.826, 2271.71, 87.31614, 4.206244, 1), +(33, 2, 2, 23837, -237.793, 2270.24, 85.63374, 4.206244, 1), +(33, 2, 2, 23837, -241.851, 2271.97, 82.00774, 4.206244, 1), +(33, 2, 2, 23837, -240.568, 2271.45, 85.53744, 4.206244, 1), +(33, 2, 2, 23837, -238.689, 2270.63, 85.55144, 4.206244, 1), +(33, 2, 2, 23837, -240.606, 2271.42, 79.42104, 4.206244, 1), +(33, 2, 2, 23837, -239.625, 2270.98, 87.19463, 4.206244, 1), +(33, 2, 2, 23837, -237.74, 2270.33, 79.46603, 4.206244, 1), +(33, 2, 2, 23837, -241.913, 2271.82, 83.70203, 4.206244, 1), +(33, 2, 2, 23837, -238.745, 2270.58, 79.31924, 4.206244, 1), +(33, 2, 2, 23837, -239.606, 2271.08, 81.91404, 4.206244, 1), +(33, 2, 2, 23837, -239.707, 2270.96, 83.63573, 4.206244, 1), +(33, 2, 2, 23837, -241.849, 2271.91, 85.65854, 4.206244, 1), +(33, 2, 2, 23837, -237.79, 2270.2, 83.57374, 4.206244, 1), +(33, 2, 2, 23837, -239.658, 2271.03, 85.75993, 4.206244, 1), +(33, 2, 2, 23837, -238.398, 2293.67, 74.87874, 4.206244, 1), +(33, 2, 2, 23837, -241.783, 2284.6, 76.40653, 4.206244, 1), +(33, 2, 2, 23837, -240.549, 2284.13, 76.39734, 4.206244, 1), +(33, 2, 2, 23837, -273.075, 2303.02, 76.08714, 4.206244, 1), +(33, 2, 2, 23837, -237.253, 2293.27, 75.01884, 4.206244, 1), +(33, 2, 2, 23837, -256.679, 2290.18, 76.35844, 4.206244, 1), +(33, 2, 2, 23837, -278.066, 2293.6, 76.22614, 4.206244, 1), +(33, 2, 2, 23837, -277.2, 2294.35, 76.47643, 4.206244, 1), +(33, 2, 2, 23837, -235.42, 2292.5, 75.16534, 4.206244, 1), +(33, 2, 2, 23837, -272.161, 2302.71, 76.23653, 4.206244, 1), +(33, 2, 2, 23837, -274.693, 2301.93, 76.17313, 4.206244, 1), +(33, 2, 2, 23837, -273.957, 2302.89, 76.30494, 4.206244, 1), +(33, 2, 2, 23837, -237.962, 2293.74, 75.38184, 4.206244, 1), +(33, 2, 2, 23837, -234.957, 2281.38, 76.41393, 4.206244, 1), +(33, 2, 2, 23837, -275.306, 2300.97, 76.03973, 4.206244, 1), +(33, 2, 2, 23837, -278.142, 2292.59, 76.36253, 4.206244, 1), +(33, 2, 2, 23837, -199.486, 2159.17, 79.84794, 4.206244, 1), +-- After Walden +(33, 2, 3, 23837, -184.908, 2191.11, 114.0683, 4.206244, 1), +(33, 2, 3, 23837, -132.089, 2184.87, 113.2153, 4.206244, 1), +(33, 2, 3, 23837, -131.578, 2155.47, 94.12394, 4.206244, 1), +(33, 2, 3, 23837, -114.059, 2149.79, 101.6033, 4.206244, 1), +(33, 2, 3, 23837, -131.191, 2183.35, 113.2153, 4.206244, 1), +(33, 2, 3, 23837, -190.245, 2119.68, 97.36363, 4.206244, 1), +(33, 2, 3, 23837, -167.948, 2227.94, 79.81364, 4.206244, 1), +(33, 2, 3, 23837, -191.729, 2116.32, 97.06424, 4.206244, 1), +(33, 2, 3, 23837, -121.74, 2152.12, 101.6023, 4.206244, 1), +(33, 2, 3, 23837, -191.156, 2117.4, 97.08774, 4.206244, 1), +(33, 2, 3, 23837, -126.72, 2177, 94.13013, 4.206244, 1), +(33, 2, 3, 23837, -170.438, 2182.84, 94.94584, 4.206244, 1), +(33, 2, 3, 23837, -179.493, 2254.72, 86.79384, 4.206244, 1), +(33, 2, 3, 23837, -133.547, 2178.24, 94.83314, 4.991642, 1), +(33, 2, 3, 23837, -132.151, 2185.77, 113.2153, 4.206244, 1), +(33, 2, 3, 23837, -190.63, 2118.51, 97.27174, 4.206244, 1), +(33, 2, 3, 23837, -177.8, 2254.03, 86.64744, 4.206244, 1), +(33, 2, 3, 23837, -131.606, 2179.23, 94.12674, 4.206244, 1), +(33, 2, 3, 23837, -111.708, 2170.45, 101.6033, 4.206244, 1), +(33, 2, 3, 23837, -126.002, 2174.99, 94.13094, 4.206244, 1), +(33, 2, 3, 23837, -153.753, 2172.67, 99.59763, 4.206244, 1), +(33, 2, 3, 23837, -235.347, 2144.11, 100.1123, 4.206244, 1), +(33, 2, 3, 23837, -236.405, 2210.15, 97.58244, 4.206244, 1), +(33, 2, 3, 23837, -236.884, 2208.89, 97.25004, 4.206244, 1), +(33, 2, 3, 23837, -225.432, 2257.02, 102.8393, 4.206244, 1), +(33, 2, 3, 23837, -245.3229, 2189.37, 93.61277, 4.206244, 1), +(33, 2, 3, 23837, -246.519, 2188.93, 93.84444, 4.206244, 1), +(33, 2, 3, 23837, -246.54, 2190.07, 93.90604, 4.206244, 1), +(33, 2, 3, 23837, -247.786, 2189.25, 93.80784, 4.206244, 1), +(33, 2, 3, 23837, -248.462, 2188.46, 93.82413, 4.206244, 1), +(33, 2, 3, 23837, -238.844, 2245.65, 101.0493, 4.206244, 1), +(33, 2, 3, 23837, -256.259, 2168.7, 93.98884, 4.206244, 1), +(33, 2, 3, 23837, -239.667, 2245.22, 101.0163, 4.206244, 1), +(33, 2, 3, 23837, -255.774, 2169.76, 94.06554, 4.206244, 1), +(33, 2, 3, 23837, -241.432, 2127.75, 100.5973, 4.206244, 1), +(33, 2, 3, 23837, -257.156, 2166.52, 94.15434, 4.206244, 1), +(33, 2, 3, 23837, -256.59, 2167.6, 94.15224, 4.206244, 1), +(33, 2, 3, 23837, -245.323, 2128.09, 100.1123, 4.206244, 1); + +DELETE FROM `creature` WHERE `guid` IN (371320, 371319, 371318, 371317, 371316, 371315, 371314, 371313, 371312, 371311, 371310, 371309, 371308, 371307, 371298, 371297, 371296, 371295, 371294, 371293, 371292, 371291, 371290, 371288, 371287, 371286, 371285, 371284, 371283, 371282, 371281, 371280, 371279, 371278, 371277, 371276, 371275, 371274, 371263, 371261, 371260, 371259, 371258, 371257, 371256, 371255, 371254, 371253, 371252, 371251, 371250, 371249, 371248, 371247, 371246, 371245, 371244, 371243, 371242, 371241, 371240, 371239, 371238, 371237, 371236, 371235, 371234, 371233, 371232, 371231, 371230, 371229, 371228, 371227, 371226, 371225, 371224, 371223, 371222, 371219, 371218, 371217, 371216, 371215, 371214, 371213, 371212, 371211, 371210, 371209, 371208, 371207, 371206, 371205, 371204, 371203, 371202, 371201, 371200, 371199, 371198, 371197, 371196, 371195, 371194, 371193, 371192, 371191, 371190, 371189, 371188, 371187, 371186, 371185, 371184, 371183, 371182, 371181, 371176, 371175, 371174, 371173, 371172, 371171, 371170, 371169, 371168, 371167, 371166, 371165, 371163, 371162, 371123, 371122, 371121, 371120, 371119, 371118, 371117, 371116, 371115, 371114, 371113, 371112, 371111, 371110, 371109, 371108, 371107, 371106, 371105, 371104, 371103, 371102, 371096, 371095, 371094, 371093, 371092, 371091, 371090, 371088, 371028, 371027, 371026, 371025, 371024, 371023, 371022, 371020, 371019, 371018, 371017, 371016, 371015, 371014, 371013, 371012, 371011, 371010, 371009, 371008, 371002, 370998, 370995, 370994, 370991, 370987, 370986, 370985, 370983, 370982, 370981, 370974, 370973, 370972, 370971, 370970, 370969, 370968); +DELETE FROM `creature_addon` WHERE `guid` IN (371320, 371319, 371318, 371317, 371316, 371315, 371314, 371313, 371312, 371311, 371310, 371309, 371308, 371307, 371298, 371297, 371296, 371295, 371294, 371293, 371292, 371291, 371290, 371288, 371287, 371286, 371285, 371284, 371283, 371282, 371281, 371280, 371279, 371278, 371277, 371276, 371275, 371274, 371263, 371261, 371260, 371259, 371258, 371257, 371256, 371255, 371254, 371253, 371252, 371251, 371250, 371249, 371248, 371247, 371246, 371245, 371244, 371243, 371242, 371241, 371240, 371239, 371238, 371237, 371236, 371235, 371234, 371233, 371232, 371231, 371230, 371229, 371228, 371227, 371226, 371225, 371224, 371223, 371222, 371219, 371218, 371217, 371216, 371215, 371214, 371213, 371212, 371211, 371210, 371209, 371208, 371207, 371206, 371205, 371204, 371203, 371202, 371201, 371200, 371199, 371198, 371197, 371196, 371195, 371194, 371193, 371192, 371191, 371190, 371189, 371188, 371187, 371186, 371185, 371184, 371183, 371182, 371181, 371176, 371175, 371174, 371173, 371172, 371171, 371170, 371169, 371168, 371167, 371166, 371165, 371163, 371162, 371123, 371122, 371121, 371120, 371119, 371118, 371117, 371116, 371115, 371114, 371113, 371112, 371111, 371110, 371109, 371108, 371107, 371106, 371105, 371104, 371103, 371102, 371096, 371095, 371094, 371093, 371092, 371091, 371090, 371088, 371028, 371027, 371026, 371025, 371024, 371023, 371022, 371020, 371019, 371018, 371017, 371016, 371015, 371014, 371013, 371012, 371011, 371010, 371009, 371008, 371002, 370998, 370995, 370994, 370991, 370987, 370986, 370985, 370983, 370982, 370981, 370974, 370973, 370972, 370971, 370970, 370969, 370968); +DELETE FROM `gossip_menu_option` WHERE `MenuID`= 12669; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`) VALUES +(12669, 0, "Can you take me to the Great Hall?", 50691, 1, 1), +(12669, 1, "Can you take me to the Chapel?", 50692, 1, 1), +(12669, 2, "Can you take me to the Laboratory?", 50694, 1, 1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 15 AND `SourceGroup`= 12669; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTarget`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`) VALUES +(15, 12669, 0, 1, 13, 0, 3, 2), +(15, 12669, 1, 1, 13, 2, 3, 2), +(15, 12669, 2, 1, 13, 3, 3, 2); + +-- Creature Haunted Stable Hand 51400 SAI +SET @ENTRY := 51400; +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, 62, 0, 100, 0, 12669, 0, 0, 0, 11, 95300, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On gossip action 0 from menu 12669 selected - Self: Cast spell 95300 on Action invoker // "), +(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 12669, 1, 0, 0, 11, 95303, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On gossip action 1 from menu 12669 selected - Self: Cast spell 95303 on Action invoker // "), +(@ENTRY, 0, 2, 0, 62, 0, 100, 0, 12669, 2, 0, 0, 11, 95305, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On gossip action 2 from menu 12669 selected - Self: Cast spell 95305 on Action invoker // "); +-- Correct expansion level of High Prophet Barim HC version +UPDATE `creature_template` SET `exp`= 3 WHERE `entry`= 48951; + +-- Add Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (43612, 48951, 43614, 49045, 44577, 48932, 44819, 51088); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- High Prophet Barim +(43612, 395, 3500), +(48951, 395, 7000), +-- Lockmaw and Augh +(43614, 395, 3500), +(49045, 395, 7000), +-- General Husam +(44577, 395, 3500), +(48932, 395, 7000), +-- Siamat +(44819, 395, 3500), +(51088, 395, 7000); +-- General Husam +UPDATE creature_template SET `difficulty_entry_1` = 48932, `lootid` = 44577 WHERE `entry` = 44577; +DELETE FROM `creature_loot_template` WHERE entry IN (44577, 48932); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(44577, 55858, 0, 1, 1, 1, 1), +(44577, 55857, 0, 1, 1, 1, 1), +(44577, 55856, 0, 1, 1, 1, 1), +(44577, 55859, 0, 1, 1, 1, 1), +(44577, 55860, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid` = 48932 WHERE `entry` = 48932; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48932, 56379, 0, 1, 1, 1, 1), +(48932, 56383, 0, 1, 1, 1, 1), +(48932, 56381, 0, 1, 1, 1, 1), +(48932, 56380, 0, 1, 1, 1, 1), +(48932, 56382, 0, 1, 1, 1, 1); + +-- Siamat +DELETE FROM `creature_loot_template` WHERE `Entry` IN (44819, 51088); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (448190, 510880); +INSERT INTO `creature_loot_template` (`Entry`, `Chance`, `LootMode`, `Reference`, `MinCount`, `MaxCount`) VALUES +(44819, 100, 1, 448190, 2, 2); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(448190, 55872, 0, 1, 1, 1, 1), +(448190, 55876, 0, 1, 1, 1, 1), +(448190, 55878, 0, 1, 1, 1, 1), +(448190, 55877, 0, 1, 1, 1, 1), +(448190, 55871, 0, 1, 1, 1, 1), +(448190, 55873, 0, 1, 1, 1, 1), +(448190, 55874, 0, 1, 1, 1, 1), +(448190, 55879, 0, 1, 1, 1, 1), +(448190, 55875, 0, 1, 1, 1, 1), +(448190, 55880, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid`= 51088 WHERE `entry`= 51088; +INSERT INTO `creature_loot_template` (`Entry`, `Chance`, `LootMode`, `Reference`, `MinCount`, `MaxCount`) VALUES +(51088, 100, 1, 510880, 2, 2); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(510880, 56397, 0, 1, 1, 1, 1), +(510880, 56399, 0, 1, 1, 1, 1), +(510880, 56403, 0, 1, 1, 1, 1), +(510880, 56401, 0, 1, 1, 1, 1), +(510880, 56395, 0, 1, 1, 1, 1), +(510880, 56398, 0, 1, 1, 1, 1), +(510880, 56394, 0, 1, 1, 1, 1), +(510880, 56400, 0, 1, 1, 1, 1), +(510880, 56396, 0, 1, 1, 1, 1), +(510880, 56402, 0, 1, 1, 1, 1), +(510880, 52078, 100, 1, 2, 1, 1); -- Chaos Orb + +-- Gold Loot +UPDATE `creature_template` SET `mingold`= 19800, `maxgold`= 19900 WHERE entry IN (44577, 48932, 43614, 49045, 43612, 48951, 44819, 51088); +DROP TABLE IF EXISTS `creature_sparring_template`; +CREATE TABLE `creature_sparring_template`( + `AttackerEntry` MEDIUMINT(8) UNSIGNED NOT NULL, + `VictimEntry` MEDIUMINT(8) UNSIGNED NOT NULL, + `HealthLimitPct` FLOAT(5) DEFAULT 0, + PRIMARY KEY (`AttackerEntry`, `VictimEntry`) +); +-- Creature Oathsworn Axemaster 44922 SAI +SET @ENTRY := 44922; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 6000, 6500, 13000, 13000, 11, 84256, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 6500 ms (and later repeats every 13000 and 13000 ms) - Self: Cast spell 84256 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 7200, 7700, 11000, 11000, 11, 82763, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7200 and 7700 ms (and later repeats every 11000 and 11000 ms) - Self: Cast spell 82763 on Victim // "); + +-- Creature Oathsworn Skinner 44981 SAI +SET @ENTRY := 44981; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 15500, 15700, 11, 82789, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 5000 ms (and later repeats every 15500 and 15700 ms) - Self: Cast spell 82789 on Self // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 10000, 10000, 7000, 7000, 11, 84031, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 10000 and 10000 ms (and later repeats every 7000 and 7000 ms) - Self: Cast spell 84031 on Victim // "); + +-- Creature Oathsworn Wanderer 44926 SAI +SET @ENTRY := 44926; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 1, 1, 2000, 2000, 11, 83877, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1 and 1 ms (and later repeats every 2000 and 2000 ms) - Self: Cast spell 83877 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 7000, 7000, 16000, 16500, 11, 82794, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 16000 and 16500 ms) - Self: Cast spell 82794 on Victim // "); + +-- Creature Oathsworn Myrmidon 44924 SAI +SET @ENTRY := 44924; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 6400, 6500, 16000, 17000, 11, 82673, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6400 and 6500 ms (and later repeats every 16000 and 17000 ms) - Self: Cast spell 82673 on Self // "); + +-- Creature Neferset Plaguebringer 44976 SAI +SET @ENTRY := 44976; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 6800, 7000, 23000, 23000, 11, 73976, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6800 and 7000 ms (and later repeats every 23000 and 23000 ms) - Self: Cast spell 73976 on Self // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 8000, 8000, 15500, 16000, 11, 82768, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 8000 and 8000 ms (and later repeats every 15500 and 16000 ms) - Self: Cast spell 82768 on Random hostile (not top) // "); + +-- Creature Neferset Torturer 44977 SAI +SET @ENTRY := 44977; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 5500, 5500, 30000, 31000, 11, 82750, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5500 and 5500 ms (and later repeats every 30000 and 31000 ms) - Self: Cast spell 82750 on Random hostile (not top) // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 7000, 7000, 25000, 25000, 11, 82744, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 25000 and 25000 ms) - Self: Cast spell 82744 on Victim // "); + +-- Creature Oathsworn Pathfinder 44932 SAI +SET @ENTRY := 44932; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 1, 1, 2000, 2000, 11, 83877, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1 and 1 ms (and later repeats every 2000 and 2000 ms) - Self: Cast spell 83877 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 9000, 9000, 12000, 12000, 11, 82764, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 9000 and 9000 ms (and later repeats every 12000 and 12000 ms) - Self: Cast spell 82764 on Victim // "); + +-- Creature Pygmy Scout 314811 SAI +SET @ENTRY := -314811; +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, 0, 1, 1, 12000, 12000, 5, 53, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1 and 1 ms (and later repeats every 12000 and 12000 ms) - Self: Play emote 53 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 1000, 1000, 12000, 12000, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10968.2, -1477.91, 6.766029, 0, "When out of combat and timer at the begining between 1000 and 1000 ms (and later repeats every 12000 and 12000 ms) - Self: Move to None (point id 0) // "), +(@ENTRY, 0, 2, 0, 1, 0, 100, 0, 3500, 3500, 12000, 12000, 5, 53, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 3500 and 3500 ms (and later repeats every 12000 and 12000 ms) - Self: Play emote 53 // "), +(@ENTRY, 0, 3, 0, 1, 0, 100, 0, 5000, 5000, 12000, 12000, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10960.85, -1496.215, 6.935548, 0, "When out of combat and timer at the begining between 5000 and 5000 ms (and later repeats every 12000 and 12000 ms) - Self: Move to None (point id 0) // "), +(@ENTRY, 0, 4, 0, 1, 0, 100, 0, 7000, 7000, 12000, 12000, 5, 53, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 7000 and 7000 ms (and later repeats every 12000 and 12000 ms) - Self: Play emote 53 // "), +(@ENTRY, 0, 5, 0, 1, 0, 100, 0, 9500, 9500, 12000, 12000, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10957.5, 1485.63, 6.767189, 0, "When out of combat and timer at the begining between 9500 and 9500 ms (and later repeats every 12000 and 12000 ms) - Self: Move to None (point id 0) // "), +(@ENTRY, 0, 6, 0, 0, 0, 100, 0, 1, 1, 2700, 3000, 11, 83780, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1 and 1 ms (and later repeats every 2700 and 3000 ms) - Self: Cast spell 83780 on Self // "); + +-- Creature Pygmy Scout 44897 SAI +SET @ENTRY := 44897; +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, 1, 54, 0, 100, 1, 0, 0, 0, 0, 67, 0, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Trigger timed event #0 in 100 - 100 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 12, 44898, 8, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Summon creature Pygmy Firebreather (44898) at Self, moved by offset (0, 0, 0, 0) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 46598, 0, 0, 0, 0, 0, 11, 44896, 5, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 46598 on Creature Pygmy Brute (44896) in 5 yd // "), +(@ENTRY, 0, 3, 0, 0, 0, 100, 0, 1, 1, 2700, 3000, 11, 83780, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1 and 1 ms (and later repeats every 2700 and 3000 ms) - Self: Cast spell 83780 on Self // "); + +-- Creature Pygmy Firebreather 44898 SAI +SET @ENTRY := 44898; +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, 0, 0, 0, 0, 0, 67, 0, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Trigger timed event #0 in 100 - 100 ms // "), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 47020, 0, 0, 0, 0, 0, 11, 44897, 5, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 47020 on Creature Pygmy Scout (44897) in 5 yd // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 5000, 6000, 18000, 18000, 11, 83776, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 6000 ms (and later repeats every 18000 and 18000 ms) - Self: Cast spell 83776 on Self // "), +(@ENTRY, 0, 3, 0, 0, 0, 100, 0, 6000, 6500, 6000, 10000, 11, 83778, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 6500 ms (and later repeats every 6000 and 10000 ms) - Self: Cast spell 83778 on Random hostile // "); + +-- Creature Oathsworn Scorpid Keeper 45062 SAI +SET @ENTRY := 45062; +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, 25, 0, 100, 1, 0, 0, 0, 0, 11, 84126, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 84126 on Self // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 8000, 8000, 17000, 17000, 11, 84123, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 8000 and 8000 ms (and later repeats every 17000 and 17000 ms) - Self: Cast spell 84123 on Self // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 11000, 11000, 17000, 17000, 11, 84122, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 11000 and 11000 ms (and later repeats every 17000 and 17000 ms) - Self: Cast spell 84122 on Self // "); + +-- Creature Neferset Darkcaster 44982 SAI +SET @ENTRY := 44982; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 1, 1, 2400, 2400, 11, 82765, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1 and 1 ms (and later repeats every 2400 and 2400 ms) - Self: Cast spell 82765 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 7000, 7000, 16000, 16000, 11, 84032, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 16000 and 16000 ms) - Self: Cast spell 84032 on Random hostile // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 17000, 17000, 16000, 16000, 11, 82760, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 17000 and 17000 ms (and later repeats every 16000 and 16000 ms) - Self: Cast spell 82760 on Random hostile // "); + +-- Creature Neferset Theurgist 44980 SAI +SET @ENTRY := 44980; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 6000, 7000, 16000, 16000, 11, 82753, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 7000 ms (and later repeats every 16000 and 16000 ms) - Self: Cast spell 82753 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 14000, 15000, 16000, 16000, 11, 82757, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 14000 and 15000 ms (and later repeats every 16000 and 16000 ms) - Self: Cast spell 82757 on Self // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 23000, 24000, 16000, 16000, 11, 82759, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 23000 and 24000 ms (and later repeats every 16000 and 16000 ms) - Self: Cast spell 82759 on Self // "); + +-- Creature Tol'vir Merchant 45065 SAI +SET @ENTRY := 45065; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 1, 1, 1000, 1000, 11, 84144, 64, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1 and 1 ms (and later repeats every 1000 and 1000 ms) - Self: Cast spell 84144 on Random hostile // "); + +-- Trash Generic Update +-- Sharptalon Eagle +UPDATE `creature_template` SET `unit_flags`= 0, `minlevel`= 84, `maxlevel`= 84 WHERE `entry`= 44261; +-- Oasis Moth +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 7 WHERE `id`= 50496; +-- Tol'Vir merchant +UPDATE `creature_template` SET `mingold`= 2300, `maxgold`= 2500 WHERE `entry`= 45065; +-- Oathsworn Captain +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 45122; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 49334; +-- Oathsworn Tamer +UPDATE `creature_template` SET `difficulty_entry_1`= 49333, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 45097; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49333; +-- Oathsworn Wanderer +UPDATE `creature_template` SET `difficulty_entry_1`= 49322, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44926; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49322; +-- Oathsworn Skinner +UPDATE `creature_template` SET `difficulty_entry_1`= 49327, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44981; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49327; +-- Oathsworn Myrmidon +UPDATE `creature_template` SET `difficulty_entry_1`= 49321, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44924; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49321; +-- Oathsworn Axemaster +UPDATE `creature_template` SET `difficulty_entry_1`= 49319, `mingold`= 11000, `maxgold`= 12000 WHERE `entry`= 44922; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49319; +-- Oathsworn Pathfinder +UPDATE `creature_template` SET `difficulty_entry_1`= 49323, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44932; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49323; +-- Neferset Plaguebringer +UPDATE `creature_template` SET `difficulty_entry_1`= 49324, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44976; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49324; +-- Neferset Torturer +UPDATE `creature_template` SET `difficulty_entry_1`= 49325, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44977; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49325; +-- Neferset Darkcaster +UPDATE `creature_template` SET `difficulty_entry_1`= 49328, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44982; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49328; +-- Oathsworn Scorpid Keeper +UPDATE `creature_template` SET `difficulty_entry_1`= 49330, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 45062; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49330; +-- Neferset Theurgist +UPDATE `creature_template` SET `difficulty_entry_1`= 49326, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44980; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `speed_walk`= 0.666668 WHERE `entry`= 49326; +-- Pygmy Scout +UPDATE `creature_template` SET `difficulty_entry_1`= 49318, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44897; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `vehicleId`= 1058 WHERE `entry`= 49318; +-- Pygmy Brute +UPDATE `creature_template` SET `difficulty_entry_1`= 49317, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44896; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000, `vehicleId`= 1056 WHERE `entry`= 49317; +-- Pygmy Firebreather +UPDATE `creature_template` SET `difficulty_entry_1`= 49320, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 44898; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `exp`= 3, `mingold`= 11100, `maxgold`= 12000 WHERE `entry`= 49320; +-- Add dual wield flag to multiple npc's +UPDATE `creature_template` SET `flags_extra`= `flags_extra`| 2048 WHERE `entry` IN (44981, 49327, 44977, 49325, 45007, 45062, 49330); + +-- Loot +-- Lockmaw +UPDATE `creature_template` SET `lootid` = 43614 WHERE `entry` = 43614; +DELETE FROM `creature_loot_template` WHERE `entry` IN (43614, 49043, 49045); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(43614, 55866, 0, 1, 1, 1, 1), +(43614, 55867, 0, 1, 1, 1, 1), +(43614, 55869, 0, 1, 1, 1, 1), +(43614, 55868, 0, 1, 1, 1, 1), +(43614, 55870, 0, 1, 1, 1, 1); + +-- Augh (Heroic Mode) +UPDATE `creature_template` SET `lootid` = 49045 WHERE `entry` = 49045; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49045, 56389, 0, 1, 1, 1, 1), +(49045, 56392, 0, 1, 1, 1, 1), +(49045, 56391, 0, 1, 1, 1, 1), +(49045, 56393, 0, 1, 1, 1, 1), +(49045, 56390, 0, 1, 1, 1, 1); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_gen_blink', +'spell_gen_toxic_blow_dart', +'spell_gen_projectile_goods'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(84123, 'spell_gen_blink'), +(83780, 'spell_gen_toxic_blow_dart'), +(89991, 'spell_gen_toxic_blow_dart'), +(84144, 'spell_gen_projectile_goods'); +DELETE FROM `spell_proc` WHERE `SpellID`= -53234; +INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`) VALUES +(-53234, 9, 0, 0, 1, 2, 2); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_hun_piercing_shots'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-53234, 'spell_hun_piercing_shots'); + +DELETE FROM `spell_proc` WHERE `SpellID` IN (-34485, 82926); +INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`) VALUES +(-34485, 9, 0, 0, 1, 1, 0), +(82926, 9, 0, 0, 1, 1, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_hun_master_marksman'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-34485, 'spell_hun_master_marksman'); + +DELETE FROM `spell_proc` WHERE `SpellID`= -35104; +INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`) VALUES +(-35104, 9, 0, 0, 1, 2, 2); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_hun_bombardment'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-35104, 'spell_hun_bombardment'); +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (56641, 77767); +DELETE FROM `npc_trainer` WHERE `SpellID` IN (93321, 93375, 79682, 80388); +INSERT INTO `npc_trainer` (`ID`, `SpellID`, `MoneyCost`, `ReqLevel`) VALUES +(200003, 93321, 110, 10), +(200009, 93375, 680, 10); +-- DK Questline fixes +UPDATE `creature_questender` SET `id`= 25462 WHERE `quest`= 12636; + +-- Add One-Handed maces to DK +DELETE FROM `playercreateinfo_skills` WHERE `classMask`= 32 AND `skill`= 54; +INSERT INTO `playercreateinfo_skills` (`classMask`, `raceMask`, `skill`, `comment`) VALUES +(32, 0, 54, 'Death Knight - Mace'); + +-- Grand Theft Palomino requires the Scarlet Harvest to be completed before +UPDATE `quest_template_addon` SET `PrevQuestID`= 12670 WHERE `ID`= 12680; + +-- The Scarlet Apocalypse requires Scarlet Armies Approach to be completed before +UPDATE `quest_template_addon` SET `PrevQuestID`= 12757 WHERE `ID`= 12778; +-- Correct all stable masters +UPDATE `creature_template` SET `npcflag`= `npcflag`| 0x00400000, `gossip_menu_id`= 9821, `scriptname`= 'npc_stable_master' WHERE `subname`= 'Stable Master'; +-- Remove Battle Pet Gossip option because we are on 4.3.4 +DELETE FROM `gossip_menu_option` WHERE `MenuID`= 9821 AND `OptionID`= 2; +-- Add stable master flag to stable option +UPDATE `gossip_menu_option` SET `OptionNpcFlag`= 4194304, `OptionBroadcastTextID`= 30181, `OptionType`= 14 WHERE `MenuID`= 9821 AND `OptionID`= 0; +UPDATE `gossip_menu_option` SET `OptionBroadcastTextID`= 56613 WHERE `MenuID`= 9821 AND `OptionID`= 1; +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry` IN (34916, 34913, 34884, 35839, 35118, 35872, 35232, 50474, 50471); +INSERT INTO `creature_sparring_template` (`AttackerEntry`, `VictimEntry`, `HealthLimitPct`) VALUES +(34916, 34884, 90.0), +(34913, 34884, 90.0), +(34884, 34916, 90.0), +(34884, 34913, 100.0), +(35839, 35118, 90.0), +(35872, 35118, 90.0), +(35118, 35872, 100.0), +(35118, 35839, 100.0), +(35232, 35118, 90.0), +(35118, 35232, 90.0), +(50474, 50471, 90.0), +(50471, 50474, 90.0); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pet_ghoul_dummy_ability', +'spell_dk_shadow_infusion', +'spell_dk_dark_transformation', +'spell_dk_dark_transformation_aura'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(47481, 'spell_pet_ghoul_dummy_ability'), +(47482, 'spell_pet_ghoul_dummy_ability'), +(47468, 'spell_pet_ghoul_dummy_ability'), +(47484, 'spell_pet_ghoul_dummy_ability'), +(-48965, 'spell_dk_shadow_infusion'), +(63560, 'spell_dk_dark_transformation'), +(93426, 'spell_dk_dark_transformation_aura'); + +DELETE FROM `spell_proc` WHERE `SpellId`= -48965; +INSERT INTO `spell_proc` (`SpellID`, `SchoolMask`, `SpellFamilyName`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`) VALUES +(-48965, 32, 15, 0x00010000 | 0x00004000, 7, 1, 12287); +-- Warrior spell bonus datas +DELETE FROM `spell_bonus_data` WHERE `entry` IN (34428, 94009, 6343, 12294, 23881, 23922); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(34428, 0, 0, 0, 0, 'Warrior - Victory Rush'), +(94009, 0, 0, 0, 0, 'Warrior - Rend'), +(6343, 0, 0, 0.228, 0, 'Warrior - Thunder Clap'), +(12294, 0, 0, 0.236, 0, 'Warrior - Mortal Strike'), +(23881, 0, 0, -1, 0, 'Warrior - Bloodthirst'), +(23922, 0, 0, 0.6, 0, 'Warrior - Shield Slam'); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_warr_victory_rush', + 'spell_warr_victorious', + 'spell_warr_rend', + 'spell_warr_mortal_strike', + 'spell_gen_vengeance'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(34428, 'spell_warr_victory_rush'), +(94009, 'spell_warr_rend'), +(93098, 'spell_gen_vengeance'), +(93099, 'spell_gen_vengeance'), +(84839, 'spell_gen_vengeance'); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_warr_thunder_clap'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(6343, 'spell_warr_thunder_clap'); +-- Clean up some duplicate spawns +DELETE FROM `creature` WHERE `guid` IN (376609, 376563, 376561, 376532, 376521, 376575); +DELETE FROM `creature_addon` WHERE `guid` IN (376609, 376397,376563, 376561, 376532, 376521, 376575); + +-- Creature Rampaging Worgen 35660 SAI +SET @ENTRY := 35660; +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, 1, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 8599 on Self // Rampaging Worgen - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY, 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, " Linked - Self: Talk 0 // Rampaging Worgen - Between 0-30% Health - Say Line 0 (No Repeat)"), +(@ENTRY, 0, 2, 0, 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 - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 3, 0, 1, 0, 100, 1, 60000, 60000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 60000 and 60000 ms (and later repeats every 0 and 0 ms) - Self: Despawn instantly // "), +(@ENTRY, 0, 4, 0, 1, 0, 100, 1, 3000, 3000, 0, 0, 29, 0, 0, 0, 0, 0, 0, 11, 35830, 15, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 3000 and 3000 ms (and later repeats every 0 and 0 ms) - Self: Follow Creature Gilneas Evacuation Facing Marker (First) (35830) in 15 yd by distance 0, angle 0 // "), +(@ENTRY, 0, 5, 0, 1, 0, 100, 1, 4000, 4000, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 4000 and 4000 ms (and later repeats every 0 and 0 ms) - Self: Set react state to REACT_AGGRESSIVE // "); + +UPDATE `gameobject_template_addon` SET `flags`= 4 WHERE `entry`= 195327; + +DELETE FROM `quest_poi` WHERE (`QuestID`=24676 AND `id`=3) OR (`QuestID`=24676 AND `id`=2) OR (`QuestID`=24676 AND `id`=1) OR (`QuestID`=24676 AND `id`=0) OR (`QuestID`=24674 AND `id`=1) OR (`QuestID`=24674 AND `id`=0) OR (`QuestID`=24675 AND `id`=2) OR (`QuestID`=24675 AND `id`=1) OR (`QuestID`=24675 AND `id`=0) OR (`QuestID`=24575 AND `id`=2) OR (`QuestID`=24575 AND `id`=1) OR (`QuestID`=24575 AND `id`=0) OR (`QuestID`=24677 AND `id`=0) OR (`QuestID`=24592 AND `id`=2) OR (`QuestID`=24592 AND `id`=1) OR (`QuestID`=24592 AND `id`=0) OR (`QuestID`=24672 AND `id`=0) OR (`QuestID`=24673 AND `id`=0) OR (`QuestID`=24593 AND `id`=3) OR (`QuestID`=24593 AND `id`=2) OR (`QuestID`=24593 AND `id`=1) OR (`QuestID`=24593 AND `id`=0) OR (`QuestID`=24646 AND `id`=1) OR (`QuestID`=24646 AND `id`=0) OR (`QuestID`=24628 AND `id`=1) OR (`QuestID`=24628 AND `id`=0) OR (`QuestID`=24627 AND `id`=1) OR (`QuestID`=24627 AND `id`=0) OR (`QuestID`=24617 AND `id`=0) OR (`QuestID`=24616 AND `id`=1) OR (`QuestID`=24616 AND `id`=0) OR (`QuestID`=24578 AND `id`=0) OR (`QuestID`=24501 AND `id`=1) OR (`QuestID`=24501 AND `id`=0) OR (`QuestID`=24495 AND `id`=3) OR (`QuestID`=24495 AND `id`=2) OR (`QuestID`=24495 AND `id`=1) OR (`QuestID`=24495 AND `id`=0) OR (`QuestID`=24484 AND `id`=1) OR (`QuestID`=24484 AND `id`=0) OR (`QuestID`=24483 AND `id`=0) OR (`QuestID`=24472 AND `id`=2) OR (`QuestID`=24472 AND `id`=1) OR (`QuestID`=24472 AND `id`=0) OR (`QuestID`=24468 AND `id`=1) OR (`QuestID`=24468 AND `id`=0) OR (`QuestID`=24438 AND `id`=0) OR (`QuestID`=14466 AND `id`=0) OR (`QuestID`=14465 AND `id`=0) OR (`QuestID`=14463 AND `id`=0) OR (`QuestID`=14405 AND `id`=0) OR (`QuestID`=14402 AND `id`=0) OR (`QuestID`=14401 AND `id`=1) OR (`QuestID`=14401 AND `id`=0) OR (`QuestID`=14400 AND `id`=1) OR (`QuestID`=14400 AND `id`=0) OR (`QuestID`=14399 AND `id`=1) OR (`QuestID`=14399 AND `id`=0) OR (`QuestID`=14412 AND `id`=1) OR (`QuestID`=14412 AND `id`=0) OR (`QuestID`=14404 AND `id`=3) OR (`QuestID`=14404 AND `id`=2) OR (`QuestID`=14404 AND `id`=1) OR (`QuestID`=14404 AND `id`=0) OR (`QuestID`=14416 AND `id`=1) OR (`QuestID`=14416 AND `id`=0) OR (`QuestID`=14406 AND `id`=0) OR (`QuestID`=14403 AND `id`=0) OR (`QuestID`=14398 AND `id`=0) OR (`QuestID`=14397 AND `id`=0) OR (`QuestID`=14395 AND `id`=1) OR (`QuestID`=14395 AND `id`=0) OR (`QuestID`=14396 AND `id`=0) OR (`QuestID`=14386 AND `id`=1) OR (`QuestID`=14386 AND `id`=0) OR (`QuestID`=14368 AND `id`=3) OR (`QuestID`=14368 AND `id`=2) OR (`QuestID`=14368 AND `id`=1) OR (`QuestID`=14368 AND `id`=0) OR (`QuestID`=14382 AND `id`=2) OR (`QuestID`=14382 AND `id`=1) OR (`QuestID`=14382 AND `id`=0) OR (`QuestID`=14369 AND `id`=1) OR (`QuestID`=14369 AND `id`=0) OR (`QuestID`=14367 AND `id`=0) OR (`QuestID`=14366 AND `id`=0) OR (`QuestID`=14347 AND `id`=1) OR (`QuestID`=14347 AND `id`=0) OR (`QuestID`=14348 AND `id`=1) OR (`QuestID`=14348 AND `id`=0) OR (`QuestID`=14336 AND `id`=0) OR (`QuestID`=14321 AND `id`=0) OR (`QuestID`=14320 AND `id`=0) OR (`QuestID`=14313 AND `id`=0) OR (`QuestID`=14222 AND `id`=1) OR (`QuestID`=14222 AND `id`=0) OR (`QuestID`=14221 AND `id`=0) OR (`QuestID`=14218 AND `id`=7) OR (`QuestID`=14218 AND `id`=6) OR (`QuestID`=14218 AND `id`=5) OR (`QuestID`=14218 AND `id`=4) OR (`QuestID`=14218 AND `id`=3) OR (`QuestID`=14218 AND `id`=2) OR (`QuestID`=14218 AND `id`=1) OR (`QuestID`=14218 AND `id`=0) OR (`QuestID`=14212 AND `id`=0) OR (`QuestID`=14294 AND `id`=0) OR (`QuestID`=14293 AND `id`=1) OR (`QuestID`=14293 AND `id`=0) OR (`QuestID`=14214 AND `id`=0) OR (`QuestID`=14204 AND `id`=1) OR (`QuestID`=14204 AND `id`=0) OR (`QuestID`=14159 AND `id`=0) OR (`QuestID`=26129 AND `id`=0) OR (`QuestID`=14154 AND `id`=1) OR (`QuestID`=14154 AND `id`=0) OR (`QuestID`=28850 AND `id`=0) OR (`QuestID`=24930 AND `id`=2) OR (`QuestID`=24930 AND `id`=1) OR (`QuestID`=24930 AND `id`=0) OR (`QuestID`=14157 AND `id`=0) OR (`QuestID`=14286 AND `id`=0) OR (`QuestID`=14265 AND `id`=0) OR (`QuestID`=14099 AND `id`=0) OR (`QuestID`=14094 AND `id`=3) OR (`QuestID`=14094 AND `id`=2) OR (`QuestID`=14094 AND `id`=1) OR (`QuestID`=14094 AND `id`=0) OR (`QuestID`=14098 AND `id`=2) OR (`QuestID`=14098 AND `id`=1) OR (`QuestID`=14098 AND `id`=0) OR (`QuestID`=14093 AND `id`=3) OR (`QuestID`=14093 AND `id`=2) OR (`QuestID`=14093 AND `id`=1) OR (`QuestID`=14093 AND `id`=0) OR (`QuestID`=14091 AND `id`=0) OR (`QuestID`=14078 AND `id`=0) OR (`QuestID`=31814 AND `id`=2) OR (`QuestID`=31814 AND `id`=1) OR (`QuestID`=31814 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(24676, 3, -1, 654, 545, 0, 0, 1, 25383), -- Push Them Out +(24676, 2, 0, 654, 545, 0, 0, 1, 25383), -- Push Them Out +(24676, 1, 0, 654, 545, 0, 0, 1, 25383), -- Push Them Out +(24676, 0, 0, 654, 545, 0, 0, 1, 25383), -- Push Them Out +(24674, 1, -1, 654, 545, 0, 0, 1, 25383), -- Slaves to No One +(24674, 0, 0, 654, 545, 0, 0, 1, 25383), -- Slaves to No One +(24675, 2, -1, 654, 545, 0, 0, 1, 25383), -- Last Meal +(24675, 1, 0, 654, 545, 0, 0, 1, 25383), -- Last Meal +(24675, 0, 0, 654, 545, 0, 0, 1, 25383), -- Last Meal +(24575, 2, -1, 654, 545, 0, 0, 1, 25383), -- Liberation Day +(24575, 1, 27, 654, 545, 0, 0, 1, 25383), -- Liberation Day +(24575, 0, 0, 654, 545, 0, 0, 1, 25383), -- Liberation Day +(24677, 0, -1, 654, 545, 0, 0, 1, 25383), -- Flank the Forsaken +(24592, 2, -1, 654, 545, 0, 0, 1, 25383), -- Betrayal at Tempest's Reach +(24592, 1, 0, 654, 545, 0, 0, 1, 25383), -- Betrayal at Tempest's Reach +(24592, 0, 0, 654, 545, 0, 0, 1, 25383), -- Betrayal at Tempest's Reach +(24672, 0, -1, 654, 545, 0, 0, 1, 25383), -- Onwards and Upwards +(24673, 0, -1, 654, 545, 0, 0, 1, 25383), -- Return to Stormglen +(24593, 3, -1, 654, 545, 0, 0, 1, 25383), -- Neither Human Nor Beast +(24593, 2, 0, 654, 545, 0, 0, 1, 25383), -- Neither Human Nor Beast +(24593, 1, 0, 654, 545, 0, 0, 1, 25383), -- Neither Human Nor Beast +(24593, 0, 0, 654, 545, 0, 0, 1, 25383), -- Neither Human Nor Beast +(24646, 1, -1, 654, 545, 0, 0, 1, 25383), -- Take Back What's Ours +(24646, 0, 0, 654, 545, 0, 0, 1, 25383), -- Take Back What's Ours +(24628, 1, -1, 654, 545, 0, 0, 1, 25383), -- Preparations +(24628, 0, 0, 654, 545, 0, 0, 1, 25383), -- Preparations +(24627, 1, -1, 654, 545, 0, 0, 1, 25383), -- At Our Doorstep +(24627, 0, 0, 654, 545, 0, 0, 1, 25383), -- At Our Doorstep +(24617, 0, -1, 654, 545, 0, 0, 1, 25383), -- Tal'doren, the Wild Home +(24616, 1, 0, 654, 545, 0, 0, 1, 25383), -- Losing Your Tail +(24616, 0, -1, 654, 545, 0, 0, 1, 25383), -- Losing Your Tail +(24578, 0, -1, 654, 545, 0, 0, 1, 25383), -- The Blackwald +(24501, 1, -1, 654, 545, 0, 0, 1, 25383), -- Queen-Sized Troubles +(24501, 0, 0, 654, 545, 0, 0, 1, 25383), -- Queen-Sized Troubles +(24495, 3, -1, 654, 545, 0, 0, 1, 25383), -- Pieces of the Past +(24495, 2, 0, 654, 545, 0, 0, 1, 25383), -- Pieces of the Past +(24495, 1, -1, 638, 539, 0, 0, 1, 25383), -- Pieces of the Past +(24495, 0, 0, 638, 539, 0, 0, 1, 25383), -- Pieces of the Past +(24484, 1, -1, 654, 545, 0, 0, 1, 25383), -- Pest Control +(24484, 0, 0, 654, 545, 0, 0, 1, 25383), -- Pest Control +(24483, 0, -1, 654, 545, 0, 0, 1, 25383), -- Stormglen +(24472, 2, -1, 654, 545, 0, 0, 1, 25383), -- Introductions Are in Order +(24472, 1, 0, 654, 545, 0, 0, 1, 25383), -- Introductions Are in Order +(24472, 0, 0, 654, 545, 0, 0, 1, 25383), -- Introductions Are in Order +(24468, 1, 0, 654, 545, 0, 0, 7, 25383), -- Stranded at the Marsh +(24468, 0, -1, 654, 545, 0, 0, 1, 25383), -- Stranded at the Marsh +(24438, 0, -1, 654, 545, 0, 0, 1, 25383), -- Exodus +(14466, 0, -1, 654, 545, 0, 0, 1, 25383), -- The King's Observatory +(14465, 0, -1, 654, 545, 0, 0, 1, 25383), -- To Greymane Manor +(14463, 0, -1, 654, 545, 0, 0, 1, 25383), -- Horses for Duskhaven +(14405, 0, -1, 654, 545, 0, 0, 1, 25383), -- Escape By Sea +(14402, 0, -1, 654, 545, 0, 0, 1, 25383), -- Ready to Go +(14401, 1, -1, 654, 545, 0, 0, 7, 25383), -- Grandma's Cat +(14401, 0, 0, 654, 545, 0, 0, 1, 25383), -- Grandma's Cat +(14400, 1, -1, 654, 545, 0, 0, 7, 25383), -- I Can't Wear This +(14400, 0, 0, 654, 545, 0, 0, 1, 25383), -- I Can't Wear This +(14399, 1, -1, 654, 545, 0, 0, 7, 25383), -- Grandma's Lost It Alright +(14399, 0, 0, 654, 545, 0, 0, 1, 25383), -- Grandma's Lost It Alright +(14412, 1, -1, 654, 545, 0, 0, 1, 25383), -- Washed Up +(14412, 0, 0, 654, 545, 0, 0, 1, 25383), -- Washed Up +(14404, 3, -1, 654, 545, 0, 0, 1, 25383), -- Not Quite Shipshape +(14404, 2, 0, 654, 545, 0, 0, 1, 25383), -- Not Quite Shipshape +(14404, 1, 0, 654, 545, 0, 0, 1, 25383), -- Not Quite Shipshape +(14404, 0, 0, 654, 545, 0, 0, 1, 25383), -- Not Quite Shipshape +(14416, 1, -1, 654, 545, 0, 0, 1, 25383), -- The Hungry Ettin +(14416, 0, 0, 654, 545, 0, 0, 1, 25383), -- The Hungry Ettin +(14406, 0, -1, 654, 545, 0, 0, 1, 25383), -- The Crowley Orchard +(14403, 0, -1, 654, 545, 0, 0, 1, 25383), -- The Hayward Brothers +(14398, 0, -1, 654, 678, 0, 0, 7, 25383), -- Grandma Wahl +(14397, 0, -1, 654, 545, 0, 0, 1, 25383), -- Evacuation +(14395, 1, 0, 654, 545, 0, 0, 1, 25383), -- Gasping for Breath +(14395, 0, -1, 654, 545, 0, 0, 1, 25383), -- Gasping for Breath +(14396, 0, -1, 654, 545, 0, 0, 1, 25383), -- As the Land Shatters +(14386, 1, -1, 654, 545, 0, 0, 1, 25383), -- Leader of the Pack +(14386, 0, 0, 654, 545, 0, 0, 1, 25383), -- Leader of the Pack +(14368, 3, -1, 654, 545, 0, 0, 1, 25383), -- Save the Children! +(14368, 2, 0, 654, 545, 0, 0, 1, 25383), -- Save the Children! +(14368, 1, 0, 654, 545, 0, 0, 1, 25383), -- Save the Children! +(14368, 0, 0, 654, 545, 0, 0, 1, 25383), -- Save the Children! +(14382, 2, -1, 654, 545, 0, 0, 1, 25383), -- Two By Sea +(14382, 1, 0, 654, 545, 0, 0, 1, 25383), -- Two By Sea +(14382, 0, 0, 654, 545, 0, 0, 1, 25383), -- Two By Sea +(14369, 1, -1, 654, 545, 0, 0, 1, 25383), -- Unleash the Beast +(14369, 0, 0, 654, 545, 0, 0, 1, 25383), -- Unleash the Beast +(14367, 0, -1, 654, 545, 0, 0, 1, 25383), -- The Allens' Storm Cellar +(14366, 0, -1, 654, 545, 0, 0, 1, 25383), -- Holding Steady +(14347, 1, -1, 654, 545, 0, 0, 1, 25383), -- Hold the Line +(14347, 0, 0, 654, 545, 0, 0, 1, 25383), -- Hold the Line +(14348, 1, -1, 654, 545, 0, 0, 1, 25383), -- You Can't Take 'Em Alone +(14348, 0, 26, 654, 545, 0, 0, 1, 25383), -- You Can't Take 'Em Alone +(14336, 0, -1, 654, 545, 0, 0, 1, 25383), -- Kill or Be Killed +(14321, 0, -1, 654, 545, 0, 0, 1, 25383), -- Invasion +(14320, 0, -1, 654, 545, 0, 0, 1, 25383), -- In Need of Ingredients +(14313, 0, -1, 654, 545, 0, 0, 1, 25383), -- Among Humans Again +(14222, 1, -1, 654, 545, 0, 0, 1, 25383), -- Last Stand +(14222, 0, 0, 654, 545, 0, 0, 1, 25383), -- Last Stand +(14221, 0, -1, 654, 545, 0, 0, 1, 25383), -- Never Surrender, Sometimes Retreat +(14218, 7, -1, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 6, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 5, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 4, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 3, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 2, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 1, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14218, 0, 0, 654, 611, 0, 0, 1, 25383), -- By Blood and Ash +(14212, 0, -1, 654, 545, 0, 0, 1, 25383), -- Sacrifices +(14294, 0, -1, 654, 545, 0, 0, 1, 25383), -- Time to Regroup +(14293, 1, 0, 654, 611, 0, 0, 1, 25383), -- Save Krennan Aranas +(14293, 0, -1, 654, 611, 0, 0, 1, 25383), -- Save Krennan Aranas +(14214, 0, -1, 654, 545, 0, 0, 1, 25383), -- Message to Greymane +(14204, 1, -1, 654, 545, 0, 0, 1, 25383), -- From the Shadows +(14204, 0, 0, 654, 545, 0, 0, 1, 25383), -- From the Shadows +(14159, 0, -1, 654, 545, 0, 0, 1, 25383), -- The Rebel Lord's Arsenal +(26129, 0, -1, 654, 545, 0, 0, 1, 25383), -- Brothers In Arms +(14154, 1, 30, 654, 545, 0, 0, 7, 25383), -- By the Skin of His Teeth +(14154, 0, -1, 654, 545, 0, 0, 3, 25383), -- By the Skin of His Teeth +(28850, 0, -1, 654, 611, 0, 0, 1, 25383), -- The Prison Rooftop +(24930, 2, -1, 654, 545, 0, 0, 1, 25383), -- While You're At It +(24930, 1, 0, 654, 545, 0, 0, 1, 25383), -- While You're At It +(24930, 0, 0, 638, 539, 0, 0, 1, 25383), -- While You're At It +(14157, 0, -1, 654, 611, 0, 0, 3, 25383), -- Old Divisions +(14286, 0, -1, 654, 545, 0, 0, 1, 25383), -- Safety in Numbers +(14265, 0, -1, 654, 545, 0, 0, 1, 25383), -- Your Instructor +(14099, 0, -1, 654, 545, 0, 0, 1, 25383), -- Royal Orders +(14094, 3, -1, 654, 545, 0, 0, 1, 25383), -- Salvage the Supplies +(14094, 2, 0, 654, 545, 0, 0, 1, 25383), -- Salvage the Supplies +(14094, 1, -1, 638, 539, 0, 0, 1, 25383), -- Salvage the Supplies +(14094, 0, 0, 638, 539, 0, 0, 1, 25383), -- Salvage the Supplies +(14098, 2, -1, 654, 611, 0, 0, 1, 25383), -- Evacuate the Merchant Square +(14098, 1, 0, 654, 545, 0, 0, 3, 25383), -- Evacuate the Merchant Square +(14098, 0, 0, 654, 545, 0, 0, 3, 25383), -- Evacuate the Merchant Square +(14093, 3, -1, 654, 545, 0, 0, 1, 25383), -- All Hell Breaks Loose +(14093, 2, 0, 654, 545, 0, 0, 1, 25383), -- All Hell Breaks Loose +(14093, 1, -1, 638, 539, 0, 0, 1, 25383), -- All Hell Breaks Loose +(14093, 0, 0, 638, 539, 0, 0, 3, 25383), -- All Hell Breaks Loose +(14091, 0, -1, 654, 545, 0, 0, 1, 25383), -- Something's Amiss +(14078, 0, -1, 654, 611, 0, 0, 1, 25383), -- Lockdown! +(31814, 2, 32, 1, 11, 0, 0, 0, 25383), -- Analynn +(31814, 1, 0, 1, 43, 0, 0, 0, 25383), -- Analynn +(31814, 0, -1, 1, 43, 0, 0, 0, 25383); -- Analynn + +UPDATE `quest_offer_reward` SET `RewardText`='You''ve done it again, $n. The freed villagers are eager to help us against the Forsaken in any way they can.', `VerifiedBuild`=25383 WHERE `ID`=24575; -- Liberation Day +UPDATE `quest_offer_reward` SET `RewardText`='I thank you, $n. Our people will no longer suffer under that monstrosity''s yoke.', `VerifiedBuild`=25383 WHERE `ID`=24674; -- Slaves to No One +UPDATE `quest_offer_reward` SET `RewardText`='I thank you, $n. Our men and women will have a last good meal before they set off for battle.', `VerifiedBuild`=25383 WHERE `ID`=24675; -- Last Meal +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`='I am glad to have you here, $n. We''re surrounded by Forsaken on all sides and can use all the help we can get.', `VerifiedBuild`=25383 WHERE `ID`=24677; -- Flank the Forsaken +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`='I wish it could''ve been avoided, $n. Let us ensure this is resolved without further bloodshed.', `VerifiedBuild`=25383 WHERE `ID`=24592; -- Betrayal at Tempest's Reach +UPDATE `quest_offer_reward` SET `RewardText`='$n!$B$BGenn... they''ve taken Genn... they''ve taken... our king!', `VerifiedBuild`=25383 WHERE `ID`=24672; -- Onwards and Upwards +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=24673; -- Return to Stormglen +UPDATE `quest_offer_reward` SET `RewardText`='It is done then, $n. You are one of us now.', `VerifiedBuild`=25383 WHERE `ID`=24593; -- Neither Human Nor Beast +UPDATE `quest_offer_reward` SET `Emote1`=66, `RewardText`='I knew we could count on you. You''ve done well, $n.', `VerifiedBuild`=25383 WHERE `ID`=24646; -- Take Back What's Ours +UPDATE `quest_offer_reward` SET `Emote1`=1, `VerifiedBuild`=25383 WHERE `ID`=24628; -- Preparations +UPDATE `quest_offer_reward` SET `RewardText`='You are as good as I remember, $n. It is good to have you back.', `VerifiedBuild`=25383 WHERE `ID`=24627; -- At Our Doorstep +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`='You''re all right, $n! I''ve been waiting for this day for a long time, it truly is great to see you friend.$B$BI''ve heard of what you''ve done and I''m thankful... especially for Lorna -- she''s all I''ve left. I will send for her right away.', `VerifiedBuild`=25383 WHERE `ID`=24617; -- Tal'doren, the Wild Home +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=66, `RewardText`='Well done, $n. The scout never had a chance.', `VerifiedBuild`=25383 WHERE `ID`=24616; -- Losing Your Tail +UPDATE `quest_offer_reward` SET `RewardText`='I''ve been expecting you, $n. Do not be alarmed.$B$BMy name is Belysra . I am a priestess of the moon... a night elf.$B$BYou might not know my people, but the destinies of our two races have been linked since the Curse befell you.', `VerifiedBuild`=25383 WHERE `ID`=24578; -- The Blackwald +UPDATE `quest_offer_reward` SET `RewardText`='Great job, $n. We''ve heard rumors of survivors further in the mountains. Now we''ll be able to send scouts there.', `VerifiedBuild`=25383 WHERE `ID`=24501; -- Queen-Sized Troubles +UPDATE `quest_offer_reward` SET `RewardText`='You''ve done well, $n. The spiders are everywhere, however, and I''m afraid we''ve barely put a dent in their numbers.', `VerifiedBuild`=25383 WHERE `ID`=24484; -- Pest Control +UPDATE `quest_offer_reward` SET `RewardText`='Thank you, $n. It will take some time, but I''ll try to make sense of what we have.', `VerifiedBuild`=25383 WHERE `ID`=24495; -- Pieces of the Past +UPDATE `quest_offer_reward` SET `RewardText`='It''s good to see you made it, $n. It looks like most everybody did.$B$BWe''re not doing too bad so far for an emergency evacuation.', `VerifiedBuild`=25383 WHERE `ID`=24483; -- Stormglen +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=273, `RewardText`='You definitely got the ettin angry, $n. I heard him myself.$B$BLet''s hope this works.', `VerifiedBuild`=25383 WHERE `ID`=24472; -- Introductions Are in Order +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`='You''ve done it again, $n. You have my thanks.', `VerifiedBuild`=25383 WHERE `ID`=24468; -- Stranded at the Marsh +UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=25, `RewardText`='Thanks for stopping, $n. Our carriage got hit pretty bad.$B$BThe one in front of us got it worse.', `VerifiedBuild`=25383 WHERE `ID`=24438; -- Exodus +UPDATE `quest_offer_reward` SET `RewardText`='Look, $n! Look at what''s become of Duskhaven!$B$BLook at what''s become of the last safe place in Gilneas!', `VerifiedBuild`=25383 WHERE `ID`=14467; -- Alas, Gilneas! +UPDATE `quest_offer_reward` SET `RewardText`='There you are, $n. I''ve been expecting you.$B$BI got word of your recovery and... wait -- do you feel that?', `VerifiedBuild`=25383 WHERE `ID`=14466; -- The King's Observatory +UPDATE `quest_offer_reward` SET `Emote1`=2, `RewardText`='$n. I''ve heard much about you.$B$BI understand you were crucial in my family''s survival during the outbreak in Gilneas City.', `VerifiedBuild`=25383 WHERE `ID`=14465; -- To Greymane Manor +UPDATE `quest_offer_reward` SET `RewardText`='Excellent work, $n. I think I speak for everyone when I say the sooner we get out of here, the better.', `VerifiedBuild`=25383 WHERE `ID`=14463; -- Horses for Duskhaven +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14401; -- Grandma's Cat +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`='You''re a peach, $n. Thanks!', `VerifiedBuild`=25383 WHERE `ID`=14400; -- I Can't Wear This +UPDATE `quest_offer_reward` SET `RewardText`='Why thank you, $n. I hope you didn''t peek!$B$BWhere are your manners, dear?', `VerifiedBuild`=25383 WHERE `ID`=14399; -- Grandma's Lost It Alright +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14398; -- Grandma Wahl +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14412; -- Washed Up +UPDATE `quest_offer_reward` SET `Emote1`=1, `RewardText`='This is great, $n. I should be able to finish the repairs in no time.', `VerifiedBuild`=25383 WHERE `ID`=14404; -- Not Quite Shipshape +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14403; -- The Hayward Brothers +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14416; -- The Hungry Ettin +UPDATE `quest_offer_reward` SET `RewardText`='Stay back! Don''t make me...$B$BIs it you? By the Light! It''s you, $n!', `VerifiedBuild`=25383 WHERE `ID`=14406; -- The Crowley Orchard +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14397; -- Evacuation +UPDATE `quest_offer_reward` SET `RewardText`='You did what you could, $n. With any luck a few others will find their way to shore.', `VerifiedBuild`=25383 WHERE `ID`=14395; -- Gasping for Breath +UPDATE `quest_offer_reward` SET `RewardText`='The ocean, $n. It swallowed everything... the land... the Forsaken... our men!', `VerifiedBuild`=25383 WHERE `ID`=14396; -- As the Land Shatters +UPDATE `quest_offer_reward` SET `RewardText`='You did it, $n. That should take the wind out of their sails.', `VerifiedBuild`=25383 WHERE `ID`=14386; -- Leader of the Pack +UPDATE `quest_offer_reward` SET `RewardText`='Well done, $n. You might be a bloody beast, but you''re our beast.', `VerifiedBuild`=25383 WHERE `ID`=14382; -- Two By Sea +UPDATE `quest_offer_reward` SET `RewardText`='Well done, $n. You might be a bloody beast, but you''re our beast.', `VerifiedBuild`=25383 WHERE `ID`=14382; -- Two By Sea +UPDATE `quest_offer_reward` SET `RewardText`='Not bad, $n. It''s a good thing you''re on our side.', `VerifiedBuild`=25383 WHERE `ID`=14369; -- Unleash the Beast +UPDATE `quest_offer_reward` SET `RewardText`='My children are safe! You''ve done a wonderful thing, $n. I don''t know how to thank you!', `VerifiedBuild`=25383 WHERE `ID`=14368; -- Save the Children! +UPDATE `quest_offer_reward` SET `RewardText`='The Forsaken are here in full strength, $n. We barely have enough men to hold them back.', `VerifiedBuild`=25383 WHERE `ID`=14367; -- The Allens' Storm Cellar +UPDATE `quest_offer_reward` SET `RewardText`='Great news, $n. I''ve sent the remaining militia to the shore to meet the Forsaken force head on.', `VerifiedBuild`=25383 WHERE `ID`=14366; -- Holding Steady +UPDATE `quest_offer_reward` SET `RewardText`='You and me, $n. We make a great team...$B$BIt''s good to have you back.', `VerifiedBuild`=25383 WHERE `ID`=14348; -- You Can't Take 'Em Alone +UPDATE `quest_offer_reward` SET `RewardText`='Yes, $n! Just like old times...$B$BI''m going to have to work hard at not shooting you, but Krennan explained everything to us.', `VerifiedBuild`=25383 WHERE `ID`=14347; -- Hold the Line +UPDATE `quest_offer_reward` SET `RewardText`='$n!!! You ARE alive!$B$BI thought I was having dreams about the old days when I heard your voice...', `VerifiedBuild`=25383 WHERE `ID`=14336; -- Kill or Be Killed +UPDATE `quest_offer_reward` SET `RewardText`='Forsaken! Quick, $n! We must mount a defense.', `VerifiedBuild`=25383 WHERE `ID`=14321; -- Invasion +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14320; -- In Need of Ingredients +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14313; -- Among Humans Again +UPDATE `quest_offer_reward` SET `RewardText`='I need you to pull through, $n. This dosage is strong enough to kill a horse.$B$BBut I know you. I know what you''re made of. You will be fine.$B$BTrust me. I know what you''re going through.$B$BNow drink up and close your eyes.', `VerifiedBuild`=25383 WHERE `ID`=14375; -- Last Chance at Humanity +UPDATE `quest_offer_reward` SET `RewardText`='They... they''ve stopped coming.$B$BNo, $n. That''s not a good thing.', `VerifiedBuild`=25383 WHERE `ID`=14222; -- Last Stand +UPDATE `quest_offer_reward` SET `RewardText`='We''ve given them everything we have... yet still they come. Do not worry, $n. We''ll slay many more before today is over.', `VerifiedBuild`=25383 WHERE `ID`=14221; -- Never Surrender, Sometimes Retreat +UPDATE `quest_offer_reward` SET `RewardText`='You''ve done well, $n. You''ve done more than could be asked of any Gilnean.$B$BWe''re running low on ammunition. It''s time to regroup inside now.', `VerifiedBuild`=25383 WHERE `ID`=14218; -- By Blood and Ash +UPDATE `quest_offer_reward` SET `RewardText`='Brace yourself, $n.$B$BHere they come.', `VerifiedBuild`=25383 WHERE `ID`=14212; -- Sacrifices +UPDATE `quest_offer_reward` SET `RewardText`='We''re left with very few choices, $n. What we do next will be a critical decision.', `VerifiedBuild`=25383 WHERE `ID`=14294; -- Time to Regroup +UPDATE `quest_offer_reward` SET `RewardText`='Well done, $n. We''ll make sure Krennan makes it out of the city alive.', `VerifiedBuild`=25383 WHERE `ID`=14293; -- Save Krennan Aranas +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14214; -- Message to Greymane +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14204; -- From the Shadows +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14159; -- The Rebel Lord's Arsenal +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=26129; -- Brothers In Arms +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=24930; -- While You're At It +UPDATE `quest_offer_reward` SET `RewardText`='We did it, $n. Thanks to you a good man has survived.', `VerifiedBuild`=25383 WHERE `ID`=14154; -- By the Skin of His Teeth +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=28850; -- The Prison Rooftop +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14157; -- Old Divisions +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14286; -- Safety in Numbers +UPDATE `quest_offer_reward` SET `RewardText`='$n! Where have you been?$B$BAnyway... it''s great to see you in one piece.', `VerifiedBuild`=25383 WHERE `ID`=14265; -- Your Instructor +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14099; -- Royal Orders +UPDATE `quest_offer_reward` SET `RewardText`='Good job, $n. Thanks to you, many Gilneans will live to see another day.', `VerifiedBuild`=25383 WHERE `ID`=14098; -- Evacuate the Merchant Square +UPDATE `quest_offer_reward` SET `RewardText`='It''s no use, $n! They''re not letting up.', `VerifiedBuild`=25383 WHERE `ID`=14093; -- All Hell Breaks Loose +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14094; -- Salvage the Supplies +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14091; -- Something's Amiss +UPDATE `quest_offer_reward` SET `VerifiedBuild`=25383 WHERE `ID`=14078; -- Lockdown! + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=24675 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=14369 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=14369 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=14157 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=14098 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=31814 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=31814 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=31814 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(24675, 2, 0, -1366, 1217, 25383), -- Last Meal +(14369, 1, 0, -1844, 2567, 25383), -- Unleash the Beast +(14369, 0, 9, -2211, 2475, 25383), -- Unleash the Beast +(14369, 0, 8, -2243, 2554, 25383), -- Unleash the Beast +(14369, 0, 7, -2115, 2683, 25383), -- Unleash the Beast +(14369, 0, 6, -2103, 2686, 25383), -- Unleash the Beast +(14369, 0, 5, -1958, 2711, 25383), -- Unleash the Beast +(14369, 0, 4, -1943, 2694, 25383), -- Unleash the Beast +(14369, 0, 3, -1933, 2563, 25383), -- Unleash the Beast +(14369, 0, 2, -1978, 2528, 25383), -- Unleash the Beast +(14369, 0, 1, -2058, 2470, 25383), -- Unleash the Beast +(14369, 0, 0, -2179, 2462, 25383), -- Unleash the Beast +(14157, 0, 0, -1749, 1426, 25383), -- Old Divisions +(14098, 2, 0, -1438, 1401, 25383), -- Evacuate the Merchant Square +(31814, 2, 0, -222, -3165, 25383), -- Analynn +(31814, 1, 0, 3537, 535, 25383), -- Analynn +(31814, 0, 0, 3537, 535, 25383); -- Analynn + +UPDATE `quest_poi_points` SET `X`=-1673, `Y`=1345, `VerifiedBuild`=25383 WHERE (`QuestID`=14293 AND `Idx1`=1 AND `Idx2`=0); -- Save Krennan Aranas +UPDATE `quest_poi_points` SET `X`=-1786, `Y`=1438, `VerifiedBuild`=25383 WHERE (`QuestID`=14293 AND `Idx1`=0 AND `Idx2`=0); -- Save Krennan Aranas + +DELETE FROM `quest_details` WHERE `ID` IN (24676 /*Push Them Out*/, 24674 /*Slaves to No One*/, 24675 /*Last Meal*/, 24575 /*Liberation Day*/, 24677 /*Flank the Forsaken*/, 24592 /*Betrayal at Tempest's Reach*/, 24672 /*Onwards and Upwards*/, 24673 /*Return to Stormglen*/, 24593 /*Neither Human Nor Beast*/, 24646 /*Take Back What's Ours*/, 24628 /*Preparations*/, 24627 /*At Our Doorstep*/, 24617 /*Tal'doren, the Wild Home*/, 24616 /*Losing Your Tail*/, 24578 /*The Blackwald*/, 24501 /*Queen-Sized Troubles*/, 24495 /*Pieces of the Past*/, 24484 /*Pest Control*/, 24483 /*Stormglen*/, 24472 /*Introductions Are in Order*/, 24468 /*Stranded at the Marsh*/, 24438 /*Exodus*/, 14466 /*The King's Observatory*/, 14465 /*To Greymane Manor*/, 14463 /*Horses for Duskhaven*/, 14405 /*Escape By Sea*/, 14402 /*Ready to Go*/, 14401 /*Grandma's Cat*/, 14400 /*I Can't Wear This*/, 14399 /*Grandma's Lost It Alright*/, 14412 /*Washed Up*/, 14404 /*Not Quite Shipshape*/, 14416 /*The Hungry Ettin*/, 14406 /*The Crowley Orchard*/, 14403 /*The Hayward Brothers*/, 14398 /*Grandma Wahl*/, 14397 /*Evacuation*/, 14395 /*Gasping for Breath*/, 14396 /*As the Land Shatters*/, 14386 /*Leader of the Pack*/, 14368 /*Save the Children!*/, 14382 /*Two By Sea*/, 14369 /*Unleash the Beast*/, 14367 /*The Allens' Storm Cellar*/, 14366 /*Holding Steady*/, 14347 /*Hold the Line*/, 14348 /*You Can't Take 'Em Alone*/, 14336 /*Kill or Be Killed*/, 14321 /*Invasion*/, 14320 /*In Need of Ingredients*/, 14313 /*Among Humans Again*/, 14222 /*Last Stand*/, 14221 /*Never Surrender, Sometimes Retreat*/, 14218 /*By Blood and Ash*/, 14212 /*Sacrifices*/, 14294 /*Time to Regroup*/, 14293 /*Save Krennan Aranas*/, 14214 /*Message to Greymane*/, 14204 /*From the Shadows*/, 14159 /*The Rebel Lord's Arsenal*/, 26129 /*Brothers In Arms*/, 14154 /*By the Skin of His Teeth*/, 28850 /*The Prison Rooftop*/, 24930 /*While You're At It*/, 14157 /*Old Divisions*/, 14286 /*Safety in Numbers*/, 14265 /*Your Instructor*/, 14099 /*Royal Orders*/, 14094 /*Salvage the Supplies*/, 14098 /*Evacuate the Merchant Square*/, 14093 /*All Hell Breaks Loose*/, 14091 /*Something's Amiss*/, 14078 /*Lockdown!*/); +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(24676, 1, 0, 0, 0, 0, 0, 0, 0, 25383), -- Push Them Out +(24674, 1, 0, 0, 0, 0, 0, 0, 0, 25383), -- Slaves to No One +(24675, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Last Meal +(24575, 1, 274, 0, 0, 0, 0, 0, 0, 25383), -- Liberation Day +(24677, 274, 0, 0, 0, 0, 0, 0, 0, 25383), -- Flank the Forsaken +(24592, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Betrayal at Tempest's Reach +(24672, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Onwards and Upwards +(24673, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Return to Stormglen +(24593, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Neither Human Nor Beast +(24646, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Take Back What's Ours +(24628, 1, 0, 0, 0, 0, 0, 0, 0, 25383), -- Preparations +(24627, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- At Our Doorstep +(24617, 25, 0, 0, 0, 0, 0, 0, 0, 25383), -- Tal'doren, the Wild Home +(24616, 1, 25, 0, 0, 0, 0, 0, 0, 25383), -- Losing Your Tail +(24578, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Blackwald +(24501, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Queen-Sized Troubles +(24495, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Pieces of the Past +(24484, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Pest Control +(24483, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Stormglen +(24472, 1, 6, 5, 0, 0, 0, 0, 0, 25383), -- Introductions Are in Order +(24468, 1, 25, 0, 0, 0, 0, 0, 0, 25383), -- Stranded at the Marsh +(24438, 1, 0, 0, 0, 0, 0, 0, 0, 25383), -- Exodus +(14466, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The King's Observatory +(14465, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- To Greymane Manor +(14463, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Horses for Duskhaven +(14405, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Escape By Sea +(14402, 1, 0, 0, 0, 0, 0, 0, 0, 25383), -- Ready to Go +(14401, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Grandma's Cat +(14400, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- I Can't Wear This +(14399, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Grandma's Lost It Alright +(14412, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Washed Up +(14404, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Not Quite Shipshape +(14416, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Hungry Ettin +(14406, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Crowley Orchard +(14403, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Hayward Brothers +(14398, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Grandma Wahl +(14397, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Evacuation +(14395, 25, 6, 1, 0, 0, 0, 0, 0, 25383), -- Gasping for Breath +(14396, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- As the Land Shatters +(14386, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Leader of the Pack +(14368, 18, 0, 0, 0, 0, 0, 0, 0, 25383), -- Save the Children! +(14382, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Two By Sea +(14369, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Unleash the Beast +(14367, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Allens' Storm Cellar +(14366, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Holding Steady +(14347, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Hold the Line +(14348, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- You Can't Take 'Em Alone +(14336, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Kill or Be Killed +(14321, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Invasion +(14320, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- In Need of Ingredients +(14313, 1, 5, 274, 0, 0, 0, 0, 0, 25383), -- Among Humans Again +(14222, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Last Stand +(14221, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Never Surrender, Sometimes Retreat +(14218, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- By Blood and Ash +(14212, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Sacrifices +(14294, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Time to Regroup +(14293, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Save Krennan Aranas +(14214, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Message to Greymane +(14204, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- From the Shadows +(14159, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Rebel Lord's Arsenal +(26129, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Brothers In Arms +(14154, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- By the Skin of His Teeth +(28850, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- The Prison Rooftop +(24930, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- While You're At It +(14157, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Old Divisions +(14286, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Safety in Numbers +(14265, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Your Instructor +(14099, 25, 0, 0, 0, 0, 0, 0, 0, 25383), -- Royal Orders +(14094, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Salvage the Supplies +(14098, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Evacuate the Merchant Square +(14093, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- All Hell Breaks Loose +(14091, 0, 0, 0, 0, 0, 0, 0, 0, 25383), -- Something's Amiss +(14078, 0, 0, 0, 0, 0, 0, 0, 0, 25383); -- Lockdown! + +UPDATE `quest_request_items` SET `CompletionText`='Did you get what I needed, $n?', `VerifiedBuild`=25383 WHERE `ID`=24675; -- Last Meal +UPDATE `quest_request_items` SET `CompletionText`='Do you have the scythe, $n?', `VerifiedBuild`=25383 WHERE `ID`=24646; -- Take Back What's Ours +UPDATE `quest_request_items` SET `CompletionText`='You''ve returned, $n.', `VerifiedBuild`=25383 WHERE `ID`=24628; -- Preparations +UPDATE `quest_request_items` SET `CompletionText`='How did it go, $n?', `VerifiedBuild`=25383 WHERE `ID`=24472; -- Introductions Are in Order +UPDATE `quest_request_items` SET `CompletionText`='You''re such a charming young $gman:lady;, $n.', `VerifiedBuild`=25383 WHERE `ID`=14401; -- Grandma's Cat +UPDATE `quest_request_items` SET `CompletionText`='Do you have my supplies, $n?', `VerifiedBuild`=25383 WHERE `ID`=14404; -- Not Quite Shipshape +UPDATE `quest_request_items` SET `CompletionText`='Have you salvaged the supplies, $n?', `VerifiedBuild`=25383 WHERE `ID`=14094; -- Salvage the Supplies + +UPDATE `creature_addon` SET `emote`= 333 WHERE `guid`= 376570; +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 3 WHERE `guid` IN (376655, 376654, 376510); + +UPDATE `creature_addon` SET `emote`= 27, `Auras`= '67503' WHERE `guid`= 376582; +UPDATE `creature_addon` SET `emote`= 375 WHERE `guid`= 376579; + +-- Creature Lord Darius Crowley 35077 SAI +SET @ENTRY := 35077; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 3 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, 19, 0, 100, 0, 14154, 0, 0, 0, 11, 66914, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 14154 - Self: Cast spell 66914 on Action invoker // "), +(@ENTRY, 0, 1, 0, 37, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Disable combat based movement // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 6000, 6000, 15000, 17000, 11, 67825, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 6000 ms (and later repeats every 15000 and 17000 ms) - Self: Cast spell 67825 on Victim // "); + +UPDATE `creature_template` SET `DamageModifier`= 3 WHERE `entry`= 35124; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_gen_gilneas_prison_periodic_dummy'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(66853, 'spell_gen_gilneas_prison_periodic_dummy'); + +DELETE FROM `spell_target_position` WHERE `ID` IN (66925, 66836); +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`) VALUES +(66925, 0, 654, -1636.292, 1481.836, 70.94804, 4.081235), +(66836, 0, 654, -1620.981, 1509.193, 67.10413, 3.919209); + +UPDATE `creature_template` SET `scriptname`= 'npc_worgen_runt' WHERE `entry` IN (35456, 35188); + +-- Creature Worgen Alpha 35167 SAI +SET @ENTRY := 35167; +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, 1, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 8599 on Self // Worgen Alpha - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY, 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, " Linked - Self: Talk 0 // Worgen Alpha - Between 0-30% Health - Say Line 0 (No Repeat)"), +(@ENTRY, 0, 2, 0, 54, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1639.317, 1491.14, 67.34758, 0, "On just summoned - Self: Move to None (point id 0) // "); +-- Creature Josiah Event Trigger 50415 SAI +SET @ENTRY := 50415; +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, 0, 0, 0, 0, 0, 44, 171, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Set phase id to 171 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 1, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 2000 ms (and later repeats every 0 and 0 ms) - Owner/Summoner: Talk 0 // "); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (50415, 35911, 35552, 35551, 35753); +INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES +(50415, 0, 0, 'You''ve been bitten by a worgen. It''s probably nothing, but it sure stings a little.$B$B|TInterface\\Icons\\INV_Misc_monsterfang_02.blp:32|t', 42, 0, 100, 0, 0, 0, 50192, 'Josiah Event Trigger to Player'), +(35911, 0, 0, 'If we can make it past the gates into Duskhaven we''ll be safe. The eastern mountains are virtually impassable.', 12, 0, 100, 1, 0, 19696, 36107, 'King Genn Greymane to Player'), +(35911, 1, 0, 'We were fools to take up arms against each other, Darius. The worgen would''ve never stood a chance.', 12, 0, 100, 1, 0, 19696, 36108, 'King Genn Greymane to Player'), + +(35551, 0, 0, 'I''ll stay behind with the Royal Guard, father. It is my duty to Gilneas.', 12, 0, 100, 1, 0, 19696, 36106, 'Prince Liam Greymane to Player'), +(35552, 0, 0, 'We need to keep the worgen''s attention in the city, Genn. It''s the only shot we have for the survivors to make it to Duskhaven.', 12, 0, 100, 66, 0, 19696, 36103, 'Lord Darius Crowley to Player'), +(35552, 1, 0, 'Not a chance, boy. Gilneas is going to need its king''s undivided attention. Can''t have your father wondering whether his child is alive or not.', 12, 0, 100, 66, 0, 19696, 36104, 'Lord Darius Crowley to Player'), +(35552, 2, 0, 'My men and I will hole up inside the Light''s Dawn Cathedral. I''ve already given the order and the cannons are on their way. Lead our people well, Genn.', 12, 0, 100, 66, 0, 19696, 36105, 'Lord Darius Crowley to Player'), +(35753, 0, 0, 'Help! Up here!', 14, 0, 100, 0, 0, 0, 46756, 'Krennan Aranas to Player'); + +UPDATE `creature_template` SET `scriptname`= 'npc_josiah_avery' WHERE `entry`= 35370; + +DELETE FROM `conditions` WHERE `SourceEntry`= 67350 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 67350, 0, 0, 31, 0, 3, 35374, 0, 0, 0, '', 'Summon Josiah - Target Lab Trigger'), +(13, 4, 67350, 0, 0, 31, 0, 3, 35374, 0, 0, 0, '', 'Summon Josiah - Target Lab Trigger'); + +UPDATE `creature_template` SET `InhabitType`= 1 | 8 WHERE `entry` IN (35907, 35504, 35509, 50474); + +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry` IN (50471, 50474, 35505, 35504, 35509); +INSERT INTO `creature_sparring_template` (`AttackerEntry`, `VictimEntry`, `HealthLimitPct`) VALUES +(50471, 50474, 90.0), +(50474, 50471, 90.0), +(35505, 35504, 90.0), +(35509, 35505, 90.0), +(35505, 35509, 90.0); + +UPDATE `creature_addon` SET `emote`= 214 WHERE `guid` IN (376746, 376788, 376779, 376756, 376694, 376702, 376737, 376698, 376726, 376704, 376713); +UPDATE `creature_addon` SET `emote`= 333 WHERE `guid` IN (376711, 376790, 376757, 376703, 376698, 376695, 376736, 376768, 376716, 376754); + +UPDATE `creature` SET `SpawnDist`= 5 WHERE `id`= 35229; + +-- Creature Gilneas City Guard 35504 SAI +SET @ENTRY := 35504; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 11, 67595, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 0 and 0 ms (and later repeats every 2000 and 2000 ms) - Self: Cast spell 67595 on Victim // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 2000, 2000, 2000, 2000, 49, 0, 0, 0, 0, 0, 0, 11, 35505, 20, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 2000 ms (and later repeats every 2000 and 2000 ms) - Self: Attack Creature Bloodfang Ripper (35505) in 20 yd // "); + +-- Creature Gilneas City Guard 50474 SAI +SET @ENTRY := 50474; +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, 1, 0, 100, 0, 0, 0, 2000, 2000, 49, 0, 0, 0, 0, 0, 0, 11, 50471, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 0 ms (and later repeats every 2000 and 2000 ms) - Self: Attack Creature Afflicted Gilnean (50471) in 10 yd // "); + +-- Creature Afflicted Gilnean 50474 SAI +SET @ENTRY := 50471; +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, 1, 0, 100, 0, 0, 0, 2000, 2000, 49, 0, 0, 0, 0, 0, 0, 11, 50474, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 0 ms (and later repeats every 2000 and 2000 ms) - Self: Attack Creature Gilneas City Guard (50474) in 10 yd // "); + +-- Creature King Genn Greymane 35911 SAI +SET @ENTRY := 35911; +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, 1, 20, 0, 100, 0, 14294, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When player rewards quest 14294 - Self: Talk 0 // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 80, 3555200, 0, 0, 0, 0, 0, 10, 377011, 0, 0, 0, 0, 0, 0, " Linked - Start timed action list id #3555200 // "), +(@ENTRY, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 80, 3591100, 0, 0, 0, 0, 0, 10, 377012, 0, 0, 0, 0, 0, 0, " Linked - Start timed action list id #3591100 // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 3555100, 0, 0, 0, 0, 0, 10, 377026, 0, 0, 0, 0, 0, 0, " Linked - Start timed action list id #3555100 // "); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (35552, 35551); +DELETE FROM `smart_scripts` WHERE `entryorguid`=3555200 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 +(3555200,9,0,0,0,0,100,0,8000,8000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Darius Crowley - Talk 0"), +(3555200,9,1,0,0,0,100,0,14000,14000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Darius Crowley - Talk 1"), +(3555200,9,2,0,0,0,100,0,9000,9000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Darius Crowley - Talk 2"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=3591100 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 +(3591100,9,0,0,0,0,100,0,39000,39000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"King Genn Greymane - Talk 1"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=3555100 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 +(3555100,9,0,0,0,0,100,0,16000,16000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Prince Liam Greymane - Talk 0"); +UPDATE `creature_template` SET `flags_extra`= `flags_extra` | 2 WHERE `entry` IN (35870, 35233, 35230); +UPDATE `creature_template` SET `VehicleID`= 463 WHERE `entry`= 35231; +UPDATE `creature_template` SET `VehicleID`= 470 WHERE `entry`= 35317; + +UPDATE `creature` SET `spawntimesecs`= 5 WHERE `id`= 35229; + +UPDATE `creature_template` SET `npcflag`= 16777216 WHERE `entry` IN (44427, 35231, 44428, 35317, 44429); +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (44427, 35231, 44428, 35317, 44429); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(44427, 67001, 3, 0), +(44428, 46598, 3, 0), +(35231, 46598, 1, 0), +(44429, 82992, 3, 0), +(35317, 43671, 1, 0); + +DELETE FROM `vehicle_template_accessory` WHERE `entry`= 35231; +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `summontype`, `summontimer`, `description`) VALUES +(35231, 35230, 1, 1, 5, 0, 'Crowley''s Horse - Lord Darius Crowley'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 18 AND `SourceGroup` IN (44427, 35317, 44428, 44429); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `Comment`) VALUES +(18, 44427, 67001, 9, 14212, 'Required quest active for spellclick'), +(18, 44429, 82992, 9, 14212, 'Required quest active for spellclick'), +(18, 35317, 43671, 9, 14218, 'Required quest active for spellclick'); + +UPDATE `creature_template` SET `speed_run`= 1.28571, `ScriptName`= 'npc_crowleys_horse' WHERE `entry`= 35231; + +SET @ID := 352310; +DELETE FROM `waypoint_data` WHERE `id`= @ID; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `move_type`) VALUES +(@ID, 1, -1686.12, 1655.639, 20.61058, 1), +(@ID, 2, -1668.156, 1639.432, 20.61058, 1), +(@ID, 3, -1666.63, 1628.859, 20.53271, 1), +(@ID, 4, -1670.76, 1617.431, 20.61058, 1), +(@ID, 5, -1693.648, 1592.639, 20.61058, 1), +(@ID, 6, -1708.017, 1590.55, 20.61042, 1), +(@ID, 7, -1719.366, 1595.649, 20.61042, 1), +(@ID, 8, -1720.566, 1610.141, 20.6074, 1), +(@ID, 9, -1711.898, 1629.703, 20.6074, 1), +(@ID, 10, -1698.149, 1656.483, 20.61058, 1), +(@ID, 11, -1696.424, 1682.012, 20.52616, 1), +(@ID, 12, -1684.675, 1700.12, 20.46484, 1), +(@ID, 13, -1658.309, 1710.313, 20.58983, 1), +(@ID, 14, -1625.477, 1712.299, 21.80511, 1), +(@ID, 15, -1592.095, 1710.71, 20.58986, 1); + +SET @ID := 352311; +DELETE FROM `waypoint_data` WHERE `id`= @ID; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `move_type`) VALUES +(@ID, 1, -1545.082, 1684.233, 20.60992, 1), +(@ID, 2, -1542.793, 1656.083, 20.60992, 1), +(@ID, 3, -1542.998, 1640.535, 20.60992, 1), +(@ID, 4, -1520.733, 1618.097, 20.61054, 1), +(@ID, 5, -1498.792, 1621.738, 20.61054, 1), +(@ID, 6, -1468.356, 1630.78, 20.61054, 1), +(@ID, 7, -1441.646, 1627.67, 20.61054, 1), +(@ID, 8, -1429.844, 1616.627, 20.58984, 1), +(@ID, 9, -1417.991, 1586.554, 20.58984, 1), +(@ID, 10, -1429.177, 1548.783, 20.84849, 1), +(@ID, 11, -1447.417, 1532.79, 20.60095, 1), +(@ID, 12, -1463.104, 1535.031, 20.61054, 1), +(@ID, 13, -1483.035, 1544.151, 20.61054, 1), +(@ID, 14, -1505.156, 1568.611, 20.61053, 1), +(@ID, 15, -1531.599, 1581.872, 26.53872, 1), +(@ID, 16, -1540.594, 1574.429, 29.20671, 1); + +SET @ID := 444280; +DELETE FROM `waypoint_data` WHERE `id`= @ID; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `move_type`) VALUES +(@ID, 1, -1512.36, 1570.78, 24.06706, 1), +(@ID, 2, -1498.715, 1565.426, 20.87811, 1), +(@ID, 3, -1487.863, 1557.163, 20.85, 1), +(@ID, 4, -1474.18, 1542.68, 20.61054, 1), +(@ID, 5, -1457.6, 1532.64, 20.60095, 1), +(@ID, 6, -1438.01, 1525.31, 20.87622, 1), +(@ID, 7, -1424.2, 1545.7, 20.46568, 1), +(@ID, 8, -1411.29, 1556.16, 20.55698, 1), +(@ID, 9, -1414.19, 1577.65, 20.58984, 1), +(@ID, 10, -1427.47, 1617.3, 20.58984, 1), +(@ID, 11, -1445.54, 1633.9, 20.61054, 1), +(@ID, 12, -1470.71, 1658.21, 20.61054, 1), +(@ID, 13, -1491.05, 1658.74, 20.61054, 1), +(@ID, 14, -1515.33, 1641.18, 20.60992, 1), +(@ID, 15, -1526.75, 1630.37, 20.61054, 1), +(@ID, 16, -1528.42, 1610.71, 20.61054, 1), +(@ID, 17, -1532.39, 1585.36, 26.53804, 1); + + +DELETE FROM `conditions` WHERE `SourceEntry`= 67063 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 7, 67063, 0, 0, 31, 0, 3, 35229, 0, 0, 0, '', 'Throw Torch - Target Bloodfang Stalker'); + +DELETE FROM `creature_text` WHERE `CreatureID`= 35230; +INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES +(35230, 0, 0, 'Let''s round up as many of them as we can. Every worgen chasing us is one less worgen chasing the survivors!', 12, 0, 100, 0, 0, 19696, 35498, 'Lord Darius Crowley to Player'), +(35230, 1, 0, 'You''ll never catch us, you blasted mongrels!', 14, 0, 100, 0, 0, 19696, 35497, 'Lord Darius Crowley to Player'); + +-- Creature Lord Darius Crowley 35230 SAI +SET @ENTRY := 35230; +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, 60, 0, 100, 1, 7000, 7000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 7000 and 7000 ms) - Self: Talk 0 // "), +(@ENTRY, 0, 1, 0, 60, 0, 100, 1, 39000, 39000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 39000 and 39000 ms) - Self: Talk 1 // "); + +UPDATE `creature_template` SET `InhabitType`= 1 WHERE `entry`= 36057; +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry` IN (36057, 35229, 41015, 35627); +INSERT INTO `creature_sparring_template` (`AttackerEntry`, `VictimEntry`, `HealthLimitPct`) VALUES +(36057, 35229, 90.0), +(35229, 36057, 90.0), +(35229, 35317, 100.0), +(41015, 35627, 90.0), +(35627, 41015, 90.0); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_gen_throw_torch'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(67063, 'spell_gen_throw_torch'); + +UPDATE `creature_addon` SET `emote`= 385 WHERE `guid`= 377296; +UPDATE `creature_addon` SET `emote`= 214 WHERE `guid`= 377414; + +DELETE FROM `creature` WHERE `guid` IN (377447, 377448); +DELETE FROM `creature_addon` WHERE `guid` IN (377447, 377448); + +-- Creature Northgate Rebel 41015 SAI +SET @ENTRY := 41015; +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, 1, 0, 100, 0, 0, 0, 2000, 2000, 49, 0, 0, 0, 0, 0, 0, 11, 35627, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 0 ms (and later repeats every 2000 and 2000 ms) - Self: Attack Creature Frenzied Stalker (35627) in 0 yd // "); + +UPDATE `creature_template` SET `VehicleID`= 1025, `speed_run`= 1.28571, `spell1`= 67063, `ScriptName`= 'npc_crowleys_horse' WHERE `entry`= 44428; + +-- Creature Lord Darius Crowley 35566 SAI +SET @ENTRY := 35566; +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, 1, 20, 0, 100, 0, 14222, 0, 0, 0, 85, 98274, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player rewards quest 14222 - Invoker: Cast spell 98274 to Action invoker // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 85, 68630, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, " Linked - Invoker: Cast spell 68630 to Action invoker // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 85, 72788, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, " Linked - Invoker: Cast spell 72788 to Action invoker // "); +-- Creature Celestine of the Harvest 35873 SAI +SET @ENTRY := 35873; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 13236, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 13236 on Self // "); + +-- Creature Vitus Darkwalker 35869 SAI +SET @ENTRY := 35869; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 45104, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 45104 on Self // "); + +-- Creature Bloodfang Lurker 35463 SAI +SET @ENTRY := 35463; +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, 1, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 8599 on Self // Bloodfang Lurker - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY, 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, " Linked - Self: Talk 0 // Bloodfang Lurker - Between 0-30% Health - Say Line 0 (No Repeat)"), +(@ENTRY, 0, 2, 3, 11, 0, 100, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On respawn - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 5916, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 5916 on Self // Bloodfang Lurker - On Respawn - Cast 'Shadowstalker Stealth' (No Repeat)"), +(@ENTRY, 0, 4, 5, 7, 0, 100, 1, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On evade - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 5916, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 5916 on Self // Bloodfang Lurker - On Evade - Cast 'Shadowstalker Stealth' (No Repeat)"), +(@ENTRY, 0, 6, 0, 4, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Set react state to REACT_AGGRESSIVE // "), +(@ENTRY, 0, 7, 0, 8, 0, 100, 0, 67805, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 67805 hit - Self: Attack Action invoker // "); + +UPDATE `creature_addon` SET `auras`= '' WHERE `guid`= 376841; + +-- Creature Celestine of the Harvest 44459 SAI +SET @ENTRY := 44459; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 13236, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 13236 on Self // "); + +-- Creature Vitus Darkwalker 44469 SAI +SET @ENTRY := 44469; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 45104, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 45104 on Self // "); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dru_eclipse_mastery_driver_passive'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(79577, 'spell_dru_eclipse_mastery_driver_passive'); + +DELETE FROM `spell_proc` WHERE `SpellID`= 79577; +INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`) VALUES +(79577, 0, 0, 0x00010000, 1, 1); +-- Add Pet trainer scriptname to pet trainer in stormwind +UPDATE `creature_template` SET `ScriptName`= 'npc_pet_trainer' WHERE `entry`= 44251; + +-- druid's natures grace should have a 60 seconds cooldown and should proc on cast, not on hit +UPDATE `spell_proc` SET `SpellPhaseMask`= 1, `Cooldown`= 60000, `HitMask`= 12287 WHERE `SpellId`= -16880; +-- Assign scriptname to instance +UPDATE `instance_template` SET `script`= 'instance_grim_batol' WHERE `map`= 670; + +-- Template Updates +UPDATE `creature_template` SET `scriptname`= 'boss_general_umbriss', `flags_extra`= `flags_extra`| 0x40000000 WHERE `entry`= 39625; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `BaseAttackTime`= 1500, `unit_flags`= 67141696, `lootid`= 48337, `mechanic_immune_mask`= 617299839, `flags_extra`= `flags_extra`| 0x40000000 WHERE `entry`= 48337; +-- Blitz / Ground Siege +UPDATE `creature_template` SET `faction`= 35, `unit_flags`= 33554688, `flags_extra`= 131 WHERE `entry` IN (40040, 40030); + +-- Remove db side spawned Malignant Trogg +DELETE FROM `creature` WHERE `guid`= 340015; +DELETE FROM `creature_addon` WHERE `guid`= 340015; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 39625; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(39625, 0, 0, 'Cover the rear! Alexstrasza''s brood decimate our ranks!', 14, 0, 100, 0, 0, 18537, 40642, 'General Umbriss'), +(39625, 0, 1, 'Reinforce the front! We are being invaded!', 14, 0, 100, 0, 0, 18536, 40640, 'General Umbriss'), +(39625, 1, 0, 'A million more await my orders. What chance do you have?', 14, 0, 100, 0, 0, 18530, 47784, 'General Umbriss to Player'), +(39625, 2, 0, 'Attack you cowardly vermin!', 14, 0, 100, 0, 0, 18535, 47799, 'General Umbriss'), +(39625, 2, 1, 'Vermin, your dinner awaits!', 14, 0, 100, 0, 0, 18531, 47785, 'General Umbriss'), + +(39625, 3, 0, 'Messy...', 14, 0, 100, 0, 0, 18532, 47786, 'General Umbriss'), +(39625, 4, 0, '|TInterface\\Icons\\ability_warrior_charge.blp:20|tGeneral Umbriss sets his eyes on |cFFFF0000$n|r and begins to cast |cFFFF0000|Hspell:74670|h[Blitz]|h|r!', 41, 0, 100, 0, 0, 0, 39994, 'General Umbriss to Player'), +(39625, 5, 0, '|TInterface\\Icons\\spell_nature_earthquake.blp:20|tGeneral Umbriss begins to cast |cFFFF0000|Hspell:74634|h[Ground Siege]|h|r!', 41, 0, 100, 0, 0, 0, 50666, 'General Umbriss to Ground Siege'), +(39625, 6, 0, '%s goes into a frenzy!', 41, 0, 100, 0, 0, 0, 10645, 'General Umbriss'); + +-- Spell scriptnames +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_umbriss_summon_blitz_trigger', +'spell_umbriss_summon_ground_siege_trigger', +'spell_umbriss_bleeding_wound', +'spell_umbriss_modguds_malice'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(74668, 'spell_umbriss_summon_blitz_trigger'), +(74640, 'spell_umbriss_summon_ground_siege_trigger'), +(74846, 'spell_umbriss_bleeding_wound'), +(91937, 'spell_umbriss_bleeding_wound'), +(74699, 'spell_umbriss_modguds_malice'), +(90169, 'spell_umbriss_modguds_malice'); + +DELETE FROM `conditions` WHERE `SourceEntry` IN (74670, 90250, 74634, 90249, 90170) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 74670, 0, 0, 31, 0, 3, 40040, 0, 0, 0, '', 'Blitz - Target Blitz Stalker'), +(13, 1, 90250, 0, 0, 31, 0, 3, 40040, 0, 0, 0, '', 'Blitz - Target Blitz Stalker'), +(13, 1, 74634, 0, 0, 31, 0, 3, 40030, 0, 0, 0, '', 'Ground Siege - Target Ground Siege Stalker'), +(13, 1, 90249, 0, 0, 31, 0, 3, 40030, 0, 0, 0, '', 'Ground Siege - Target Ground Siege Stalker'), +(13, 1, 90170, 0, 0, 31, 0, 3, 39625, 0, 0, 0, '', 'Modgud''s Malice - Target General Umbriss'), +(13, 2, 90170, 0, 0, 31, 0, 3, 39625, 0, 0, 0, '', 'Modgud''s Malice - Target General Umbriss'), +(13, 4, 90170, 0, 0, 31, 0, 3, 45467, 0, 0, 0, '', 'Modgud''s Malice - Target Trogg Dweller'); + +-- Creature Malignant Trogg 39984 SAI +SET @ENTRY := 39984; +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, 1, 0, 100, 1, 3000, 3000, 0, 0, 49, 0, 0, 0, 0, 0, 0, 18, 100, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 3000 and 3000 ms (and later repeats every 0 and 0 ms) - Self: Attack Players in 100 yards // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 6000, 7000, 6000, 7000, 11, 76507, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 7000 ms (and later repeats every 6000 and 7000 ms) - Self: Cast spell 76507 on Victim // "); + +DELETE FROM `creature_template_addon` WHERE `entry`= 48350; +INSERT INTO `creature_template_addon` (`entry`, `bytes2`, `auras`) VALUES +(48350, 1, 74699); + +-- Creature Trogg Dweller 45467 SAI +SET @ENTRY := 45467; +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, 1, 0, 100, 1, 3000, 3000, 0, 0, 49, 0, 0, 0, 0, 0, 0, 18, 100, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 3000 and 3000 ms (and later repeats every 0 and 0 ms) - Self: Attack Players in 100 yards // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 6000, 7000, 6000, 7000, 11, 76507, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 7000 ms (and later repeats every 6000 and 7000 ms) - Self: Cast spell 76507 on Victim // "); + +-- Remove pathfinding from troggs since they have to pass ugly terrain +UPDATE `creature_template` SET `flags_extra`= `flags_extra` | 0x20000000 WHERE `entry` IN (45467, 39984, 48350, 48348); +UPDATE `playercreateinfo_skills` SET `classMask`= `classMask` | 1024 WHERE `skill`= 16; +UPDATE `creature_template` SET `InhabitType`= 8 WHERE `entry`= 44199; + +-- Creature Rampaging Worgen 34884 SAI +SET @ENTRY := 34884; +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, 1, 2, 0, 100, 1, 0, 30, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 8599 on Self // Rampaging Worgen - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY, 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, " Linked - Self: Talk 0 // Rampaging Worgen - Between 0-30% Health - Say Line 0 (No Repeat)"), +(@ENTRY, 0, 2, 0, 1, 0, 100, 0, 0, 0, 3000, 3000, 49, 0, 0, 0, 0, 0, 0, 11, 34916, 15, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 0 ms (and later repeats every 3000 and 3000 ms) - Self: Attack Creature Gilneas City Guard (34916) in 15 yd // "); +DELETE FROM `spell_learn_spell` WHERE `entry`= 87840 AND `SpellID`= 33388; +DELETE FROM `spell_learn_spell` WHERE `entry` IN (34428); +INSERT INTO `spell_learn_spell` (`entry`, `SpellID`, `Active`) VALUES +(34428, 32215, 1); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_natures_grace', +'spell_dru_solar_beam'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-16880, 'spell_dru_natures_grace'), +(78675, 'spell_dru_solar_beam'); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_warl_pet_scaling_01', +'spell_warl_pet_scaling_02', +'spell_warl_pet_scaling_03', +'spell_warl_pet_scaling_04', +'spell_warl_pet_scaling_05', +'spell_warl_pet_passive', +'spell_hun_pet_scaling_01', +'spell_hun_pet_scaling_02', +'spell_hun_pet_scaling_03', +'spell_hun_pet_scaling_04', +'spell_hun_pet_scaling_05', +'spell_hun_pet_passive_crit', +'spell_dk_pet_scaling_01', +'spell_dk_pet_scaling_02', +'spell_dk_pet_scaling_03', +'spell_dk_crit'); + +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(34947,'spell_warl_pet_scaling_01'), +(34956,'spell_warl_pet_scaling_02'), +(34957,'spell_warl_pet_scaling_03'), +(34958,'spell_warl_pet_scaling_04'), +(61013,'spell_warl_pet_scaling_05'), +(35695,'spell_warl_pet_passive'), +(34902,'spell_hun_pet_scaling_01'), +(34903,'spell_hun_pet_scaling_02'), +(34904,'spell_hun_pet_scaling_03'), +(61017,'spell_hun_pet_scaling_04'), +(89446,'spell_hun_pet_scaling_05'), +(19591,'spell_hun_pet_passive_crit'), +(54566,'spell_dk_pet_scaling_01'), +(51996,'spell_dk_pet_scaling_02'), +(61697,'spell_dk_pet_scaling_03'), +(110474,'spell_dk_crit'); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_mage_flame_orb', +'spell_mage_flame_orb_aoe_dummy'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(82731, 'spell_mage_flame_orb'), -- Flame Orb +(92283, 'spell_mage_flame_orb'), -- Frostfire Orb +(82734, 'spell_mage_flame_orb_aoe_dummy'), +(84718, 'spell_mage_flame_orb_aoe_dummy'); + +UPDATE `creature_template` SET `minlevel`= 74, `maxlevel`= 74, `faction`= 5, `unit_flags`= 33556552, `unit_flags2`= 32768, `HoverHeight`= 2, `flags_extra`= 2, `speed_walk`= 1, `ScriptName`= 'npc_mage_orb' WHERE `entry` IN (44214, 45322); +DELETE FROM `creature_template_addon` WHERE `entry` IN (44214, 45322); +INSERT INTO `creature_template_addon` (`entry`, `bytes1`) VALUES +(44214, 33554432), +(45322, 33554432); +UPDATE `creature_template` SET `VehicleId`=2237 WHERE `entry`= 62454; + +-- Creature Fel Soldier 18944 SAI +SET @ENTRY := 18944; +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, 38, 0, 100, 0, 1, 1, 0, 0, 29, 1, 120, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "On data 1 set to 1 - Self: Follow Owner/Summoner by distance 1, angle 120 // Fel Soldier - On Data Set - Follow"), +(@ENTRY, 0, 1, 0, 38, 0, 100, 0, 2, 2, 0, 0, 29, 6, 120, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "On data 2 set to 2 - Self: Follow Owner/Summoner by distance 6, angle 120 // Fel Soldier - On Data Set - Follow"), +(@ENTRY, 0, 2, 0, 38, 0, 100, 0, 3, 3, 0, 0, 29, 1, 240, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "On data 3 set to 3 - Self: Follow Owner/Summoner by distance 1, angle 240 // Fel Soldier - On Data Set - Follow"), +(@ENTRY, 0, 3, 0, 38, 0, 100, 0, 4, 4, 0, 0, 29, 6, 240, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "On data 4 set to 4 - Self: Follow Owner/Summoner by distance 6, angle 240 // Fel Soldier - On Data Set - Follow"), +(@ENTRY, 0, 4, 5, 54, 0, 100, 0, 0, 0, 0, 0, 11, 51347, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Cast spell 51347 on Self // Fel Soldier - On Reset - Cast Teleport Visual Only"), +(@ENTRY, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set walk // Fel Soldier - On Respawn - Set Run False"), +(@ENTRY, 0, 6, 0, 0, 0, 100, 0, 3000, 12000, 9000, 15000, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 3000 and 12000 ms (and later repeats every 9000 and 15000 ms) - Self: Cast spell 15496 on Victim // Fel Soldier - In Combat - Cast Cleave"), +(@ENTRY, 0, 7, 0, 0, 0, 100, 0, 6000, 20000, 16000, 33000, 11, 32009, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 20000 ms (and later repeats every 16000 and 33000 ms) - Self: Cast spell 32009 on Victim // Fel Soldier - In Combat - Cast Cutdown"), +(@ENTRY, 0, 8, 0, 4, 0, 100, 0, 0, 0, 0, 0, 39, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Call for help within 15 yards // Fel Soldier - On Aggro - Call For Help"), +(@ENTRY, 0, 9, 0, 60, 0, 100, 0, 5000, 5000, 5000, 5000, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 5000 and 5000 ms (for the first time, timer between 5000 and 5000 ms) - Self: Set home position to current position // Fel Soldier - On Update - Set Home Position"), +(@ENTRY, 0, 10, 0, 1, 0, 100, 0, 1200000, 1200000, 1200000, 1200000, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1200000 and 1200000 ms (and later repeats every 1200000 and 1200000 ms) - Self: Despawn instantly // "); +-- Drop SAI and assign scriptname +UPDATE `creature_template` SET `AIName`="", `Scriptname`= 'npc_umbriss_skardyn' WHERE `entry` IN (39984, 45467); +DELETE FROM `smart_scripts` WHERE `entryorguid`=39984 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=45467 AND `source_type`=0; + +-- Spell scriptnames +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_umbriss_modguds_malice'; + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 48337; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(48337, 395, 7000); + +-- Loot +-- General Umbriss +UPDATE `creature_template` SET `lootid` = 39625 WHERE `entry` = 39625; +UPDATE `creature_template` SET `lootid` = 48337 WHERE `entry` = 48337; +DELETE FROM `creature_loot_template` WHERE `entry` IN (39625, 48337); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(39625, 56113, 0, 1, 1, 1, 1), +(39625, 56112, 0, 1, 1, 1, 1), +(39625, 56114, 0, 1, 1, 1, 1), +(39625, 56115, 0, 1, 1, 1, 1), +(39625, 56116, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48337, 56442, 0, 1, 1, 1, 1), +(48337, 56443, 0, 1, 1, 1, 1), +(48337, 56444, 0, 1, 1, 1, 1), +(48337, 56440, 0, 1, 1, 1, 1), +(48337, 56441, 0, 1, 1, 1, 1); +-- Template Updates +UPDATE `creature_template` SET `Scriptname`= 'boss_forgemaster_throngus', `flags_extra`= `flags_extra`| 0x40000000, `mechanic_immune_mask`= 617299839 WHERE `entry`= 40177; +UPDATE `creature_template` SET `flags_extra`= `flags_extra`| 0x40000000 | 1, `mechanic_immune_mask`= 617299839, `minlevel`= 87, `maxlevel`= 87 WHERE `entry`= 48702; +-- Cave In Stalker +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 7, `unit_flags`= 34078720, `flags_extra`= 131, `ScriptName`= 'npc_throngus_cave_in' WHERE `entry`= 40228; +-- Fixate Stalker +UPDATE `creature_template` SET `minlevel`= 80, `maxlevel`= 80, `faction`= 35, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 40255; +-- Fire Patch +UPDATE `creature_template` SET `minlevel`= 80, `maxlevel`= 80, `faction`= 7, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 48711; + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (40228, 48711); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(40228, '74990'), +(48711, '90752'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_throngus_mighty_stomp', +'spell_throngus_pick_weapon', +'spell_throngus_flame_arrow_barrage', +'spell_throngus_flaming_arrow', +'spell_throngus_personal_phalanx', +'spell_throngus_personal_phalanx_aoe', +'spell_throngus_fixate_effect', +'spell_throngus_burning_dual_blades', +'spell_throngus_disorienting_roar', +'spell_throngus_encumbered', +'spell_throngus_impaling_slam'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(74984, 'spell_throngus_mighty_stomp'), +(75000, 'spell_throngus_pick_weapon'), +(74945, 'spell_throngus_flame_arrow_barrage'), +(74944, 'spell_throngus_flaming_arrow'), +(90810, 'spell_throngus_flaming_arrow'), +(74908, 'spell_throngus_personal_phalanx'), +(74914, 'spell_throngus_personal_phalanx_aoe'), +(75071, 'spell_throngus_fixate_effect'), +(74981, 'spell_throngus_burning_dual_blades'), +(90738, 'spell_throngus_burning_dual_blades'), +(74976, 'spell_throngus_disorienting_roar'), +(90737, 'spell_throngus_disorienting_roar'), +(75007, 'spell_throngus_encumbered'), +(90729, 'spell_throngus_encumbered'), +(75056, 'spell_throngus_impaling_slam'), +(90756, 'spell_throngus_impaling_slam'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 40177; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(40177, 0, 0, 'NO! Throngus get whipped again if he no finish!', 14, 0, 100, 0, 0, 18943, 47777, 'Forgemaster Throngus - Say Aggro'), +(40177, 1, 0, 'You not get through defenses!', 14, 0, 100, 0, 0, 18947, 47781, 'Forgemaster Throngus - Say Personal Phalanx'), +(40177, 2, 0, 'Oh, this gonna HURT!', 14, 0, 100, 53, 0, 18949, 47782, 'Forgemaster Throngus - Say Mace'), +(40177, 3, 0, 'Throngus SLICE you up!', 14, 0, 100, 0, 0, 18948, 47783, 'Forgemaster Throngus - Say Swords'), +(40177, 4, 0, '|TInterface\\Icons\\inv_shield_76.blp:20|t%s equips his |cFFFF0000Shield|r and gains |cFFFF0000|Hspell:74908|h[Personal Phalanx]|h|r!', 41, 0, 100, 0, 0, 0, 40747, 'Forgemaster Throngus - Announce Personal Phalanx'), +(40177, 5, 0, '|TInterface\\Icons\\inv_mace_15.blp:20|t%s equips his |cFFFF0000Mace|r and is |cFFFF0000|Hspell:75007|h[Encumbered]|h|r!', 41, 0, 100, 53, 0, 0, 40239, 'Forgemaster Throngus - Announce Mace'), +(40177, 6, 0, '|TInterface\\Icons\\ability_dualwield.blp:20|t%s equips his |cFFFF0000Swords|r and gains |cFFFF0000|Hspell:74981|h[Dual Blades]|h|r!', 41, 0, 100, 0, 0, 0, 40746, 'Forgemaster Throngus - Announce Swords'), +(40177, 7, 0, '$n is impaled!', 41, 0, 100, 0, 0, 0, 30718, 'Forgemaster Throngus - Announce Impaled'), +(40177, 8, 0, 'Throngus use your corpse on body. Somewhere...', 14, 0, 100, 0, 0, 18944, 47778, 'Forgemaster Throngus - Slay 1'), +(40177, 8, 1, 'You break easy!', 14, 0, 100, 0, 0, 18945, 47779, 'Forgemaster Throngus - Slay 2'), +(40177, 9, 0, 'Death... Good choice. Not best choice maybe, but better than fail and live.', 14, 0, 100, 0, 0, 18946, 47780, 'Forgemaster Throngus to Player'); + + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (74945, 75071) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 74945, 0, 0, 31, 0, 3, 40197, 0, 0, 0, '', 'Flame Arrow Barrage - Target Twilight Archer'), +(13, 1, 75071, 0, 0, 31, 0, 3, 40255, 0, 0, 0, '', 'Fixate Effect - Target Fixate Stalker'); + +-- Proc Entries +DELETE FROM `spell_proc` WHERE `SpellId` IN (74981, 90738, 74976, 90737, 90759); +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `Cooldown`) VALUES +(74981, 0x00000004, 1, 0, 8400), +(90738, 0x00000004, 1, 0, 8400), +(90759, 0x00000004, 1, 0, 2000); + +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`) VALUES +(74976, 1|2|4|8|16|32|64, 0x00015510, 7, 1, 0), +(90737, 1|2|4|8|16|32|64, 0x00015510, 7, 1, 0); + +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (40177, 48702); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(40177, 395, 3500), +(48702, 395, 7000); + +UPDATE `creature_template` SET `lootid`= 40177 WHERE `entry`= 40177; +UPDATE `creature_template` SET `lootid`= 48702 WHERE `entry`= 48702; +DELETE FROM creature_loot_template WHERE entry IN (40177, 48702); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(40177, 56119, 0, 1, 1, 1, 1), +(40177, 56118, 0, 1, 1, 1, 1), +(40177, 56120, 0, 1, 1, 1, 1), +(40177, 56121, 0, 1, 1, 1, 1), +(40177, 56122, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48702, 56448, 0, 1, 1, 1, 1), +(48702, 56447, 0, 1, 1, 1, 1), +(48702, 56445, 0, 1, 1, 1, 1), +(48702, 56449, 0, 1, 1, 1, 1), +(48702, 56446, 0, 1, 1, 1, 1); +-- Template Updates +-- Drahga Shadowburner +UPDATE `creature_template` SET `mechanic_immune_mask`= 667893759, `ScriptName`= 'boss_drahga_shadowburner' WHERE `entry`= 40319; +UPDATE `creature_template` SET `mechanic_immune_mask`= 667893759, `minlevel`= 87, `maxlevel`= 87, `flags_extra`= 1 WHERE `entry`= 48784; +-- Invocation of Flame Stalker +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `unit_flags`= 33554432, `flags_extra`= 131 WHERE `entry`= 40355; +-- Valiona +UPDATE `creature_template` SET `InhabitType`= 5, `mechanic_immune_mask`= 667893759, `VehicleId`= 737, `flags_extra`= `flags_extra`|0x00000200, `scriptname`= 'npc_drahga_valiona' WHERE `entry`= 40320; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `InhabitType`= 7, `mechanic_immune_mask`= 667893759, `VehicleId`= 737, `flags_extra`= `flags_extra`|0x00000200 WHERE `entry`= 48801; +-- Seeping Twilight +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 131 WHERE `entry`= 40365; +-- Devouring Flames +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 131 WHERE `entry`= 48798; +-- Invoked Flaming Spirit +UPDATE `creature_template` SET `scriptname`= 'npc_drahga_invoked_flaming_spirit', `flags_extra`= `flags_extra`|0x00000100|0x00000040|0x40000000, `mechanic_immune_mask`= 1|2|4|16|32|64|128|256|512|1024|2048|4096|8192|65536|8388608, `DamageModifier`= 1 WHERE `entry`= 40357; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `flags_extra`= `flags_extra`|0x00000100|0x00000040|0x40000000, `mechanic_immune_mask`= 1|2|4|16|32|64|128|256|512|1024|2048|4096|8192|65536|8388608, `DamageModifier`= 1 WHERE `entry`= 48785; + +-- Correct Drahga's position from own sniff +UPDATE `creature` SET `position_x`= -436.9, `position_y`= -699.6, `position_z`= 268.767, `orientation`= 3.401 WHERE `guid`= 340123; + +-- Cleanup +DELETE FROM `creature` WHERE `guid`= 340307; +DELETE FROM `creature_addon` WHERE `guid`= 340307; + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (40355, 40365, 40357, 48785); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(40355, '75222 75232'), +(40365, '75318 75274'), +(40357, '75235'), +(48785, '75235'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (40320, 40319); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +-- Valiona +(40320, 0, 0, 'If they do not kill you, I will do it myself!', 14, 0, 100, 0, 0, 18523, 47769, 'Valiona - Summoned'), +(40320, 1, 0, '|TInterface\\Icons\\spell_fire_twilightflamebreath.blp:20|t%s begins to cast |cFFFF0000|Hspell:90949|h[Devouring Flames]|h|r!', 41, 0, 100, 0, 0, 0, 48982, 'Valiona - Announce Devouring Flames'), +(40320, 2, 0, 'I will not die for you, Drahga.', 14, 0, 100, 0, 0, 18524, 47768, 'Valiona - Flee'), +-- Drahga +(40319, 1, 0, 'I will burn you from the inside out!', 14, 0, 100, 0, 0, 18610, 47760, 'Drahga Shadowburner - Aggro'), +(40319, 2, 0, '|TInterface\\Icons\\spell_fire_elemental_totem.blp:20|t%s Summons an |cFFFF6F00|Hspell:75218|h[Invocation of Flame]|h|r!', 41, 0, 100, 0, 0, 0, 40465, 'Drahga Shadowburner - Announce Invocation'), +(40319, 3, 0, 'BY FIRE BE... BURNED!', 14, 0, 100, 0, 0, 18619, 47766, 'Drahga Shadowburner - Invocation 1'), +(40319, 3, 1, 'INCINERATE THEM, MINIONS!', 14, 0, 100, 0, 0, 18616, 47765, 'Drahga Shadowburner - Invocation 2'), +(40319, 4, 0, 'Dragon, you will do as I command! Catch me!', 14, 0, 100, 22, 0, 18621, 47767, 'Drahga Shadowburner - Valiona Intro'), +(40319, 5, 0, 'You should have come better prepared!', 14, 0, 100, 0, 0, 18612, 47762, 'Drahga Shadowburner - Slay 1'), +(40319, 5, 1, 'An easy kill!', 14, 0, 100, 0, 0, 18611, 47761, 'Drahga Shadowburner - Slay 2'), +(40319, 6, 0, 'Valiona, finish them! Avenge me!', 14, 0, 100, 0, 0, 18614, 47764, 'Drahga Shadowburner - Death'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry`= 90950; +INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ScriptName, Comment) VALUES +(13, 1, 90950, 0, 0, 31, 0, 3, 48798, 0, 0, 0, '', 'Devouring Flames - Target Devouring Flames Stalker'); + +-- Spell Scripts +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_drahga_burning_shadowbolt', +'spell_drahga_devouring_flames_aoe'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75245, 'spell_drahga_burning_shadowbolt'), +(90915, 'spell_drahga_burning_shadowbolt'), +(90945, 'spell_drahga_devouring_flames_aoe'); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (40319, 48784); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(40319, 395, 3500), +(48784, 395, 7000); + +UPDATE `creature_template` SET `lootid`= 40319 WHERE `entry`= 40319; +UPDATE `creature_template` SET `lootid`= 48784 WHERE `entry`= 48784; +DELETE FROM `creature_loot_template` WHERE `Entry` IN (40319, 48784); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(40319, 56126, 0, 1, 1, 1, 1), +(40319, 56125, 0, 1, 1, 1, 1), +(40319, 56123, 0, 1, 1, 1, 1), +(40319, 56124, 0, 1, 1, 1, 1), +(40319, 56127, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48784, 56450, 0, 1, 1, 1, 1), +(48784, 56453, 0, 1, 1, 1, 1), +(48784, 56451, 0, 1, 1, 1, 1), +(48784, 56452, 0, 1, 1, 1, 1), +(48784, 56454, 0, 1, 1, 1, 1); +DELETE FROM `lfg_dungeon_template` WHERE `dungeonId`= 262; +INSERT INTO `lfg_dungeon_template` (`dungeonId`, `requiredItemLevel`) VALUES +(262, 180); + +UPDATE `quest_template` SET `RewardCurrencyCount1`= 2300 WHERE `ID` IN (24788, 24789); +-- Template Updates +-- Erudax +UPDATE `creature_template` SET `mechanic_immune_mask`= 667893759, `scriptname`= 'boss_erudax', `flags_extra`= `flags_extra`|1073741824 WHERE `entry`= 40484; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `mechanic_immune_mask`= 667893759, `flags_extra`= `flags_extra`|1073741824 WHERE `entry`= 48822; +-- Faceless Portal Stalker +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 131 WHERE `entry`= 44314; +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry`= 44314; +-- Shadow Gale Stalker +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 40567; +-- Faceless Corruptor +UPDATE `creature_template` SET `scriptname`= 'npc_erudax_faceless_corruptor', `mechanic_immune_mask`= 634339327, `flags_extra`= 1073741824 WHERE `entry` IN (40600, 48844); +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `flags_extra`= 1073741824 WHERE `entry` IN (48828, 48845); +-- Alexstrasza's Egg +UPDATE `creature_template` SET `RegenHealth`= 0 WHERE `entry`= 40486; +-- Twilight Hatchling +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (39388, 48832); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (75656, 75664, 91086, 75520, 91049, 75763, 91040, 75809) AND `SourceTypeOrReferenceId` = 13; +INSERT INTO `conditions` (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ScriptName, Comment) VALUES +(13, 1, 75656, 0, 0, 31, 0, 3, 40566, 0, 0, 0, '', 'Shadow Gale Trigger - Target Shadow Gale Controller'), +(13, 1, 75664, 0, 0, 31, 0, 3, 40567, 0, 0, 0, '', 'Shadow Gale - Target Shadow Gale Stalker'), +(13, 1, 91086, 0, 0, 31, 0, 3, 40567, 0, 0, 0, '', 'Shadow Gale - Target Shadow Gale Stalker'), +(13, 1, 75520, 0, 0, 31, 0, 3, 40486, 0, 0, 0, '', 'Twilight Corruption - Target Alexstrasza''s Egg'), +(13, 1, 91049, 0, 0, 31, 0, 3, 40486, 0, 0, 0, '', 'Twilight Corruption - Target Alexstrasza''s Egg'), +(13, 1, 75763, 0, 0, 31, 0, 3, 40484, 0, 0, 0, '', 'Umbral Mending - Target Erduax'), +(13, 1, 91040, 0, 0, 31, 0, 3, 40484, 0, 0, 0, '', 'Umbral Mending - Target Erduax'), +(13, 1, 75809, 0, 0, 31, 0, 3, 40600, 0, 0, 0, '', 'Shield of Nightmares - Target Faceless Corruptor'), +(13, 1, 75809, 0, 1, 31, 0, 3, 48844, 0, 0, 0, '', 'Shield of Nightmares - Target Faceless Corruptor'); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (39388, 48832); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(39388, 76192), +(48832, 91044); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_erudax_shadow_gale_trigger', +'spell_erudax_shadow_gale', +'spell_erudax_shadow_gale_aura', +'spell_erudax_twilight_corruption'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75656, 'spell_erudax_shadow_gale_trigger'), +(75692, 'spell_erudax_shadow_gale'), +(91087, 'spell_erudax_shadow_gale'), +(75694, 'spell_erudax_shadow_gale_aura'), +(75520, 'spell_erudax_twilight_corruption'), +(91049, 'spell_erudax_twilight_corruption'); + +-- Spell Target Positions +DELETE FROM `spell_target_position` WHERE `ID` IN (75704, 91072); +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES +(75704, 0, 670, -620.443, -827.19, 241.8573, 3.184877, 15595), +(91072, 0, 670, -620.443, -827.19, 241.8573, 3.184877, 15595), +(91072, 1, 670, -620.443, -827.19, 241.8573, 3.184877, 15595); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 40484; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(40484, 0, 0, 'The darkest days are still ahead!', 14, 0, 100, 0, 0, 18638, 47770, 'Erudax - Aggro'), +(40484, 1, 0, '|TInterface\\Icons\\spell_shadow_shadowfury.blp:20|t%s begins to cast |cFFA043E7|Hspell:75694|h[Shadow Gale]|h|r!', 41, 0, 100, 0, 0, 0, 40609, 'Erudax - Announce Shadow Gale'), +(40484, 2, 0, 'F\'lakh ghet! The shadow\'s hunger cannot be sated!', 14, 0, 100, 0, 0, 18644, 47774, 'Erudax - Shadow Gale'), +(40484, 3, 0, 'Come, suffering... Enter, chaos!', 14, 0, 100, 0, 0, 18646, 40612, 'Erudax to Erudax'), +(40484, 4, 0, '%s summons a |cFFFF0000Faceless Guardian|r!', 41, 0, 100, 0, 0, 0, 0, 'Erudax to Erudax'), +(40484, 5, 0, '|TInterface\\Icons\\spell_shadow_sacrificialshield.blp:20|t%s begins to cast |cFF006EFD|Hspell:75809|h[Shield of Nightmares]|h|r on the |cFF006EFDFaceless Corruptor|r!', 41, 0, 100, 0, 0, 0, 40610, 'Erudax - Shield of Nightmares'), +(40484, 6, 0, 'Flesh for the offering!', 14, 0, 100, 0, 0, 18640, 47772, 'Erudax - Slay 1'), +(40484, 6, 1, 'Ahahaha!', 16, 0, 100, 0, 0, 18639, 47771, 'Erudax - Slay 2'), +(40484, 7, 0, 'Ywaq maq oou; ywaq maq ssaggh. Yawq ma shg\'fhn.', 14, 0, 100, 0, 0, 18641, 47773, 'Erudax - Death'); + +-- Achiement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 16001; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(16001, 11, 0, 0, 'achievement_dont_need_to_break_eggs'); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (40484, 48822); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(40484, 395, 3500), +(48822, 395, 7000); + +-- Loot +UPDATE `creature_template` SET `lootid`= 40484 WHERE `entry`= 40484; +UPDATE `creature_template` SET `lootid`= 48822 WHERE `entry`= 48822; +DELETE FROM `creature_loot_template` WHERE `entry` IN (40484, 48822); +INSERT INTO `creature_loot_template` (`Entry`, `Reference`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(40484, 404840, 100, 1, 0, 2, 2), +(48822, 488220, 100, 1, 0, 2, 2); + +DELETE FROM `reference_loot_template` WHERE `entry` IN (404840, 488220); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Normal +(404840, 56133, 0, 1, 1, 1, 1), +(404840, 56128, 0, 1, 1, 1, 1), +(404840, 56135, 0, 1, 1, 1, 1), +(404840, 56129, 0, 1, 1, 1, 1), +(404840, 56136, 0, 1, 1, 1, 1), +(404840, 56138, 0, 1, 1, 1, 1), +(404840, 56132, 0, 1, 1, 1, 1), +(404840, 56130, 0, 1, 1, 1, 1), +(404840, 56131, 0, 1, 1, 1, 1), +(404840, 56137, 0, 1, 1, 1, 1), +-- Heroic +(488220, 56460, 0, 1, 1, 1, 1), +(488220, 56455, 0, 1, 1, 1, 1), +(488220, 56464, 0, 1, 1, 1, 1), +(488220, 56457, 0, 1, 1, 1, 1), +(488220, 56463, 0, 1, 1, 1, 1), +(488220, 56462, 0, 1, 1, 1, 1), +(488220, 56458, 0, 1, 1, 1, 1), +(488220, 56459, 0, 1, 1, 1, 1), +(488220, 56456, 0, 1, 1, 1, 1), +(488220, 56461, 0, 1, 1, 1, 1), +(488220, 52078, 100, 1, 2, 1, 1); -- Chaos Orb +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=49039; -- Glubtok Firewall Platter Creature Level 1b +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=48976; -- Glubtok Firewall Platter Creature Level 2a +UPDATE `creature_template` SET `minlevel`=86, `maxlevel`=86 WHERE `entry`=48829; -- Ogre Henchman +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=48975; -- Glubtok Firewall Platter Creature Level 1a +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=48974; -- Glubtok Firewall Platter +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=49041; -- Glubtok Firewall Platter Creature Level 2b +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=49040; -- Glubtok Firewall Platter Creature Level 1c +UPDATE `creature_template` SET `speed_walk`=0.2, `speed_run`=1.142857 WHERE `entry`=49042; -- Glubtok Firewall Platter Creature Level 2c +UPDATE `creature_template` SET `BaseAttackTime`=1000 WHERE `entry`=48229; -- Kobold Digger +UPDATE `creature_template` SET `minlevel`=85, `maxlevel`=85, `BaseAttackTime`=1000 WHERE `entry`=48834; -- Kobold Digger +UPDATE `creature_template` SET `minlevel`=86, `maxlevel`=86 WHERE `entry`=48830; -- Ogre Bodyguard +UPDATE `creature_template` SET `minlevel`=85, `maxlevel`=85, `unit_flags2`=0 WHERE `entry`=48835; -- Mining Powder + +DELETE FROM `creature` WHERE `id` IN (49039, 48976, 48975, 48974, 49041, 49040, 49042); +DELETE FROM `creature_addon` WHERE `guid` NOT IN (SELECT `guid` FROM `creature`); +UPDATE `creature_template` SET `flags_extra`= 131 WHERE `entry` IN (49039, 48976, 48975, 49041, 49040, 49042); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (89769, 91063, 89697, 91066) AND `SourceTypeOrReferenceId` = 13; +INSERT INTO `conditions` (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ScriptName, Comment) VALUES +(13, 1, 89769, 0, 0, 31, 0, 3, 48230, 0, 0, 0, '', 'Explode - Target Ogre Henchman'), +(13, 1, 89769, 0, 1, 31, 0, 3, 48284, 0, 0, 0, '', 'Explode - Target Mining Powder'), +(13, 1, 89769, 0, 2, 31, 0, 3, 48229, 0, 0, 0, '', 'Explode - Target Kobold Digger'), +(13, 1, 89769, 0, 3, 31, 0, 3, 48279, 0, 0, 0, '', 'Explode - Target Goblin Overseer'), +(13, 1, 89769, 0, 4, 31, 0, 3, 48338, 0, 0, 0, '', 'Explode - Target Goblin Bunny'), +(13, 1, 89769, 0, 5, 31, 0, 3, 48278, 0, 0, 0, '', 'Explode - Target Mining Monkey'), +(13, 1, 89769, 0, 6, 31, 0, 3, 48445, 0, 0, 0, '', 'Explode - Target Oaf Lackey'), +(13, 1, 89697, 0, 7, 31, 0, 3, 48419, 0, 0, 0, '', 'Explode - Target Defias Miner'), +(13, 1, 89697, 0, 8, 31, 0, 3, 48418, 0, 0, 0, '', 'Explode - Target Defias Envoker'), +(13, 1, 89697, 0, 9, 31, 0, 3, 48421, 0, 0, 0, '', 'Explode - Target Defias Overseer'), +(13, 1, 89697, 0, 10, 31, 0, 3, 48502, 0, 0, 0, '', 'Explode - Target Defias Enforcer'), +(13, 1, 89697, 0, 11, 31, 0, 3, 48417, 0, 0, 0, '', 'Explode - Target Blood Wizard'), +(13, 1, 89697, 0, 12, 31, 0, 3, 48505, 0, 0, 0, '', 'Explode - Target Defias Shadowguard'), +-- +(13, 1, 91063, 0, 0, 31, 0, 3, 48230, 0, 0, 0, '', 'Explode - Target Ogre Henchman'), +(13, 1, 91063, 0, 1, 31, 0, 3, 48284, 0, 0, 0, '', 'Explode - Target Mining Powder'), +(13, 1, 91063, 0, 2, 31, 0, 3, 48229, 0, 0, 0, '', 'Explode - Target Kobold Digger'), +(13, 1, 91063, 0, 3, 31, 0, 3, 48279, 0, 0, 0, '', 'Explode - Target Goblin Overseer'), +(13, 1, 91063, 0, 4, 31, 0, 3, 48338, 0, 0, 0, '', 'Explode - Target Goblin Bunny'), +(13, 1, 91063, 0, 5, 31, 0, 3, 48278, 0, 0, 0, '', 'Explode - Target Mining Monkey'), +(13, 1, 91063, 0, 6, 31, 0, 3, 48445, 0, 0, 0, '', 'Explode - Target Oaf Lackey'), +(13, 1, 91063, 0, 7, 31, 0, 3, 48419, 0, 0, 0, '', 'Explode - Target Defias Miner'), +(13, 1, 91063, 0, 8, 31, 0, 3, 48418, 0, 0, 0, '', 'Explode - Target Defias Envoker'), +(13, 1, 91063, 0, 9, 31, 0, 3, 48421, 0, 0, 0, '', 'Explode - Target Defias Overseer'), +(13, 1, 91063, 0, 10, 31, 0, 3, 48502, 0, 0, 0, '', 'Explode - Target Defias Enforcer'), +(13, 1, 91063, 0, 11, 31, 0, 3, 48417, 0, 0, 0, '', 'Explode - Target Defias Blood Wizard'), +(13, 1, 91063, 0, 12, 31, 0, 3, 48505, 0, 0, 0, '', 'Explode - Target Defias Shadowguard'), +-- +(13, 1, 89697, 0, 0, 31, 0, 3, 45979, 0, 0, 0, '', 'Cannonball - Target General Purpose Bunny'), +-- +(13, 1, 91066, 0, 0, 31, 0, 3, 45979, 0, 0, 0, '', 'Cannonball - Target General Purpose Bunny'); + +-- Creature Mining Powder 48284 SAI +SET @ENTRY := 48284; +UPDATE `creature_template` SET `AIName`="SmartAI", `flags_extra`= 2 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, 1, 6, 0, 100, 0, 0, 0, 0, 0, 11, 90096, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On death - Self: Cast spell 90096 on Self // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 11, 89769, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 89769 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 3, 0, 11686, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Morph to model 11686 // "); + +-- Creature Kobold Digger 48229 SAI +SET @ENTRY := 48229; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +SET @ENTRY := -375926; +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, 1, 60, 0, 100, 1, 100, 100, 0, 0, 11, 46598, 0, 0, 0, 0, 0, 10, 375931, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 100 and 100 ms) - Self: Cast spell 46598 on Creature Ogre Henchman 48230 (375931) // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set react state to REACT_PASSIVE // "); + +-- Creature Ogre Henchman 48230 SAI +SET @ENTRY := 48230; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +SET @ENTRY := -375931; +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, 1, 100, 0, 6500, 6500, 13000, 13000, 5, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 6500 and 6500 ms (and later repeats every 13000 and 13000 ms) - Self: Play emote 16 // "), +(@ENTRY, 0, 1, 0, 1, 1, 100, 0, 8000, 8000, 13000, 13000, 86, 89697, 0, 10, 375933, 0, 0, 10, 375992, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 8000 and 8000 ms (and later repeats every 13000 and 13000 ms) - SMART_TARGET_CREATURE_GUID: Cast spell 89697 at Creature General Purpose Bunny JMF 45979 (375992) // "), +(@ENTRY, 0, 2, 0, 4, 0, 100, 1, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Set event phase to 2 // "), +(@ENTRY, 0, 3, 0, 27, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On passenger boarded (vehicle) - Self: Set event phase to 1 // "), +(@ENTRY, 0, 4, 0, 28, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On passenger removed (vehicle) - Action invoker: Set react state to REACT_AGGRESSIVE // "); +-- Template Updates +-- Glubtok +UPDATE `creature_template` SET `scriptname`= 'boss_glubtok' WHERE `entry`= 47162; +UPDATE `creature_template` SET `minlevel`=87, `maxlevel`=87 WHERE `entry`=48936; +-- General Purpose Bunny JMF Look 2 +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 47242; +-- General Purpose Bunny JMF +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 45979; +-- Glubtok Firewall Platter +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 48974; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 47162; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(47162, 0, 0, 'Glubtok show you da power of de arcane!', 14, 0, 100, 0, 0, 21151, 47256, 'Glubtok to Player'), +(47162, 1, 0, 'Fists of flame!', 14, 0, 100, 0, 0, 21153, 47239, 'Glubtok'), +(47162, 2, 0, 'Fists of frost!', 14, 0, 100, 0, 0, 21156, 47238, 'Glubtok'), +(47162, 3, 0, 'Glubtok ready?', 14, 0, 100, 1, 0, 21154, 47361, 'Glubtok'), +(47162, 4, 0, 'Let''s do it!', 14, 0, 100, 15, 0, 21157, 47362, 'Glubtok'), +(47162, 5, 0, 'ARCANE POWER!!!', 14, 0, 100, 15, 0, 21146, 47363, 'Glubtok'), +(47162, 6, 0, '|TInterface\\Icons\\spell_holy_innerfire.blp:20|t Glubtok creates a moving |cFFFF0000|Hspell:91398|h[Fire Wall]|h|r!', 41, 0, 100, 0, 0, 0, 49155, 'Glubtok'), +(47162, 7, 0, 'TOO...MUCH...POWER!!!', 14, 0, 100, 15, 0, 21145, 47422, 'Glubtok'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (88072, 88093) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 88072, 0, 0, 31, 0, 3, 47162, 0, 0, 0, '', 'Arcane Fire Beam - Target Glubtok'), +(13, 1, 88093, 0, 0, 31, 0, 3, 47162, 0, 0, 0, '', 'Arcane Frost Beam - Target Glubtok'); + +-- Spells +DELETE FROM `spell_proc` WHERE `SpellId` IN (87900, 87897); +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `Cooldown`) VALUES +(87900, 0x00000004, 1, 0, 4000), +(87897, 0x00000004, 1, 0, 4000); + +-- Spellclick spells +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (48974, 48975, 49039, 49040); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(48974, 46598, 1, 1), +(48975, 47020, 1, 1), +(49039, 47020, 1, 1), +(49040, 47020, 1, 1); + +-- Vehicle Accessory +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (48974, 48975, 49039, 49040); +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES +(48974, 48975, 0, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 49039, 1, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 49040, 2, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 49040, 3, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 48975, 4, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 49039, 5, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 49040, 6, 1, 'Glubtok Firewall Platter', 5, 0), +(48974, 49040, 7, 1, 'Glubtok Firewall Platter', 5, 0), +(49040, 49042, 5, 1, 'Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c', 5, 0), -- Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c +(49040, 49042, 4, 1, 'Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c', 5, 0), -- Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c +(49040, 49042, 1, 1, 'Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c', 5, 0), -- Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c +(49040, 49042, 0, 1, 'Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c', 5, 0), -- Glubtok Firewall Platter Creature Level 1c - Glubtok Firewall Platter Creature Level 2c +(49039, 49041, 5, 1, 'Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b', 5, 0), -- Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b +(49039, 49041, 4, 1, 'Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b', 5, 0), -- Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b +(49039, 49041, 1, 1, 'Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b', 5, 0), -- Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b +(49039, 49041, 0, 1, 'Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b', 5, 0), -- Glubtok Firewall Platter Creature Level 1b - Glubtok Firewall Platter Creature Level 2b +(48975, 48976, 5, 1, 'Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a', 5, 0), -- Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a +(48975, 48976, 4, 1, 'Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a', 5, 0), -- Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a +(48975, 48976, 1, 1, 'Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a', 5, 0), -- Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a +(48975, 48976, 0, 1, 'Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a', 5, 0); -- Glubtok Firewall Platter Creature Level 1a - Glubtok Firewall Platter Creature Level 2a + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_glubtok_blossom_targeting'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(88140, 'spell_glubtok_blossom_targeting'); + +-- Creature Fire Blossom 48957 SAI +SET @ENTRY := 48957; +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, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 18, 30, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Attack Players in 30 yards // "); + +-- Creature Frost Blossom 48957 SAI +SET @ENTRY := 48958; +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, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 18, 30, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Attack Players in 30 yards // "); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 48936; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(48936, 395, 7000); + +-- Loot +UPDATE creature_template SET `lootid`= 47162 WHERE `entry`= 47162; +DELETE FROM `creature_loot_template` WHERE `entry` IN (47162, 48936); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(47162, 5195, 0, 1, 1, 1, 1), +(47162, 2169, 0, 1, 1, 1, 1), +(47162, 5194, 0, 1, 1, 1, 1); + +UPDATE creature_template SET `lootid`= 48936 WHERE `entry`= 48936; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48936, 63467, 0, 1, 1, 1, 1), +(48936, 63468, 0, 1, 1, 1, 1), +(48936, 63471, 0, 1, 1, 1, 1), +(48936, 63470, 0, 1, 1, 1, 1), +(48936, 65163, 0, 1, 1, 1, 1); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_umbriss_blitz'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(74670, 'spell_umbriss_blitz'), +(90250, 'spell_umbriss_blitz'); +UPDATE `creature_template` SET `ScriptName`= '' WHERE `entry` IN (22551, 31991, 37310, 22577, 32105, 37426); +UPDATE `creature_template` SET `unit_class`=8 WHERE `entry`=49317; +UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|625950703 WHERE `entry`=48828; +UPDATE `creature_template` SET `faction`=14 WHERE `entry`=49311; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=51088; +UPDATE `creature_template` SET `unit_class`=8 WHERE `entry`=49318; +UPDATE `creature_template` SET `unit_class`=8 WHERE `entry`=49320; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49324; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49325; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49326; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49328; +UPDATE `creature_template` SET `unit_class`=2 WHERE `entry`=49330; +UPDATE `creature_template` SET `difficulty_entry_1`= 49708 WHERE `entry`= 46962; +UPDATE `creature_template` SET `difficulty_entry_1`= 49711 WHERE `entry`= 46963; +UPDATE `creature_template` SET `unit_flags2`=`unit_flags2` | 2048 WHERE `entry`=48835; +UPDATE `creature_template` SET `flags_extra`=`flags_extra`| 2 WHERE `entry`=48835; +UPDATE `creature` SET `MovementType`= 1 WHERE `id`= 35229 AND `spawndist` <> 0; +DELETE FROM `conditions` WHERE `SourceEntry`= 91052 AND `SourceTypeOrReferenceId`= 13; +-- Boss Immunities +-- Default immunities except interrupt +UPDATE `creature_template` SET `mechanic_immune_mask`= 80297855 WHERE `entry` IN (46962, 49708, 46964, 49712, 39425, 49262, 39731, 48715, 49624, 42333); +-- Default boss immunities +UPDATE `creature_template` SET `mechanic_immune_mask`= 617299839 WHERE `entry` IN +(46963, 49711, 3887, 49709, 4278, 49710, 43612, 48951, 43614, 49043, 49045, 44819, 51088, 47162, 48936, 47296, 48940, +43778, 48941, 47626, 48943, 47739, 48944, 49429, 39665, 39666, 39679, 39680, 39698, 39699, 39700, 39701, 39705, 39706, 39428, 48714, 39788, 48902, 39587, 48710, 48939); + +-- Boss damage +UPDATE `creature_template` SET `DamageModifier`= 121.2 WHERE `entry` IN (44577, 48932, 45378, 43614, 49043, 43612, 48951, 44819, 51088, 39425, 49262, 39428, 48714, 39788, 48902, +39731, 48715, 48710, 39587, 39378, 48815, 39665, 39666, 39679, 39680, 39698, 39699, 39700, 39701, 39705, 39706, 43878, 43879, 43873, 43874, 43875, 43876, 48936, 48940, 48941, 48943, +48944, 49429, 49708, 49709, 49710, 49711, 49712, 43438, 49642, 43214, 49538, 42188, 49654, 42333, 49624, 39732, 48776, 40320, 48801, 48939); + +-- Specific updates +-- Temple Guardian Anhuur HC updates +UPDATE `creature_template` SET `difficulty_entry_1`= 48902 WHERE `entry`= 39425; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `speed_walk`= 2, `speed_run`= 1.42857, `unit_flags`= 2048, `movementId`= 151 WHERE `entry`= 49262; + +-- Anraphet HC updates +UPDATE `creature_template` SET `difficulty_entry_1`= 48902 WHERE `entry`= 39788; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `speed_walk`= 1.6, `unit_flags`= 33555008, `movementId`= 167 WHERE `entry`= 48902; + +-- Ammunae HC updates +UPDATE `creature_template` SET `difficulty_entry_1`= 48715 WHERE `entry`= 39731; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `speed_walk`= 2, `speed_run`= 1.42857, `unit_flags`= 32832, `VehicleId`= 758, `movementId`= 151 WHERE `entry`= 48715; + +-- Isiset HC updates +UPDATE `creature_template` SET `difficulty_entry_1`= 48710 WHERE `entry`= 39587; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `speed_walk`= 2, `speed_run`= 1.42857, `unit_flags`= 32832, `movementId`= 151 WHERE `entry`= 48710; + +-- Setesh HC updates +UPDATE `creature_template` SET `difficulty_entry_1`= 48776 WHERE `entry`= 39732; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `speed_walk`= 2.8, `speed_run`= 1.42857, `unit_flags`= 32832, `movementId`= 154 WHERE `entry`= 48776; + +-- Currency loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (39425, 39788, 39428, 39731, 39587, 39732, 39378, 43614, 44577, 43612, 44819); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- 35 Justice Points +(39425, 395, 3500), +(39788, 395, 3500), +(39428, 395, 3500), +(39731, 395, 3500), +(39587, 395, 3500), +(39732, 395, 3500), +(39378, 395, 3500), +(43614, 395, 3500), +(44577, 395, 3500), +(43612, 395, 3500), +(44819, 395, 3500); + +-- Loot +-- Corborus +UPDATE `creature_template` SET `difficulty_entry_1`= 49642, `lootid`= 43438 WHERE `entry`= 43438; +DELETE FROM `creature_loot_template` WHERE entry IN (43438, 49642); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(43438, 55793, 0, 1, 1, 1, 1), +(43438, 55792, 0, 1, 1, 1, 1), +(43438, 55794, 0, 1, 1, 1, 1), +(43438, 55795, 0, 1, 1, 1, 1), +(43438, 55796, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49642 WHERE `entry`= 49642; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49642, 56331, 0, 1, 1, 1, 1), +(49642, 56330, 0, 1, 1, 1, 1), +(49642, 56332, 0, 1, 1, 1, 1), +(49642, 56328, 0, 1, 1, 1, 1), +(49642, 56329, 0, 1, 1, 1, 1); + +-- Slabhide +UPDATE `creature_template` SET `difficulty_entry_1`= 49538, `lootid`= 43214 WHERE `entry`= 43214; +DELETE FROM `creature_loot_template` WHERE `entry` IN (43214, 49538); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(43214, 63043, 0.1, 1, 2, 1, 1), -- Drake Mount Drop +(43214, 55798, 0, 1, 1, 1, 1), +(43214, 55797, 0, 1, 1, 1, 1), +(43214, 55799, 0, 1, 1, 1, 1), +(43214, 55800, 0, 1, 1, 1, 1), +(43214, 55801, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49538 WHERE `entry`= 49538; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49538, 63043, 0.1, 1, 2, 1, 1), -- Drake Mount Drop +(49538, 56334, 0, 1, 1, 1, 1), +(49538, 56336, 0, 1, 1, 1, 1), +(49538, 56333, 0, 1, 1, 1, 1), +(49538, 56337, 0, 1, 1, 1, 1), +(49538, 56335, 0, 1, 1, 1, 1); + +-- Ozruk +UPDATE `creature_template` SET `difficulty_entry_1`= 49654, `lootid`= 42188 WHERE `entry`= 42188; +DELETE FROM `creature_loot_template` WHERE `entry` IN (42188, 49654); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(42188, 55802, 0, 1, 1, 1, 1), +(42188, 55803, 0, 1, 1, 1, 1), +(42188, 55804, 0, 1, 1, 1, 1), +(42188, 55810, 0, 1, 1, 1, 1), +(42188, 55811, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid`= 49654 WHERE `entry`= 49654; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49654, 56340, 0, 1, 1, 1, 1), +(49654, 56341, 0, 1, 1, 1, 1), +(49654, 56338, 0, 1, 1, 1, 1), +(49654, 56339, 0, 1, 1, 1, 1), +(49654, 56342, 0, 1, 1, 1, 1); + +-- High Priestess Azil +UPDATE `creature_template` SET `difficulty_entry_1`= 49624, `lootid`= 42333 WHERE `entry`= 42333; +DELETE FROM `creature_loot_template` WHERE `entry` IN (42333, 49624); +DELETE FROM `reference_loot_template` WHERE `entry` IN (423330, 496240); + +INSERT INTO `creature_loot_template` (`Entry`, `Reference`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(42333, 423330, 100, 1, 0, 2, 2); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(423330, 55817, 0, 1, 1, 1, 1), +(423330, 55812, 0, 1, 1, 1, 1), +(423330, 55818, 0, 1, 1, 1, 1), +(423330, 55816, 0, 1, 1, 1, 1), +(423330, 55814, 0, 1, 1, 1, 1), +(423330, 55819, 0, 1, 1, 1, 1), +(423330, 55820, 0, 1, 1, 1, 1), +(423330, 55821, 0, 1, 1, 1, 1), +(423330, 55813, 0, 1, 1, 1, 1), +(423330, 55815, 0, 1, 1, 1, 1); + +UPDATE creature_template SET `lootid`= 49624 WHERE `entry`= 49624; +INSERT INTO `creature_loot_template` (`Entry`, `Reference`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(49624, 496240, 100, 1, 0, 2, 2); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(496240, 56348, 0, 1, 1, 1, 1), +(496240, 56344, 0, 1, 1, 1, 1), +(496240, 56352, 0, 1, 1, 1, 1), +(496240, 56347, 0, 1, 1, 1, 1), +(496240, 56345, 0, 1, 1, 1, 1), +(496240, 56351, 0, 1, 1, 1, 1), +(496240, 56349, 0, 1, 1, 1, 1), +(496240, 56350, 0, 1, 1, 1, 1), +(496240, 56346, 0, 1, 1, 1, 1), +(496240, 56343, 0, 1, 1, 1, 1), +(496240, 52078, 100, 1, 2, 1, 1); -- Chaos Orb + +-- The Stonecore +UPDATE `creature_template` SET `mingold`= 14000, `maxgold`= 16000 WHERE `entry` IN (43438, 43214, 42188, 42333); +UPDATE `creature_template` SET `mingold`= 19000, `maxgold`= 20000 WHERE `entry` IN (49642, 49538, 49654, 49624); +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (49642, 49538, 49654, 49624); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- 70 Justice Points +(49642, 395, 7000), +(49538, 395, 7000), +(49654, 395, 7000), +(49624, 395, 7000); + +-- The Vortex Pinnacle +UPDATE `creature_template` SET `mingold`= 14000, `maxgold`= 16000 WHERE `entry` IN (43878, 43873, 43875); +UPDATE `creature_template` SET `mingold`= 19000, `maxgold`= 20000 WHERE `entry` IN (43879, 43874, 43876); +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (43879, 43874, 43876); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- 70 Justice Points +(43879, 395, 7000), +(43874, 395, 7000), +(43876, 395, 7000); + +-- Shadowfang Keep +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 8000 WHERE `entry` IN (46962, 3887, 4278, 46963, 46964); +UPDATE `creature_template` SET `mingold`= 19000, `maxgold`= 20000 WHERE `entry` IN (49708, 49709, 49710, 49711, 49712); +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (49708, 49709, 49710, 49711, 49712); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- 70 Justice Points +(49708, 395, 7000), +(49709, 395, 7000), +(49710, 395, 7000), +(49711, 395, 7000), +(49712, 395, 7000); + +-- Deadmines +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 8000 WHERE `entry` IN (47162, 47296, 43778, 47626, 47739); +UPDATE `creature_template` SET `mingold`= 19000, `maxgold`= 20000 WHERE `entry` IN (48936, 48940, 48941, 48943, 48944); +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (48936, 48940, 48941, 48943, 48944, 49429); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- 70 Justice Points +(48936, 395, 7000), +(48940, 395, 7000), +(48941, 395, 7000), +(48943, 395, 7000), +(48944, 395, 7000), +(49429, 395, 7000); +-- Template Updates +-- Helix Gearbreaker +UPDATE `creature_template` SET `scriptname`= 'boss_helix_gearbreaker', `flags_extra`= 0 WHERE `entry`= 47296; +UPDATE `creature_template` SET `flags_extra`= `flags_extra`|1, `DamageModifier`= 15 WHERE `entry`= 48940; +-- Lumbering Oaf +UPDATE `creature_template` SET `scriptname`= 'npc_helix_lumbering_oaf' WHERE `entry`= 47297; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87 WHERE `entry`= 48939; +-- Sticky Bomb +UPDATE `creature_template` SET `difficulty_entry_1`= 49134, `scriptname`= 'npc_helix_sticky_bomb' WHERE `entry`= 47314; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 14, `unit_flags`= 33554432 WHERE `entry`= 49134; +-- Helix' Crew +UPDATE `creature_template` SET `scriptname`= 'npc_helix_crew' WHERE `entry`= 49139; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (47296, 47297, 49139); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +-- Helix Gearbreaker +(47296, 0, 0, 'The mistress will pay me handsomely for your heads!', 14, 0, 100, 0, 0, 20849, 47474, 'Helix Gearbreaker - Aggro'), +(47296, 1, 0, 'Bombs away!', 14, 0, 100, 0, 0, 20847, 47475, 'Helix Gearbreaker - Bomb'), +(47296, 2, 0, 'Ready Oafie? Throw!', 14, 0, 100, 0, 0, 20848, 47476, 'Helix Gearbreaker - Throw Helix'), +(47296, 3, 0, 'Helix attaches a bomb to $n''s chest!', 41, 0, 100, 0, 0, 0, 47544, 'Helix Gearbreaker - Announce Bomb'), +(47296, 4, 0, 'I didn''t need him! Not when I''ve got YOU oafs!', 14, 0, 100, 0, 0, 20846, 47573, 'Helix Gearbreaker - Oaf Death'), +(47296, 5, 0, 'Only ten copper? You''re not even worth killing!', 14, 0, 100, 0, 0, 20845, 47574, 'Helix Gearbreaker - Slay'), +(47296, 6, 0, 'The scales...have...tipped...', 14, 0, 100, 0, 0, 20844, 47575, 'Helix Gearbreaker - Death'), +(47297, 0, 1, 'No...NO!', 14, 0, 100, 0, 0, 20854, 47480, 'Lumbering Oaf to Helix Gearbreaker'), +(47297, 1, 2, 'OAF SMASH!!', 14, 0, 100, 0, 0, 0, 48117, 'Lumbering Oaf to Helix Gearbreaker'), +(49139, 0, 0, 'Blowin'' em'' to bits, boss!', 12, 0, 100, 0, 0, 0, 49191, 'Helix Crew - Throw Bomb'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_helix_throw_bomb_targeting', +'spell_helix_sticky_bomb_periodic_trigger', +'spell_helix_explode', +'spell_helix_oaf_grab_targeting', +'spell_helix_force_player_to_ride_oaf', +'spell_helix_oaf_smash', +'spell_helix_ride_face_targeting', +'spell_helix_ride_vehicle', +'spell_helix_ride_face_timer_aura', +'spell_helix_chest_bomb_emote', +'spell_helix_chest_bomb'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(88268, 'spell_helix_throw_bomb_targeting'), +(88329, 'spell_helix_sticky_bomb_periodic_trigger'), +(88321, 'spell_helix_explode'), +(91567, 'spell_helix_explode'), +(88974, 'spell_helix_explode'), +(91566, 'spell_helix_explode'), +(88289, 'spell_helix_oaf_grab_targeting'), +(88278, 'spell_helix_force_player_to_ride_oaf'), +(88300, 'spell_helix_oaf_smash'), +(91568, 'spell_helix_oaf_smash'), +(88349, 'spell_helix_ride_face_targeting'), +(88360, 'spell_helix_ride_vehicle'), +(88351, 'spell_helix_ride_face_timer_aura'), +(91572, 'spell_helix_chest_bomb_emote'), +(88352, 'spell_helix_chest_bomb'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry`= 88295 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 88295, 0, 0, 31, 0, 3, 45979, 0, 0, 0, '', 'Charge - Target General Purpose Bunny'), +(13, 1, 88295, 0, 0, 35, 0, 1, 20, 3, 0, 0, '', 'Charge - Target Distance Must be Higher than 15 yards'); + +-- Loot +UPDATE `creature_template` SET `lootid`= 47296 WHERE `entry`= 47296; +UPDATE `creature_template` SET `lootid`= 48940 WHERE `entry`= 48940; +DELETE FROM `creature_loot_template` WHERE `Entry` IN (47296, 48940); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(47296, 5199, 0, 1, 1, 1, 1), +(47296, 5191, 0, 1, 1, 1, 1), +(47296, 5200, 0, 1, 1, 1, 1), +(47296, 5443, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48940, 63473, 0, 1, 1, 1, 1), +(48940, 63475, 0, 1, 1, 1, 1), +(48940, 63476, 0, 1, 1, 1, 1), +(48940, 63474, 0, 1, 1, 1, 1), +(48940, 65164, 0, 1, 1, 1, 1); +-- Template Updates +-- Foe Reaper 5000 +UPDATE `creature_template` SET `unit_flags2`= 0, `ScriptName`= 'boss_foe_reaper_5000' WHERE `entry`= 43778; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `unit_flags2`= 0, `flags_extra`= 1 WHERE `entry`= 48941; +-- Prototype Reaper +UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857, `spell1`= 91734, `spell2`= 91735, `spell3`= 91736, `unit_flags2`= 0 WHERE `entry`= 49208; +UPDATE `npc_spellclick_spells` SET `spell_id`= 43671 WHERE `npc_entry`= 49208; +-- Defias Watcher +UPDATE `creature_template` SET `unit_flags2`= 0, `RegenHealth`= 0, `ScriptName`= 'npc_deadmines_defias_watcher' WHERE `entry`= 47404; +UPDATE `creature_template` SET `unit_flags2`= 0, `RegenHealth`= 0 WHERE `entry`= 48803; +-- Defias Reaper +UPDATE `creature_template` SET `unit_flags2`= 0, `ScriptName`= 'npc_deadmines_defias_watcher' WHERE `entry`= 47403; +UPDATE `creature_template` SET `unit_flags2`= 0 WHERE `entry`= 48804; +-- Deadmines Foe Reaper Targeting Bunny +UPDATE `creature_template` SET `faction`= 35, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 47468; +-- Molten Slag +UPDATE `creature_template` SET `DamageModifier`= 30, `ScriptName`= 'npc_foe_reaper_5000_molten_slag' WHERE `entry`= 49229; + + +DELETE FROM `creature_text` WHERE `CreatureID` IN (43778, 45979); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +-- Foe Reaper 5000 +(43778, 0, 0, 'Foe Reaper 5000 on-line. All systems nominal.', 14, 0, 100, 0, 0, 22137, 47596, 'Foe Reaper 5000'), +(43778, 1, 0, '|TInterface\\Icons\\ability_whirlwind.blp:20|t Foe Reaper 5000 begins to activate |cFFFF0000|Hspell:88481|h[Overdrive]|h|r!', 41, 0, 100, 0, 0, 0, 48812, 'Foe Reaper 5000'), +(43778, 2, 0, 'Overdrive engine activated.', 14, 0, 100, 0, 0, 22142, 47609, 'Foe Reaper 5000'), +(43778, 3, 0, 'Acquiring target...', 14, 0, 100, 0, 0, 22140, 47628, 'Foe Reaper 5000 to Player'), +(43778, 4, 0, 'Target acquired. Harvesting servos engaged.', 14, 0, 100, 0, 0, 22141, 47629, 'Foe Reaper 5000'), +(43778, 5, 0, 'Safety restrictions off-line. Catastrophic system failure imminent.', 14, 0, 100, 0, 0, 22143, 47642, 'Foe Reaper 5000'), +(43778, 6, 0, '|TInterface\Icons\spell_fire_totemofwrath.blp:20|t Foe Reaper 5000 |cFFFF0000|Hspell:88522|h[Safety Restrictions are Off-line]|h|r!', 41, 0, 100, 0, 0, 0, 50713, 'Foe Reaper 5000'), +(43778, 7, 0, 'Target destroyed.', 14, 0, 100, 0, 0, 22139, 47630, 'Feindschnitter 5000 to Player'), +(43778, 8, 0, 'Overheat threshold exceeded. System failure. Wheat clog in port two. Shutting down.', 14, 0, 100, 0, 0, 22138, 47643, 'Foe Reaper 5000'), +-- General Purpose Bunny +(45979, 0, 0, 'A stray jolt from the Foe Reaper has disrupted the foundry controls!', 41, 0, 100, 0, 0, 0, 49315, 'General Purpose Bunny JMF'), +(45979, 1, 0, 'The molten slag begins to bubble furiously!', 41, 0, 100, 0, 0, 0, 49316, 'General Purpose Bunny JMF'); + +-- Template Addon +DELETE FROM `creature_template_addon` WHERE `entry`= 47468; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(47468, 88508); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (89132, 91839, 91841, 91842, 91843) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 89132, 0, 0, 31, 0, 3, 43778, 0, 0, 0, '', 'Energize - Target Foe Reaper 5000'), +(13, 1, 91839, 0, 0, 31, 0, 5, 123207, 0, 0, 0, '', 'Summon Molten Slag - Target Goblin Smelthing Pot'), +(13, 1, 91841, 0, 0, 31, 0, 5, 123208, 0, 0, 0, '', 'Summon Molten Slag - Target Goblin Smelthing Pot'), +(13, 1, 91842, 0, 0, 31, 0, 5, 123209, 0, 0, 0, '', 'Summon Molten Slag - Target Goblin Smelthing Pot'), +(13, 1, 91843, 0, 0, 31, 0, 5, 123210, 0, 0, 0, '', 'Summon Molten Slag - Target Goblin Smelthing Pot'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_deadmines_on_fire', +'spell_foe_reaper_5000_acquire_target', +'spell_foe_reaper_5000_fixate_targeting', +'spell_foe_reaper_5000_fixate'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(91737, 'spell_deadmines_on_fire'), +(88492, 'spell_foe_reaper_5000_acquire_target'), +(91831, 'spell_foe_reaper_5000_fixate_targeting'), +(91830, 'spell_foe_reaper_5000_fixate'); + +-- Loot +UPDATE `creature_template` SET `lootid`= 43778 WHERE `entry` = 43778; +DELETE FROM creature_loot_template WHERE `Entry` IN (43778, 48941); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(43778, 1937, 0, 1, 1, 1, 1), +(43778, 5187, 0, 1, 1, 1, 1), +(43778, 5201, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid` = 48941 WHERE `entry` = 48941; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48941, 65166, 0, 1, 1, 1, 1), +(48941, 65165, 0, 1, 1, 1, 1), +(48941, 65167, 0, 1, 1, 1, 1); + +-- SAI +-- Creature General Purpose Bunny JMF (Look 2) 47242 SAI +SET @ENTRY := 47242; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +SET @ENTRY := -375839; +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, 72, 0, 100, 0, 1, 0, 0, 0, 67, 0, 150, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On DoAction 1 - Trigger timed event #0"), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89202, 2, 0, 0, 0, 0, 10, 375842, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89202 on Creature General Purpose Bunny JMF (Look 2)"); + +SET @ENTRY := -375846; +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, 72, 0, 100, 0, 1, 0, 0, 0, 67, 0, 2500, 2500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On DoAction 1 - Trigger timed event #0"), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89202, 2, 0, 0, 0, 0, 10, 375841, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89202 on Creature General Purpose Bunny JMF (Look 2)"); + +SET @ENTRY := -375922; +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, 72, 0, 100, 0, 1, 0, 0, 0, 67, 0, 2500, 2500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On DoAction 1 - Trigger timed event #0"), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89202, 2, 0, 0, 0, 0, 10, 375840, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89202 on Creature General Purpose Bunny JMF (Look 2)"); + +SET @ENTRY := -375844; +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, 72, 0, 100, 0, 1, 0, 0, 0, 67, 0, 5000, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On DoAction 1 - Trigger timed event #0"), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89202, 2, 0, 0, 0, 0, 10, 375923, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89202 on Creature General Purpose Bunny JMF (Look 2)"); + +SET @ENTRY := -375843; +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, 72, 0, 100, 0, 1, 0, 0, 0, 67, 0, 5000, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On DoAction 1 - Trigger timed event #0"), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89202, 2, 0, 0, 0, 0, 10, 375848, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89202 on Creature General Purpose Bunny JMF (Look 2)"); + +SET @ENTRY := -375847; +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, 72, 0, 100, 0, 1, 0, 0, 0, 67, 0, 5000, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On DoAction 1 - Trigger timed event #0"), +(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89202, 2, 0, 0, 0, 0, 10, 375921, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89202 on Creature General Purpose Bunny JMF (Look 2)"); +UPDATE `gameobject_template` SET `ScriptName`= 'go_deadmines_defias_cannon' WHERE `entry`= 16398; + +DELETE FROM `creature_text` WHERE `CreatureID`= 45979 AND `GroupID`= 2; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(45979, 2, 0, 'The cannon was rigged with an explosive trap!', 41, 0, 100, 0, 0, 0, 48790, 'General Purpose Bunny JMF to Player'); +-- Template Updates +-- Admiral Ripsnarl +UPDATE `creature_template` SET `ScriptName`= 'boss_admiral_ripsnarl' WHERE `entry`= 47626; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `DamageModifier`= 30, `flags_extra`= 1 WHERE `entry`= 48943; +-- Vapor +UPDATE `creature_template` SET `minlevel`= 15, `maxlevel`= 15, `difficulty_entry_1`= 49241, `ScriptName`= 'npc_ripsnarl_vapor' WHERE `entry`= 47714; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 14, `DamageModifier`= 10 WHERE `entry`= 49241; + + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 47626; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(47626, 0, 0, 'Ah, fresh meat!', 14, 0, 100, 0, 0, 19882, 48179, 'Admiral Ripsnarl - Aggro'), +(47626, 1, 0, 'Do you feel that chill running up your spine?', 14, 0, 100, 0, 0, 19877, 47914, 'Admiral Ripsnarl - Fog 1'), +(47626, 2, 0, 'The fog is rolling in...', 14, 0, 100, 0, 0, 0, 47915, 'Admiral Ripsnarl - Fog 2'), +(47626, 3, 0, 'Your blood only increases my hunger!', 14, 0, 100, 0, 0, 19876, 48009, 'Admiral Ripsnarl - Slay'), +(47626, 4, 0, 'I can smell your fear...', 14, 0, 100, 0, 0, 19879, 48006, 'Admiral Ripsnarl - Go for the Throat 1'), +(47626, 4, 1, 'I will rip your heart from your chest!', 14, 0, 100, 0, 0, 19880, 48007, 'Admiral Ripsnarl - Go for the Throat 2'), +(47626, 5, 0, 'Multiple vapors appear from the fog! Kill Admiral Ripsnarl before you are overwhelmed!', 41, 0, 100, 0, 0, 19878, 50851, 'Admiral Ripsnarl - Announce Vapor'), +(47626, 6, 0, 'You will...NOT find her...until it is too late...', 14, 0, 100, 0, 0, 19875, 48010, 'Admiral Ripsnarl - Death'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (95408) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 95408, 0, 0, 31, 0, 3, 48266, 0, 0, 0, '', 'Ripnsarl Cannon Kill - Target Defias Cannon'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_ripsnarl_go_for_the_throat_targeting', +'spell_ripsnarl_summon_vapor_targeting'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(88838, 'spell_ripsnarl_go_for_the_throat_targeting'), +(88833, 'spell_ripsnarl_summon_vapor_targeting'); + +-- Loot +UPDATE `creature_template` SET `lootid`= 47626 WHERE `entry` = 47626; +DELETE FROM creature_loot_template WHERE `Entry` IN (47626, 48943); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(47626, 872, 0, 1, 1, 1, 1), +(47626, 5196, 0, 1, 1, 1, 1), +(47626, 1156, 0, 1, 1, 1, 1); + +UPDATE `creature_template` SET `lootid`= 48943 WHERE `entry` = 48943; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(65168, 65166, 0, 1, 1, 1, 1), +(48943, 65170, 0, 1, 1, 1, 1), +(48943, 65169, 0, 1, 1, 1, 1);-- Template Updates +-- "Captain" Cookie +UPDATE `creature_template` SET `unit_flags`= 33587264, `ScriptName`= 'boss_captain_cookie', `flags_extra`= 0 WHERE `entry`= 47739; +UPDATE `creature_template` SET `unit_flags`= 33587264, `minlevel`= 87, `maxlevel`= 87, `flags_extra`= 1 WHERE `entry`= 48944; +-- Cookie's Cauldron +UPDATE `creature_template` SET `unit_flags`= 2304, `VehicleId`= 1283 WHERE `entry`= 47754; +-- Food +UPDATE `creature_template` SET `unit_flags`= 768, `unit_flags2`= 67110912, `npcflag`= 16777216, `flags_extra`= 2 WHERE `entry` IN (48006, 48276, 48294, 48293, 48295, 48296, 48297, 48298, 48300, 48299, 48301, 48302); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 45979 AND `GroupID`= 3; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +(45979, 3, 0, 'A shadowy figure appears in the ship''s cabin!', 41, 0, 100, 0, 0, 0, 48276, 'General Purpose Bunny JMF to Player'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry`= 89250 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 89250, 0, 0, 31, 0, 3, 45979, 375838, 0, 0, '', 'Charge - Target General Purpose Bunny'); + +-- Creature Cookie's Cauldron 47754 SAI +SET @ENTRY := 47754; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 60, 0, 100, 1, 0, 0, 0, 0, 11, 89251, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 0 and 0 ms) - Self: Cast spell 89251 on Self // "); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_cookie_throw_food_targeting', +'spell_cookie_satiated'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(89268, 'spell_cookie_throw_food_targeting'), +(89740, 'spell_cookie_throw_food_targeting'), +(90561, 'spell_cookie_throw_food_targeting'), +(90582, 'spell_cookie_throw_food_targeting'), +(90562, 'spell_cookie_throw_food_targeting'), +(90583, 'spell_cookie_throw_food_targeting'), +(90563, 'spell_cookie_throw_food_targeting'), +(90584, 'spell_cookie_throw_food_targeting'), +(90564, 'spell_cookie_throw_food_targeting'), +(90585, 'spell_cookie_throw_food_targeting'), +(90565, 'spell_cookie_throw_food_targeting'), +(90586, 'spell_cookie_throw_food_targeting'), +(89267, 'spell_cookie_satiated'), +(92834, 'spell_cookie_satiated'); + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (48006, 48276, 48294, 48293, 48295, 48296, 48297, 48298, 48300, 48299, 48301, 48302); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +-- Delicious Food +(48006 ,'89730'), +(48294 ,'89730'), +(48296 ,'89730'), +(48297 ,'89730'), +(48300 ,'89730'), +(48301 ,'89730'), +-- Rooten Food +(48276, '95513'), +(48293, '95513'), +(48295, '95513'), +(48298, '95513'), +(48299, '95513'), +(48302, '95513'); + +-- Spellclick spells +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (48006, 48276, 48294, 48293, 48295, 48296, 48297, 48298, 48300, 48299, 48301, 48302); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +-- Delicious Food +(48006, 89267, 3, 0), +(48294, 89267, 3, 0), +(48296, 89267, 3, 0), +(48297, 89267, 3, 0), +(48300, 89267, 3, 0), +(48301, 89267, 3, 0), +-- Rotten Food +(48276, 89732, 3, 0), +(48293, 89732, 3, 0), +(48295, 89732, 3, 0), +(48298, 89732, 3, 0), +(48299, 89732, 3, 0), +(48302, 89732, 3, 0); + +-- SAI +SET @ENTRY := 48302; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48299; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48298; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48295; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48293; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48276; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48301; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48300; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48297; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48296; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48294; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +SET @ENTRY := 48006; +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, 37, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On AI initialize - Self: Set react state to REACT_PASSIVE // "), +(@ENTRY, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spellclick - Self: Despawn instantly // "); + +-- Loot +UPDATE `creature_template` SET `lootid`= 47739 WHERE `entry`= 47739; +UPDATE `creature_template` SET `lootid`= 48944 WHERE `entry` = 48944; +DELETE FROM creature_loot_template WHERE `Entry` IN (47739, 48944); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(47739, 5193, 0, 1, 1, 1, 1), +(47739, 5202, 0, 1, 1, 1, 1), +(47739, 5192, 0, 1, 1, 1, 1), +(47739, 5197, 0, 1, 1, 1, 1), +(47739, 5198, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(48944, 65177, 0, 1, 1, 1, 1), +(48944, 65174, 0, 1, 1, 1, 1), +(48944, 65173, 0, 1, 1, 1, 1), +(48944, 65171, 0, 1, 1, 1, 1), +(48944, 65172, 0, 1, 1, 1, 1); +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (48975, 49039, 49040, 48976, 49041, 49042); +-- Druid +DELETE FROM `spell_bonus_data` WHERE `entry` IN ( +50464, -- Nourish +5176, -- Wrath +8921, -- Moonfire +467, -- Thorns +2912, -- Starfire +5185, -- Healing Touch +42231, -- Hurricane +5570, -- Insect Swarm +33763, -- Lifebloom +8936, -- Regrowth +774, -- Rejuvenation +50288, -- Starfall +44203, -- Tranquility +61391, -- Typhoon +48438 -- Wild Growth +); + +-- Priest +DELETE FROM `spell_bonus_data` WHERE `entry` IN ( +32546, -- Blinding Heal +34861, -- Circle of Healing +19236, -- Desperate Prayer +2944, -- Devouring Plague +64844, -- Devine Hymn +2061, -- Flash Heal +2060, -- Greater Heal +14914, -- Holy Fire +15237, -- Holy Nova Damage +23455, -- Holy Nova Heal +8092, -- Mind Blast +49821, -- Mind Sear +47750, -- Penance Heal +47666, -- Penance Damage +17, -- Power World: Shield +596, -- Player of Healing +33110, -- Prayer of Mending +139, -- Renew +32379, -- Shadow Word: Death +589, -- Shadow Word: Pain +34433, -- Shadowfiend +585, -- Smite +34914, -- Vampiric Touch +64085 -- Vampiric Touch (Dispelled) +); + +-- Warlock +DELETE FROM `spell_bonus_data` WHERE `entry` IN ( +755, -- Health Funel +47960, -- Shadowflame +31117 -- Unstable Affliction (Dispel) +); + +-- Re-used from previous coefficient correction +-- Shaman +DELETE FROM `spell_bonus_data` WHERE `entry` IN (26364, 403, 421, 8042, 8050, 8056, 3606, 8349, 8187, 51490, 51505, 8004, 331, 77472, 1064, 5672, 379, 61295, 73921, 32175, 73899, 60103, 77478, 73683, 73682, 73685, 45297, 77451, 45284, 974, 8188); + +-- Warlock +DELETE FROM `spell_bonus_data` WHERE `entry` IN (172, 686, 6229, 980, 603, 6789, 689, 1120, 5676, 6353, 17877, 348, 1949, 5857, 42223, 30108, 27243, 27285, 30283, 29722, 47897, 48181, 50796, 50590, 54786, 3110, 54049, 7814, 86121, 71521, 77799); + +-- Mage +DELETE FROM `spell_bonus_data` WHERE `entry` IN (7268, 30451, 1449, 44425, 1463, 543, 133, 2948, 2136, 44614, 11366, 92315, 2120, 11113, 31661, 44457, 11129, 82731, 116, 42208, 120, 122, 30455, 11426, 44572, 71757, 44461, 31707); +-- Add random movement to multiple creatures +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 10 WHERE `ID` IN (113, 524, 822, 30, 40, 476, 1922, 525, 119, 118); +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 5 WHERE `ID` IN (475, 735); + +-- Add quest items for Quest 'A pie for Billy' +DELETE FROM `creature_loot_template` WHERE `Entry` IN (113, 524) AND `Item`= 60401; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `MinCount`, `MaxCount`) VALUES +(113, 60401, 21, 1, 1, 1, 1), +(524, 60401, 11, 1, 1, 1, 1); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_mage_hot_streak', +'spell_mage_improved_hot_streak', +'spell_mage_pyroblast'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(44445, 'spell_mage_hot_streak'), +(-44446, 'spell_mage_improved_hot_streak'), +(92315, 'spell_mage_pyroblast'); + +DELETE FROM `spell_proc` WHERE `SpellID` IN (44445, -44446); +INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(44445, 3, 0, 0x00010000, 1, 2, 2, 0x0000020), +(-44446, 3, 0, 0x00010000, 1, 2, 0, 0x0000020); +-- Creature Lord Darius Crowley 35077 SAI +SET @ENTRY := 35077; +UPDATE `creature_template` SET `InhabitType`= 9 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, 19, 0, 100, 0, 14154, 0, 0, 0, 11, 66914, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 14154 - Self: Cast spell 66914 on Action invoker // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 6000, 6000, 15000, 17000, 11, 67825, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 6000 ms (and later repeats every 15000 and 17000 ms) - Self: Cast spell 67825 on Victim // "); + +-- Creature Gilnean Royal Guard 35232 SAI +SET @ENTRY := 35232; +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, 1, 0, 100, 0, 0, 0, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 11, 35118, 7, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 0 ms (and later repeats every 1000 and 1000 ms) - Self: Attack Creature Bloodfang Worgen (35118) in 7 yd // "); + +-- Creature Prince Liam Greymane 34913 SAI +SET @ENTRY := 34913; +UPDATE `creature_template` SET `AIName`="SmartAI", `InhabitType`= 9 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, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Talk 0 // "), +(@ENTRY, 0, 1, 0, 9, 0, 100, 0, 5, 50, 2000, 2000, 11, 50092, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When victim in range 5 - 50 yards (check every 2000 - 2000 ms) - Self: Cast spell 50092 on Victim // "); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_warl_drain_life', +'spell_warl_drain_life_heal'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(689, 'spell_warl_drain_life'), +(89420, 'spell_warl_drain_life'), +(89653, 'spell_warl_drain_life_heal'); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_warl_drain_soul'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(1120, 'spell_warl_drain_soul'); + +UPDATE `creature_template` SET `difficulty_entry_1`= 49262, `mechanic_immune_mask`= 80297855 WHERE `entry`= 39425; + +UPDATE `creature_template` SET `exp`= 3, `unit_class`= 2 WHERE `entry` IN (48902, 48710, 48776); +UPDATE `creature_template` SET `exp`= 3, `unit_class`= 4 WHERE `entry` IN (48715); +UPDATE `creature_template` SET `faction`= 17 WHERE `entry`= 49241; + +DELETE FROM `creature_loot_template` WHERE `Entry`= 65168; +UPDATE `creature_loot_template` SET `Chance`= 100.0, `QuestRequired`= 1 WHERE `Item` IN +(60885, 60878, 60880, 60879, 60876, 60881, 60877, 60882); + +UPDATE `spell_script_names` SET `spell_id`= 53290 WHERE `spell_id`= -53290; +UPDATE `spell_script_names` SET `spell_id`= 54747 WHERE `spell_id`= -54747; +UPDATE `spell_script_names` SET `spell_id`= 51627 WHERE `spell_id`= -51627; +UPDATE `spell_script_names` SET `spell_id`= 51474 WHERE `spell_id`= -51474; +UPDATE `spell_script_names` SET `spell_id`= 31876 WHERE `spell_id`= -31876; +UPDATE `spell_script_names` SET `spell_id`= 31661 WHERE `spell_id`= -31661; +UPDATE `spell_script_names` SET `spell_id`= 31656 WHERE `spell_id`= -31656; +UPDATE `spell_script_names` SET `spell_id`= 31244 WHERE `spell_id`= -31244; +UPDATE `spell_script_names` SET `spell_id`= 30675 WHERE `spell_id`= -30675; +UPDATE `spell_script_names` SET `spell_id`= 29441 WHERE `spell_id`= -29441; +UPDATE `spell_script_names` SET `spell_id`= 27243 WHERE `spell_id`= -27243; +UPDATE `spell_script_names` SET `spell_id`= 27243 WHERE `spell_id`= -27243; + +DELETE FROM `spell_script_names` WHERE `spell_id` IN +(54748, 59088, 54639, 53501, 49467, 49217, 49208, 49015, 31871, 31785, 20335, 18213, 15337, 20185, 20186, 20375, 21084, 31892, 44401, 49005, 51209, 53601, 53720, 53736, 54748, 54909, 58914, 70827, 74396); + +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'boss_mr_smite'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'npc_shadowfang_prisoner'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'npc_lunaclaw_spirit'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'boss_archmage_arugal'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'npc_yenniku'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'npc_arugal_voidwalker'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'npcs_dithers_and_arbington'; +UPDATE `creature_template` SET `ScriptName`= '' WHERE `ScriptName`= 'npc_lazy_peon'; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_sha_shamanistic_rage', +'spell_dk_rime', +'spell_warr_second_wind', +'spell_dru_glyph_of_rejuvenation', +'spell_dru_glyph_of_rake', +'spell_warr_item_t10_prot_4p_bonus', +'spell_dk_glyph_of_scourge_strike', +'spell_mage_magic_absorption', +'spell_sha_t3_6p_bonus', +'spell_dru_t10_balance_4p_bonus', +'spell_dru_t10_restoration_4p_bonus_dummy', +'spell_hun_glyph_of_mend_pet', +'spell_dk_unholy_blight', +'spell_pri_imp_shadowform', +'spell_dk_mark_of_blood', +'spell_pal_spiritual_attunement', +'spell_rog_turn_the_tables_proc', +'spell_pri_mana_burn', +'spell_dk_glyph_of_death_grip', +'spell_dru_item_t6_trinket', +'spell_dru_t3_6p_bonus', +'spell_dru_omen_of_clarity', +'spell_pri_t10_heal_2p_bonus', +'spell_sha_glyph_of_earth_shield', +'spell_pri_improved_spirit_tap', +'spell_pal_judgements_of_the_wise', +'spell_dk_hungering_cold', +'spell_dk_death_rune', +'spell_sha_t9_elemental_4p_bonus', +'spell_dru_leader_of_the_pack', +'spell_dk_vendetta', +'spell_pal_glyph_of_divinity', +'spell_sha_t10_restoration_4p_bonus', +'spell_warr_t3_prot_8p_bonus', +'spell_mage_burning_determination', +'spell_dk_blade_barrier', +'spell_pal_sacred_shield_dummy', +'spell_mage_imp_blizzard', +'spell_dru_t3_2p_bonus', +'spell_hun_rapid_recuperation_trigger', +'spell_dk_wandering_plague', +'spell_dru_t4_2p_bonus', +'spell_sha_frozen_power', +'spell_dru_glyph_of_shred', +'spell_warr_glyph_of_blocking', +'spell_dk_dancing_rune_weapon', +'spell_dk_necrosis', +'spell_dk_pvp_4p_bonus', +'spell_dk_scent_of_blood_trigger', +'spell_dk_sudden_doom', +'spell_dk_threat_of_thassarian', +'spell_wotf_shared_cd', +'spell_dru_glyph_of_starfire_dummy', +'spell_dru_revitalize', +'spell_mage_gen_extra_effects', +'spell_dru_t3_8p_bonus', +'spell_rog_setup', +'spell_warl_seed_of_corruption_generic', +'spell_warl_t4_2p_bonus_fire', +'spell_howling_gale', +'spell_hun_hunting_party', +'spell_hun_kill_command_pet', +'spell_hun_roar_of_sacrifice', +'spell_husam_hurl_vehicle', +'spell_pal_judgement_of_wisdom_mana', +'spell_warl_t4_2p_bonus_shadow', +'spell_rog_deadly_brew', +'spell_mage_combustion', +'spell_mage_empowered_fire', +'spell_mage_fingers_of_frost', +'spell_mage_imp_mana_gems', +'spell_mage_missile_barrage', +'spell_sha_imp_water_shield', +'spell_sha_spirit_hunt', +'spell_pal_item_t6_trinket', +'spell_pal_divine_purpose', +'spell_pal_glyph_of_holy_light_dummy', +'spell_pri_aq_3p_bonus', +'spell_pal_heart_of_the_crusader', +'spell_pal_improved_lay_of_hands', +'spell_pal_infusion_of_light', +'spell_pal_judgement_of_light_heal', +'spell_pal_judgements_of_the_just', +'spell_pal_righteous_vengeance', +'spell_pal_seal_of_corruption', +'spell_pal_seal_of_vengeance', +'spell_pal_seals', +'spell_pal_sheath_of_light', +'spell_pal_t3_6p_bonus', +'spell_pal_t8_2p_bonus', +'spell_sha_t10_elemental_4p_bonus', +'spell_pri_glyph_of_dispel_magic', +'spell_pri_item_t6_trinket', +'spell_pri_shadowfiend_death', +'spell_pri_t3_4p_bonus', +'spell_pri_t5_heal_2p_bonus', +'spell_sha_astral_shift_aura', +'spell_rog_glyph_of_backstab', +'spell_rog_quick_recovery', +'spell_rog_turn_the_tables', +'spell_sha_flametongue_weapon', +'spell_sha_glyph_of_totem_of_wrath', +'spell_sha_item_t6_trinket', +'spell_sha_lightning_overload', +'spell_sha_maelstrom_weapon', +'spell_sha_static_shock', +'spell_sha_t8_elemental_4p_bonus', +'spell_sha_tidal_force_dummy', +'spell_sha_windfury_weapon', +'spell_shadowfang_keep_haunting_spirits', +'spell_uk_second_wind_proc', +'spell_warl_decimation', +'spell_warl_demonic_pact', +'spell_warl_glyph_of_corruption_nightfall', +'spell_warl_glyph_of_life_tap', +'spell_warl_improved_drain_soul', +'spell_warl_seed_of_corruption_dummy', +'spell_warr_deep_wounds_aura', +'spell_warr_extra_proc', +'spell_warr_vigilance_redirect_threat'); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_warl_fel_armor'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(28176, 'spell_warl_fel_armor'); + +DELETE FROM `spell_proc` WHERE `SpellId`= 28176; +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(28176, 0x00050000, 0x00000001, 0x00000002, 0, 0x0000010 | 0x0000040); + +UPDATE `battleground_template` SET `MinLvl`= 75, `StartMaxDist`= 75, `Weight`= 1 WHERE `ID`= 120; +UPDATE `battleground_template` SET `MinLvl`= 75, `StartMaxDist`= 75, `Weight`= 1 WHERE `ID`= 108; + +DELETE FROM `gameobject` WHERE `id` IN (179830, 179831, 179785, 179786, 179871, 179904, 179905, 179899, 179907, 179906) AND `map`= 726; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_sha_ancestral_resolve', +'spell_sha_resurgence', +'spell_sha_ancestral_healing', +'spell_sha_cleanse_spirit'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-77829, 'spell_sha_ancestral_resolve'), +(-16180, 'spell_sha_resurgence'), +(-16176, 'spell_sha_ancestral_healing'), +(51886, 'spell_sha_cleanse_spirit'); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (-16180, 16188, -16176, -82984); +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(-16180, 0x00004000, 0x00000002, 0x00000002, 0x00000002, 0), +(-16176, 0x00055550, 0x00000002, 0x00000002, 0x00000002, 0), +(-82984, 0x00010000, 0x00000001, 0x00000002, 0x00000000, 0); + +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(16188, 8, 0x00015550, 0x00000001|0x00000002, 0x00000001, 0, 0); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sha_earth_shock'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(8042, 'spell_sha_earth_shock'); +UPDATE `spelleffect_dbc` SET `EffectImplicitTargetA`=47, `EffectImplicitTargetB`=0 WHERE `Id`=155915; + +-- Icy Touch +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.2 WHERE `entry`= 45477; + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_runic_empowerment'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(81229, 'spell_dk_runic_empowerment'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_warr_deep_wounds'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-12834, 'spell_warr_deep_wounds'); +UPDATE `spell_proc` SET `SpellFamilyMask0`= 0x00000020, `ProcFlags`= 0x00040000, `SpellTypeMask`= 1, `SpellPhaseMask`= 2, `Cooldown`= 5000 WHERE `SpellId`= -56636; +DELETE FROM `spell_script_names` where `ScriptName` IN +('spell_sha_healing_rain', +'spell_sha_healing_rain_triggered'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(73920, 'spell_sha_healing_rain'), +(73921, 'spell_sha_healing_rain_triggered'); + +DELETE FROM `spell_proc` WHERE `SpellId`= 52007; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Chance`) VALUES +(52007, 11, 0x00004400, 0x00000002, 0x00000002, 0, 20); + +DELETE FROM `spell_proc` WHERE `SpellId` IN ( +90848, -- Item - Proc Spell Power +90886, -- Item - Proc Haste Rating +90888, -- Item - Proc Haste Rating +90892, -- Item - Proc Crit Rating +90897, -- Item - Proc Spell Power +90899, -- Item - Proc Spell Power +90990, -- Item - Proc Spell Power +90993, -- Item - Proc Spell Power +95878, -- Item - Proc Mastery Rating +90943, -- Item - Proc Stacking Spell Power +90986, -- Item - Proc Stacking Spell Power +91011, -- Item - Proc Spell Power On Dmg +91025, -- Item - Proc Mastery +91031, -- Item - Proc Stacking Spell Power +91048, -- Item - Proc Spell Power +91080, -- Item - Proc Wandering DoT +91137, -- Item - Proc Spirit On Crit +91140, -- Item - Proc Spirit On Crit +91142, -- Item - Proc Haste Rating +91144, -- Item - Proc Haste Rating +91148, -- Item - Proc Spirit +91150, -- Item - Proc Spirit +91186, -- Item - Proc Spirit +91193, -- Item - Proc Intellect +91321, -- Item - Proc Stacking Spirit +91339, -- Item - Proc Stacking Strength +91353, -- Item - Proc Haste On Crit +91361, -- Item - Proc Strength +91365, -- Item - Proc Strength +91366, -- Item - Proc Strength On Crit +91369, -- Item - Proc Strength On Crit +91811, -- Item - Proc Stacking Strength +91814, -- Item - Proc Strength +91817, -- Item - Proc Strength +91822, -- Item - Proc Haste Rating +91833, -- Item - Proc Stacking Activator (5) +92044, -- Item - Proc Haste Rating +92054, -- Item - Proc Crit Rating +92056, -- Item - Proc Haste On Crit +92070, -- Item - Proc Agility +92086, -- Item - Proc Stacking Agility +92088, -- Item - Proc Crit Rating +92090, -- Item - Proc Stacking Agility +92093, -- Item - Proc Agility +92095, -- Item - Proc Agility On Crit +92097, -- Item - Proc Agility On Crit +92105, -- Item - Proc Stacking Agility +92114, -- Item - Proc Increased Attack Power +92125, -- Item - Proc Haste Rating +92127, -- Item - Proc Crit Rating +92164, -- Item - Proc Mastery Rating +92175, -- Item - Proc Mastery Rating +92319, -- Item - Proc Spell Power On Dmg +92322, -- Item - Proc Mastery +92326, -- Item - Proc Stacking Spell Power +92330, -- Item - Proc Stacking Spirit +92333, -- Item - Proc Spirit +92343, -- Item - Proc Haste Rating +92346, -- Item - Proc Strength +92350, -- Item - Proc Haste Rating +92353, -- Item - Proc Crit Rating +95763, -- Item - Proc Haste Rating +95873); -- Item - Proc Crit Rating - hw + +-- Your melee and ranged critical strikes have a chance to grant stat_value for x seconds. +SET @PROC_FLAG := 0 | 0x00000154; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000002; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(92056, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Gear Detector +(92095, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Left Eye of Rajh +(92097, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000); + +-- Your melee and ranged attacks have a chance to grant x stat_value for x seconds. +SET @PROC_FLAG := 0 | 0x00000154; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(92044, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Bileberry Smelling Salts +(92054, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Grace of the Herald - Heart of the Vile +(92070, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Key to the Endless Chamber +(92093, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), +(92086, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- Tia's Grace +(92090, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), +(92088, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Grace of the Herald +(92105, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- Fluid Death +(92125, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Prestor's Talisman of Machination +(92127, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Essence of the Cyclone +(92353, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(95763, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Agony and Torment +(95873, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000); -- Herald of Doom + +-- Your melee critical strikes have a chance to grant x stat_value for x seconds. +SET @PROC_FLAG := 0 | 0x00000014; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000002; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(91353, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Shrine-Cleansing Purifier - Tank-Commander Insignia +(91366, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Right Eye of Rajh +(91369, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000); + +-- Your melee attacks grant / Your melee attacks have a chance to grant x stat_value. +SET @PROC_FLAG := 0 | 0x00000014; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(91339, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- Petrified Spider Crab +(91361, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), -- Heart of Solace +(91365, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), +(91811, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- License to Slay +(91814, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), -- Impetuous +(91817, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), -- Heart of Rage +(92346, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), +(91822, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Crushing Weight +(92343, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), +(91833, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 5000), -- Fury of Angerforge +(92114, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Unheeded Warning +(92164, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Porcelain Crab - Harrison's Insignia of Panache - Schnottz's Medallion of Command +(92175, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000); -- Porcelain Crab + +-- Your healing spells have a chance to grant x stat_value for x seconds. +SET @PROC_FLAG := 0 | 0x00044000; +SET @TYPE_MASK := 0 | 0x00000002; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(91142, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Rainsong +(91144, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), +(91148, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), -- Blood of Isiset +(91150, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), +(91186, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Fall of Morality +(92333, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), +(91193, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Mandala of Stirring Patterns +(91321, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- Jar of Ancient Remedies +(92330, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000); + +-- Your healing spell critical strikes have a chance to grant x stat_value for x seconds. +SET @PROC_FLAG := 0 | 0x00044000; +SET @TYPE_MASK := 0 | 0x00000002; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000002; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(91137, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Tear of Blood +(91140, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000); + +-- Your damage spells grant X, increasing stat_value for x seconds. +SET @PROC_FLAG_P := 0 | 0x00050000; +SET @PROC_FLAG_N := 0 | 0x00010000; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(91031, @PROC_FLAG_P, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- Heart of Ignacious +(92326, @PROC_FLAG_P, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000); + +-- Your harmful spells have a chance to grant x stat_value for x seconds. +SET @PROC_FLAG_P := 0 | 0x00050000; +SET @PROC_FLAG_N := 0 | 0x00010000; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(91011, @PROC_FLAG_P, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), -- Bell of Enraging Resonance +(92319, @PROC_FLAG_P, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 100000), +(91025, @PROC_FLAG_N, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Theralion's Mirror +(92322, @PROC_FLAG_N, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(91048, @PROC_FLAG_N, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Stump of Time +(91080, @PROC_FLAG_N, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 120000); -- Harmlight Token + +-- Your spells have a chance to grant x stat_value for x seconds. +SET @PROC_FLAG := 0 | 0x00014000; +SET @TYPE_MASK := 0 | 0x00000007; +SET @PHASE_MASK := 0 | 0x00000001; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(90848, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Pelagic Prism +(90886, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Witching Hourglass +(90888, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), +(90892, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000), -- Stonemother's Kiss +(90897, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), -- Tendrills of Darkness +(90899, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 75000), +(90990, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), -- Anhuur's Hymnal +(90993, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(95878, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 80000); -- Talisman of Sinister Order + +-- Your healing and damage periodic spells grant x stat_value each time they heal or deal damage. +SET @PROC_FLAG := 0 | 0x00040000; +SET @TYPE_MASK := 0 | 0x00000001 | 0x00000002; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(90943, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000), -- Gale of Shadows +(90986, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 2000); +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(94746, 0x00054000, 0x00000001 | 0x00000002, 0x00000002, 0x00000000, 45000), -- Enchant Weapon - Power Torrent +(94747, 0x00054400, 0x00000001 | 0x00000002, 0x00000002, 0x00000000, 45000), -- Enchant Weapon - Hurricane +(95472, 0x00050000, 0x00000001, 0x00000002, 0x00000000, 45000), -- Enchant Weapon - Avalanche +(95709, 0x00050000, 0x00000001, 0x00000002, 0x00000000, 45000); -- Enchant Weapon - Mending + +DELETE FROM `spell_enchant_proc_data` WHERE `entry` IN (4098, 4099); +INSERT INTO `spell_enchant_proc_data` (`entry`, `customChance`, `PPMChance`, `procEx`) VALUES +(4098, 0, 1.25, 0), -- Enchant Weapon - Windwalk +(4099, 0, 1.25, 0); -- Enchant Weapon - Landslide +UPDATE `creature_template` SET `InhabitType`= 1 WHERE `entry` IN (43873, 43874); +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 131 WHERE `entry` IN +(45572, 45504, 47085, 45981); + +UPDATE `creature_text` SET `Sound`= 0 WHERE `CreatureID`= 43875 AND `GroupID`= 2; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_supremacy_of_the_storm_visual', +'spell_static_cling'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(86715, 'spell_supremacy_of_the_storm_visual'), +(87618, 'spell_static_cling'); + +DELETE FROM `conditions` WHERE `SourceEntry`= 96260 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO conditions (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 96260, 0, 0, 31, 0, 3, 43875, 0, 0, 0, '', 'Summon Skyfall Star - Target Asaad'); +DELETE FROM `spell_proc` WHERE `SpellId`= 52007; +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(52007, 0x00044000, 0x00000002, 0x00000002, 0x00000000, 0); -- Earthliving Weapon (Passive) + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sha_earthliving_weapon'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(52007, 'spell_sha_earthliving_weapon'); + +-- Creature Defias Pirate 48522 SAI +SET @ENTRY := 48522; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; + +SET @ENTRY := -376082; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376041, 0, 0, 10, 375883, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + +SET @ENTRY := -375948; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376044, 0, 0, 10, 375882, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + +SET @ENTRY := -375951; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376090, 0, 0, 10, 375887, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + + +SET @ENTRY := -376007; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376067, 0, 0, 10, 375886, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + +SET @ENTRY := -376005; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376087, 0, 0, 10, 375953, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + +SET @ENTRY := -376042; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376088, 0, 0, 10, 376039, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + +SET @ENTRY := -376036; +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, 1, 1, 0, 100, 0, 0, 8500, 8500, 8500, 67, 0, 1500, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 8500 ms (and later repeats every 8500 and 8500 ms) - Trigger timed event #0 in 1500 - 1500 ms // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 5, 432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Play emote ONESHOT_USESTANDING (432) // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 86, 89757, 0, 10, 376001, 0, 0, 10, 375946, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - SMART_TARGET_CREATURE_GUID: Cast spell Cannonball (89757) at Creature General Purpose Bunny JMF 45979 // "); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 25 AND `SourceEntry`= 736; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `NegativeCondition`, `Comment`) VALUES +(25, 736, 6, 67, 0, 'Terrainwap: Dragonmaw Port visible only for Horde'), +(25, 736, 8, 26830, 1, 'Terrainwap: Dragonmaw Port inactive when rewarded quest 26830'); + +DELETE FROM `terrain_swap_defaults` WHERE `TerrainSwapMap`= 736; +INSERT INTO `terrain_swap_defaults` (`MapId`, `TerrainSwapMap`, `Comment`) VALUES +(0, 736, 'Twilight Highlands - Dragonmaw Port'); + +-- Template Updates +-- Vanessa VanCleef +UPDATE `creature_template` SET `ScriptName`= 'boss_vanessa_van_cleef', `DamageModifier`= 60, `mechanic_immune_mask`= 617299839, `mingold`= 19000, `maxgold`= 20000, `flags_extra`= `flags_extra` | 2048 WHERE `entry`= 49541; +-- Vanessa VanCleef (Intro) +UPDATE `creature_template` SET `ScriptName`= 'npc_vanessa_vanessa_van_cleef' WHERE `entry`= 49429; +-- A Note from Vanessa +UPDATE `creature_template` SET `gossip_menu_id`= 12504, `ScriptName`= 'npc_vanessa_note_from_vanessa' WHERE `entry`= 49564; +-- Magma Trap creatures +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (49454, 51624); +-- Vanessa's Trap Bunny +UPDATE `creature_template` SET `ScriptName`= 'npc_deadmines_vanessas_trap_bunny' WHERE `entry`= 49454; +-- Steam Valve +UPDATE `creature_template` SET `npcflag`= 16777216, `ScriptName`= 'npc_deadmines_steam_valve' WHERE `entry`= 49457; +-- Vanessa VanCleef Nightmare +UPDATE `creature_template` SET `ScriptName`= 'npc_deadmines_vanessa_van_cleef_nightmare' WHERE `entry`= 49671; +-- Glubtok Nightmare Fire Bunny +UPDATE `creature_template` SET `flags_extra`= 131 WHERE `entry`= 51594; +-- Collapsing Icicle +UPDATE `creature_template` SET `unit_flags`= 33587200, `flags_extra`= 131 WHERE `entry` IN (49481, 57866); +-- Glubtok Nightmare Illusion +UPDATE `creature_template` SET `DamageModifier`= 42.2, `mechanic_immune_mask`= 617299839 WHERE `entry`= 49670; +-- Helix Gearbreaker Illusion +UPDATE `creature_template` SET `unit_flags`= 33600, `DamageModifier`= 10, `mechanic_immune_mask`= 617299839, `ScriptName`= 'npc_deadmines_helix_nightmare' WHERE `entry`= 49674; +-- Lightning Platters +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 128 WHERE `entry` IN (49520, 49521); +-- Foe Reaper 5000 Illusion +UPDATE `creature_template` SET `DamageModifier`= 42.2, `mechanic_immune_mask`= 617299839 WHERE `entry` = 49681; +-- James Harrington +UPDATE `creature_template` SET `VehicleId`= 1403 WHERE `entry`= 49539; +-- Enraged Worgen +UPDATE `creature_template` SET `DamageModifier`= 35 WHERE `entry`= 49532; +-- Defias Enforcer +UPDATE `creature_template` SET `difficulty_entry_1`= 49851 WHERE `entry`= 49850; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `DamageModifier`= 10 WHERE `entry`= 49851; +-- Defias Shadowguard +UPDATE `creature_template` SET `difficulty_entry_1`= 49853, `unit_class`= 4 WHERE `entry`= 49852; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `unit_class`= 4, `DamageModifier`= 10 WHERE `entry`= 49853; +-- Defias Blood Wizard +UPDATE `creature_template` SET `difficulty_entry_1`= 49855 WHERE `entry`= 49854; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `DamageModifier`= 10 WHERE `entry`= 49855; +-- Vanessa's Rope Anchor +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 128 WHERE `entry`= 49552; +-- Rope +UPDATE `creature_template` SET `ScriptName`= 'npc_vanessa_rope' WHERE `entry`= 49550; +-- Glubtok Nightmare Fire Bunny +UPDATE `creature_template` SET `flags_extra`= 131 WHERE `entry`= 51594; +-- Vanessa Lightning Wall Platter +UPDATE `creature_template` SET `npcflag`= 16777216 WHERE `entry`= 49520; +-- James Harrington +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry`= 49539; + +DELETE FROM `creature_loot_template` WHERE `entry`= 49539; + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`= 49550; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(49550, 89731, 1, 0); + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (49564, 51594, 49671, 49670, 92201); +INSERT INTO `creature_template_addon` (`entry`, `bytes1`, `auras`) VALUES +(49564, 0, '92376'), +(51594, 0, '92169'), +(49671, 0, '48143'), +(49670, 0, '48143 69676'); + +UPDATE `creature_template_addon` SET `auras`= '94557' WHERE `entry`= 49457; + +-- Remove encounter related spawns +DELETE FROM `creature` WHERE `guid` IN (376214, 376211, 376215, 376213); + +-- Gossip +DELETE FROM `gossip_menu_option` WHERE (`MenuId`=12504 AND `OptionID`=0); +INSERT INTO `gossip_menu_option` (`MenuId`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextId`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`) VALUES +(12504, 0, 0, 'Continue reading... ', 49641, 1, 1, 12505); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (49429, 49564, 49454, 49671, 49674, 49539, 49536, 49541); +DELETE FROM `creature_text` WHERE `CreatureID`= 45979 AND `GroupID` NOT IN (0, 1, 2, 3); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +-- Vanessa VanCleef Intro +(49429, 0, 0, 'You hear a noise from above the cabin door!', 41, 0, 100, 0, 0, 0, 49476, 'Vanessa van Cleef to Player'), +(49429, 1, 0, 'I''ve been waiting a long time for this, you know.', 12, 0, 100, 1, 0, 24613, 49477, 'Vanessa van Cleef to Player'), +(49429, 2, 0, 'Biding my time, building my forces, studying the minds of my enemies.', 12, 0, 100, 1, 0, 24614, 49478, 'Vanessa van Cleef to Player'), +(49429, 3, 0, 'I was never very good at hand-to-hand combat, you know. Not like my father.', 12, 0, 100, 1, 0, 24615, 49479, 'Vanessa van Cleef to Player'), +(49429, 4, 0, 'But I always excelled at poisons.', 12, 0, 100, 1, 0, 24616, 49480, 'Vanessa van Cleef to Player'), +(49429, 5, 0, 'Especially venoms that affect the mind.', 12, 0, 100, 1, 0, 24617, 49481, 'Vanessa van Cleef to Player'), +(49429, 6, 0, 'Vanessa injects you with the Nightmare Elixir!', 41, 0, 100, 0, 0, 0, 49483, 'Vanessa van Cleef to Player'), +-- A Note from Vanessa VanCleef +(49564, 0, 0, 'A note falls to the floor!', 41, 0, 100, 0, 0, 0, 49658, 'A Note from Vanessa to Player'), +-- Vanessa's Trap Bunny +(49454, 0, 0, 'Activate the steam valves to free yourself!', 41, 0, 100, 0, 0, 0, 49680, 'Vanessa''s Trap Bunny to Player'), +-- General Purpose Bunny JMF +(45979, 4, 0, 'The Nightmare Elixir takes hold!', 41, 0, 100, 0, 0, 0, 49705, 'General Purpose Bunny JMF to Steam Valve'), +(45979, 5, 0, 'The nightmare shifts!', 41, 0, 100, 0, 0, 0, 49707, 'General Purpose Bunny JMF to Player'), +(45979, 6, 0, 'Save Emme Harrington!', 41, 0, 100, 0, 0, 0, 49711, 'General Purpose Bunny JMF to Player'), +(45979, 7, 0, 'Save Erik Harrington!', 41, 0, 100, 0, 0, 0, 49712, 'General Purpose Bunny JMF'), +(45979, 8, 0, 'Save Calissa Harrington!', 41, 0, 100, 0, 0, 0, 49713, 'General Purpose Bunny JMF'), +(45979, 9, 0, 'The Nightmare Elixir wears off!', 41, 0, 100, 0, 0, 0, 49714, 'General Purpose Bunny JMF'), +-- Helix Gearbreaker +(49674, 0, 0, 'You have entered Helix''s nightmare!', 41, 0, 100, 0, 0, 0, 49708, 'Helix Gearbreaker to Player'), +(49674, 1, 0, 'Nightmare spiders appear in the darkness! Kill Helix before his nightmare overwhelms you!', 41, 0, 100, 0, 0, 0, 50871, 'Helix Geabreaker to Player'), +-- James Harrington +(49539, 0, 0, 'Calissa...I am so sorry...', 12, 0, 100, 0, 0, 0, 49761, 'James Harrington'), +-- Calissa Harrington +(49536, 0, 0, 'James...please...I love you...', 12, 0, 100, 0, 0, 0, 49762, 'Calissa Harrington'), +(49536, 1, 0, 'Calissa is dying!', 41, 0, 100, 0, 0, 0, 49763, 'Calissa Harrington'), +-- Vanessa VanCleef Nightmare +(49671, 0, 0, 'Poor Glubtok. When his powers manifested, his own ogre mound was the first to burn.', 12, 0, 100, 1, 0, 24602, 49715, 'Vanessa van Cleef to Steam Valve'), +(49671, 1, 0, 'Deep within his soul, the one thing he feared most of all was...himself.', 12, 0, 100, 1, 0, 24603, 49716, 'Vanessa van Cleef to Steam Valve'), +(49671, 2, 0, 'You have entered Glubtok''s Nightmare!', 41, 0, 100, 0, 0, 0, 49706, 'Vanessa van Cleef to Steam Valve'), +(49671, 3, 0, 'Get back to the ship!', 41, 0, 100, 0, 0, 0, 50703, 'Vanessa van Cleef to Steam Valve'), +(49671, 4, 0, 'Most rogues prefer to cloak themselves in the shadows, but not Helix.', 12, 0, 100, 1, 0, 24604, 49723, 'Vanessa van Cleef to Player'), +(49671, 5, 0, 'You never know what skitters in the darkness.', 12, 0, 100, 1, 0, 24605, 49724, 'Vanessa van Cleef to Player'), +(49671, 6, 0, 'Can you imagine the life of a machine?', 12, 0, 100, 1, 0, 24606, 49725, 'Vanessa van Cleef to Player'), +(49671, 7, 0, 'A simple spark can mean the difference between life...and death.', 12, 0, 100, 1, 0, 24607, 49726, 'Vanessa van Cleef to Player'), +(49671, 8, 0, 'You have entered the mechanical nightmare!', 41, 0, 100, 0, 0, 0, 49709, 'Vanessa van Cleef to Player'), +(49671, 9, 0, 'Ripsnarl wasn''t always a bloodthirsty savage. Once, he even had a family.', 12, 0, 100, 1, 0, 24608, 49742, 'Vanessa van Cleef to Player'), +(49671, 10, 0, 'He was called James Harrington. A tragedy in three parts.', 12, 0, 100, 1, 0, 24609, 49745, 'Vanessa van Cleef to Player'), +(49671, 11, 0, 'You have entered Ripsnarl''s nightmare!', 41, 0, 100, 0, 0, 0, 49710, 'Vanessa van Cleef to Player'), +-- Vanessa VanCleef +(49541, 0, 0, 'I will not share my father''s fate! Your tale ends here!', 14, 0, 100, 0, 0, 24599, 49748, 'Vanessa van Cleef to Player'), +(49541, 1, 0, 'The first of many.', 14, 0, 100, 0, 0, 24620, 49749, 'Vanessa van Cleef'), +(49541, 2, 0, 'Did you really think I would come to this fight alone?', 14, 0, 100, 0, 0, 24620, 49750, 'Vanessa van Cleef'), +(49541, 3, 0, 'Fools! This entire ship is rigged with explosives! Enjoy your fiery deaths!', 14, 0, 100, 0, 0, 24621, 49751, 'Vanessa van Cleef'), +(49541, 4, 0, 'Vanessa has detonated charges on the ship! Get to the ropes at the side of the boat!', 41, 0, 100, 0, 0, 0, 49755, 'Vanessa van Cleef'), +(49541, 5, 0, 'You didn''t honestly think I would only plant ONE set of explosives, did you?', 14, 0, 100, 0, 0, 24622, 50706, 'Vanessa van Cleef'), +(49541, 6, 0, 'Vanessa is detonating more charges! Get to the ropes at the side of the boat!', 41, 0, 100, 0, 0, 0, 49756, 'Vanessa van Cleef'), +(49541, 7, 0, 'ENOUGH! I will not give you the pleasure!', 14, 0, 100, 274, 0, 24610, 49753, 'Vanessa van Cleef'), +(49541, 8, 0, 'If I''m going to die, I''m taking you all with me!', 14, 0, 100, 15, 0, 24611, 49752, 'Vanessa van Cleef'), +(49541, 9, 0, 'Vanessa pulls out a final barrel of mining powder and ignites it! RUN!', 41, 0, 100, 0, 0, 0, 49757, 'Vanessa van Cleef'), +(49541, 10, 0, 'MY FATE IS MY OWN!', 14, 0, 100, 397, 0, 24612, 49754, 'Vanessa van Cleef'); + +UPDATE `creature_text` SET `TextRange`= 3 WHERE `CreatureID` IN (45979, 49539, 49536); + +-- Vehicle Acessory +DELETE FROM `vehicle_template_accessory` WHERE `entry`= 49520; +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES +(49520, 49521, 7, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 6, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 5, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 4, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 3, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 2, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 1, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0), -- Vanessa Lightning Platter - Vanessa Lightning Stalker +(49520, 49521, 0, 1, 'Vanessa Lightning Platter - Vanessa Lightning Stalker', 5, 0); -- Vanessa Lightning Platter - Vanessa Lightning Stalker + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_deadmines_ride_magma_vehicle', +'spell_deadmines_magma_trap_throw_to_location', +'spell_vanessa_backslash_targeting', +'spell_vanessa_backslash_targeting', +'spell_deadmines_bloodbath'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(92378, 'spell_deadmines_ride_magma_vehicle'), +(92438, 'spell_deadmines_magma_trap_throw_to_location'), +(92620, 'spell_vanessa_backslash_targeting'), +(90925, 'spell_deadmines_bloodbath'); + +-- Spellclick spells +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (49457); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +-- Steam Valve +(49457, 92399, 0, 0); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (92379, 90962, 90963) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 92379, 0, 0, 31, 0, 3, 49454, 0, 0, 0, '', 'Ride Magma Vehicle - Target Vanessa''s Trap Bunny'), +(13, 1, 90962, 0, 0, 31, 0, 3, 49850, 0, 0, 0, '', 'Whirling Blades - Target Defias Enforcer'), +(13, 1, 90962, 0, 1, 31, 0, 3, 49852, 0, 0, 0, '', 'Whirling Blades - Target Defias Shadowguard'), +(13, 1, 90962, 0, 2, 31, 0, 3, 49854, 0, 0, 0, '', 'Whirling Blades - Target Defias Blood Wizard'), +(13, 1, 90963, 0, 0, 31, 0, 3, 49850, 0, 0, 0, '', 'Whirling Blades - Target Defias Enforcer'), +(13, 1, 90963, 0, 1, 31, 0, 3, 49852, 0, 0, 0, '', 'Whirling Blades - Target Defias Shadowguard'), +(13, 1, 90963, 0, 2, 31, 0, 3, 49854, 0, 0, 0, '', 'Whirling Blades - Target Defias Blood Wizard'); + +-- Creature Collapsing Icicle 49481 SAI +SET @ENTRY := 49481; +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, 63, 0, 100, 0, 0, 0, 0, 0, 3, 0, 28470, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Morph to model 28470 // "), +(@ENTRY, 0, 1, 2, 60, 0, 100, 1, 3200, 3200, 0, 0, 11, 92201, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 3200 and 3200 ms) - Self: Cast spell Icicle (92201) on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 92202, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell Icicle (92202) on Self // "); + +-- Creature Emme Harrington 49534 SAI +SET @ENTRY := 49534; +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, 60, 0, 100, 0, 100, 100, 5000, 5000, 11, 92308, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 5000 and 5000 ms (for the first time, timer between 100 and 100 ms) - Self: Cast spell Group Taunt (92308) on Self // "); + +-- Creature Erik Harrington 49535 SAI +SET @ENTRY := 49535; +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, 60, 0, 100, 0, 100, 100, 5000, 5000, 11, 92308, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 5000 and 5000 ms (for the first time, timer between 100 and 100 ms) - Self: Cast spell Group Taunt (92308) on Self // "); + +-- Creature Calissa Harrington 49536 SAI +SET @ENTRY := 49536; +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, 60, 0, 100, 1, 15400, 15400, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 15400 and 15400 ms) - Self: Talk 0 // "), +(@ENTRY, 0, 1, 0, 60, 0, 100, 1, 25000, 25000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 25000 and 25000 ms) - Self: Talk 1 // "), +(@ENTRY, 0, 2, 0, 60, 0, 100, 1, 16700, 16700, 0, 0, 1, 0, 0, 0, 0, 0, 0, 11, 49539, 10, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 16700 and 16700 ms) - Creature James Harrington (49539) in 10 yd: Talk 0 // "); + +-- Creature Glubtok 49670 SAI +SET @ENTRY := 49670; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 4500, 4500, 3600, 3600, 11, 59304, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4500 and 4500 ms (and later repeats every 3600 and 3600 ms) - Self: Cast spell Spirit Strike (59304) on Victim // "); + +-- Creature Foe Reaper 5000 49681 SAI +SET @ENTRY := 49681; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 2600, 2600, 3600, 3600, 11, 59304, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 2600 and 2600 ms (and later repeats every 3600 and 3600 ms) - Self: Cast spell Spirit Strike (59304) on Victim // "); + +-- Creature Defias Enforcer 49850 SAI +SET @ENTRY := 49850; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 1, 1000, 1000, 0, 0, 11, 90931, 0, 0, 0, 0, 0, 21, 50, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1000 and 1000 ms (and later repeats every 0 and 0 ms) - Self: Cast spell Charge (90931) on Closest player in 50 yards // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 6500, 7000, 30000, 30000, 11, 90925, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6500 and 7000 ms (and later repeats every 30000 and 30000 ms) - Self: Cast spell Bloodbath (90925) on Victim // "), +(@ENTRY, 0, 2, 0, 2, 0, 100, 0, 0, 20, 29000, 30000, 11, 90929, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 20% (check every 29000 - 30000 ms) - Self: Cast spell Recklessness (90929) on Self // "); + +-- Creature Defias Shadowguard 49852 SAI +SET @ENTRY := 49852; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 1, 1000, 1000, 0, 0, 11, 90954, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1000 and 1000 ms (and later repeats every 0 and 0 ms) - Self: Cast spell Camouflage (90954) on Self // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 5500, 6000, 10000, 11000, 11, 90951, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5500 and 6000 ms (and later repeats every 10000 and 11000 ms) - Self: Cast spell Sinister Strike (90951) on Victim // "), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 10000, 10000, 20000, 20000, 11, 90956, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 10000 and 10000 ms (and later repeats every 20000 and 20000 ms) - Self: Cast spell Shadowstep (90956) on Victim // "), +(@ENTRY, 0, 3, 0, 0, 0, 100, 0, 13000, 13000, 16000, 16000, 11, 90960, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 13000 and 13000 ms (and later repeats every 16000 and 16000 ms) - Self: Cast spell Whirling Blades (90960) on Victim // "), +(@ENTRY, 0, 4, 0, 2, 0, 100, 0, 0, 20, 29000, 30000, 11, 90958, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 20% (check every 29000 - 30000 ms) - Self: Cast spell Evasion (90958) on Self // "); + +-- Creature Defias Blood Wizard 49854 SAI +SET @ENTRY := 49854; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 0, 0, 3000, 3000, 11, 90938, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 0 and 0 ms (and later repeats every 3000 and 3000 ms) - Self: Cast spell Bloodbolt (90938) on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 7000, 7000, 60000, 60000, 11, 90932, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 60000 and 60000 ms) - Self: Cast spell Ragezone (90932) on Random hostile // "); + +-- Loot +DELETE FROM `creature_loot_template` WHERE `Entry`= 49541; +DELETE FROM `reference_loot_template` WHERE `Entry` IN (495410, 495411); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(49541, 495410, 100, 1, 497120, 2), +(49541, 495411, 100, 1, 497121, 1); -- Chaos Orb + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(497120, 63487, 0, 1, 1, 1, 1), -- Book of the Well Sung Song +(497120, 63480, 0, 1, 1, 1, 1), -- Record of the Broderhood's End +(497120, 63479, 0, 1, 1, 1, 1), -- Bracers of Some Consequence +(497120, 63478, 0, 1, 1, 1, 1), -- Stonemanons's Helm +(497120, 65178, 0, 1, 1, 1, 1), -- VanCleef's Boots +(497120, 63485, 0, 1, 1, 1, 1), -- Cowl of Rebellion +(497120, 63482, 0, 1, 1, 1, 1), -- Daughter's Hand +(497120, 63483, 0, 1, 1, 1, 1), -- Guildmaster's Greaves +(497120, 63486, 0, 1, 1, 1, 1), -- Shackles of the Betrayed +(497120, 63484, 0, 1, 1, 1, 1), -- Armbands of Exiled Architects +(495411, 52078, 100, 1, 1, 1, 1); + +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (49429, 49541); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +-- 70 Justice Points +(49541, 395, 7000); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_sfk_frost_shards'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(93543, 'spell_sfk_frost_shards'); +-- Update Deadmines teleport to be outside of the instance +UPDATE `game_tele` SET `position_x`= -11208.16, `position_y`= 1672.81, `position_z`= 24.65, `orientation`= 1.528916, `map`= 0 WHERE `id`= 260; + +-- Update Firelands teleport to be outside of the instance +UPDATE `game_tele` SET `position_x`= 3991.27, `position_y`= -2952.46, `position_z`= 1002.55, `orientation`= 1.962241, `map`= 1 WHERE `id`= 1520; + +-- Rename VortexPinnacle to VortexSummit to reflect the actual location name +UPDATE `game_tele` SET `name`= 'VortexSummit' WHERE `id`= 1301; + +DELETE FROM `game_tele` WHERE `id` BETWEEN 1524 AND 1532; +INSERT INTO `game_tele` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `map`, `name`) VALUES +(1524, -10194.8, -1837.65, 20.1282, 3.13903, 1, 'HallsOfOrigination'), +(1525, -10667.5, -1303.97, 15.3534, 3.39428, 1, 'LostCityOfTheTolvir'), +(1526, -11506.6, -2304.29, 608.394, 3.83882, 1, 'TheVortexPinnacle'), +(1527, -11351.8, 49.8219, 723.885, 1.94915, 1, 'ThroneOfTheFourWinds'), +(1528, -4887.03, -4245.4, 827.764, 2.08397, 0, 'BastionOfTwilight'), +(1529, -7537.35, -1199.88, 477.721, 1.93083, 0, 'BlackwingDescent'), +(1530, 1024.46, 641.61, 156.673, 4.91323, 646, 'TheStoneCore'), +(1531, -5598.9, 5411.9, -1798.71, 5.63353, 0, 'ThroneOfTheTides'), +(1532, -8284.39, -4521.57, -219.041, 0.338499, 1, 'DragonSoul'); + +UPDATE `instance_template` SET `script`= 'instance_bastion_of_twilight' WHERE `map`= 671; + +-- Template Updates +-- Halfus Wyrmbreaker +UPDATE `creature_template` SET `difficulty_entry_1`= 46209, `difficulty_entry_2`= 46210, `difficulty_entry_3` = 46211, `ScriptName`= 'boss_halfus_wyrmbreaker' WHERE `entry`= 44600; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `faction`= 16, `BaseAttackTime`= 1500, `DamageModifier`= 80, `mingold`= 2200000, `maxgold`= 2400000, `mechanic_immune_mask`= 80297855, `exp`= 3 WHERE `entry` IN (44600, 46209, 46210, 46211); +UPDATE `creature_template` SET `mingold`= 4900000, `maxgold`= 5100000 WHERE `entry` IN (46209, 46211); +-- Proto-Behemoth +UPDATE `creature_template` SET `difficulty_entry_1`= 46227, `difficulty_entry_2`= 46228, `difficulty_entry_3` = 46229, `ScriptName`= 'npc_halfus_proto_behemoth' WHERE `entry`= 44687; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 16, `mechanic_immune_mask`= 617299839, `flags_extra`= 0x40000000, `InhabitType`= 12 WHERE `entry` IN (44687, 46227, 46228, 46229); +-- Enslaved Dragons +UPDATE `creature_template` SET `ScriptName`= 'npc_halfus_enslaved_dragon' WHERE `entry` IN (44645, 44652, 44650, 44797, 44641); +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 35, `npcflag`= 1, `DamageModifier`= 30, `flags_extra`= 0x00000200 | 0x40000000, `HoverHeight`= 7.875, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (46212, 46213, 46214, 46215, 46216, 46217, 46218, 46219, 46220, 46221, 46222, 46223, 44828, 44829, 44826, 44653); +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 35, `npcflag`= 1, `DamageModifier`= 3.5, `flags_extra`= 0x40000000, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (46224, 46225, 46226, 44641); +-- Nether Scion +UPDATE `creature_template` SET `difficulty_entry_1`= 46212, `difficulty_entry_2`= 46213, `difficulty_entry_3`= 46214 WHERE `entry`= 44828; +UPDATE `creature_template` SET `gossip_menu_id`= 12077 WHERE `entry`= 44645; +-- Slate Dragon +UPDATE `creature_template` SET `difficulty_entry_1`= 46215, `difficulty_entry_2`= 46216, `difficulty_entry_3`= 46217 WHERE `entry`= 44829; +-- Storm Rider +UPDATE `creature_template` SET `difficulty_entry_1`= 46218, `difficulty_entry_2`= 46219, `difficulty_entry_3`= 46220 WHERE `entry`= 44826; +-- Time Warden +UPDATE `creature_template` SET `difficulty_entry_1`= 46221, `difficulty_entry_2`= 46222, `difficulty_entry_3`= 46223 WHERE `entry`= 44653; +-- Orphaned Emerald Whelp +UPDATE `creature_template` SET `difficulty_entry_1`= 46224, `difficulty_entry_2`= 46225, `difficulty_entry_3`= 46226 WHERE `entry`= 44641; +UPDATE `creature_template` SET `gossip_menu_id`= 11884 WHERE `entry` IN (46224, 46225, 46226); +-- Cyclone Winds +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `InhabitType`= 4 WHERE `entry`= 45026; +-- Whelp Cage +UPDATE `gameobject_template` SET `ScriptName`= 'go_halfus_whelp_cage' WHERE `entry`= 205087; +UPDATE `gameobject_template_addon` SET `flags`= 16 | 32 WHERE `entry`= 205087; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 44600; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(44600, 0, 0, 'Cho''gall will have your heads! ALL OF THEM!', 14, 0, 100, 0, 0, 20186, 48970, 'Halfus Wyrmbreaker - Aggro'), +(44600, 1, 0, 'The wyrms will eat well tonight!', 14, 0, 100, 0, 0, 20187, 48971, 'Halfus Wyrmbreaker - Slay 1'), +(44600, 1, 1, 'The burden of the damned falls upon you!', 14, 0, 100, 0, 0, 20188, 48972, 'Halfus Wyrmbreaker - Slay 2'), +(44600, 2, 0, '%s binds the $n to his will!', 41, 0, 100, 0, 0, 20190, 48961, 'Halfus Wyrmbreaker - Bind Dragon'), +(44600, 3, 0, '%s roars furiously!', 41, 0, 100, 0, 0, 0, 48966, 'Halfus Wyrmbreaker - Furious Roar'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_halfus_bind_will', +'spell_halfus_fireball', +'spell_halfus_stone_touch', +'spell_halfus_cyclone_winds', +'spell_halfus_dancing_flames'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(84246, 'spell_halfus_bind_will'), +(86058, 'spell_halfus_fireball'), +(83719, 'spell_halfus_fireball'), +(83603, 'spell_halfus_stone_touch'), +(83612, 'spell_halfus_cyclone_winds'), +(83962, 'spell_halfus_dancing_flames'); + +-- Spellclick Spells +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (44828, 44829, 44826, 44653); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(44828, 83589, 1, 1), +(44829, 83590, 1, 1), +(44826, 83591, 1, 1), +(44653, 83447, 1, 1); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (83487, 83611, 83603, 84092, 87683, 83601, 83609, 84246, 83962) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 83487, 0, 0, 31, 0, 3, 44645, 0, 0, 0, '', 'Chain - Target Nether Scion'), +(13, 1, 83487, 0, 1, 31, 0, 3, 44652, 0, 0, 0, '', 'Chain - Target Slate Dragon'), +(13, 1, 83487, 0, 2, 31, 0, 3, 44650, 0, 0, 0, '', 'Chain - Target Storm Rider'), +(13, 1, 83487, 0, 3, 31, 0, 3, 44797, 0, 0, 0, '', 'Chain - Target Time Warden'), +(13, 7, 83611, 0, 0, 31, 0, 3, 44600, 0, 0, 0, '', 'Nether Blindness - Target Halfus Wyrmbreaker'), +(13, 1, 83603, 0, 0, 31, 0, 3, 44600, 0, 0, 0, '', 'Stone Touch - Target Halfus Wyrmbreaker'), +(13, 1, 84092, 0, 0, 31, 0, 3, 44600, 0, 0, 0, '', 'Cyclone Winds - Target Halfus Wyrmbreaker'), +(13, 1, 87683, 0, 0, 31, 0, 3, 44600, 0, 0, 0, '', 'Dragon''s Vengeance - Target Halfus Wyrmbreaker'), +(13, 1, 84246, 0, 0, 31, 0, 3, 44600, 0, 0, 0, '', 'Bind Will - Target Halfus Wyrmbreaker'), +(13, 1, 83601, 0, 0, 31, 0, 3, 44687, 0, 0, 0, '', 'Time Dilation - Target Proto-Behemoth'), +(13, 1, 83609, 0, 0, 31, 0, 3, 44687, 0, 0, 0, '', 'Atrophic Poison - Target Proto-Behemoth'), +(13, 1, 83962, 0, 0, 31, 0, 3, 42098, 0, 0, 0, '', 'Dancing Flames - Target Cataclysm Stalker'); + +-- Creature Spike 44765 SAI +SET @ENTRY := 44765; +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, 60, 0, 100, 0, 200, 200, 0, 0, 11, 83487, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 200 and 200 ms) - Self: Cast spell Chain (83487) on Self // "); + +-- Creature Cyclone Winds 45026 SAI +SET @ENTRY := 45026; +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, 1, 63, 0, 100, 0, 0, 0, 0, 0, 11, 84092, 0, 0, 0, 0, 0, 11, 44600, 100, 0, 0, 0, 0, 0, "When just created - Self: Cast spell Cyclone Winds (84092) on Creature Halfus Wyrmbreaker (44600) in 100 yd // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 11400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Despawn in 11400 ms // "); + +DELETE FROM `creature_loot_template` WHERE `Entry` IN (44600, 46209, 46210, 46211); +UPDATE `creature_template` SET `lootid`= `entry` WHERE `entry` IN (46209, 46210, 46211); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (446000, 462100, 462101); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Normal Mode +(446000, 59483, 0, 1, 1, 1, 1), -- Wyrmbreaker's Amulet +(446000, 59484, 0, 1, 1, 1, 1), -- Book of Binding Will +(446000, 59473, 0, 1, 1, 1, 1), -- Essence of the Cyclone +(446000, 59475, 0, 1, 1, 1, 1), -- Bracers of the Bronze Flight +(446000, 59470, 0, 1, 1, 1, 1), -- Bracers of Impossible Strength +(446000, 59474, 0, 1, 1, 1, 1), -- Malevolence +(446000, 59471, 0, 1, 1, 1, 1), -- Paudrons of the Great Ettin +(446000, 59472, 0, 1, 1, 1, 1), -- Proto-Handler's Gauntlets +(446000, 59481, 0, 1, 1, 1, 1), -- Helm of the Nether Scion +(446000, 59476, 0, 1, 1, 1, 1), -- Legguards of the Emerald Brook +(446000, 59482, 0, 1, 1, 1, 1), -- Robes of the Burning Acolyte +(446000, 59469, 0, 1, 1, 1, 1), -- Storm Rider's Boots +-- Heroic Mode +(462100, 65134, 0, 1, 1, 1, 1), -- Wyrmbreaker's Amulet +(462100, 65133, 0, 1, 1, 1, 1), -- Book of Binding Will +(462100, 65140, 0, 1, 1, 1, 1), -- Essence of the Cyclone +(462100, 65138, 0, 1, 1, 1, 1), -- Bracers of the Bronze Flight +(462100, 65143, 0, 1, 1, 1, 1), -- Bracers of Impossible Strength +(462100, 65139, 0, 1, 1, 1, 1), -- Malevolence +(462100, 65142, 0, 1, 1, 1, 1), -- Paudrons of the Great Ettin +(462100, 65141, 0, 1, 1, 1, 1), -- Proto-Handler's Gauntlets +(462100, 65136, 0, 1, 1, 1, 1), -- Helm of the Nether Scion +(462100, 65137, 0, 1, 1, 1, 1), -- Legguards of the Emerald Brook +(462100, 65135, 0, 1, 1, 1, 1), -- Robes of the Burning Acolyte +(462100, 65144, 0, 1, 1, 1, 1), -- Storm Rider's Boots +-- Tier Set Token +(462101, 67424, 0, 1, 1, 1, 1), -- Chest of the Forlorn Protector +(462101, 67423, 0, 1, 1, 1, 1), -- Chest of the Forlorn Conqueror +(462101, 67425, 0, 1, 1, 1, 1); -- Chest of the Forlorn Vanquisher + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +-- 10 Player Normal +(44600, 446000, 100, 1, 446000, 2), +-- 25 Player Normal +(46209, 446000, 100, 1, 446000, 6), +-- 10 Player Heroic +(46210, 462100, 100, 1, 462100, 2), +(46210, 462101, 100, 1, 462101, 1), +-- 25 Player Heroic +(46211, 462100, 100, 1, 462100, 6), +(46211, 462101, 100, 1, 462101, 3); + +-- Achievements +DELETE FROM `achievement_criteria_data` WHERE `ScriptName`= 'achievement_the_only_escape'; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15094, 11, 0, 0, 'achievement_the_only_escape'); + +-- Currency loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (44600, 46209, 46210, 46211); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(44600, 396, 11500), +(46209, 396, 13500), +(46210, 396, 11500), +(46211, 396, 13500); + +UPDATE `quest_template` SET `RewardCurrencyId1`= 395 WHERE `ID`= 30111; +UPDATE `lfg_dungeon_rewards` SET `firstQuestId`= 30110, `otherQuestId`= 30111 WHERE `dungeonId` IN (416, 417); +UPDATE `quest_template` SET `Flags`= 32768 WHERE `ID`= 30110; +ALTER TABLE `lfg_dungeon_rewards` ADD COLUMN `completionsPerPeriod` TINYINT(3) UNSIGNED DEFAULT 0 NULL COMMENT 'Maximum amount that the first quest may be rewarded' AFTER `otherQuestId`; +ALTER TABLE `lfg_dungeon_rewards` ADD COLUMN `dailyReset` TINYINT(1) UNSIGNED DEFAULT 0 NULL COMMENT 'Indicator for resetting rewards daily or weekly' AFTER `completionsPerPeriod`; + +UPDATE `quest_template` SET `RewardCurrencyId1`= 0, `RewardCurrencyCount1`= 0 WHERE `ID` = 28908; +UPDATE `quest_template` SET `RewardCurrencyCount1`= 14000 WHERE `ID` = 28907; +UPDATE `quest_template` SET `Flags`= 0 WHERE `ID`= 30110; + +UPDATE `lfg_dungeon_rewards` SET `completionsPerPeriod`= 7 WHERE `dungeonId` NOT IN (417, 416, 434, 301); +UPDATE `lfg_dungeon_rewards` SET `completionsPerPeriod`= 1 WHERE `dungeonId` IN (417, 416); +UPDATE `lfg_dungeon_rewards` SET `completionsPerPeriod`= 1, `dailyReset`= 1 WHERE `dungeonId` IN (288, 287, 286, 285); + +DELETE FROM `creature_template_addon` WHERE `entry`= 43499; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(43499, '81298'); + +UPDATE `creature_template` SET `unit_flags`= 33554440 WHERE `entry`= 43499; + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_pal_consecration'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(26573, 'spell_pal_consecration'); + +DELETE FROM `spell_bonus_data` WHERE `entry` IN (26573, 81297); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(81297, 0.04, 0, 0.04, 0, 'Paladin - Consecration'); + +UPDATE `creature_template` SET `mechanic_immune_mask`= 8388624 WHERE `entry`=48844; +UPDATE `creature_template` SET `unit_flags2`= 34816 WHERE `entry` IN (46227, 46228, 46229); +UPDATE `creature_template` SET `unit_class`= 1 WHERE `entry`=48902; +UPDATE `creature_template` SET `unit_flags2`= 0 WHERE `entry` IN (46224, 46225, 46226); +UPDATE `creature_template` SET `faction`=17 WHERE `entry` IN (49851, 49855, 49853); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (31878, 20154); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(31878, 10, 0x00800000, 0x00001110, 0x00000001, 0x00000001, 0x00000000, 32 | 64), +(20154, 0, 0, 0x00000014, 1, 2, 0, 32 | 64); + +UPDATE `spell_proc` SET `ProcFlags`= 0x00000014, `ProcsPerMinute`= 0 WHERE `SpellId`= 20164; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_pal_judgements_of_the_wise'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(31878, 'spell_pal_judgements_of_the_wise'); + +UPDATE `spell_bonus_data` SET `direct_bonus`= 0, `ap_bonus`= 0, `comments`= 'Paladin - Judgement' WHERE `entry`= 54158; +UPDATE `spell_bonus_data` SET `direct_bonus`= 0.027, `ap_bonus`= 0.027 WHERE `entry`= 81297; +UPDATE `spell_bonus_data` SET `direct_bonus`= 0.21, `ap_bonus`= 0.419, `comments`= 'Paladin - Avenger''s Shield' WHERE `entry`= 31935; + +DELETE FROM `spell_bonus_data` WHERE `entry` IN (20187, 88263, 20170, 635, 19750); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(20187, 0, 0, 0, 0, 'Paladin - Judgement of Righteousness'), +(88263, 0, 0, 0.18, 0, 'Paladin - Hammer of the Righteous triggered'), +(20170, 0.028, 0, 0.014, 0, 'Paladin - Seal of Jutsice triggered'); +DELETE FROM `spell_bonus_data` WHERE `entry` IN (53600, 35395, 879); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(53600, 0, 0, 0.1, 0, 'Paladin - Shield of the Righteous'), +(35395, 0, 0, 0.0, 0, 'Paladin - Crusader Strike'), +(879, 0, 0, 0, 0, 'Paladin - Exorcism'); + +-- Holy Wrath +UPDATE `spell_bonus_data` SET `direct_bonus`= 0.61, `dot_bonus`= 0, `ap_bonus`= 0, `ap_dot_bonus`= 0 WHERE `entry`= 2812; + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_pal_exorcism'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(879, 'spell_pal_exorcism'); + +-- Difficulty spell entries +DELETE FROM `spell_dbc` WHERE `Id` IN (42636, 45433, 90120, 92943, 90059, 92948, 89289, 92951, 94991, 95858, 92666, 95884, 98192, 98846, 98900, 99288, 98899, 99551, 99877, 99878, 107352, 108859, 110615, 110614, 110035, 110034, 110033, 110032, 103179, 110515); +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(107352, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Twilight Barrage'), +(108859, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid1 serverside spell'), +(110615, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid2 serverside spell'), +(110614, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4343 spellid3 serverside spell'), +(110035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Countdown'), +(110034, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid1 serverside spell'), +(110033, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid2 serverside spell'), +(110032, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4444 spellid3 serverside spell'), +(103179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Black Blood of the Earth'), +(110515, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:4469 spellid1 serverside spell'), +(42636, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Birmingham Tools Test 3'), +(45433, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Birmingham Tools Test 5'), +(90120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Summon Drake'), +(92943, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Inspired'), +(90059, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Summon Spitecaller'), +(92948, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3255 spellid1 serverside spell'), +(89289, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Twilight Essence'), +(92951, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3258 spellid1 serverside spell'), +(94991, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3523 spellid1 serverside spell'), +(95858, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3579 spellid1 serverside spell'), +(92666, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Summon Imp Trigger'), +(95884, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3582 spellid1 serverside spell'), +(98192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Foot Damage Tracker'), +(98846, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3741 spellid1 serverside spell'), +(98900, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Drone Trigger'), +(99288, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3749 spellid1 serverside spell'), +(98899, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Spiderling Trigger'), +(99551, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3752 spellid1 serverside spell'), +(99877, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Summon Armor Elementals'), +(99878, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 'Spelldifficulty_dbc id:3764 spellid1 serverside spell'); + +-- GameObject spells +DELETE FROM `spell_dbc` WHERE `Id` IN (84506, 84505, 90245, 90244, 86761, 89691, 89685, 81358, 96364, 85892, 85891, 48084, 48085, 43981, 82094); +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(84506, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Teleport to Orgrimmar'), +(84505, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Teleport to Stormwind'), +(90245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Stormwind Portal to Vashj''ir (from Portal)'), +(90244, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Orgrimmar Portal to Vashj''ir (from Portal)'), +(86761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Keg Cover Spell'), +(89691, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) The Mad Magus: Ajamon''s Portal - Teleport to Southsea Holdfast - Cover'), +(89685, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) The Mad Magus: Ajamon''s Portal - Teleport to Tirth''s Haunt - Cover'), +(81358, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Swabbing Duty: Force Summon Controller'), +(96364, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Create S.A.F.E. ""Parachute""'), +(85892, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Victory From Within: Library Wing Quest Credit'), +(85891, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Victory From Within: Hall of Arms Quest Credit'), +(82094, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Force Periscope'); + +-- Quest template, spellclick, encounter credit related spells +DELETE FROM `spell_dbc` WHERE `Id` IN (94641, 98867, 89249, 89848, 89781, 94998, 89550, 88469, 90404, 89669, 90372, 89762, 95203, 82359, 82456, 110158, 111533); +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(94641, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Cancel Tonga''s Eyes'), +(98867, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Destroy Cudgel of Discipline - Delay'), +(89249, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Perfect Costume Credit'), +(89848, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Launch Quest: Placing the Pawns'), +(89781, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Protector Growth Validate'), +(94998, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Achievement Check - Full Caravan'), +(89550, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Sapling Growth Validate'), +(88469, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Rendan''s Weakness: Despawn Dancers'), +(90404, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Launch Quest: Placing the Pawns'), +(89669, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Fluorishing Protector Root Trigger'), +(90372, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Summon Whelplings'), +(89762, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) The Elder Crone: Quest Complete'), +(95203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Summon Main Cutscene Vehicle [INTERNAL ONLY]'), +(82359, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Reactivate the Constructs: Dummy to Deactivated Construct On Interact'), +(82456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Sprout No More: Dummy to Giant Mushroom On Interact'), +(110158, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Achievement Credit'), +(111533, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Deathwing Kill Credit '); + +-- Delete deprecated GameObjects +DELETE FROM `gameobject_template` WHERE `entry` IN (181105, 181106, 181165, 183510, 183511, 193171, 193169, 193170, 188597, 188598, 186810); +DELETE FROM `gameobject_template_addon` WHERE `entry` IN (181105, 181106, 181165, 183510, 183511, 193171, 193169, 193170, 188597, 188598, 186810); + +-- Delete deprecated spell ranks +DELETE FROM `spell_ranks` WHERE `first_spell_id` IN (66188, 66196, 66198, 66215, 66216); + +-- spell_proc fixups +UPDATE `spell_proc` SET `AttributesMask`= 0 WHERE `SpellId`= 48108; +DELETE FROM `spell_proc` WHERE `SpellId` IN (-20234, 30675, 31244, 31876, -44404, -49182, 53290, -53380, 54747, -64127, 1719, 11129, 24932, 53646, 54754, 54937, 54939, 55677, 62259, 63280, 53551, 48516, 44449, -34753, 20925, -18119, 57870, -30299, 17364, 43819, 55689, 58620, 63611, 1120, -53583); +UPDATE `spell_proc` SET `ProcFlags`= 0x00010000 WHERE `SpellId` IN (47383, 71162, 71165); +UPDATE `spell_proc` SET `ProcFlags`= 0x00000004 | 0x00000010 WHERE `SpellId`= 62606; +UPDATE `spell_proc` SET `SpellPhaseMask`= 2 WHERE `SpellId` IN (70664, 31656, -48539, 28716, 40438, 56218, 62606, -47245, -47195, -19572, 37603, 38394, 40478, 45054, 60061, 60170, 60176, 60487, 61188, 64752, 64824, 64914, 67209, 67356, 67361, 67365, 70730, 70841, 70854, 71174, 71176, 71178, 71198, 71606, 71637, -12317); +UPDATE `spell_proc` SET `SpellPhaseMask`= 0, `SpellTypeMask`= 0 WHERE `SpellId` IN (-49018, -53486, -33191, 46832, 74981, 90738, 90759, 87900, 87897); +UPDATE `spell_proc` SET `ProcFlags`= 0x000A22A8 WHERE `SpellId`= -30299; +UPDATE `spell_proc` SET `ProcFlags`= 0x00014000, `HitMask`= 0 WHERE `SpellId`= -16880; +UPDATE `spell_proc` SET `SpellPhaseMask`= 1, `SpellId`= -12322 WHERE `SpellId`= 12322; +UPDATE `spell_proc` SET `HitMask`= 0 WHERE `SpellId` IN (84722, 84723); +UPDATE `spell_proc` SET `ProcFlags`= 0x00015000, `HitMask`= 0 WHERE `SpellId`= -48965; + +-- quest_template_addon fixups +UPDATE `quest_template_addon` SET `ProvidedItemCount`= 1 WHERE `ID`= 14386; + +-- script_waypoint cleanup +DELETE FROM `script_waypoint` WHERE `entry` IN (3849, 3850); + +-- SAI cleanup +DELETE FROM `smart_scripts` WHERE `entryorguid`= -143921; +DELETE FROM `spell_proc` WHERE `SpellId`= 56453; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyMask1`, `SpellPhaseMask`, `HitMask`) VALUES +(56453, 0x80000000, 1, 0); + +-- Phasing Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 26 AND `SourceEntry`= 4714 AND `SourceGroup` IN (105, 181, 182, 183); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `NegativeCondition`, `Comment`) VALUES +(26, 105, 4714, 8, 14222, 0, 'Gilneas - Phase 105 - active when rewarded quest 14222'), +-- (26, 105, 4714, 8, 14375, 1, 'Gilneas - Phase 105 - inactive when rewarded quest 14375'), +(26, 181, 4714, 8, 14375, 0, 'Gilneas - Phase 181 - active when rewarded quest 14222'), +(26, 181, 4714, 8, 14321, 1, 'Gilneas - Phase 181 - inactive when rewarded quest 14321'), +(26, 182, 4714, 8, 14321, 0, 'Gilneas - Phase 182 - active when rewarded quest 14321'), +(26, 182, 4714, 8, 14386, 1, 'Gilneas - Phase 182 - inactive when rewarded quest 14386'), +(26, 183, 4714, 8, 14386, 0, 'Gilneas - Phase 183 - active when rewarded quest 14386'); + +-- Terrain Swaps +DELETE FROM `terrain_swap_defaults` WHERE `TerrainSwapMap`= 655; +INSERT INTO `terrain_swap_defaults` (`MapId`, `TerrainSwapMap`, `Comment`) VALUES +(654, 655, 'Gilneas - Duskmist Shore broken'); + +-- Terrain Swap Conditions +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 25 AND `SourceEntry` IN (655, 638); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `NegativeCondition`, `Comment`) VALUES +(25, 0, 638, 8, 14222, 1, 'Gilneas - Terrain Swap 638 - inactive when rewarded quest 14222'), +(25, 0, 655, 8, 14386, 0, 'Gilneas - Terrain Swap 655 - active when rewarded quest 14386'); + + +DELETE FROM `phase_area` WHERE `AreaId`= 4714; +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(4714, 105, 'Gilneas - Phase 105'), +(4714, 181, 'Gilneas - Phase 181'), +(4714, 182, 'Gilneas - Phase 182'), +(4714, 183, 'Gilneas - Phase 183'); + +-- Update Phasing for Creatures +-- Phase 181, 182, 183 +UPDATE `creature` SET `PhaseId`= 0, `PhaseGroup`= 431 WHERE `guid` IN (255508, 255507, 255506, 255505, 255504, 255503, 255502, 255501, 255500, 255499, 255498, 255497, 255496, 255495, 255494, 255493, 255492, 255491, 255490, 255489, 255488, 255487, 255486, 255485, 255483, 255482, 255480, 255479, 255478, 255476, 255475, 255474, 255473, 255472, 255471, 255470, 255469, 255468, 255467, 255466, 255465, 255464, 255463, 255461, 255460, 255459, 255457, 255456, 255455, 255454, 255453, 255452, 255451, 255450, 255449, 255448, 255447, 255446, 255444, 255443, 255441, 255440, 255439, 255438, 255437, 255436, 255435, 255434, 255433, 255518, 255519, 255516, 255517, 255522, 255520, 255532, 255528, 255533, 255524, 255527, 255530, 255529, 255535, 255531, 255534); +UPDATE `creature` SET `PhaseId`= 0, `PhaseGroup`= 429 WHERE `guid`= 255442; +-- Phase 182, 183 +UPDATE `creature` SET `PhaseId`= 0, `PhaseGroup`= 471 WHERE `guid` IN (255677, 255676, 255679, 255681, 255680, 255428, 255425, 255424, 255422, 255420, 255417, 255416, 255415, 255414, 255430, 255431, 255432); +-- Phase 182 +UPDATE `creature` SET `PhaseId`= 182 WHERE `guid` IN (255538, 255521, 255515, 255514, 255513, 255512, 255511, 255510, 255509); + +-- Update Phasing for GameObjects +-- Phase 181, 182, 183 +UPDATE `gameobject` SET `PhaseId`= 0, `PhaseGroup`= 431 WHERE `guid` IN (236344, 236345, 236346, 236347, 236348, 236349, 236350, 236351, 236352, 236353, 236354, 236355, 236356, 236358, 235520, 236492); +-- Phase 182 +UPDATE `gameobject` SET `PhaseGroup`= 0, `PhaseId`= 182 WHERE `guid`= 235506; + +-- Cleanup Duplicate Spawns +DELETE FROM `creature` WHERE `guid` IN (255642, 255755, 255766, 255784, 255651, 255795, 255765, 255686, 255691, 255647, 255771, 255782, 255775, 255961, 255959, 255786, 255793, 255791, 255794, 255789, 255788, 255792, 255790, 255787); +DELETE FROM `creature_addon` WHERE `guid` IN (255642, 255755, 255766, 255784, 255651, 255795, 255765, 255686, 255691, 255647, 255771, 255782, 255775, 255961, 255959, 255786, 255793, 255791, 255794, 255789, 255788, 255792, 255790, 255787); + +-- Spell Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (69123, 68632, 68634, 68638, 69296, 68558, 68591, 68659, 68682) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +-- (13, 1, 69123, 0, 0, 31, 0, 3, 0, 255427, 0, 0, '', 'Curse of the Worgen - Target Generic Trigger Lab - Multiphase (Ground)'), +(13, 1, 68632, 0, 0, 31, 0, 3, 0, 255423, 0, 0, '', 'Summon Personal Godfrey - Target Generic Trigger Lab - Multiphase (Ground)'), +(13, 1, 68634, 0, 0, 31, 0, 3, 0, 255421, 0, 0, '', 'Summon Personal Greymane - Target Generic Trigger Lab - Multiphase (Ground)'), +(13, 2, 68638, 0, 0, 31, 0, 3, 36331, 0, 0, 0, '', 'Worgen Intro Completion - Target Krennan Aranas'), +(13, 2, 68638, 0, 1, 31, 0, 3, 36330, 0, 0, 0, '', 'Worgen Intro Completion - Target Lord Godfrey'), +(13, 2, 68638, 0, 2, 31, 0, 3, 36332, 0, 0, 0, '', 'Worgen Intro Completion - Target King Genn Greymane'), +(13, 2, 69296, 0, 0, 31, 0, 5, 197337, 0, 0, 0, '', 'Invasion Camera - Target Invasion Camera'), +(13, 1, 68558, 0, 0, 31, 0, 3, 36140, 0, 0, 0, '', 'Gilneas - Quest - Abomination Kill Me - Target Prince Liam Greymane'), +(13, 1, 68591, 0, 0, 31, 0, 3, 36286, 0, 0, 0, '', 'Fiery Boulder - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 0, 31, 0, 3, 0, 255538, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 1, 31, 0, 3, 0, 255521, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 2, 31, 0, 3, 0, 255515, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 3, 31, 0, 3, 0, 255514, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 4, 31, 0, 3, 0, 255510, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 5, 31, 0, 3, 0, 255511, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 6, 31, 0, 3, 0, 255509, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 7, 31, 0, 3, 0, 255513, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68659, 0, 8, 31, 0, 3, 0, 255512, 0, 0, '', 'Launch - Target Generic Trigger LAB - Multiphase'), +(13, 1, 68682, 0, 0, 31, 0, 3, 36312, 0, 0, 0, '', 'Call Attack Mastiff - Target Dark Ranger Thyala'); + +-- Spellclick Conditions +DELETE FROM `conditions` WHERE `SourceGroup` IN (36287, 36288, 36289) AND `SourceTypeOrReferenceId`= 18; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(18, 36287, 68597, 0, 0, 9, 0, 14368, 0, 0, 0, 0, '', 'Required quest active for spellclick'), +(18, 36288, 68598, 0, 0, 9, 0, 14368, 0, 0, 0, 0, '', 'Required quest active for spellclick'), +(18, 36289, 68596, 0, 0, 9, 0, 14368, 0, 0, 0, 0, '', 'Required quest active for spellclick'); + +-- spell_target_position entries +DELETE FROM `spell_target_position` WHERE `ID`= 69123; +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`) VALUES +(69123, 0, 654, -1815.9, 2283.85, 42.4066, 2.47837); + +-- Template Updates +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry`= 36198; +UPDATE `creature_template` SET `ScriptName`= 'npc_gilneas_horrid_abomination' WHERE `entry`= 36231; +UPDATE `creature_template` SET `npcflag`= 16777216, `ScriptName`= 'npc_gilneas_save_the_children' WHERE `entry` IN (36287, 36288, 36289); +UPDATE `creature_template` SET `flags_extra`= 128, `InhabitType`= 4 WHERE `entry`= 36286; +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry` IN (36198, 36449); + +UPDATE `creature_template` SET `unit_flags`= 0x100, `ScriptName`= 'npc_gilneas_forsaken_catapult' WHERE `entry`= 36283; + +-- Respawn Time corrections +UPDATE `creature` SET `spawntimesecs`= 30 WHERE `id` IN (36287, 36288, 36289); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (36330, 36331, 36332, 36231, 36287, 36288, 36289, 36290, 36291, 36283); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `Comment`) VALUES +-- Chapter Two Intro +(36330, 0, 0, 'Give it up, Krennan. It''s time to put this one down. It''s protocol.', 12, 0, 100, 274, 0, 19635, 36336, 'Lord Godfrey to Player'), +(36331, 0, 0, 'I am not giving up on you. I don''t have a cure for the Curse yet... but there are treatments. You will have control again.', 12, 0, 100, 274, 0, 20919, 36344, 'Krennan Aranas to Player'), +(36332, 0, 0, 'Tell me, Godfrey. Those that stayed in Gilneas City so that we could live. Were they following protocol?', 12, 0, 100, 1, 0, 19721, 36340, 'King Genn Greymane to Player'), +(36332, 1, 0, 'I didn''t think so. Now hand me that potion, Krennan... and double the dosage.', 12, 0, 100, 1, 0, 19722, 36341, 'King Genn Greymane to Player'), +-- Horrid Abomination +(36231, 0, 0, 'Barrel smell like gunpowder...', 12, 0, 100, 0, 0, 20909, 36311, 'Horrid Abomination - Keg Placed'), +(36231, 0, 1, 'GAH!!!! I CAN''T SEE IN HERE!!!!', 12, 0, 100, 0, 0, 20908, 36310, 'Horrid Abomination - Keg Placed'), +(36231, 0, 2, 'Uh-oh... this gonna hurts me...', 12, 0, 100, 0, 0, 20911, 36313, 'Horrid Abomination - Keg Placed'), +(36231, 0, 3, 'This not be good...', 12, 0, 100, 0, 0, 20911, 36312, 'Horrid Abomination - Keg Placed'), +(36231, 0, 4, 'I gots bad feeling...', 12, 0, 100, 0, 0, 20911, 36314, 'Horrid Abomination - Keg Placed'), +-- Save the Children +(36287, 0, 0, 'You are scary! I just want my mommy!', 12, 0, 100, 0, 0, 0, 36325, 'Cynthia to Player'), +(36288, 0, 0, 'Are you one of the good worgen, $g mister:ma''am;? Did you see Cynthia hiding in the sheds outside?', 12, 0, 100, 0, 0, 0, 36326, 'Ashley to Player'), +(36289, 0, 0, 'Don''t hurt me! I was just looking for my sisters! I think Ashley''s inside that house!', 12, 0, 100, 0, 0, 0, 36324, 'James to Player'), +-- Leader of the Pack +(36290, 0, 0, 'Hold your positions, men!', 14, 0, 100, 0, 0, 0, 36632, 'Lord Godfrey to Player'), +(36291, 0, 0, 'What''s happening?!', 12, 0, 100, 430, 0, 0, 36633, 'Melinda Hammond to Player'), +-- Forsaken Catapult +(36283, 0, 0, 'You must return to the Duskmist Shore!', 42, 0, 100, 0, 0, 0, 50651, 'Forsaken Catapult to Player'); + +DELETE FROM `waypoints` WHERE `entry`= 36330; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`) VALUES +(36330, 1, -1840.085, 2293.042, 42.53004), +(36330, 2, -1821.922, 2295.05, 42.17052); + +-- Quest Chains +DELETE FROM `quest_template_addon` WHERE `ID` IN (14321, 14369, 14382, 14368, 14386, 14396); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`) VALUES +(14321, 14320), +(14369, 14367), +(14382, 14367), +(14368, 14367), +(14386, 14369), +(14396, 14386); + +UPDATE `quest_template_addon` SET `PrevQuestID`= 14336, `ExclusiveGroup`= -14347 WHERE `ID` IN (14347, 14348); +UPDATE `quest_template_addon` SET `ExclusiveGroup`= -14369 WHERE `ID` IN (14369, 14382, 14368); + +UPDATE `gameobject_template` SET `ScriptName`= 'go_gilneas_invasion_camera' WHERE `entry`= 197337; + +-- GameObject addons +DELETE FROM `gameobject_template_addon` WHERE `entry` IN (196394, 196403); +INSERT INTO `gameobject_template_addon` (`entry`, `flags`) VALUES +(196394, 4), +(196403, 4); + +UPDATE `gameobject_template_addon` SET `flags`= 16 WHERE `entry` IN (196411, 196404, 206693, 197333); + +-- Sparring Entries +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry` IN (36211, 36140, 34511, 36236); +INSERT INTO `creature_sparring_template` (`AttackerEntry`, `VictimEntry`, `HealthLimitPct`) VALUES +(36211, 34511, 90), +(36211, 36236, 90), +(36140, 34511, 100), +(34511, 36211, 90), +(34511, 36140, 100), +(36236, 36211, 100); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_gilneas_quest_save_the_children', +'spell_gilneas_quest_save_james', +'spell_gilneas_launch', +'spell_gilneas_call_attack_mastiff', +'spell_gilneas_fiery_boulder', +'spell_gilneas_forcecast_cataclysm_1'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(68596, 'spell_gilneas_quest_save_james'), +(68597, 'spell_gilneas_quest_save_the_children'), +(68598, 'spell_gilneas_quest_save_the_children'), +(68659, 'spell_gilneas_launch'), +(68682, 'spell_gilneas_call_attack_mastiff'), +(68591, 'spell_gilneas_fiery_boulder'), +(69027, 'spell_gilneas_forcecast_cataclysm_1'); + +-- Creature Krennan Aranas 36331 SAI +SET @ENTRY := 36331; +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, 1, 63, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Set walk // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 3633100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Start timed action list id #3633100 // "), +(@ENTRY, 0, 2, 0, 8, 0, 100, 0, 68638, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spell Worgen Intro Completion (68638) hit - Self: Despawn instantly // "); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=3633100 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 +(3633100,9,0,0,0,0,100,0,1200,1200,0,0,69,0,0,0,0,0,0,8,0,0,0,-1819.53,2291.25,42.32689,0,""), +(3633100,9,1,0,0,0,100,0,5300,5300,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,""), +(3633100,9,2,0,0,0,100,0,4700,4700,0,0,11,68635,0,0,0,0,0,23,0,0,0,0,0,0,0,""), +(3633100,9,3,0,0,0,100,0,8400,8400,0,0,11,68636,0,0,0,0,0,23,0,0,0,0,0,0,0,""); + +-- Random movement for Horrid Abomination +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 6 WHERE `id`= 36231; + +-- Creature Lord Godfrey 36330 SAI +SET @ENTRY := 36330; +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, 63, 0, 100, 0, 0, 0, 0, 0, 80, 3633000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Start timed action list id #3633000 // "), +(@ENTRY, 0, 1, 0, 8, 0, 100, 0, 68638, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spell Worgen Intro Completion (68638) hit - Self: Despawn instantly // "); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=3633000 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 +(3633000,9,0,0,0,0,100,0,1200,1200,0,0,53,0,36330,0,0,0,0,1,0,0,0,0,0,0,0,""), +(3633000,9,1,0,0,0,100,0,5300,5300,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,""); + +-- Creature King Genn Greymane 36332 SAI +SET @ENTRY := 36332; +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, 1, 54, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Set walk // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 3633200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Start timed action list id #3633200 // "), +(@ENTRY, 0, 2, 3, 20, 0, 100, 1, 0, 0, 0, 0, 28, 68630, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player rewards any quest - Action invoker: Remove aura due to spell Curse of the Worgen (68630) // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 68639, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell Forcecast Worgen Intro Completion (68639) on Action invoker // "), +(@ENTRY, 0, 4, 0, 8, 0, 100, 0, 68638, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spell Worgen Intro Completion (68638) hit - Self: Despawn instantly // "); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=3633200 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 +(3633200,9,0,0,0,0,100,0,400,400,0,0,69,0,0,0,0,0,0,8,0,0,0,-1821.09,2292.597,42.23363,0,""), +(3633200,9,1,0,0,0,100,0,11000,11000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,""), +(3633200,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.32645,""), +(3633200,9,3,0,0,0,100,0,9600,9600,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,""), +(3633200,9,4,0,0,0,100,0,3600,3600,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.497787,""), +(3633200,9,5,0,0,0,100,0,0,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,""); + +-- Creature Slain Watchman 36205 SAI +SET @ENTRY := 36205; +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, 19, 0, 100, 0, 14321, 0, 0, 0, 11, 68492, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts quest 14321 - Self: Cast spell Forcecast Summon Forsaken Assassin (68492) on Action invoker // "); +UPDATE `creature_template` SET `flags_extra`= 2, `unit_flags`= 537166592 WHERE `entry`= 36205; + +-- Creature Forsaken Assassin 36207 SAI +SET @ENTRY := 36207; +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, 1, 54, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Talk 0 // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Attack Owner/Summoner // "), +(@ENTRY, 0, 2, 0, 67, 0, 100, 0, 9000, 12000, 0, 0, 11, 75360, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When victim is behind me (wait 9000 - 12000 ms before next event trigger) - Self: Cast spell 75360 on Victim // Forsaken Assassin - On Behind Target - Cast 'Backstab'"); + +-- Creature Forsaken Invader 34511 SAI +SET @ENTRY := 34511; +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, 1, 0, 100, 0, 1000, 1000, 10000, 10000, 49, 0, 0, 0, 0, 0, 0, 19, 36211, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1000 and 1000 ms (and later repeats every 10000 and 10000 ms) - Self: Attack Closest alive creature Duskhaven Watchman (36211) in 10 yards // "); + +-- Creature Prince Liam Greymane 36140 SAI +SET @ENTRY := 36140; +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, 8, 0, 100, 0, 68558, 0, 0, 0, 11, 68559, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On spell 68558 hit - Self: Cast spell 68559 on Action invoker // "); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`= 36283 AND `spell_id`= 46598; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(36283, 46598, 0, 1); + +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (36283); +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`) VALUES +(36283,36292,0,0,''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 18 AND `SourceGroup`= 36283; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(18, 36283, 46598, 0, 0, 31, 0, 3, 36292, 0, 0, 0, 0, '', 'Required quest active for spellclick'), +(18, 36283, 69434, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick'); + +-- Creature Lord Godfrey 36290 SAI +SET @ENTRY := 36290; +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, 1, 20, 0, 100, 0, 14386, 0, 0, 0, 11, 69027, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player rewards quest Leader of the Pack (14386) - Self: Cast spell 69027 on Action invoker // "), +(@ENTRY, 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, " Linked - Self: Talk 0 // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 84, 0, 0, 0, 0, 0, 0, 10, 255676, 0, 0, 0, 0, 0, 0, " Linked - Creature Melinda Hammond 36291 (255676): Talk 0 // "); + +-- Creature Forsaken Footsoldier 36236 SAI +SET @ENTRY := 36236; +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, 1, 0, 100, 0, 0, 0, 6000, 6000, 49, 0, 0, 0, 0, 0, 0, 19, 36211, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 0 ms (and later repeats every 6000 and 6000 ms) - Self: Attack Closest alive creature Duskhaven Watchman (36211) in 10 yards // "); +-- Gilneas fixups +-- Make Northgate Rebel rooted +UPDATE `creature_template` SET `InhabitType`= 9 WHERE `entry`= 36057; + +-- Reduce spawntime for Frightened Citizen +UPDATE `creature` SET `spawntimesecs`= 10 WHERE `guid`= 376345; + +-- Add Pathing to Frightened Citizen +DELETE FROM `waypoints` WHERE `entry`= 3763450; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`) VALUES +(3763450, 1, -1400.989, 1430.045, 35.71169), +(3763450, 2, -1403.989, 1423.545, 35.71169), +(3763450, 3, -1404.239, 1395.545, 35.71169), +(3763450, 4, -1406.989, 1376.545, 35.71169), +(3763450, 5, -1412.989, 1366.295, 35.71169), +(3763450, 6, -1446.989, 1358.545, 35.71169), +(3763450, 7, -1479.739, 1349.795, 35.71169), +(3763450, 8, -1512.489, 1341.295, 35.71169), +(3763450, 9, -1545.489, 1331.795, 35.71169), +(3763450, 10, -1578.739, 1317.045, 35.71169), +(3763450, 11, -1603.239, 1312.795, 18.71169), +(3763450, 12, -1627.739, 1308.795, 20.71169), +(3763450, 13, -1649.739, 1307.545, 20.21169), +(3763450, 14, -1682.239, 1306.045, 20.21169), +(3763450, 15, -1689.239, 1304.795, 20.21169), +(3763450, 16, -1692.365, 1297.531, 20.28411); + +-- Creature Panicked Citizen 34851 SAI +SET @ENTRY := 34851; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; + +SET @ENTRY := -376345; +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, 1, 25, 0, 100, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Set active (are you sure?) // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 53, 1, 3763450, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Start path #3763450, run, do not repeat, Passive // "); + +-- Kezan fixups +-- Correct movement types +UPDATE `creature` SET `MovementType`= 0, `spawndist`= 0 WHERE `guid` IN (251716, 251611, 251602, 251726, 251603); +-- Quest chaining +UPDATE `quest_template_addon` SET `PrevQuestID`= 14138, `ExclusiveGroup`= -14069 WHERE `ID` IN (14075, 14069); +-- Creature template addon corrections +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry`= 34830; +UPDATE `quest_template` SET `RewardCurrencyCount1`= 150 WHERE `ID` IN (28905, 29185, 28906, 29183); +UPDATE `quest_template` SET `RewardCurrencyCount1`= 250 WHERE `ID` IN (30177, 30110, 30111); +UPDATE `quest_template` SET `RewardCurrencyCount1`= 140 WHERE `ID`= 28907; +UPDATE `quest_template` SET `RewardCurrencyCount1`= 23 WHERE `ID` IN (24788, 24789); +DELETE FROM `spell_learn_spell` WHERE `entry`= 33943; +UPDATE `npc_trainer` SET `SpellID`= 33950 WHERE `SpellID`= 33943; +UPDATE `npc_trainer` SET `SpellID`= 40123 WHERE `SpellID`= 40120; +-- Template Updates +-- Theralion +UPDATE `creature_template` SET `ScriptName`= 'boss_theralion', `difficulty_entry_1`= 49903, `difficulty_entry_2`= 49904, `difficulty_entry_3`= 49905 WHERE `entry`= 45993; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `DamageModifier`= 80, `flags_extra`= 1 | 512, `mechanic_immune_mask`= 617299839, `exp`= 3, `faction`= 2146, `unit_flags`= 32832, `unit_flags2`= 134219776 WHERE `entry` IN (45993, 49903, 49904, 49905); +UPDATE `creature_template` SET `mingold`= 1100000, `maxgold`= 1200000 WHERE `entry` IN (45993, 49904); +UPDATE `creature_template` SET `mingold`= 2450000, `maxgold`= 2550000 WHERE `entry` IN (49903, 49905); +-- Valiona +UPDATE `creature_template` SET `ScriptName`= 'boss_valiona', `difficulty_entry_1`= 49897, `difficulty_entry_2`= 49898, `difficulty_entry_3`= 49899 WHERE `entry`= 45992; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `DamageModifier`= 80, `flags_extra`= 1 | 512, `mechanic_immune_mask`= 617299839, `exp`= 3, `faction`= 2146, `unit_flags`= 32832, `unit_flags2`= 134219776 WHERE `entry` IN (45992, 49897, 49898, 49899); +UPDATE `creature_template` SET `mingold`= 1100000, `maxgold`= 1200000 WHERE `entry` IN (45992, 49898); +UPDATE `creature_template` SET `mingold`= 2450000, `maxgold`= 2550000 WHERE `entry` IN (49897, 49899); +-- Valiona (Fire Dummy) +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry`= 46147; +-- Theralion Flight Target Stalker +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 128 WHERE `entry`= 46364; +-- Convective Flames +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `InhabitType`= 13 WHERE `entry`= 46588; +-- Dazzling Destruction Stalker +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `InhabitType`= 13 WHERE `entry`= 46374; +-- Fabolous Flames +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `InhabitType`= 13 WHERE `entry`= 46448; +-- Unstable Twilight +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `ScriptName`= 'npc_theralion_and_valiona_unstable_twilight' WHERE `entry`= 46304; +-- Collapsing Twilight Portal +UPDATE `creature_template` SET `npcflag`= 16777216, `InhabitType`= 4, `unit_flags2`= 2099200, `flags_extra`= 128 WHERE `entry`= 46301; +-- Twilight Sentry +UPDATE `creature_template` SET `ScriptName`= 'npc_theralion_and_valiona_twilight_sentry', `difficulty_entry_3`= 51627 WHERE `entry`= 50008; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `mechanic_immune_mask`= 617299839, `flags_extra`= 1073741824 WHERE `entry` IN (50008, 51627); +-- Twilight Rift +UPDATE `creature_template` SET `unit_flags`= 33554432, `InhabitType`= 5, `flags_extra`= 128 WHERE `entry`= 50014; + +-- Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (46374, 46448, 50014); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(46448, '86506'), +(50014, '93010'); + +DELETE FROM `creature_template_addon` WHERE `entry`= 46301; +INSERT INTO `creature_template_addon` (`entry`, `bytes1`) VALUES +(46301, 50331648); + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry`= 6442; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6442, 'at_theralion_and_valiona_intro'); + +-- Correct Phasing for Theralion, Valiona and Valiona's Deep Breath flame stalkers +UPDATE `creature` SET `PhaseId`= 0, `PhaseGroup`= 525 WHERE `id` IN (45992, 45993, 46147); +UPDATE `creature` SET `PhaseId`= 290, `PhaseGroup`= 0 WHERE `guid`= 254002; +UPDATE `creature_addon` SET `auras`= '' WHERE `guid` IN (254002, 254169); +-- Correct Phasing for Dragon Sibling doors +UPDATE `gameobject` SET `PhaseId`= 0, `PhaseGroup`= 525 WHERE `guid` IN (211097, 211096); + +-- Creature Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (43324, 45992, 45993); +-- Cho'Gall +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(43324, 0, 0, 'Valiona, Theralion, put them in their place.', 14, 0, 100, 0, 0, 22063, 47518, 2, 'Cho''gall - Theralion and Valiona Intro'), +(43324, 1, 0, '(Come closer, closer. Let us see your faces. All will be humbled before his power.)', 14, 0, 100, 0, 0, 22064, 47538, 2, 'Cho''gall - Theralion and Valiona Death'), +-- Valiona +(45992, 0, 0, 'Do as the master commands, Theralion! Kill them!', 14, 0, 100, 0, 0, 21894, 47523, 2, 'Valiona - Intro 1'), +(45992, 1, 0, 'You are worthless, Theralion!', 14, 0, 100, 0, 0, 21895, 47524, 2, 'Valiona - Intro 2'), +(45992, 2, 0, '|TInterface\\Icons\\spell_fire_twilightnova.blp:20|t%s casts |cFFFF0000|Hspell:86788|h[Blackout]|h|r!', 41, 0, 100, 0, 0, 0, 47624, 2, 'Valiona'), +(45992, 3, 0, '|TInterface\\Icons\\spell_fire_twilightfire.blp:20|t%s takes a |cFFFF0000|Hspell:86059|h[Deep Breath]|h|r!', 41, 0, 100, 0, 0, 0, 46712, 2, 'Valiona to Breath Flight Target Stalker'), +(45992, 4, 0, 'Theralion, I will engulf the hallway. Cover their escape!', 14, 0, 100, 0, 0, 21898, 47961, 2, 'Valiona to Breath Flight Target Stalker'), +(45992, 5, 0, 'Enter Twilight!', 14, 0, 100, 0, 0, 21899, 47962, 2, 'Valiona to Player'), +(45992, 6, 0, 'Breathe your dying breath!', 14, 0, 100, 0, 0, 21896, 47959, 2, 'Valiona to Player'), +(45992, 7, 0, 'At least... Theralion dies with me...', 14, 0, 100, 0, 0, 21897, 47960, 2, 'Valiona to Player'), +-- Theralion +(45993, 0, 0, 'The master was clearly speaking to you, Valiona. I am far too busy to attack ANYONE.', 14, 0, 100, 0, 0, 20300, 47521, 2, 'Theralion - Intro 1'), +(45993, 1, 0, 'How dare you call me worthless! You will see why I am mother''s favored child!', 14, 0, 100, 0, 0, 20301, 47522, 2, 'Theralion - Intro 2'), +(45993, 2, 0, 'You are not the boss of me, Valiona! I will engulf as I please!', 14, 0, 100, 0, 0, 20304, 47911, 2, 'Theralion to Theralion Flight Target Stalker'), +(45993, 2, 1, 'There is no escape from the fury of the twilight flight!', 14, 0, 100, 0, 0, 20305, 47912, 2, 'Theralion to Theralion Flight Target Stalker'), +(45993, 3, 0, '|TInterface\\Icons\\spell_fire_twilightpyroblast.blp:20|t%s begins to cast |cFF00EEFF|Hspell:86408|h[Dazzling Destruction]|h|r!', 41, 0, 100, 0, 0, 0, 46714, 2, 'Theralion to Theralion Flight Target Stalker'), +(45993, 4, 0, '|TInterface\\Icons\\spell_holy_consumemagic.blp:20|t%s begins to cast |cFF00EEFF|Hspell:86622|h[Engulfing Magic]|h|r!', 41, 0, 100, 0, 0, 0, 46713, 2, 'Theralion'), +(45993, 5, 0, 'WRITHE IN AGONY!', 14, 0, 100, 0, 0, 20306, 47913, 2, 'Theralion to Valiona'), +(45993, 6, 0, 'Bare your soul to me, mortal.', 14, 0, 100, 0, 0, 20302, 47908, 2, 'Theralion to Valiona'), +(45993, 7, 0, 'I knew I should have stayed out of this...', 14, 0, 100, 0, 0, 20303, 47910, 2, 'Theralion to Valiona'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_valiona_blackout_dummy', +'spell_valiona_blackout', +'spell_valiona_devouring_flames', +'spell_valiona_twilight_meteorite_targeting', +'spell_theralion_dazzling_destruction_dummy', +'spell_theralion_dazzling_destruction', +'spell_theralion_dazzling_destruction_twilight_realm', +'spell_theralion_fabulous_flames_targeting', +'spell_theralion_engulfing_magic_targeting', +'spell_theralion_engulfing_magic', +'spell_valiona_strafe', +'spell_theralion_and_valiona_twilight_shift', +'spell_theralion_and_valiona_twilight_shift_phase', +'spell_theralion_and_valiona_shifting_reality', +'spell_valiona_summon_twilight_portal', +'spell_theralion_and_valiona_collapsing_twilight_portal', +'spell_theralion_and_valiona_twilight_shift_spellclick', +'spell_valiona_summon_twilight_sentry', +'spell_theralion_and_valiona_twilight_shift_phase_ally', +'spell_valiona_twilight_flame_twilight_realm', +'spell_valiona_twilight_flames', +'spell_valiona_devouring_flames_targeting'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(86673, 'spell_valiona_blackout_dummy'), +(86788, 'spell_valiona_blackout'), +(92876, 'spell_valiona_blackout'), +(92877, 'spell_valiona_blackout'), +(92878, 'spell_valiona_blackout'), +(86844, 'spell_valiona_devouring_flames'), +(92872, 'spell_valiona_devouring_flames'), +(92873, 'spell_valiona_devouring_flames'), +(92874, 'spell_valiona_devouring_flames'), +(88518, 'spell_valiona_twilight_meteorite_targeting'), +(86408, 'spell_theralion_dazzling_destruction_dummy'), +(86406, 'spell_theralion_dazzling_destruction'), +(92926, 'spell_theralion_dazzling_destruction'), +(92927, 'spell_theralion_dazzling_destruction'), +(92928, 'spell_theralion_dazzling_destruction'), +(93063, 'spell_theralion_dazzling_destruction_twilight_realm'), +(88436, 'spell_theralion_and_valiona_twilight_shift_phase'), +(92892, 'spell_theralion_and_valiona_twilight_shift_phase'), +(92893, 'spell_theralion_and_valiona_twilight_shift_phase'), +(92894, 'spell_theralion_and_valiona_twilight_shift_phase'), +(86202, 'spell_theralion_and_valiona_twilight_shift_phase'), +(92889, 'spell_theralion_and_valiona_twilight_shift_phase'), +(92890, 'spell_theralion_and_valiona_twilight_shift_phase'), +(92891, 'spell_theralion_and_valiona_twilight_shift_phase'), +(86495, 'spell_theralion_fabulous_flames_targeting'), +(86607, 'spell_theralion_engulfing_magic_targeting'), +(92912, 'spell_theralion_engulfing_magic_targeting'), +(92913, 'spell_theralion_engulfing_magic_targeting'), +(92914, 'spell_theralion_engulfing_magic_targeting'), +(86622, 'spell_theralion_engulfing_magic'), +(95639, 'spell_theralion_engulfing_magic'), +(95640, 'spell_theralion_engulfing_magic'), +(95641, 'spell_theralion_engulfing_magic'), +(93051, 'spell_theralion_and_valiona_twilight_shift'), +(93055, 'spell_theralion_and_valiona_shifting_reality'), +(86287, 'spell_valiona_summon_twilight_portal'), +(86291, 'spell_theralion_and_valiona_collapsing_twilight_portal'), +(86293, 'spell_theralion_and_valiona_twilight_shift_spellclick'), +(93029, 'spell_valiona_summon_twilight_sentry'), +(93064, 'spell_theralion_and_valiona_twilight_shift_phase_ally'), +(86136, 'spell_valiona_strafe'), +(86138, 'spell_valiona_strafe'), +(86139, 'spell_valiona_strafe'), +(86144, 'spell_valiona_strafe'), +(86228, 'spell_valiona_twilight_flame_twilight_realm'), +(92867, 'spell_valiona_twilight_flame_twilight_realm'), +(86199, 'spell_valiona_twilight_flames'), +(92868, 'spell_valiona_twilight_flames'), +(92869, 'spell_valiona_twilight_flames'), +(92870, 'spell_valiona_twilight_flames'), +(86832, 'spell_valiona_devouring_flames_targeting'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (90346, 90345, 86840, 86379, 86408, 86406, 92926, 92927, 92928, 86144, 86139, 86136, 86138, 88816, 88815) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 90346, 0, 0, 31, 0, 3, 45992, 0, 0, 0, '', 'Share Health - Target Valiona'), +(13, 1, 90345, 0, 0, 31, 0, 3, 45993, 0, 0, 0, '', 'Share Health - Target Theralion'), +(13, 1, 86840, 0, 0, 31, 0, 3, 46588, 0, 0, 0, '', 'Devouring Flames - Target Convective Flames'), +(13, 1, 86379, 0, 0, 31, 0, 3, 46364, 0, 0, 0, '', 'Dazzling Destruction - Target Theralion Flight Target Stalker'), +(13, 1, 86408, 0, 0, 31, 0, 3, 46374, 0, 0, 0, '', 'Dazzling Destruction - Target Dazzling Destruction Stalker'), +(13, 2, 86406, 0, 0, 31, 0, 3, 46374, 0, 0, 0, '', 'Dazzling Destruction - Target Dazzling Destruction Stalker'), +(13, 2, 92926, 0, 0, 31, 0, 3, 46374, 0, 0, 0, '', 'Dazzling Destruction - Target Dazzling Destruction Stalker'), +(13, 2, 92927, 0, 0, 31, 0, 3, 46374, 0, 0, 0, '', 'Dazzling Destruction - Target Dazzling Destruction Stalker'), +(13, 2, 92928, 0, 0, 31, 0, 3, 46374, 0, 0, 0, '', 'Dazzling Destruction - Target Dazzling Destruction Stalker'), +(13, 1, 86144, 0, 0, 31, 0, 3, 46147, 0, 0, 0, '', 'Strafe - Target Valiona Stalker'), +(13, 1, 86139, 0, 0, 31, 0, 3, 46147, 0, 0, 0, '', 'Trigger Top Strafe - Target Valiona Stalker'), +(13, 1, 86136, 0, 0, 31, 0, 3, 46147, 0, 0, 0, '', 'Trigger Bottom Strafe - Target Valiona Stalker'), +(13, 1, 86138, 0, 0, 31, 0, 3, 46147, 0, 0, 0, '', 'Trigger Middle Strafe - Target Valiona Stalker'), +(13, 1, 88816, 0, 0, 31, 0, 3, 45992, 0, 0, 0, '', 'Trigger Action - Target Valiona'), +(13, 1, 88815, 0, 0, 31, 0, 3, 45993, 0, 0, 0, '', 'Trigger Action - Target Theralion'); + +-- Spell Procs +DELETE FROM `spell_proc` WHERE `SpellId` IN (86622, 95639, 95640, 95641, 93053); +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`) VALUES +(86622, 0x00055554, 1 | 2, 2, 0, 32, 0), +(95639, 0x00055554, 1 | 2, 2, 0, 32, 0), +(95640, 0x00055554, 1 | 2, 2, 0, 32, 0), +(95641, 0x00055554, 1 | 2, 2, 0, 32, 0), +(93053, 0x00000004, 0, 0, 0, 0, 20000); + +-- Spellclick Entries +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`= 46301; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(46301, 86293, 3, 0), +(46301, 86296, 0, 0); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (45992, 49897, 49898, 49899); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(45992, 396, 11500), +(49897, 396, 13500), +(49898, 396, 11500), +(49899, 396, 13500); + +-- Loot +DELETE FROM `reference_loot_template` WHERE `Entry` IN (459920, 498980); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Valiona +-- Normal Mode +(459920, 59512, 0, 1, 1, 1, 1), -- Valiona's Medallion +(459920, 59515, 0, 1, 1, 1, 1), -- Vial of Stolen Memories +(459920, 59517, 0, 1, 1, 1, 1), -- Necklace of Strife +(459920, 59518, 0, 1, 1, 1, 1), -- Ring of Rivalry +(459920, 63531, 0, 1, 1, 1, 1), -- Daybreaker Helm +(459920, 63533, 0, 1, 1, 1, 1), -- Fang of Twilight +(459920, 59516, 0, 1, 1, 1, 1), -- Drape of the Twins +(459920, 59519, 0, 1, 1, 1, 1), -- Theralion's Mirror +(459920, 63532, 0, 1, 1, 1, 1), -- Dragonheart Piercer +(459920, 63534, 0, 1, 1, 1, 1), -- Helm of Eldritch Authority +(459920, 63535, 0, 1, 1, 1, 1), -- Waistguard of Hatred +(459920, 63536, 0, 1, 1, 1, 1), -- Blade of the Watching Hour +-- Heroic Mode +(498980, 65112, 0, 1, 1, 1, 1), -- Valiona's Medallion +(498980, 65109, 0, 1, 1, 1, 1), -- Vial of Stolen Memories +(498980, 65107, 0, 1, 1, 1, 1), -- Necklace of Strife +(498980, 65106, 0, 1, 1, 1, 1), -- Ring of Rivalry +(498980, 65096, 0, 1, 1, 1, 1), -- Daybreaker Helm +(498980, 65094, 0, 1, 1, 1, 1), -- Fang of Twilight +(498980, 65108, 0, 1, 1, 1, 1), -- Drape of the Twins +(498980, 65105, 0, 1, 1, 1, 1), -- Theralion's Mirror +(498980, 65095, 0, 1, 1, 1, 1), -- Dragonheart Piercer +(498980, 65093, 0, 1, 1, 1, 1), -- Helm of Eldritch Authority +(498980, 65092, 0, 1, 1, 1, 1), -- Waistguard of Hatred +(498980, 65091, 0, 1, 1, 1, 1); -- Blade of the Watching Hour + +-- Valiona +DELETE FROM `creature_loot_template` WHERE `entry` IN (45992, 49897, 49898, 49899); +UPDATE `creature_template` SET `lootid`= `entry` WHERE `entry` IN (45992, 49897, 49898, 49899); +-- Theralion +DELETE FROM `creature_loot_template` WHERE `entry` IN (45993, 49903, 49904, 49905); +UPDATE `creature_template` SET `lootid`= `entry` WHERE `entry` IN (45993, 49903, 49904, 49905); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +-- Valiona +-- 10 Player Normal +(45992, 459920, 100, 1, 459920, 1), +-- 25 Player Normal +(49897, 459920, 100, 1, 459920, 3), +-- 10 Player Heroic +(49898, 498980, 100, 1, 498980, 1), +-- 25 Player Heroic +(49899, 498980, 100, 1, 498980, 3), +-- Theralion +-- 10 Player Normal +(45993, 459920, 100, 1, 459920, 1), +-- 25 Player Normal +(49903, 459920, 100, 1, 459920, 3), +-- 10 Player Heroic +(49904, 498980, 100, 1, 498980, 1), +-- 25 Player Heroic +(49905, 498980, 100, 1, 498980, 3); + +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 48097; + +DELETE FROM `conditions` WHERE `SourceEntry`= 85017 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 85017, 0, 0, 31, 0, 3, 48097, 0, 0, 0, '', 'Slipstream - Target Wind Tunnel Landing Zone'), +(13, 1, 85017, 0, 1, 31, 0, 3, 45504, 0, 0, 0, '', 'Slipstream - Target Slipstream Landing Zone'); +UPDATE `instance_template` SET `script`= 'instance_throne_of_the_four_winds' WHERE `map`= 754; + +-- Areatrigger Scripts +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6290, 6280, 6281, 6274, 6275, 6276, 6277, 6278, 6279); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6290, 'at_totfw_jet_stream'), +(6280, 'at_totfw_jet_stream'), +(6274, 'at_totfw_jet_stream'), +(6275, 'at_totfw_jet_stream'), +(6276, 'at_totfw_jet_stream'), +(6277, 'at_totfw_jet_stream'), +(6278, 'at_totfw_jet_stream'), +(6279, 'at_totfw_jet_stream'), +(6281, 'at_totfw_catch_fall'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (84610, 85275) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 84610, 0, 0, 31, 0, 3, 21252, 340392, 0, 0, '', 'Jet Stream - Target World Trigger'), +(13, 1, 84610, 0, 1, 31, 0, 3, 47924, 0, 0, 0, '', 'Jet Stream - Target East Wind'), +(13, 1, 84610, 0, 2, 31, 0, 3, 47926, 0, 0, 0, '', 'Jet Stream - Target North Wind'), +(13, 1, 84610, 0, 3, 31, 0, 3, 47925, 0, 0, 0, '', 'Jet Stream - Target East Wind'), +(13, 1, 85275, 0, 0, 31, 0, 3, 21252, 340392, 0, 0, '', 'Catch Fall - Target World Trigger'), +(13, 1, 85275, 0, 1, 31, 0, 3, 47924, 0, 0, 0, '', 'Catch Fall - Target East Wind'), +(13, 1, 85275, 0, 2, 31, 0, 3, 47926, 0, 0, 0, '', 'Catch Fall - Target North Wind'), +(13, 1, 85275, 0, 3, 31, 0, 3, 47925, 0, 0, 0, '', 'Catch Fall - Target East Wind'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_totfw_jet_stream', +'spell_totfw_catch_fall_summon'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(84576, 'spell_totfw_jet_stream'), +(85269, 'spell_totfw_catch_fall_summon'); + +-- Fall Catcher +UPDATE `creature_template` SET `InhabitType`= 4, `VehicleId`= 1134, `unit_flags`= 512, `flags_extra`= 128, `ScriptName`= 'npc_totfw_fall_catcher' WHERE `entry`= 45710; +-- Template Updates +UPDATE `creature_template` SET `DamageModifier`= 80, `mingold`= 19000, `maxgold`= 21000 WHERE `entry`= 39425; +UPDATE `creature_template` SET `DamageModifier`= 80, `mingold`= 19000, `maxgold`= 21000 WHERE `entry`= 49262; + +-- Pit Viper snakes respawn in 30 seconds. +UPDATE `creature` SET `spawntimesecs`= 30 WHERE `map`= 644 AND `id`= 39444; + +-- broadcast text ids for Anhuur +UPDATE `creature_text` SET `BroadcastTextId`= 40968 WHERE `CreatureID`= 39425 AND `GroupID` = 2; +UPDATE `creature_text` SET `BroadcastTextId`= 50665 WHERE `CreatureID`= 39425 AND `GroupID` = 3; + +-- script names ("spell_anhuur_activate_beacons" rewritten into "spell_anhuur_handle_beacons") +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_anhuur_reverberating_hymn', +'spell_anhuur_activate_beacons', +'spell_anhuur_handle_beacons'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75322, 'spell_anhuur_reverberating_hymn'), +(76599, 'spell_anhuur_handle_beacons'), +(76600, 'spell_anhuur_handle_beacons'); + +-- spell condition +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (76599, 76600); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 76599, 0, 0, 31, 0, 5, 207218, 0, 0, 0, 0, '', 'Activate Beacons targets Beacon of Light'), +(13, 1, 76599, 0, 1, 31, 0, 5, 207219, 0, 0, 0, 0, '', 'Activate Beacons targets Beacon of Light'), +(13, 1, 76599, 0, 2, 31, 0, 5, 203133, 0, 0, 0, 0, '', 'Activate Beacons targets Beacon of Light'), +(13, 1, 76599, 0, 3, 31, 0, 5, 203136, 0, 0, 0, 0, '', 'Activate Beacons targets Beacon of Light'), +(13, 1, 76600, 0, 0, 31, 0, 5, 207218, 0, 0, 0, 0, '', 'Deactivate Beacons targets Beacon of Light'), +(13, 1, 76600, 0, 1, 31, 0, 5, 207219, 0, 0, 0, 0, '', 'Deactivate Beacons targets Beacon of Light'), +(13, 1, 76600, 0, 2, 31, 0, 5, 203133, 0, 0, 0, 0, '', 'Deactivate Beacons targets Beacon of Light'), +(13, 1, 76600, 0, 3, 31, 0, 5, 203136, 0, 0, 0, 0, '', 'Deactivate Beacons targets Beacon of Light'); + +UPDATE `gameobject` SET `spawnMask`= 1 WHERE `guid` IN (220773, 220775); +UPDATE `gameobject` SET `spawnMask`= 2 WHERE `guid` IN (200969, 200968); + +-- Creature Pit Viper 39444 SAI +SET @ENTRY := 39444; +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, 6, 0, 100, 0, 0, 0, 0, 0, 116, 6000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On death - Sets corpse delay of Self to 6000ms // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 6000, 7000, 11, 74538, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 5000 ms (and later repeats every 6000 and 7000 ms) - Self: Cast spell 74538 on Victim // "); + +UPDATE `creature_template` SET `DamageModifier`= 5, `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16 WHERE `entry`= 48891; + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (39425, 49262); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(39425, 395, 3500), +(49262, 395, 7000); + +-- Boss: Anraphet -- +-- respawn time of wardens set to one day +UPDATE `creature` SET `spawntimesecs` = 86400 WHERE `map` = 644 AND `id` in (39800, 39801, 39802, 39803); + +UPDATE `creature_template` SET `DamageModifier`= 80, `mingold`= 19000, `maxgold`= 21000 WHERE `entry`= 39788; +UPDATE `creature_template` SET `DamageModifier`= 80, `mingold`= 19000, `maxgold`= 21000 WHERE `entry`= 48902; + +-- spell positions for wardens +DELETE FROM `spell_target_position` WHERE `ID` IN (82329, 82330, 82331, 82332); +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `VerifiedBuild`) VALUES +(82329, 0, 644, -329.727, 481.142, 89.2101, -1), -- SW +(82330, 0, 644, -329.962, 246.302, 89.2102, -1), -- SE +(82331, 0, 644, -223.26, 488.222, 89.2101, -1), -- NW +(82332, 0, 644, -223.049, 243.161, 89.2102, -1); -- NE + +-- Water Warden gets Aqua Bomb aura on aggro. +DELETE FROM `creature_template_addon` WHERE `entry` = 39802; + +-- Flame Warden spell script for Lava Eruption dummy +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_hoo_platform_teleport', +'spell_flame_warden_lava_eruption', +'spell_whirling_winds_movement', +'spell_anraphet_destruction_protocol', +'spell_anraphet_omega_stance', +'spell_anraphet_omega_stance_summon', +'spell_anraphet_omega_stance_spider_effect'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(82329, 'spell_hoo_platform_teleport'), +(82330, 'spell_hoo_platform_teleport'), +(82331, 'spell_hoo_platform_teleport'), +(82332, 'spell_hoo_platform_teleport'), +(77273, 'spell_flame_warden_lava_eruption'), +(77333, 'spell_whirling_winds_movement'), +(77437, 'spell_anraphet_destruction_protocol'), +(75622, 'spell_anraphet_omega_stance'), +(91208, 'spell_anraphet_omega_stance'), +(77106, 'spell_anraphet_omega_stance_summon'), +(91176, 'spell_anraphet_omega_stance_summon'), +(77127, 'spell_anraphet_omega_stance_spider_effect'); + +-- Vault of Lights achievement check spell not in dbc +DELETE FROM `spell_dbc` WHERE `Id` = 94067; +INSERT INTO `spell_dbc` (`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `SpellInterruptsId`, `Comment`) VALUES +(94067, 384, 0, 5, 256, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Vault of Lights achievement credit'); + +DELETE FROM `spelleffect_dbc` WHERE `Id` = 155917; +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectValueMultiplier`, `EffectApplyAuraName`, `EffectAmplitude`, `EffectBasePoints`, `EffectBonusMultiplier`, `EffectDamageMultiplier`, `EffectChainTarget`, `EffectDieSides`, `EffectItemType`, `EffectMechanic`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectRealPointsPerLevel`, `EffectSpellClassMaskA`, `EffectSpellClassMaskB`, `EffectSpellClassMaskC`, `EffectTriggerSpell`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(155917, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 94067, 0, ''); + +-- area trigger for Brann's emote +DELETE FROM `areatrigger_scripts` WHERE `entry` = 5811; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(5811, 'at_hoo_brann_idle_emote'); + +-- speed corrections for Brann +UPDATE `creature_template` SET `speed_walk` = 2.5/2.5, `speed_run` = 7/2.5 WHERE `entry` = 39908; + +-- delete menu condition (that is not even working) +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 14 AND `SourceGroup` = 12512 AND `SourceEntry` = 17600; + +DELETE FROM `creature_template_addon` WHERE `entry`= 41144; +INSERT INTO `creature_template_addon` (`entry`, `Auras`) VALUES +(41144, '91205'); + +-- broadcast text ids for Brann +UPDATE `creature_text` SET `BroadcastTextId` = 40231 WHERE `CreatureID` = 39908 AND `GroupID` = 0; +UPDATE `creature_text` SET `BroadcastTextId` = 40232 WHERE `CreatureID` = 39908 AND `GroupID` = 1; +UPDATE `creature_text` SET `BroadcastTextId` = 40233 WHERE `CreatureID` = 39908 AND `GroupID` = 2; +UPDATE `creature_text` SET `BroadcastTextId` = 40234 WHERE `CreatureID` = 39908 AND `GroupID` = 3; +UPDATE `creature_text` SET `BroadcastTextId` = 40240 WHERE `CreatureID` = 39908 AND `GroupID` = 4; +UPDATE `creature_text` SET `BroadcastTextId` = 40235 WHERE `CreatureID` = 39908 AND `GroupID` = 5; +UPDATE `creature_text` SET `BroadcastTextId` = 40236 WHERE `CreatureID` = 39908 AND `GroupID` = 6; +UPDATE `creature_text` SET `BroadcastTextId` = 40270 WHERE `CreatureID` = 39908 AND `GroupID` = 7; +UPDATE `creature_text` SET `BroadcastTextId` = 40271 WHERE `CreatureID` = 39908 AND `GroupID` = 8; +UPDATE `creature_text` SET `BroadcastTextId` = 40272 WHERE `CreatureID` = 39908 AND `GroupID` = 9; +UPDATE `creature_text` SET `BroadcastTextId` = 40273 WHERE `CreatureID` = 39908 AND `GroupID` = 10; +UPDATE `creature_text` SET `BroadcastTextId` = 49687 WHERE `CreatureID` = 39908 AND `GroupID` = 11; +UPDATE `creature_text` SET `BroadcastTextId` = 49688 WHERE `CreatureID` = 39908 AND `GroupID` = 12; + +-- idle text lines of Brann +DELETE FROM `creature_text` WHERE `CreatureID` = 39908 AND `GroupID` IN (13, 14); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(39908, 13, 0, 'Blasted titans... Why do they use a different set of mechanisms at each of their installations?', 12, 0, 100, 432, 0, 0, 39940, 0, 'Brann Bronzebeard - idle'), +(39908, 14, 0, 'This symbol, I think I''ve seen this before...', 12, 0, 100, 432, 0, 0, 40104, 0, 'Brann Bronzebeard - idle'); + +-- missing npc text of Brann +DELETE FROM `npc_text` WHERE `ID` IN (15794); +INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextID0`, `BroadcastTextID1`, `BroadcastTextID2`, `BroadcastTextID3`, `BroadcastTextID4`, `BroadcastTextID5`, `BroadcastTextID6`, `BroadcastTextID7`, `VerifiedBuild`) VALUES +(15794, 1, 0, 0, 0, 0, 0, 0, 0, 40129, 0, 0, 0, 0, 0, 0, 0, -1); + +-- gossip menus of Brann +DELETE FROM `gossip_menu` WHERE (`MenuID` = 11339 AND `TextID` = 15794) OR (`MenuID` = 11348 AND `TextID` = 15815) OR (`MenuID` = 12512 AND `TextID` = 17600); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(11339, 15794, 0), +(11348, 15815, 0), +(12512, 17600, 0); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (39788, 48902); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(39788, 395, 3500), +(48902, 395, 7000); +-- Boss: Earthrager Ptah +UPDATE `creature_template` SET `DamageModifier`= 80, `mingold`= 19000, `maxgold`= 21000 WHERE `entry`= 39428; +UPDATE `creature_template` SET `DamageModifier`= 80, `mingold`= 19000, `maxgold`= 21000 WHERE `entry`= 48714; +UPDATE `creature_template` SET `vehicleId`= 741, `unit_flags`= 33554496, `ScriptName`= 'npc_ptah_tumultuous_earthstorm' WHERE `entry`= 40406; +UPDATE `creature_template` SET `unit_flags`= 33554496, `flags_extra`= 128 WHERE `entry`= 40503; + +UPDATE `creature_template` SET `ScriptName` = 'npc_ptah_beetle_stalker' WHERE `entry` = 40459; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_earthrager_ptah_sandstorm', +'spell_earthrager_ptah_consume'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75491, 'spell_earthrager_ptah_sandstorm'), +(75378, 'spell_earthrager_ptah_consume'); + +-- text +DELETE FROM `creature_text` WHERE `CreatureID` = 39428; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(39428, 0, 0, 'Ptah... is... no more...', 14, 0, 100, 0, 0, 18905, 44780, 0, 'Earthrager Ptah - SAY_DEATH'), +(39428, 1, 0, 'More carrion for the swarm...', 14, 0, 100, 0, 0, 18906, 44778, 0, 'Earthrager Ptah - SAY_AGGRO'), +(39428, 2, 0, 'Dust to dust.', 14, 0, 100, 0, 0, 18907, 44779, 0, 'Earthrager Ptah - SAY_PLAYER_KILL'), +(39428, 3, 0, 'The earth TREMBLES!', 14, 0, 100, 0, 0, 18908, 44781, 0, 'Earthrager Ptah - SAY_SPECIAL'); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (39428, 48714); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(39428, 395, 3500), +(48714, 395, 7000); + +-- Spelleffect entries +DELETE FROM `spelleffect_dbc` WHERE `Id` IN (155918, 155919); +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(155918, 28, 40406, 64, 12, 12, 18, 0, 75517, 0, 'Tumultuous Earthstorm'), +(155919, 28, 40503, 64, 12, 12, 53, 0, 75550, 0, 'Summon Quicksand'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (89396, 75378); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 2, 89396, 0, 0, 31, 0, 3, 39443, 0, 0, 0, 0, '', 'Quicksand - Target Camel'), +(13, 2, 75378, 0, 0, 31, 0, 3, 40458, 0, 0, 0, 0, '', 'Consume - Target Jeweled Scarab'); + +-- Ptah's Dustbone Horror SAI +UPDATE `creature_template` SET `AIName` = "SmartAI", `difficulty_entry_1`= 49296, `DamageModifier`= 10 WHERE `entry` = 40450; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 40450 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 +(40450, 0, 0, 1, 25, 0, 100, 0, 0, 0, 0, 0, 91, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dustbone Horror - On Reset - Remove byte for submerged'), +(40450, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 11, 75764, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dustbone Horror - Linked - Cast \'Emerge\' on self'), +(40450, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 19, 33554432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dustbone Horror - Linked - Remove not-selectable flag'), +(40450, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 18, 100, 0, 0, 0, 0, 0, 0, 'Dustbone Horror - Linked - Attack Random Player'), +(40450, 0, 4, 0, 0, 0, 100, 0, 1500, 1500, 10000, 10000, 11, 75453, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Dustbone Horror - In Combat - Cast \'Smash\' on victim'); +UPDATE `creature_template` SET `DamageModifier`= 10, `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `unit_flags`= 64 WHERE `entry` = 49296; + +-- Ptah's Jeweled Scarab SAI +UPDATE `creature_template` SET `AIName` = "SmartAI", `difficulty_entry_1`= 49297, `DamageModifier`= 5 WHERE `entry`= 40458; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 40458 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 +(40458, 0, 0, 1, 25, 0, 100, 0, 0, 0, 0, 0, 91, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jeweled Scarab - On Reset - Remove byte for submerged'), +(40458, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 11, 75764, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jeweled Scarab - Linked - Cast \'Emerge\' on self'), +(40458, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 19, 33554432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jeweled Scarab - Linked - Remove not-selectable flag'), +(40458, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 18, 100, 0, 0, 0, 0, 0, 0, 'Jeweled Scarab - Linked - Attack Random Player'); +UPDATE `creature_template` SET `DamageModifier`= 5, `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16 WHERE `entry` = 49297; +UPDATE `gameobject_template` SET `ScriptName` = 'go_hoo_the_makers_lift_controller' WHERE `entry` = 207669; +-- Steady Shot +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.021 WHERE `entry`= 56641; +-- Black Arrow +UPDATE `spell_bonus_data` SET `ap_dot_bonus`= 0.133 WHERE `entry`= 3674; +-- Explosion Trap +UPDATE `spell_bonus_data` SET `ap_bonus`= 0, `ap_dot_bonus`= 0.0546 WHERE `entry`= 13812; +-- Serpent Sting +UPDATE `spell_bonus_data` SET `ap_dot_bonus`= 0.08 WHERE `entry`= 1978; +-- Blood Boil +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.08 WHERE `entry`= 48721; +-- Death and Decay +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.064 WHERE `entry`= 52212; +-- Death Coil +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.23 WHERE `entry` IN (47632, 47633); +-- Frostfever and Blood Plague +UPDATE `spell_bonus_data` SET `ap_dot_bonus`= 0.055 WHERE `entry` IN (55095, 55078); +-- Howling Blast +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.44 WHERE `entry`= 49184; +-- Lacerate (Bear Form) +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.0552, `ap_dot_bonus`= 0.00369 WHERE `entry`= 33745; +-- Rake (Cat Form) +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.147, `ap_dot_bonus`= 0.147, `comments`= 'Druid Rake (Cat Form)' WHERE `entry`= 1822; +-- Swipe (Bear Form) +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.123 WHERE `entry`= 779; +-- Judgement of Corruption +UPDATE `spell_bonus_data` SET `direct_bonus`= 0.22, `ap_bonus`= 0.14 WHERE `entry`= 53733; +-- Judgement of Truth +UPDATE `spell_bonus_data` SET `direct_bonus`= 0.223, `ap_bonus`= 0.142 WHERE `entry`= 53733; +-- Seal of Justice +UPDATE `spell_bonus_data` SET `direct_bonus`= 0.25, `ap_bonus`= 0.16 WHERE `entry`= 20170; + +DELETE FROM `spell_bonus_data` WHERE `entry` IN (77767, 50842, 47476, 45462, 45902, 49143, 19434, 82928, 55050); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(77767, 0, 0, 0.017, 0, 'Hunter - Cobra Shot'), +(19434, 0, 0, 0.724, 0, 'Hunter - Aimed Shot'), +(82928, 0, 0, 0.724, 0, 'Hunter - Aimed Shot!'), +(45462, 0, 0, 0, 0, 'Death Knight - Plague Strike'), +(45902, 0, 0, 0, 0, 'Death Knight - Blood Strike'), +(49143, 0, 0, 0, 0, 'Death Knight - Frost Strike'), +(55050, 0, 0, 0, 0, 'Death Knight - Heart Strike'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_howling_blast'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(49184, 'spell_dk_howling_blast'); +UPDATE `spell_proc` SET `Chance`= 100, `SpellFamilyMask0`= 0, `SpellFamilyMask1` = 0x00000004 | 0x00020000 WHERE `SpellId`= 51124; +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_chill_of_the_grave'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-49149, 'spell_dk_chill_of_the_grave'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_threat_of_thassarian'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-65661, 'spell_dk_threat_of_thassarian'); +UPDATE `creature_template` SET `speed_run`= 0.4285, `DamageModifier`= 20 WHERE `entry`= 48906; +UPDATE `creature_template` SET `DamageModifier`= 20 WHERE `entry` IN (43927, 48953); +UPDATE `creature_template` SET `DamageModifier`= 40 WHERE `entry` IN (43612, 48951); +DELETE FROM `creature_formations` WHERE `leaderGUID` IN (285206, 285203, 339018, 339021, 339012, 304188, 307201, 339541, 339549, 339553, 339565, 339599, 339590, 339614, 339632, 339635); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`, `dist`, `angle`) VALUES +(285206, 285206, 3, 0, 0), +(285206, 286161, 3, 0, 0), +(285206, 285209, 3, 0, 0), +(285206, 285630, 3, 0, 0), +(285206, 285239, 3, 0, 0), +-- +(285203, 285203, 3, 0, 0), +(285203, 285205, 3, 0, 0), +(285203, 339027, 3, 0, 0), +(285203, 339030, 3, 0, 0), +(285203, 339029, 3, 0, 0), +(285203, 339028, 3, 0, 0), +-- +(339018, 339018, 3, 0, 0), +(339018, 339015, 3, 0, 0), +(339018, 339011, 3, 0, 0), +(339018, 339007, 3, 0, 0), +(339018, 339008, 3, 0, 0), +-- +(339021, 339021, 3, 0, 0), +(339021, 339019, 3, 0, 0), +(339021, 339020, 3, 0, 0), +(339021, 339013, 3, 0, 0), +-- +(339012, 339012, 3, 0, 0), +(339012, 339009, 3, 0, 0), +(339012, 314559, 3, 0, 0), +(339012, 277657, 3, 0, 0), +(339012, 339006, 3, 0, 0), +(339012, 339010, 3, 0, 0), +(339012, 339014, 3, 0, 0), +-- +(304188, 304188, 3, 0, 0), +(304188, 304267, 3, 0, 0), +(304188, 306828, 3, 0, 0), +(304188, 304174, 3, 0, 0), +-- +(307201, 307201, 3, 0, 0), +(307201, 313319, 3, 0, 0), +(307201, 313318, 3, 0, 0), +(307201, 313957, 3, 0, 0), +-- +(339541, 339541, 3, 0, 0), +(339541, 339540, 3, 0, 0), +(339541, 266659, 3, 0, 0), +(339541, 339542, 3, 0, 0), +-- +(339549, 339549, 3, 0, 0), +(339549, 339550, 3, 0, 0), +(339549, 339556, 3, 0, 0), +(339549, 339555, 3, 0, 0), +-- +(339553, 339553, 3, 0, 0), +(339553, 339560, 3, 0, 0), +(339553, 339559, 3, 0, 0), +(339553, 339564, 3, 0, 0), +(339553, 339554, 3, 0, 0), +-- +(339565, 339565, 3, 0, 0), +(339565, 339566, 3, 0, 0), +-- +(339599, 339599, 3, 0, 0), +(339599, 339605, 3, 0, 0), +(339599, 339603, 3, 0, 0), +(339599, 339608, 3, 0, 0), +(339599, 339604, 3, 0, 0), +-- +(339590, 339590, 3, 0, 0), +(339590, 339591, 3, 0, 0), +-- +(339614, 339614, 3, 0, 0), +(339614, 339613, 3, 0, 0), +(339614, 339615, 3, 0, 0), +(339614, 339612, 3, 0, 0), +-- +(339632, 339632, 3, 0, 0), +(339632, 339633, 3, 0, 0), +(339632, 339629, 3, 0, 0), +-- +(339635, 339635, 3, 0, 0), +(339635, 339616, 3, 0, 0), +(339635, 339617, 3, 0, 0), +(339635, 339618, 3, 0, 0); +ALTER TABLE `creature_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `disenchant_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `fishing_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `gameobject_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `item_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `mail_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `milling_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `pickpocketing_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `prospecting_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `reference_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `skinning_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +ALTER TABLE `spell_loot_template` ADD COLUMN `IsCurrency` TINYINT(1) DEFAULT 0 NOT NULL AFTER `QuestRequired`; +DELETE FROM `gameobject_loot_template` WHERE `Entry` IN (36037, 28434, 36055, 35827, 36019, 36056, 35546, 36054, 35733); +INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Chance`, `MinCount`, `MaxCount`, `IsCurrency`) VALUES +(36037, 64394, 4, 1, 3, 0), -- Draenei Tomes +(36037, 398, 100, 4, 9, 1), -- Draenei Archaeology Fragment +(28434, 52843, 4, 1, 3, 0), -- Dwarf Rune Stone +(28434, 384, 100, 4, 9, 1), -- Dwarf Archaeology Fragment +(36055, 64396, 4, 1, 3, 0), -- Nerubian Obelisk +(36055, 400, 100, 4, 9, 1), -- Nerubian Archaeology Fragment +(35827, 63127, 4, 1, 3, 0), -- Highborne Scroll +(35827, 394, 100, 4, 9, 1), -- Night Elf Archaeology Fragment +(36019, 64392, 4, 1, 3, 0), -- Orc Blood Text +(36019, 397, 100, 4, 9, 1), -- Orc Archaeology Fragment +(36056, 64397, 4, 1, 3, 0), -- Tolvir Hieroglyphic +(36056, 401, 100, 4, 9, 1), -- Tolvir Archaeology Fragment +(35546, 63128, 4, 1, 3, 0), -- Troll Tablet +(35546, 385, 100, 4, 9, 1), -- Troll Archaeology Fragment +(36054, 36054, 4, 1, 3, 0), -- Vrykul Rune Stick +(36054, 399, 100, 4, 9, 1), -- Vrykul Archaeology Fragment +(35733, 393, 100, 4, 9, 1); -- Fossil Archaeology Fragment +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_reaping'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(56835, 'spell_dk_reaping'); + +DELETE FROM `spell_proc` WHERE `spellId`= 56835; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(56835, 15, 0x00400000, 0x00010000, 0x00000200, 0x00011010, 0x1, 0x1, 0x0, 0x0); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_blood_rites'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(50034, 'spell_dk_blood_rites'); + +DELETE FROM `spell_proc` WHERE `spellId`= 50034; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(50034, 15, 0x00000010, 0x00020000, 0x0, 0x00015550, 0x1, 0x1, 0x0, 0x0); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dk_crimson_scourge'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-81135, 'spell_dk_crimson_scourge'); +-- Template Updates +-- Brazie the Botanist Vehicle +UPDATE `creature_template` SET `VehicleId`= 1382, `InhabitType`= 9, `unit_class`= 4, `unit_flags2`= 0, `ScriptName`= 'npc_brazie_the_bonatist_vehicle' WHERE `entry`= 49176; +-- Fertilize-o-tron 2000 +UPDATE `creature_template` SET `ScriptName`= 'npc_brazie_fertilitize_o_tron_2000', `minlevel`= 20, `maxlevel`= 20, `unit_flags`= 256, `unit_flags2`= 1140852736, `faction`= 2263 WHERE `entry`= 49192; +-- Target npc's +UPDATE `creature_template` SET `ScriptName`= 'npc_brazie_vehicle_notifier' WHERE `entry` IN (49385, 49210, 51098, 49194, 49604); +-- Empty Spot +UPDATE `creature_template` SET `ScriptName`= 'npc_brazie_spot', `BaseAttackTime`= 500, `InhabitType`= 9, `minlevel`= 20, `maxlevel`= 20, `faction`= 2263, `RegenHealth`= 0, `unit_flags2`= 1107361792, `unit_flags`= 256 WHERE `entry`= 49190; +-- Spitter +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags`= 256, `unit_flags2`= 1140916224, `RegenHealth`= 0, `BaseAttackTime`= 500, `faction`= 2263 WHERE `entry`= 49200; +-- Zombie +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags`= 256, `unit_flags2`= 104859648, `speed_walk`= 0.4, `speed_run`= 0.2857, `faction`= 2102, `RegenHealth`= 0, `DamageModifier`= 3, `BaseVariance`= 0.01, `ScriptName`= 'npc_brazie_zombie' WHERE `entry`= 49209; +-- Spitter Target +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags2`= 1140852736, `unit_flags`= 768 WHERE `entry`= 49385; +-- Goal Marker +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags2`= 1073743872, `unit_flags`= 256 WHERE `entry`= 49210; +-- Solar Power +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags2`= 1140852736, `unit_flags`= 768 WHERE `entry`= 49194; +-- Place it here +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags2`= 1140852736, `unit_flags`= 776 WHERE `entry`= 51098; +-- Sunflower +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags`= 256, `unit_flags2`= 1174470656, `RegenHealth`= 0, `faction`= 2263 WHERE `entry`= 49193; +-- Ghoul +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags`= 256, `unit_flags2`= 104859648, `speed_walk`= 0.8, `speed_run`= 0.2857, `faction`= 2102, `RegenHealth`= 0, `DamageModifier`= 6, `BaseVariance`= 0.01, `ScriptName`= 'npc_brazie_zombie' WHERE `entry`= 49232; +-- Freezya Sack +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags2`= 1140852736, `unit_flags`= 768, `BaseAttackTime`= 500 WHERE `entry`= 49604; +-- Freezya +UPDATE `creature_template` SET `minlevel`= 20, `maxlevel`= 20, `unit_flags`= 256, `unit_flags2`= 1140916224, `RegenHealth`= 0, `faction`= 2263, `BaseAttackTime`= 500 WHERE `entry`= 49618; + + +-- Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (51098, 49194, 49604); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(51098, '94025'), +(49194, '91707'), +(49604, '92373 92406'); + + +-- Creature Brazie the Botanist 49687 SAI +SET @ENTRY := 49687; +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, 19, 0, 100, 0, 0, 0, 0, 0, 85, 91683, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player accepts any quest - Invoker: Cast spell 91683 to Action invoker // "); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (91649, 92276, 91646, 94032, 92435, 92440, 92084) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 2, 91649, 0, 0, 31, 0, 3, 49190, 0, 0, 0, '', 'Plant Spitter - Target Empty Spot'), +(13, 2, 91646, 0, 0, 31, 0, 3, 49190, 0, 0, 0, '', 'Plant Sunflower - Target Empty Spot'), +(13, 2, 92440, 0, 0, 31, 0, 3, 49190, 0, 0, 0, '', 'Plant Freezya - Target Empty Spot'), +(13, 2, 92276, 0, 0, 31, 0, 3, 49176, 0, 0, 0, '', 'Spitter Highlight - Target Brazie the Botanist'), +(13, 2, 94032, 0, 0, 31, 0, 3, 49176, 0, 0, 0, '', 'Sunflower Highlight - Target Brazie the Botanist'), +(13, 1, 92435, 0, 0, 31, 0, 3, 49176, 0, 0, 0, '', 'Create Random Freezya Sack - Target Brazie the Botanist'), +(13, 1, 92084, 0, 0, 31, 0, 3, 49209, 0, 0, 0, '', 'Plague Gas - Target Zombie'), +(13, 1, 92084, 0, 1, 31, 0, 3, 49232, 0, 0, 0, '', 'Plague Gas - Target Ghoul'), +(13, 2, 92084, 0, 0, 31, 0, 3, 49193, 0, 0, 0, '', 'Plague Gas - Target Sunflower'), +(13, 2, 92084, 0, 1, 31, 0, 3, 49200, 0, 0, 0, '', 'Plague Gas - Target Spitter'), +(13, 2, 92084, 0, 2, 31, 0, 3, 49618, 0, 0, 0, '', 'Plague Gas - Target Freezya'); + +-- Serverside spells +DELETE FROM `spell_dbc` WHERE `Id` IN (91676, 91741); +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(91676, 0x29800100, 0x00000420, 0x10484005, 0x10130200, 0x00800080, 0x00060008, 0x00001200, 0, 0x00000008, 0, 0, 1, 30, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Create Empty Spot'), +(91741, 0x29800100, 0x00000420, 0x10484005, 0x10130200, 0x00800080, 0x00060008, 0x00001200, 0, 0x00000008, 0, 0, 1, 30, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Create Random Sun Power'); + +DELETE FROM `spelleffect_dbc` WHERE `Id` IN (160081, 160082); +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectBasePoints`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(160081, 28, 0, 49190, 3077, 0, 0, 87, 0, 91676, 0, 'Create Empty Spot'), +(160082, 28, 0, 49194, 3077, 0, 0, 87, 0, 91741, 0, 'Create Random Sun Power'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_brazie_summon_plant', +'spell_brazie_highlight', +'spell_brazie_spit', +'spell_brazie_create_random_seed_sack'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(91649, 'spell_brazie_summon_plant'), +(91646, 'spell_brazie_summon_plant'), +(92440, 'spell_brazie_summon_plant'), +(92276, 'spell_brazie_highlight'), +(94032, 'spell_brazie_highlight'), +(91748, 'spell_brazie_spit'), +(92441, 'spell_brazie_spit'), +(92435, 'spell_brazie_create_random_seed_sack'); + +-- Spellclicks +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (49194, 49604); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(49194, 91687, 1, 0), +(49604, 92434, 1, 0); + +UPDATE `creature_model_info` SET `CombatReach`= 200 WHERE `DisplayId`= 36401; +UPDATE `creature_model_info` SET `CombatReach`= 3, `BoundingRadius`= 1.05 WHERE `DisplayId` IN (36407, 36888, 36890, 36557, 36891, 36889); +UPDATE `creature_model_info` SET `CombatReach`= 1.33, `BoundingRadius`= 0.4655 WHERE `DisplayId`= 37155; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 49176; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(49176, 0, 0, 'You gained Freeza seeds!', 42, 0, 100, 0, 0, 0, 49686, 'Brazie the Botanist to Player'), +(49176, 1, 0, 'You gained Strangler Vine seeds!', 42, 0, 100, 0, 0, 0, 49630, 'Brazie the Botanist to Player'), +(49176, 2, 0, 'Zombies ate your brains!', 41, 0, 100, 0, 0, 14560, 49692, 'Brazie the Botanist'); + + +DELETE FROM `quest_poi` WHERE `QuestID` IN (28744, 28617, 28733, 28747, 28748); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(28744, 2, 32, 0, 24, 0, 0, 0, 26654), -- Ghouls Hate My Grains +(28744, 1, 0, 0, 24, 0, 0, 7, 26654), -- Ghouls Hate My Grains +(28744, 0, -1, 0, 24, 0, 0, 1, 26654), -- Ghouls Hate My Grains +(28617, 2, 32, 0, 24, 0, 0, 0, 26654), -- Flower Power +(28617, 1, 0, 0, 24, 0, 0, 7, 26654), -- Flower Power +(28617, 0, -1, 0, 24, 0, 0, 1, 26654), -- Flower Power +(28733, 2, 32, 0, 24, 0, 0, 0, 26654), -- Basic Botany +(28733, 1, 0, 0, 24, 0, 0, 7, 26654), -- Basic Botany +(28733, 0, -1, 0, 24, 0, 0, 1, 26654), -- Basic Botany +(28747, 2, 32, 0, 24, 0, 0, 0, 26654), -- Someone Setup the Pumpkin Bomb +(28747, 1, 0, 0, 24, 0, 0, 7, 26654), -- Someone Setup the Pumpkin Bomb +(28747, 0, -1, 0, 24, 0, 0, 1, 26654), -- Someone Setup the Pumpkin Bomb +(28748, 2, 32, 0, 24, 0, 0, 0, 26654), -- Lawn of the Dead +(28748, 1, 0, 0, 24, 0, 0, 7, 26654), -- Lawn of the Dead +(28748, 0, -1, 0, 24, 0, 0, 1, 26654); -- Lawn of the Dead + +DELETE FROM `quest_poi_points` WHERE `QuestID` IN (28617, 28733); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(28617, 2, 0, -118, 220, 26654), -- Flower Power +(28617, 1, 0, -71, 185, 26654), -- Flower Power +(28617, 0, 0, -118, 220, 26654), -- Flower Power +(28733, 2, 0, -118, 220, 26654), -- Basic Botany +(28733, 1, 0, -79, 189, 26654), -- Basic Botany +(28733, 0, 0, -118, 220, 26654); -- Basic Botany + +UPDATE `quest_poi_points` SET `X`=-118, `Y`=220, `VerifiedBuild`=26654 WHERE (`QuestID`=28748 AND `Idx1`=2 AND `Idx2`=0); -- Lawn of the Dead +UPDATE `quest_poi_points` SET `Y`=197, `VerifiedBuild`=26654 WHERE (`QuestID`=28748 AND `Idx1`=1 AND `Idx2`=0); -- Lawn of the Dead +UPDATE `quest_poi_points` SET `VerifiedBuild`=26654 WHERE (`QuestID`=28748 AND `Idx1`=0 AND `Idx2`=0); -- Lawn of the Dead + +UPDATE `quest_poi_points` SET `X`=-118, `Y`=220, `VerifiedBuild`=26654 WHERE (`QuestID`=28747 AND `Idx1`=2 AND `Idx2`=0); -- Someone Setup the Pumpkin Bomb +UPDATE `quest_poi_points` SET `X`=-63, `Y`=193, `VerifiedBuild`=26654 WHERE (`QuestID`=28747 AND `Idx1`=1 AND `Idx2`=0); -- Someone Setup the Pumpkin Bomb +UPDATE `quest_poi_points` SET `VerifiedBuild`=26654 WHERE (`QuestID`=28747 AND `Idx1`=0 AND `Idx2`=0); -- Someone Setup the Pumpkin Bomb + +UPDATE `quest_poi_points` SET `X`=-118, `Y`=220, `VerifiedBuild`=26654 WHERE (`QuestID`=28744 AND `Idx1`=2 AND `Idx2`=0); -- Ghouls Hate My Grains +UPDATE `quest_poi_points` SET `X`=-87, `Y`=197, `VerifiedBuild`=26654 WHERE (`QuestID`=28744 AND `Idx1`=1 AND `Idx2`=0); -- Ghouls Hate My Grains +UPDATE `quest_poi_points` SET `VerifiedBuild`=26654 WHERE (`QuestID`=28744 AND `Idx1`=0 AND `Idx2`=0); -- Ghouls Hate My Grains +-- Add flying inhabit type to some flying creatures +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (29239, 44880, 44475, 45166, 47943, 47790); + +-- Change Sea Gulls to sit mode +UPDATE `creature_template_addon` SET `bytes1`= 1 WHERE `entry`= 44880; + +-- Add some creature addon datas +DELETE FROM `creature_addon` WHERE `guid` IN (334690, 334572, 334610, 334613); +INSERT INTO `creature_addon` (`guid`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +-- Dire Condor sitting state +(334690, 1, 1, 0, ''), +(334572, 1, 1, 0, ''), +(334610, 1, 1, 0, ''), +(334613, 1, 1, 0, ''); + +-- Removing some duplicate spawns +DELETE FROM `creature` WHERE `guid` IN (334607, 334694, 334855, 328324, 328052); +DELETE FROM `creature_addon` WHERE `guid` IN (334607, 334694, 334855, 328324); + +-- Add random movement to some creature +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 10 WHERE `id` IN (442, 423, 547, 426, 712, 1083, 548, 1186, 1195, 2098, 1172, 1176, 1174, 44627, 44620, 2729, 2732) AND `guid` NOT IN (334582, 334587, 334592, 334851, 334848, 334850, 334894, 334893, 334784, 334792, 334835) AND `MovementType`= 0; +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 10 WHERE `guid` IN (335046, 335051, 335039); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry`= 89160 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 89160, 0, 0, 31, 0, 3, 47943, 0, 0, 0, '', 'Arcane Storm - Target Generic Camera Target'); + +-- Add trigger flag to some creatures +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry` IN (47943, 48009); +DELETE FROM `spell_proc` WHERE `spellId` IN (13877, 33735, 51211, 65956); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(13877, 0, 0, 0, 0, 0x00000014, 0x1, 0x2, 0x0, 0x0), +(33735, 0, 0, 0, 0, 0x00000014, 0x1, 0x2, 0x0, 0x0), +(51211, 0, 0, 0, 0, 0x00000014, 0x1, 0x2, 0x0, 0x0), +(65956, 0, 0, 0, 0, 0x00000014, 0x1, 0x2, 0x0, 0x0); +-- Update Revitalize Proc +UPDATE `spell_proc` SET `SpellFamilyMask0`= 0x00000010, `SpellFamilyMask1`= 0x00000010, `SpellFamilyMask2`= 0, `ProcFlags`= 0x00040000, `SpellTypeMask`= 2, `SpellPhaseMask`= 2, `HitMask`= 0, `Cooldown`= 12000 WHERE `SpellId`= -48539; +-- Update Nature's Grace Proc +UPDATE `spell_proc` SET `SpellFamilyMask0`= 0x00000002 | 0x00200000 | 0x00000040, `SpellFamilyMask1`= 0, `SpellFamilyMask2`= 0, `ProcFlags`= 0x00014000, `SpellTypeMask`= 1 | 2, `SpellPhaseMask`= 1, `HitMask`= 0 WHERE `SpellId`= -16880; + +-- Effloresence +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_effloresence', +'spell_dru_effloresence_aoe', +'spell_dru_effloresence_heal', +'spell_dru_natures_grace', +'spell_dru_rejuvenation'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-34151, 'spell_dru_effloresence'), +(81262, 'spell_dru_effloresence_aoe'), +(81269, 'spell_dru_effloresence_heal'), +(774, 'spell_dru_rejuvenation'); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (-34151); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(-34151, 7, 0, 0x00000002, 0, 0x00004000, 0x2, 0x2, 0x0, 0x0); + +-- Remove Swiftment spell_bonus_data entry +DELETE FROM `spell_bonus_data` WHERE `entry`= 18562; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_tree_of_life'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(33891, 'spell_dru_tree_of_life'); +DELETE FROM `spell_proc` WHERE `SpellId`= 54832; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_glyph_of_innervate'); +DELETE FROM `spell_proc` WHERE `SpellId`= 76806; +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES +(76806, 0, 0, 0x0, 0x0, 0x0, 0x0, 1, 2, 0, 32, 0, 0, 0, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_rog_main_gauche'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(76806,'spell_rog_main_gauche'); +-- Heroic Throw +UPDATE `spell_bonus_data` SET `ap_bonus`= 0.75 WHERE `entry`= 57755; + +DELETE FROM `spell_bonus_data` WHERE `entry` IN (12809, 46968, 6544); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(12809, 0, 0, -1, 0, 'Warrior - Concussion Blow'), +(46968, 0, 0, -1, 0, 'Warrior - Shockwave'), +(6544, 0, 0, 0.5, 0, 'Warrior - Heroic Leap'); +UPDATE `quest_template_addon` SET `ProvidedItemCount`= 1 WHERE `ID`= 14386; +UPDATE `reference_loot_template` SET `Chance`= 100, `QuestRequired`= 1 WHERE `Item` IN (60877, 60882); +-- Thrashing Charge +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 43743; +-- Crystal Shard +UPDATE `creature_template` SET `ScriptName`= 'npc_crystal_shard' WHERE `entry`= 49267; + +DELETE FROM `creature_template_addon` WHERE `entry`= 49267; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(49267, '92079'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_corborus_crystal_barrage_targeting', +'spell_corborus_crystal_barrage'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(81634, 'spell_corborus_crystal_barrage_targeting'), +(81638, 'spell_corborus_crystal_barrage'); + +-- Serverside spells +DELETE FROM `spell_dbc` WHERE `Id`= 92079; +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(92079, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Shrink'); + +DELETE FROM `spelleffect_dbc` WHERE `Id`= 160083; +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectApplyAuraName`, `EffectBasePoints`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(160083, 6, 61, -90, 0, 0, 0, 0, 0, 0, 92079, 0, 'Shrink'); +DELETE FROM `spell_proc` WHERE `SpellId` IN (92207, 92209); + +SET @PROC_FLAG := 0 | 0x00000028; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000000; +SET @HIT_MASK := 0 | 0x00000020; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(92207, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 60000), -- Throngus' Finger +(92209, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 60000); -- Throngus' Finger +-- Slabhide +UPDATE `creature_template` SET `flags_extra`= `flags_extra` | 512 WHERE `entry` IN (43214, 49538); +-- Stalactite Trigger +UPDATE `creature_template` SET `unit_flags`= 33554432 WHERE `entry`= 43357; +-- Stalactite Trigger +UPDATE `creature_template` SET `InhabitType`= 4, `ScriptName`= 'npc_slabhide_stalactite_trigger' WHERE `entry`= 43159; +-- Lava Fissure +UPDATE `creature_template` SET `ScriptName`= 'npc_slabhide_lava_fissure' WHERE `entry`= 43242; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( +'spell_s81035_stalactite', +'spell_slabhide_stalactite', +'spell_s81028_s80650_stalactite', +'spell_slabhide_stalactite_summon', +'spell_slabhide_stalactite_dest_relocation', +'spell_stalactite_mod_dest_height', +'spell_s92306_crystal_storm', +'spell_slabhide_crystal_storm_periodic', +'spell_s92300_crystal_storm', +'spell_slabhide_crystal_storm'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(81035, 'spell_slabhide_stalactite'), +(81028, 'spell_slabhide_stalactite_summon'), +(80650, 'spell_slabhide_stalactite_summon'), +(80654, 'spell_slabhide_stalactite_dest_relocation'), +(80643, 'spell_slabhide_stalactite_dest_relocation'), +(92653, 'spell_slabhide_stalactite_dest_relocation'), +(80647, 'spell_slabhide_stalactite_dest_relocation'), +(92309, 'spell_slabhide_stalactite_dest_relocation'), +(92306, 'spell_slabhide_crystal_storm_periodic'); +UPDATE `creature_template` SET `unit_flags`= `unit_flags` & ~33554688 WHERE `entry` IN (43214, 49538, 43438, 49642); +-- Creature Rupture 49576 SAI +SET @ENTRY := 49576; +UPDATE `creature_template` SET `AIName`= "SmartAI", `flags_extra`= 2 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, 1, 54, 0, 100, 0, 0, 0, 0, 0, 5, 449, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On just summoned - Self: Play emote 449 // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 11, 92381, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 92381 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 3600, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Despawn in 3600 ms // "); + +-- Bouncer Spike +UPDATE `creature_template` SET `flags_extra`= 2 WHERE `entry`= 42189; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_ozruk_paralyze', +'spell_ozruk_elementium_spike_shield', +'spell_elementium_spike_shield', +'spell_ozruk_rupture', +'spell_rupture', +'spell_ozruk_paralyze_stun'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(92427, 'spell_ozruk_paralyze'), +(78835, 'spell_ozruk_elementium_spike_shield'), +(92429, 'spell_ozruk_elementium_spike_shield'), +(92393, 'spell_ozruk_rupture'), +(92426, 'spell_ozruk_paralyze_stun'); +-- Boss damage +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry` IN (44577, 48932, 45378, 43614, 49043, 43612, 48951, 44819, 51088, 39425, 49262, 39428, 48714, 39788, 48902, +39731, 48715, 48710, 39587, 39378, 48815, 39665, 39666, 39679, 39680, 39698, 39699, 39700, 39701, 39705, 39706, 43878, 43879, 43873, 43874, 43875, 43876, 48941, 48944, 49429, 49708, 49709, 49710, +49711, 49712, 43438, 49642, 43214, 49538, 42188, 49654, 42333, 49624, 39732, 48776, 40320, 48801, 48939, 44600, 46209, 46210, 46211, 45992, 49897, 49898, 49899, 45993, 49903, 49904, 49905); + +-- Boss damage (special cases) +-- Vanessa VanCleef, Glubtok +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry` IN (49541, 48936); +-- Admiral Ripsnarl +UPDATE `creature_template` SET `DamageModifier`= 15, `BaseVariance`= 0.5 WHERE `entry`= 48943; +-- Augh +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 49045; +DELETE FROM `spell_proc` WHERE `spellId` IN (89086, 89088, 89183, 101292, 101290, 101288); +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Chance`, `AttributesMask`, `Cooldown`) VALUES +-- Darkmoon Cards +(89086, 0, 0, 0x0, 0x0, 0x0, 0x00000154, 0x1, 0x2, 0x0, 5, 0x0, 0), +(89088, 0, 0, 0x0, 0x0, 0x0, 0x00050000, 0x1, 0x2, 0x0, 0, 0x0, 45000), +(89183, 0, 0, 0x0, 0x0, 0x0, 0x00044000, 0x2, 0x2, 0x0, 0, 0x0, 7000), +-- Festival Trinkets +(101292, 0, 0, 0x0, 0x0, 0x0, 0x00010000, 0x1, 0x1, 0x0, 0, 0x0, 50000), +(101290, 0, 0, 0x0, 0x0, 0x0, 0x00044000, 0x2, 0x2, 0x0, 0, 0x0, 50000), +(101288, 0, 0, 0x0, 0x0, 0x0, 0x00000154, 0x1, 0x2, 0x0, 0, 0x0, 50000); +-- Harbiger of Darkness and Blaze of the Heaven +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry` IN (43927, 48953, 48906); +-- Frenzied Crocolisk +UPDATE `creature_template` SET `DamageModifier`= 8, `BaseVariance`= 0.5 WHERE `entry` IN (43658, 49311); +-- Augh (Pre-Boss) +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 45377; +-- Servant of Siamat +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry` IN (45259, 49256, 45268, 49257, 45269, 49258); +-- Oathsworn Captain +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry` IN (45122, 49334); +-- Small Trash Groups +UPDATE `creature_template` SET `DamageModifier`= 30, `RangeVariance`= 0.5 WHERE `entry` IN (44932, 49323, 44926, 49322); +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry` IN (44922, 49319, 44924, 49321, 44976, 44982, 49328, 44980, 49326, 44896, 49317, 44897, 49318, 44898, 49320); +UPDATE `creature_template` SET `DamageModifier`= 15, `BaseVariance`= 0.5 WHERE `entry` IN (44981, 49327, 44977, 49325, 44261, 49315, 45062, 49330, 49331, 45063); +-- Sharptalon Eagle +UPDATE `creature_template` SET `difficulty_entry_1`= 49315 WHERE `entry`= 44261; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 90, `speed_run`= 0.857143, `movementId`= 121 WHERE `entry`= 49315; +-- Bonesnapper Scorpid +UPDATE `creature_template` SET `difficulty_entry_1`= 49331, `minlevel`= 84, `maxlevel`= 84 WHERE `entry`= 45063; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 90 WHERE `entry`= 49331; +-- Enslaved Bandit +UPDATE `creature_template` SET `DamageModifier`= 4, `BaseVariance`= 0.5 WHERE `entry`= 45007; +-- Harbiger of Darkness +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 43927; +-- Frenzied Crocolisk +UPDATE `creature_template` SET `DamageModifier`= 4, `BaseVariance`= 0.5 WHERE `entry`= 43658; +-- Servant of Siamat +UPDATE `creature_template` SET `DamageModifier`= 15, `BaseVariance`= 0.5 WHERE `entry` IN (45259, 45268, 45269); +-- Oathsworn Captain +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 45122; +-- Small Trash Groups +UPDATE `creature_template` SET `DamageModifier`= 15, `RangeVariance`= 0.5 WHERE `entry` IN (44932, 44926); +UPDATE `creature_template` SET `DamageModifier`= 15, `BaseVariance`= 0.5 WHERE `entry` IN (44922, 44924, 44976, 44982, 44980, 44896, 44897, 44898); +UPDATE `creature_template` SET `DamageModifier`= 10, `BaseVariance`= 0.5 WHERE `entry` IN (44981, 44977, 44261, 45062); +-- Lost City Bosses +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry` IN (44577, 43614, 43612, 44819); +-- High Priesess Azil +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87 WHERE `entry`= 49624; +UPDATE `creature_template` SET `InhabitType`= 1, `flags_extra`= `flags_extra` | 512 | 536870912 WHERE `entry` IN (42333, 49624); + +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_summon_wave_south' WHERE `ScriptName`= 'spell_summon_wave_south'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_summon_wave_west' WHERE `ScriptName`= 'spell_summon_wave_west'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_gravity_well_damage_nearby' WHERE `ScriptName`= 'spell_gravity_well_damage_nearby'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_gravity_well_damage' WHERE `ScriptName`= 'spell_gravity_well_damage'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_gravity_well_pull' WHERE `ScriptName`= 'spell_gravity_well_pull'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_seismic_shard_change_seat' WHERE `ScriptName`= 'spell_seismic_shard_change_seat'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_azil_seismic_shard' WHERE `ScriptName`= 'spell_seismic_shard'; + +UPDATE `creature_template` SET `ScriptName`= 'npc_azil_devout_follower' WHERE `ScriptName`= 'npc_devout_follower'; +UPDATE `creature_template` SET `ScriptName`= 'npc_azil_gravity_well' WHERE `ScriptName`= 'npc_gravity_well'; +UPDATE `creature_template` SET `ScriptName`= 'npc_azil_seismic_shard' WHERE `ScriptName`= 'npc_seismic_shard'; + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_azil_force_grip', +'spell_azil_force_grip_change_seat'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(79351, 'spell_azil_force_grip'), +(79359, 'spell_azil_force_grip_change_seat'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (79021, 92665) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 2, 79021, 0, 0, 31, 0, 3, 42428, 0, 0, 0, '', 'Seismic Shard - Target Devout Follower'), +(13, 2, 92665, 0, 0, 31, 0, 3, 42428, 0, 0, 0, '', 'Seismic Shard - Target Devout Follower'); +DELETE FROM `spell_proc` WHERE `SpellId`= 17007; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`) VALUES +(17007, 0, 0x00000014, 0x00000001, 0x00000002, 0x00000002, 0x0, 6000); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dru_leader_of_the_pack'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(17007, 'spell_dru_leader_of_the_pack'); +DELETE FROM `spell_proc` WHERE `SpellId` IN (85011, 85013, 85014, 85034, 92217, 92221, 99718, 99747, 99749, 102433, 105136, 105140); +-- When you deal damage you have a chance to gain xxx value +SET @PROC_FLAG := 0 | 0x00051154; +SET @TYPE_MASK := 0 | 0x00000001; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(85011, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(85013, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(85014, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(85034, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(92217, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(92221, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(99718, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(99747, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(99749, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(102433, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(105136, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(105140, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (85024, 92219, 99720, 99743, 102436, 102440, 105138); +-- When you deal damage or heal you have a chance to gain xxx value +SET @PROC_FLAG := 0 | 0x00051154; +SET @TYPE_MASK := 0 | 0x00000003; +SET @PHASE_MASK := 0 | 0x00000002; +SET @HIT_MASK := 0 | 0x00000000; + +INSERT INTO `spell_proc` (`SpellId`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `Cooldown`) VALUES +(85024, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(92219, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(99720, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(99743, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(102436, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(102440, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000), +(105138, @PROC_FLAG, @TYPE_MASK, @PHASE_MASK, @HIT_MASK, 50000); +DELETE FROM `spell_proc` WHERE `SpellId`= -93398; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`) VALUES +(-93398, 0x00000002 | 0x00200000, 0x0, 0x0, 0x00040000, 1, 2, 0, 0, 60000); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_eclipse_lunar', +'spell_dru_eclipse_solar', +'spell_dru_eclipse'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(48517, 'spell_dru_eclipse'), +(48518, 'spell_dru_eclipse'); +DELETE FROM `spell_group` WHERE `id`= 1123; +INSERT INTO `spell_group` (`id`, `spell_id`) VALUES +(1123, 8921), +(1123, 93402); + +DELETE FROM `spell_group_stack_rules` WHERE `group_id`= 1123; +INSERT INTO `spell_group_stack_rules` (`group_id`, `stack_rule`) VALUES +(1123, 2); +DELETE FROM `spell_proc` WHERE `SpellId` IN (93400, 81093); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(93400, 7, 0, 0, 0x02000000, 0x00010000, 1, 1, 0, 8, 0, 1, 100), +(81093, 7, 0x00000004, 0, 0, 0x00010000, 1, 1, 0, 8, 0, 1, 100); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dru_eclipse_energize'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(5176, 'spell_dru_eclipse_energize'), +(2912, 'spell_dru_eclipse_energize'), +(78674, 'spell_dru_eclipse_energize'), +(8921, 'spell_dru_eclipse_energize'), +(93402, 'spell_dru_eclipse_energize'); +DELETE FROM `spell_proc` WHERE `spellId` IN (33603, 33604, 33605); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES +(33603, 7, 0x00000002, 0x0, 0x0, 0x00010000, 0x1, 0x1, 0x0, 0), +(33604, 7, 0x00000002, 0x0, 0x0, 0x00010000, 0x1, 0x1, 0x0, 32), +(33605, 7, 0x00000002, 0x0, 0x0, 0x00010000, 0x1, 0x1, 0x0, 32); +UPDATE `spell_proc` SET `SpellTypeMask`= 1 WHERE `SpellId`= 48506; +-- Wild Mushroom +UPDATE `creature_template` SET `InhabitType`= 12, `unit_flags`= 520, `flags_extra`= 2 WHERE `entry`= 47649; +-- Fungal Growth I and Fungael Growth II +UPDATE `creature_template` SET `InhabitType`= 12, `unit_flags`= 33554440, `unit_flags2`= 32, `flags_extra`= 2 WHERE `entry` IN (43484, 43497); +-- Treant +UPDATE `creature_template` SET `ScriptName`= 'npc_druid_treant' WHERE `entry`= 1964; + +DELETE FROM `creature_template_addon` WHERE `entry` IN (43484, 43497); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(43484, '81282'), +(43497, '81289'); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_wild_mushroom', +'spell_dru_wild_mushroom_detonate'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(88747, 'spell_dru_wild_mushroom'), +(88751, 'spell_dru_wild_mushroom_detonate'); + +-- Creature Fungal Growth II 43484 SAI +SET @ENTRY := 43484; +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, 63, 0, 100, 0, 0, 0, 0, 0, 11, 94339, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Cast spell 94339 on Self // "); + +-- Creature Fungal Growth I 43497 SAI +SET @ENTRY := 43497; +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, 63, 0, 100, 0, 0, 0, 0, 0, 11, 94339, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Cast spell 94339 on Self // "); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dru_moonfire'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(16913, 'spell_dru_moonfire'); +UPDATE `spell_proc` SET `ProcFlags`= 0 WHERE `SpellId`= 76806; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_sha_flametongue_weapon', +'spell_sha_windfury_weapon'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(10400, 'spell_sha_flametongue_weapon'), +(33757, 'spell_sha_windfury_weapon'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sha_unleash_elements'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(73680, 'spell_sha_unleash_elements'); + +DELETE FROM `spell_proc` WHERE `SpellId`= 73681; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(73681, 0, 0, 0, 0, 0, 0, 0, 12287, 0, 0, 6, 100); +DELETE FROM `spell_proc` WHERE `SpellId` IN (16257, 16277, 16278); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(16257, 0, 0, 0, 0, 0, 0, 0, 12287, 0, 0, 0, 100), +(16277, 0, 0, 0, 0, 0, 0, 0, 12287, 0, 0, 0, 100), +(16278, 0, 0, 0, 0, 0, 0, 0, 12287, 0, 0, 0, 100); +UPDATE `playercreateinfo_skills` SET `classMask`= `classMask` | 64 WHERE `skill` IN (173, 172, 160); +DELETE FROM `spell_proc` WHERE `SpellId`= -51525; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-51525, 11, 0x00000000, 0x01000010, 0x00020000 | 0x00000004, 0, 1, 1, 0, 0, 0, 0, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sha_static_shock'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-51525, 'spell_sha_static_shock'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sha_frozen_power'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-63373, 'spell_sha_frozen_power'); + +DELETE FROM `spell_proc` WHERE `SpellId`= -63373; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-63373, 11, 0x80000000, 0, 0, 0x00010000, 1, 2, 0, 16, 0, 0, 100); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pri_chakra', +'spell_pri_chakra_sanctuary', +'spell_pri_chakra_serenity_script', +'spell_pri_holy_word_sanctuary'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(14751, 'spell_pri_chakra'), +(81206, 'spell_pri_chakra_sanctuary'), +(81585, 'spell_pri_chakra_serenity_script'), +(88685, 'spell_pri_holy_word_sanctuary'); + +SET @FAMILYMASK0 := 0x00000400 | 0x00000800 | 0x00001000 | 0x00000200 | 0x00000080; +SET @FAMILYMASK1 := 0x00000004 | 0x00000020; +SET @FAMILYMASK2 := 0x00010000 | 0x00000000; + +DELETE FROM `spell_proc` WHERE `SpellId` IN (14751, 88627); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(14751, 6, @FAMILYMASK0, @FAMILYMASK1, @FAMILYMASK2, 0, 2, 1, 0, 0, 0, 1, 100), +(88627, 0, 0x0, 0x0, 0x0, 0, 0, 1, 0, 16, 0, 0, 0); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_pri_holy_word_sanctuary_triggered'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(88686, 'spell_pri_holy_word_sanctuary_triggered'); + +DELETE FROM `spell_proc` WHERE `SpellId`= 88688; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(88688, 6, 0x00000800, 0x0, 0x0, 0x00004000, 1, 1, 0, 0, 0, 1, 100); +DELETE FROM `spell_area` WHERE `spell` IN (55164, 55173); +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(55164, 51, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 67, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 210, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 254, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 1037, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3520, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3744, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3824, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3826, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3828, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3862, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3949, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 3951, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 4161, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 4197, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 4445, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 4547, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 4548, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5017, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5034, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5037, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5040, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5042, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5045, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5473, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5663, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55164, 5729, 0, 0, 8326, 65527, 2, 1, 64, 11), +(55173, 51, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 67, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 210, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 254, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 1037, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3520, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3744, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3824, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3826, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3828, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3862, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3949, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 3951, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 4161, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 4197, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 4445, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 4547, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 4548, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5017, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5034, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5037, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5040, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5042, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5045, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5473, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5663, 0, 0, 8326, 8, 2, 1, 64, 11), +(55173, 5729, 0, 0, 8326, 8, 2, 1, 64, 11); +UPDATE `creature_template` SET `mechanic_immune_mask`= 617299839, `ScriptName`= 'npc_lct_augh' WHERE `entry`= 45377; + +DELETE FROM `creature_text` WHERE `CreatureID`= 45377; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(45377, 0, 0, 'Bwaaaah! You no take da treasure!!!', 12, 0, 100, 0, 0, 0, 45529, 'Augh'), +(45377, 1, 0, 'Bwagauugh!!! Augh feed you to da crocs!!!', 12, 0, 100, 0, 0, 0, 45544, 'Augh'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_hoo_platform_teleport'; +-- Template Updates +-- Ascendant Council Controller +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `ScriptName`= 'boss_ascendant_council_controller' WHERE `entry`= 43691; +-- Feludius +UPDATE `creature_template` SET `difficulty_entry_1`= 49612, `difficulty_entry_2`= 49613, `difficulty_entry_3`= 49614, `ScriptName`= 'npc_feludius' WHERE `entry`= 43687; +UPDATE `creature_template` SET `flags_extra`= 0, `movementId`= 187, `BaseAttackTime`= 1500, `speed_walk`= 3.2, `speed_run`= 2, `unit_class`= 2, `minlevel`= 88, `maxlevel`= 88, `exp`= 3,`faction`= 16, `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 80297855, `unit_flags`= 64 WHERE `entry` IN (43687, 49612, 49613, 49614); +-- Ignacious +UPDATE `creature_template` SET `difficulty_entry_1`= 49615, `difficulty_entry_2`= 49616, `difficulty_entry_3`= 49617, `ScriptName`= 'npc_ignacious' WHERE `entry`= 43686; +UPDATE `creature_template` SET `flags_extra`= 0, `movementId`= 187, `BaseAttackTime`= 1500, `speed_walk`= 3.2, `speed_run`= 2, `unit_class`= 2, `minlevel`= 88, `maxlevel`= 88, `exp`= 3,`faction`= 16, `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 80297855 WHERE `entry` IN (43686, 49615, 49616, 49617); +-- Arion +UPDATE `creature_template` SET `difficulty_entry_1`= 49606, `difficulty_entry_2`= 49607, `difficulty_entry_3`= 49608, `ScriptName`= 'npc_arion' WHERE `entry`= 43688; +UPDATE `creature_template` SET `flags_extra`= 0, `movementId`= 187, `BaseAttackTime`= 1500, `speed_walk`= 3.2, `speed_run`= 2, `unit_class`= 2, `minlevel`= 88, `maxlevel`= 88, `exp`= 3,`faction`= 16, `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 80297855 WHERE `entry` IN (43688, 49606, 49607, 49608); +-- Terrastra +UPDATE `creature_template` SET `difficulty_entry_1`= 49609, `difficulty_entry_2`= 49610, `difficulty_entry_3`= 49611, `ScriptName`= 'npc_terrastra' WHERE `entry`= 43689; +UPDATE `creature_template` SET `flags_extra`= 0, `movementId`= 187, `BaseAttackTime`= 1500, `speed_walk`= 3.2, `speed_run`= 2, `unit_class`= 2, `minlevel`= 88, `maxlevel`= 88, `exp`= 3,`faction`= 16, `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (43689, 49609, 49610, 49611); +-- Elementium Monstrosity +UPDATE `creature_template` SET `difficulty_entry_1`= 49619, `difficulty_entry_2`= 49620, `difficulty_entry_3`= 49621, `ScriptName`= 'npc_elementium_monstrosity' WHERE `entry`= 43735; +UPDATE `creature_template` SET `flags_extra`= 0, `movementId`= 187, `BaseAttackTime`= 1500, `speed_walk`= 3.2, `speed_run`= 2, `unit_class`= 2, `minlevel`= 88, `maxlevel`= 88, `exp`= 3,`faction`= 16, `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (43735, 49619, 49620, 49621); +-- Ascendant Council Target Stalker +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry`= 44553; +-- Water Bomb +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 44201; +-- Inferno Rush +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 47501; +-- Violent Cyclone +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `ScriptName`= 'npc_ascendant_council_violent_cyclone' WHERE `entry`= 44747; +-- Gravity Well +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 2099200, `flags_extra`= 128, `ScriptName`= 'npc_ascendant_council_gravity_well' WHERE `entry`= 44824; +-- Eruption Target +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `ScriptName`= 'npc_ascendant_council_eruption_target' WHERE `entry`= 44845; +-- Ascendant Council Plume Stalker +UPDATE `creature_template` SET `ScriptName`= 'npc_ascendant_council_plume_stalker' WHERE `entry`= 45420; +-- Liquid Ice +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 45452; +-- Gravity Crush +UPDATE `creature_template` SET `unit_flags`= 34079232, `flags_extra`= 128, `VehicleId`= 1110, `InhabitType`= 4, `ScriptName`= 'npc_ascendant_council_gravity_crush' WHERE `entry`= 45476; +-- Frozen Orb Spawner +UPDATE `creature_template` SET `unit_flags`= 33554688, `flags_extra`= 128 WHERE `entry`= 49517; +-- Frozen Orb +UPDATE `creature_template` SET `unit_flags`= 34080768, `speed_run`= 0.714, `ScriptName`= 'npc_ascendant_council_frozen_orb' WHERE `entry`= 49518; +-- Flame Strike +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `ScriptName`= 'npc_ascendant_council_flame_strike' WHERE `entry`= 49432; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_feludius_water_bomb_targeting', +'spell_feludius_water_bomb', +'spell_feludius_glaciate', +'spell_feludius_fire_proc_check', +'spell_feludius_heart_of_ice', +'spell_feludius_frost_imbued', +'spell_feludius_frozen_orb_targeting', +'spell_ignacious_rising_flames', +'spell_ignacious_burning_blood', +'spell_ignacious_flame_imbued', +'spell_ignacious_inferno_rush', +'spell_ignacious_flame_strike', +'spell_arion_lashing_winds', +'spell_arion_thundershock', +'spell_arion_lightning_rod', +'spell_arion_chain_lightning_targeting', +'spell_arion_disperse', +'spell_arion_lightning_blast', +'spell_arion_static_overload', +'spell_arion_static_overload_triggered', +'spell_terrastra_gravity_well', +'spell_terrastra_harden_skin', +'spell_terrastra_quake', +'spell_terrastra_eruption', +'spell_terrastra_gravity_core', +'spell_terrastra_gravity_core_triggered', +'spell_elementium_monstrosity_lava_seed', +'spell_elementium_monstrosity_cryogenic_aura', +'spell_elementium_monstrosity_liquid_ice', +'spell_elementium_monstrosity_electric_instability', +'spell_elementium_monstrosity_gravity_crush'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +-- Feludius +(82697, 'spell_feludius_water_bomb_targeting'), +(82699, 'spell_feludius_water_bomb'), +(82746, 'spell_feludius_glaciate'), +(92506, 'spell_feludius_glaciate'), +(92507, 'spell_feludius_glaciate'), +(92508, 'spell_feludius_glaciate'), +(82772, 'spell_feludius_fire_proc_check'), +(92503, 'spell_feludius_fire_proc_check'), +(92504, 'spell_feludius_fire_proc_check'), +(92505, 'spell_feludius_fire_proc_check'), +(82762, 'spell_feludius_fire_proc_check'), +(82665, 'spell_feludius_heart_of_ice'), +(82666, 'spell_feludius_frost_imbued'), +(95883, 'spell_feludius_frozen_orb_targeting'), +-- Ignacious +(82636, 'spell_ignacious_rising_flames'), +(82660, 'spell_ignacious_burning_blood'), +(82663, 'spell_ignacious_flame_imbued'), +(82856, 'spell_ignacious_inferno_rush'), +(92520, 'spell_ignacious_inferno_rush'), +(92521, 'spell_ignacious_inferno_rush'), +(92522, 'spell_ignacious_inferno_rush'), +(92080, 'spell_ignacious_flame_strike'), +-- Arion +(83498, 'spell_arion_lashing_winds'), +(92476, 'spell_arion_lashing_winds'), +(92477, 'spell_arion_lashing_winds'), +(92478, 'spell_arion_lashing_winds'), +(83067, 'spell_arion_thundershock'), +(92469, 'spell_arion_thundershock'), +(92470, 'spell_arion_thundershock'), +(92471, 'spell_arion_thundershock'), +(83099, 'spell_arion_lightning_rod'), +(83300, 'spell_arion_chain_lightning_targeting'), +(83087, 'spell_arion_disperse'), +(83070, 'spell_arion_lightning_blast'), +(92454, 'spell_arion_lightning_blast'), +(92455, 'spell_arion_lightning_blast'), +(92456, 'spell_arion_lightning_blast'), +(92067, 'spell_arion_static_overload'), +(92068, 'spell_arion_static_overload_triggered'), +(92466, 'spell_arion_static_overload_triggered'), +(92467, 'spell_arion_static_overload_triggered'), +(92468, 'spell_arion_static_overload_triggered'), +-- Terrastra +(83578, 'spell_terrastra_gravity_well'), +(83718, 'spell_terrastra_harden_skin'), +(92541, 'spell_terrastra_harden_skin'), +(92542, 'spell_terrastra_harden_skin'), +(92543, 'spell_terrastra_harden_skin'), +(83565, 'spell_terrastra_quake'), +(92544, 'spell_terrastra_quake'), +(92545, 'spell_terrastra_quake'), +(92546, 'spell_terrastra_quake'), +(83675, 'spell_terrastra_eruption'), +(92075, 'spell_terrastra_gravity_core'), +(92076, 'spell_terrastra_gravity_core_triggered'), +(92537, 'spell_terrastra_gravity_core_triggered'), +(92538, 'spell_terrastra_gravity_core_triggered'), +(92539, 'spell_terrastra_gravity_core_triggered'), +-- Elementium Monstrosity +(84913, 'spell_elementium_monstrosity_lava_seed'), +(84918, 'spell_elementium_monstrosity_cryogenic_aura'), +(84914, 'spell_elementium_monstrosity_liquid_ice'), +(84527, 'spell_elementium_monstrosity_electric_instability'), +(84948, 'spell_elementium_monstrosity_gravity_crush'), +(92486, 'spell_elementium_monstrosity_gravity_crush'), +(92487, 'spell_elementium_monstrosity_gravity_crush'), +(92488, 'spell_elementium_monstrosity_gravity_crush'); + +DELETE FROM `conditions` WHERE `SourceEntry` IN (82699, 83475, 83087, 82344, 84913, 84915, 92497, 92498, 92499, 92214) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 82699, 0, 0, 31, 0, 3, 44201, 0, 0, 0, '', 'Water Bomb - Target Water Bomb'), +(13, 1, 83475, 0, 0, 31, 0, 3, 44553, 0, 0, 0, '', 'Cyclone Aggro - Target Ascendant Council Target Stalker'), +(13, 1, 83087, 0, 0, 31, 0, 3, 44553, 0, 0, 0, '', 'Disperse - Target Ascendant Council Target Stalker'), +(13, 1, 82344, 0, 0, 31, 0, 3, 43687, 0, 0, 0, '', 'Merge Health - Target Feludius'), +(13, 1, 82344, 0, 1, 31, 0, 3, 43686, 0, 0, 0, '', 'Merge Health - Target Ignacious'), +(13, 1, 82344, 0, 2, 31, 0, 3, 43688, 0, 0, 0, '', 'Merge Health - Target Arion'), +(13, 1, 82344, 0, 3, 31, 0, 3, 43689, 0, 0, 0, '', 'Merge Health - Target Terrastra'), +(13, 1, 84913, 0, 0, 31, 0, 3, 45420, 0, 0, 0, '', 'Lava Seed - Target Ascendant Council Plume Stalker'), +(13, 2, 84915, 0, 0, 31, 0, 3, 43735, 0, 0, 0, '', 'Liquid Ice - Target Elementium Monstrosity'), +(13, 2, 92497, 0, 0, 31, 0, 3, 43735, 0, 0, 0, '', 'Liquid Ice - Target Elementium Monstrosity'), +(13, 2, 92498, 0, 0, 31, 0, 3, 43735, 0, 0, 0, '', 'Liquid Ice - Target Elementium Monstrosity'), +(13, 2, 92499, 0, 0, 31, 0, 3, 43735, 0, 0, 0, '', 'Liquid Ice - Target Elementium Monstrosity'), +(13, 2, 92214, 0, 0, 31, 0, 3, 49518, 0, 0, 0, '', 'Flame Strike - Target Frozen Orb'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureId` IN (43687, 43686, 43688, 43689, 43691, 43735, 49518); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +-- Feludius +(43687, 0, 0, 'You dare invade our lord''s sanctum?', 14, 0, 100, 0, 0, 20162, 47725, 'Feludius - Engage'), +(43687, 1, 0, 'I will freeze the blood in your veins!', 14, 0, 100, 0, 0, 20164, 47671, 'Feludius - Say Glaciate'), +(43687, 2, 0, '%s begins to cast Glaciate!', 41, 0, 100, 0, 0, 0, 47672, 'Feludius - Announce Glaciate'), +(43687, 3, 0, 'Perish!', 14, 0, 100, 0, 0, 20163, 47717, 'Feludius - Slay'), +(43687, 4, 0, 'But now, witness true power...', 14, 0, 100, 0, 0, 20165, 44322, 'Feludius - Merge'), +-- Ignacious +(43686, 0, 0, 'You will die for your insolence!', 14, 0, 100, 0, 0, 20285, 47724, 'Ignacious - Engage'), +(43686, 1, 0, 'BURN!', 14, 0, 100, 0, 0, 20287, 47715, 'Ignacious - Say Aegis of Flame'), +(43686, 2, 0, '%s begins to cast Rising Flames!', 41, 0, 100, 0, 0, 0, 49844, 'Ignacious - Announce Rising Flames'), +(43686, 3, 0, 'More fuel for the fire!', 14, 0, 100, 0, 0, 20286, 47716, 'Ignacious - Slay'), +(43686, 4, 0, '...the fury of the elements!', 14, 0, 100, 0, 0, 20288, 44323, 'Ignacious - Merge'), +-- Arion +(43688, 0, 0, 'Enough of this foolishness!', 14, 0, 100, 0, 0, 20237, 44307, 'Arion - Engage'), +(43688, 1, 0, 'Wind, hear my call!', 14, 0, 100, 0, 0, 20239, 47718, 'Arion - Call Winds'), +(43688, 2, 0, '%s begins to cast Thundershock!', 41, 0, 100, 0, 0, 0, 47719, 'Arion - Announce Thundershock'), +(43688, 3, 0, 'Merely a whisper in the wind....', 14, 0, 100, 0, 0, 20238, 47720, 'Arion - Slay'), +(43688, 4, 0, 'An impressive display...', 14, 0, 100, 0, 0, 20240, 44320, 'Arion - Merge'), +-- Terrastra +(43689, 0, 0, 'We will handle them!', 14, 0, 100, 0, 0, 21843, 44308, 'Terrastra - Engage'), +(43689, 1, 0, 'The earth will devour you!', 14, 0, 100, 0, 0, 21844, 47722, 'Terrastra - Say Quake'), +(43689, 2, 0, '%s begins to cast Quake!', 41, 0, 100, 0, 0, 21844, 47723, 'Terrastra - Say Anounce Quake'), +(43689, 3, 0, 'The soil welcomes your bones!', 14, 0, 100, 0, 0, 21842, 47721, 'Terrastra - Slay'), +(43689, 4, 0, '...to have made it this far.', 14, 0, 100, 0, 0, 21845, 44321, 'Terrastra - Merge'), +-- Ascendant Council Controller +(43691, 0, 0, 'The ground beneath you rumbles ominously....', 41, 0, 100, 0, 0, 0, 47728, 'Ascendant Council Controller - Warn Quake'), +(43691, 1, 0, 'The surrounding air crackles with energy....', 41, 0, 100, 0, 0, 0, 47727, 'Ascendant Council Controller - Warn Thunderstorm'), +-- Elementium Monstrosity +(43735, 0, 0, 'BEHOLD YOUR DOOM!', 14, 0, 100, 0, 0, 20396, 44336, 'Elementium Monstrosity - Merged'), +(43735, 1, 0, 'FEEL THE POWER!', 14, 0, 100, 0, 0, 20400, 47726, 'Elementium Monstrosity - Lava Seed'), +(43735, 2, 0, 'Impossible....', 14, 0, 100, 0, 0, 20399, 44339, 'Elementium Monstrosity - Death'), +(43735, 3, 0, 'Eradicate....', 14, 0, 100, 0, 0, 20398, 44337, 'Elementium Monstrosity - Slay 1'), +(43735, 3, 1, 'Annihilate....', 14, 0, 100, 0, 0, 20397, 44338, 'Elementium Monstrosity - Slay 2'), +-- Frozen Orb +(49518, 0, 0, '%s begins to pursue $n!', 41, 0, 100, 0, 0, 0, 49578, 'Frozen Orb - Pursue Player'); + +-- Addons +-- Remove auras from bosses +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry` IN (43686, 43689, 43688); +UPDATE `creature_addon` SET `auras`= '' WHERE `guid` IN (254144, 254133, 254134, 254148); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (44747, 45452, 49517, 49518); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(44747, '83472'), +(45452, '84914'), +(49517, '92269'), +(49518, '92302'); + +-- Serverside spells +-- Difficulty spell entries +DELETE FROM `spell_dbc` WHERE `Id` IN (82675, 82697, 88578, 84916, 84947, 92080, 92081); +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(82675, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 152, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Water Bomb'), +(82697, 0, 0, 0, 256, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Water Bomb'), +(88578, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 152, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Inferno Rush'), +(84916, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Liquid Ice'), +(84947, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Gravity Crush'), +(92080, 0, 0, 4, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Flame Strike'), +(92081, 0, 0, 4, 256, 0, 0, 0, 0, 0, 0, 0, 0, 21, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Flame Strike'); + +DELETE FROM `spelleffect_dbc` WHERE `Id` IN (160084, 160085, 160086, 160087, 160088, 160089, 160090); +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectBasePoints`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(160084, 28, 1, 44201, 64, 8, 8, 53, 91, 82675, 0, 'Water Bomb - Summon'), +(160085, 3, 82675, 0, 0 , 12, 12, 22, 15, 82697, 0, 'Water Bomb - Dummy'), +(160086, 28, 1, 47501, 64, 0, 0, 87, 87, 88578, 0, 'Inferno Rush - Summon'), +(160087, 28, 1, 45452, 64, 0, 0, 18, 0, 84916, 0, 'Liquid Ice - Summon'), +(160088, 28, 1, 45476, 64, 0, 0, 18, 0, 84947, 0, 'Gravity Crush - Summon'), +(160089, 3, 92081, 0, 0 , 30, 30, 22, 15, 92080, 0, 'Flame Strike - Dummy'), +(160090, 28, 1, 49432, 64, 0, 0, 53, 0, 92081, 0, 'Flame Strike - Summon'); + +DELETE FROM `spell_target_position` WHERE `ID` IN (82329, 82330, 82331, 82332); +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`) VALUES +(82329, 0, 671, -1029.45, -603.773, 831.901), +(82330, 0, 671, -987.599, -561.885, 831.901), +(82331, 0, 671, -1029.41, -561.885, 831.901), +(82332, 0, 671, -987.599, -603.773, 831.901); + +-- Achievement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15471; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15471, 11, 0, 0, 'achievement_elementary'); + +-- Delete Elementium Monstrosity +DELETE FROM `creature` WHERE `guid`= 254260; +DELETE FROM `creature_addon` WHERE `guid`= 254260; + +-- Loot +DELETE FROM `creature_loot_template` WHERE `entry` IN (43735, 49619, 49620, 49621); +UPDATE `creature_template` SET `lootid`= `entry` WHERE `entry` IN (43735, 49619, 49620, 49621); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (437350, 437351); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Normal Mode +(437350, 59513, 0, 1, 1, 1, 1), -- Scepter of Ice +(437350, 59504, 0, 1, 1, 1, 1), -- Arion's Crown +(437350, 59509, 0, 1, 1, 1, 1), -- Glaciated Helm +(437350, 59510, 0, 1, 1, 1, 1), -- Feludius' Mantle +(437350, 59507, 0, 1, 1, 1, 1), -- Glittering Epidermis +(437350, 59505, 0, 1, 1, 1, 1), -- Gravitational Pull +(437350, 59511, 0, 1, 1, 1, 1), -- Hydrolance Gloves +(437350, 59502, 0, 1, 1, 1, 1), -- Dispersing Belt +(437350, 59503, 0, 1, 1, 1, 1), -- Terrastra's Legguards +(437350, 59508, 0, 1, 1, 1, 1), -- Treads of Liquid Ice +(437350, 59506, 0, 1, 1, 1, 1), -- Crushing Weight +(437350, 59514, 0, 1, 1, 1, 1), -- Heart of Ignacious +-- Heroic Mode +(437351, 65111, 0, 1, 1, 1, 1), -- Scepter of Ice +(437351, 65120, 0, 1, 1, 1, 1), -- Arion's Crown +(437351, 65115, 0, 1, 1, 1, 1), -- Glaciated Helm +(437351, 65114, 0, 1, 1, 1, 1), -- Feludius' Mantle +(437351, 65117, 0, 1, 1, 1, 1), -- Glittering Epidermis +(437351, 65119, 0, 1, 1, 1, 1), -- Gravitational Pull +(437351, 65113, 0, 1, 1, 1, 1), -- Hydrolance Gloves +(437351, 65122, 0, 1, 1, 1, 1), -- Dispersing Belt +(437351, 65121, 0, 1, 1, 1, 1), -- Terrastra's Legguards +(437351, 65116, 0, 1, 1, 1, 1), -- Treads of Liquid Ice +(437351, 65118, 0, 1, 1, 1, 1), -- Crushing Weight +(437351, 65110, 0, 1, 1, 1, 1); -- Heart of Ignacious + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +-- 10 Player Normal +(43735, 437350, 100, 1, 437350, 2), +-- 25 Player Normal +(49619, 437350, 100, 1, 437350, 6), +-- 10 Player Heroic +(49620, 437351, 100, 1, 437351, 2), +-- 25 Player Heroic +(49621, 437351, 100, 1, 437351, 6); + +-- Gold Loot +-- 10 Player +UPDATE `creature_template` SET `mingold`= 2200000, `maxgold`= 2400000 WHERE `entry` IN (43735, 49620); +-- 25 Player +UPDATE `creature_template` SET `mingold`= 4900000, `maxgold`= 5100000 WHERE `entry` IN (49619, 49621); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (43735, 49619, 49620, 49621); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(43735, 396, 11500), +(49619, 396, 13500), +(49620, 396, 11500), +(49621, 396, 13500); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pal_seal_of_truth', +'spell_pal_judgements_of_the_wise', +'spell_pal_judgements'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(31801, 'spell_pal_seal_of_truth'), +(31878, 'spell_pal_judgements'), +(89901, 'spell_pal_judgements'); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (31801, 89901); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(31801, 0, 0, 0, 0, 0, 1, 2, 0, 32 | 64, 0, 0, 0), +(89901, 10, 0x00800000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0); + +UPDATE `spell_bonus_data` SET `dot_bonus`= 0, `ap_dot_bonus`= 0, `comments`= 'Paladin - Censure' WHERE `entry`= 31803; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pal_long_arm_of_the_law', +'spell_pal_communion'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-87168, 'spell_pal_long_arm_of_the_law'), +(31876, 'spell_pal_communion'); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (-87168, 31876, 85285); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-87168, 10, 0x00800000, 0, 0, 0x00000110, 1, 1, 0, 0, 0, 0, 100), +(31876, 10, 0x00800000, 0, 0, 0x00000110, 1, 1, 0, 0, 0, 0, 100), +(85285, 0, 0, 0, 0, 0, 1, 0, 0, 0, 60000, 0, 0); +DELETE FROM `spell_bonus_data` WHERE `entry`= 85673; +INSERT INTO `spell_bonus_data` (`entry`, `ap_bonus`, `comments`) VALUES +(85673, 0.198, 'Paladin - Word of Glory'); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pal_word_of_glory', +'spell_pal_selfless_healer'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(85673, 'spell_pal_word_of_glory'), +(-85803, 'spell_pal_selfless_healer'); + +DELETE FROM `spell_proc` WHERE `SpellId`= -85803; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-85803, 10, 0, 0, 0x00004000, 0, 2, 2, 0, 16 | 64, 0, 0, 0); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pal_divine_purpose'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-85117, 'spell_pal_divine_purpose'); + +SET @FAMILY_FLAGS1 := 0 | 0x00800000; +SET @FAMILY_FLAGS2 := 0 | 0x00000002 | 0x00200000 | 0x00000080; +SET @FAMILY_FLAGS3 := 0 | 0x00002000 | 0x00008000; +SET @PROC_FLAGS := 0 | 0x00000010 | 0x00000400| 0x00004000 | 0x00010000 | 0x00800000; + +DELETE FROM `spell_proc` WHERE `SpellId` IN (-85117, 90174); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-85117, 10, @FAMILY_FLAGS1, @FAMILY_FLAGS2, @FAMILY_FLAGS3, @PROC_FLAGS, 7, 1, 0, 0, 0, 0, 100), +(90174, 10, 0, 0, 0, @PROC_FLAGS, 7, 1, 0, 8, 0, 1, 100); +UPDATE `playercreateinfo_skills` SET `classMask`= `classMask` | 2 WHERE `skill` IN (44, 172); +-- Template Updates +-- Argaloth +UPDATE `creature_template` SET `difficulty_entry_1`= 51350, `mingold`= 2200000, `maxgold`= 2400000 WHERE `entry`= 47120; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `faction`= 16, `exp`= 3, `speed_walk`= 1.2, `speed_run`= 1.71429, `unit_flags2`= 134219776, `movementId`= 164, `mingold`= 4900000, `maxgold`= 5100000, `lootid`= 51350 WHERE `entry`= 51350; +UPDATE `creature_template` SET `DamageModifier`= 70, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (47120, 51350); +-- Fel Flames +UPDATE `creature_template` SET `ScriptName`= 'npc_argaloth_fel_flames' WHERE `entry`= 47829; + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry`= 47829; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_argaloth_fel_firestorm'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(88987, 'spell_argaloth_fel_firestorm'), +(95176, 'spell_argaloth_fel_firestorm'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 47120; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(47120, 0, 0, '|TInterface\\Icons\\spell_fire_felrainoffire.blp:20|t%s begins to cast |cFFFF0000|Hspell:88972|h[Fel Firestorm]|h|r!', 41, 0, 100, 0, 0, 0, 48107, 'Argaloth - Announce Fel Firestorm'); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (47120, 51350); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(47120, 396, 11500), +(51350, 396, 13500); + +-- Loot +DELETE FROM `creature_loot_template` WHERE `entry` IN (47120, 51350); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `IsCurrency`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(47120, 471200, 471200, 100, 0, 0, 1, 0, 2, 2, ''), +(51350, 471200, 471200, 100, 0, 0, 1, 0, 6, 6, ''); + +DELETE FROM `reference_loot_template` WHERE `Entry`= 471200; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `IsCurrency`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(471200, 60245, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60247, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60248, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60250, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60255, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60257, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60261, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60275, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60278, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60280, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60283, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60285, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60288, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60290, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60298, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60300, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60305, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60307, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60310, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60312, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60314, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60316, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60319, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60321, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60324, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60326, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60330, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60332, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60340, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60342, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60345, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60347, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60350, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60352, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60355, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60357, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60361, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60363, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60409, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60411, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60414, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60416, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60419, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60421, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60424, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60426, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60429, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60431, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60434, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60436, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60439, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60441, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60443, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60445, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60448, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60450, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60453, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60455, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60459, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60461, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60463, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60465, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60468, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60470, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60473, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60475, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60478, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60480, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60505, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60508, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60509, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60513, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60516, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60521, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60533, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60534, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60536, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60539, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60540, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60554, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60555, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60557, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60564, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60567, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60580, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60581, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60583, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60586, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60587, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60589, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60593, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60602, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60604, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60607, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60612, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60613, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60626, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60628, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60630, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60634, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60636, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60637, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60645, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60647, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60649, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60650, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60651, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60658, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60659, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60661, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60662, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60664, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60668, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60669, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60670, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60673, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60776, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60778, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60779, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60783, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60786, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60787, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60788, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60794, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60799, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60800, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60801, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60806, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 60807, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 61026, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 61031, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 61032, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 61033, 0, 0, 0, 0, 1, 1, 1, 1, ''), +(471200, 61047, 0, 0, 0, 0, 1, 1, 1, 1, ''); +UPDATE `spell_proc` SET `SpellId`= -20911 WHERE `SpellId`= 20911; +DELETE FROM `playercreateinfo_skills` WHERE `skill`= 54 AND `classMask` IN (8, 32); +UPDATE `playercreateinfo_skills` SET `classMask`= `classMask` | 8 | 32 WHERE `skill`= 54; +DELETE FROM `playercreateinfo_skills` WHERE `skill`= 473; +INSERT INTO `playercreateinfo_skills` (`classMask`, `raceMask`, `skill`, `comment`) VALUES +(1 | 4 | 8 | 64 | 1024, 0, 473, 'Fist Weapons'); +-- Template Updates +-- Cho'Gall +UPDATE `creature_template` SET `difficulty_entry_1`= 50131, `difficulty_entry_2`= 50132, `difficulty_entry_3`= 50133, `ScriptName`= 'boss_chogall' WHERE `entry`= 43324; +UPDATE `creature_template` SET `unit_class`= 2, `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `movementId`= 144, `DamageModifier`= 35, `BaseVariance`= 0.5, `speed_run`= 1.42857, `BaseAttackTime`= 1500, `unit_flags`= 64, `unit_flags2`= 134219776, `mechanic_immune_mask`= 617299839, `VehicleId`= 961, `flags_extra`= 1 | 536870912 WHERE `entry` IN (50131, 50132, 50133, 43324); +-- Fire Portal and Shadow Portal +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 2099200, `InhabitType`= 12, `flags_extra`= 128, `ScriptName`= 'npc_chogall_portal' WHERE `entry` IN (43393, 43603); +-- Fire Elemental +UPDATE `creature_template` SET `difficulty_entry_1`= 50194, `difficulty_entry_2`= 50195, `difficulty_entry_3`= 50196, `ScriptName`= 'npc_chogall_elemental' WHERE `entry`= 43406; +-- Shadow Lord +UPDATE `creature_template` SET `difficulty_entry_1`= 50197, `difficulty_entry_2`= 50198, `difficulty_entry_3`= 50199, `ScriptName`= 'npc_chogall_elemental' WHERE `entry`= 43592; +-- Fire Elemental and Shadow Lord +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 14, `mechanic_immune_mask`= 617299839, `flags_extra`= 536870912 | 1073741824 WHERE `entry` IN (50194, 50195, 50196, 50197,50198, 50199, 43406, 43592); +-- Fire Elemental and Shadow Lord(Heroic) +UPDATE `creature_template` SET `unit_flags`= 2097152 WHERE `entry` IN (50195, 50196, 50198, 50199); +-- Fire Elemental and Shadow Lord (Normal) +UPDATE `creature_template` SET `unit_flags`= 2181038080 WHERE `entry` IN (43406, 43592, 50194, 50197); +-- Blaze +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 2099200,`flags_extra`= 128 WHERE `entry`= 43585; +-- Corrupting Adherent +UPDATE `creature_template` SET `difficulty_entry_1`= 50184, `difficulty_entry_2`= 50185, `difficulty_entry_3`= 50186, `ScriptName`= 'npc_chogall_corrupting_adherent' WHERE `entry`= 43622; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 16, `DamageModifier`= 60, `BaseVariance`= 0.5, `movementId`= 156, `mechanic_immune_mask`= 80297855, `flags_extra`= 536870912 WHERE `entry` IN (50184, 50185, 50186, 43622); +-- Blood of the Old God +UPDATE `creature_template` SET `difficulty_entry_1`= 50168, `difficulty_entry_2`= 50169, `difficulty_entry_3`= 50170, `ScriptName`= 'npc_chogall_blood_of_the_old_god' WHERE `entry`= 43707; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 16, `DamageModifier`= 30, `BaseVariance`= 0.5, `movementId`= 106, `mechanic_immune_mask`= 65536 | 131072 | 512 | 16 | 1 | 2 | 32, `flags_extra`= 536870912 | 256 WHERE `entry` IN (50168, 50169, 50170, 43707); +-- Corruption +UPDATE `creature_template` SET `InhabitType`= 12, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 43999; +-- Malformation +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 2164736, `ScriptName`= 'npc_chogall_malformation' WHERE `entry`= 43888; +-- Darkened Creation (Dummy) +UPDATE `creature_template` SET `difficulty_entry_1`= 50187, `difficulty_entry_2`= 50188, `difficulty_entry_3`= 50189, `ScriptName`= 'npc_chogall_darkened_creation' WHERE `entry`= 44045; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 14, `movementId`= 94, `unit_flags`= 33554432, `unit_flags2`= 2099200, `InhabitType`= 12, `flags_extra`= 128 | 1073741824, `mechanic_immune_mask`= 80297855 WHERE `entry` IN (44045, 50187, 50188, 50189); +-- Darkened Creation (Transform) +UPDATE `creature_template` SET `difficulty_entry_1`= 50190, `difficulty_entry_2`= 50191, `difficulty_entry_3`= 50192 WHERE `entry`= 44023; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction`= 14, `movementId`= 118, `InhabitType`= 12, `flags_extra`= 1073741824, `mechanic_immune_mask`= 80297855 WHERE `entry` IN (44023, 50190, 50191, 50192); +-- Spiked Tentacle (Trigger) +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 2099200, `InhabitType`= 12, `flags_extra`= 128 WHERE `entry`= 50265; +-- Spiked Tentacle +UPDATE `creature_template` SET `InhabitType`= 12, `DamageModifier`= 30, `BaseVariance`= 0.5, `flags_extra`= 1073741824, `mechanic_immune_mask`= 80297855, `ScriptName`= 'npc_chogall_spiked_tentacle' WHERE `entry`= 50264; + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (43393, 43603, 43585, 43707, 43888, 50265, 50168, 50169, 50170); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(43393, '81172'), +(43603, '81559'), +(43585, '81536'), +(43707, '81777'), +(50168, '81777'), +(50169, '81777'), +(50170, '81777'), +(43888, '82167'), +(50265, '93318'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_chogall_absorb_elemental_reverse_cast', +'spell_chogall_absorb_elemental', +'spell_chogall_absorb_elemental_heroic', +'spell_chogall_elemental_power', +'spell_chogall_flaming_destruction_heroic', +'spell_chogall_empowered_shadows_heroic', +'spell_chogall_summon_corrupted_adherent', +'spell_chogall_fester_blood', +'spell_chogall_fester_blood_summon', +'spell_chogall_conversion', +'spell_chogall_worshipping', +'spell_chogall_consume_blood_of_the_old_god', +'spell_chogall_consume_blood_of_the_old_god_triggered', +'spell_chogall_corruption_significant', +'spell_chogall_corruption_normal', +'spell_chogall_corruption_normal_alternative', +'spell_chogall_corruption_of_the_old_god', +'spell_chogall_corruption_sickness', +'spell_chogall_corruption_malformation', +'spell_chogall_shadow_bolt', +'spell_chogall_debilitating_beam'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(81233, 'spell_chogall_absorb_elemental_reverse_cast'), +(81565, 'spell_chogall_absorb_elemental_reverse_cast'), +(81196, 'spell_chogall_absorb_elemental'), +(93241, 'spell_chogall_absorb_elemental'), +(93242, 'spell_chogall_absorb_elemental_heroic'), +(93243, 'spell_chogall_absorb_elemental_heroic'), +(81566, 'spell_chogall_absorb_elemental'), +(93238, 'spell_chogall_absorb_elemental'), +(93239, 'spell_chogall_absorb_elemental_heroic'), +(93240, 'spell_chogall_absorb_elemental_heroic'), +(93245, 'spell_chogall_elemental_power'), +(93301, 'spell_chogall_elemental_power'), +(93265, 'spell_chogall_flaming_destruction_heroic'), +(93266, 'spell_chogall_flaming_destruction_heroic'), +(93219, 'spell_chogall_empowered_shadows_heroic'), +(93220, 'spell_chogall_empowered_shadows_heroic'), +(81628, 'spell_chogall_summon_corrupted_adherent'), +(82299, 'spell_chogall_fester_blood'), +(82337, 'spell_chogall_fester_blood_summon'), +(93111, 'spell_chogall_fester_blood_summon'), +(93112, 'spell_chogall_fester_blood_summon'), +(93113, 'spell_chogall_fester_blood_summon'), +(91303, 'spell_chogall_conversion'), +(93203, 'spell_chogall_conversion'), +(93204, 'spell_chogall_conversion'), +(93205, 'spell_chogall_conversion'), +(91317, 'spell_chogall_worshipping'), +(93365, 'spell_chogall_worshipping'), +(93366, 'spell_chogall_worshipping'), +(93367, 'spell_chogall_worshipping'), +(82630, 'spell_chogall_consume_blood_of_the_old_god'), +(82659, 'spell_chogall_consume_blood_of_the_old_god_triggered'), +(81713, 'spell_chogall_corruption_significant'), +(93175, 'spell_chogall_corruption_significant'), +(93176, 'spell_chogall_corruption_significant'), +(93177, 'spell_chogall_corruption_significant'), +(82919, 'spell_chogall_corruption_normal'), +(93108, 'spell_chogall_corruption_normal'), +(93109, 'spell_chogall_corruption_normal'), +(93110, 'spell_chogall_corruption_normal'), +(81761, 'spell_chogall_corruption_normal'), +(93172, 'spell_chogall_corruption_normal'), +(93173, 'spell_chogall_corruption_normal'), +(93174, 'spell_chogall_corruption_normal'), +(81689, 'spell_chogall_corruption_normal'), +(93184, 'spell_chogall_corruption_normal'), +(93185, 'spell_chogall_corruption_normal'), +(93186, 'spell_chogall_corruption_normal'), +(81831, 'spell_chogall_corruption_normal'), +(93200, 'spell_chogall_corruption_normal'), +(93201, 'spell_chogall_corruption_normal'), +(93202, 'spell_chogall_corruption_normal'), +(81775, 'spell_chogall_corruption_normal_alternative'), +(93209, 'spell_chogall_corruption_normal_alternative'), +(93210, 'spell_chogall_corruption_normal_alternative'), +(93211, 'spell_chogall_corruption_normal_alternative'), +(81943, 'spell_chogall_corruption_normal_alternative'), +(93196, 'spell_chogall_corruption_normal_alternative'), +(93197, 'spell_chogall_corruption_normal_alternative'), +(93198, 'spell_chogall_corruption_normal_alternative'), +(82363, 'spell_chogall_corruption_of_the_old_god'), +(93169, 'spell_chogall_corruption_of_the_old_god'), +(93170, 'spell_chogall_corruption_of_the_old_god'), +(93171, 'spell_chogall_corruption_of_the_old_god'), +(82235, 'spell_chogall_corruption_sickness'), +(82125, 'spell_chogall_corruption_malformation'), +(82151, 'spell_chogall_shadow_bolt'), +(93193, 'spell_chogall_shadow_bolt'), +(93194, 'spell_chogall_shadow_bolt'), +(93195, 'spell_chogall_shadow_bolt'), +(93133, 'spell_chogall_debilitating_beam'), +(93134, 'spell_chogall_debilitating_beam'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (81233, 81565, 81196, 93241, 93242, 93243, 81566, 93238, 93239, 93240, 81194, 93264, 93265, 93266, 81572, 93218, 93219, 93220, 82299, 91331, 93206, 93207, 93208, 82356, 82630, 82659, 82433) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 81233, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Absorb Fire Reverse Cast - Target Cho''Gall'), +(13, 1, 81565, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Absorb Shadow Reverse Cast - Target Cho''Gall'), +(13, 7, 81194, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Flaming Destruction - Target Cho''Gall'), +(13, 7, 93264, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Flaming Destruction - Target Cho''Gall'), +(13, 7, 93265, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Flaming Destruction - Target Cho''Gall'), +(13, 7, 93266, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Flaming Destruction - Target Cho''Gall'), +(13, 1, 81572, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Empowered Shadows - Target Cho''Gall'), +(13, 1, 93218, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Empowered Shadows - Target Cho''Gall'), +(13, 1, 93219, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Empowered Shadows - Target Cho''Gall'), +(13, 1, 93220, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Empowered Shadows - Target Cho''Gall'), +(13, 5, 81196, 0, 0, 31, 0, 3, 43406, 0, 0, 0, '', 'Absorb Fire - Target Fire Elemental'), +(13, 5, 93241, 0, 0, 31, 0, 3, 43406, 0, 0, 0, '', 'Absorb Fire - Target Fire Elemental'), +(13, 5, 93242, 0, 0, 31, 0, 3, 43406, 0, 0, 0, '', 'Absorb Fire - Target Fire Elemental'), +(13, 5, 93243, 0, 0, 31, 0, 3, 43406, 0, 0, 0, '', 'Absorb Fire - Target Fire Elemental'), +(13, 5, 81566, 0, 0, 31, 0, 3, 43592, 0, 0, 0, '', 'Absorb Shadow - Target Shadow Lord'), +(13, 5, 93238, 0, 0, 31, 0, 3, 43592, 0, 0, 0, '', 'Absorb Shadow - Target Shadow Lord'), +(13, 5, 93239, 0, 0, 31, 0, 3, 43592, 0, 0, 0, '', 'Absorb Shadow - Target Shadow Lord'), +(13, 5, 93240, 0, 0, 31, 0, 3, 43592, 0, 0, 0, '', 'Absorb Shadow - Target Shadow Lord'), +(13, 3, 82299, 0, 0, 31, 0, 3, 43622, 0, 0, 0, '', 'Fester Blood - Target Corrupting Adherent'), +(13, 3, 91331, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Twisted Devotion - Target Cho''Gall'), +(13, 3, 93206, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Twisted Devotion - Target Cho''Gall'), +(13, 3, 93207, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Twisted Devotion - Target Cho''Gall'), +(13, 3, 93208, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Twisted Devotion - Target Cho''Gall'), +(13, 1, 82356, 0, 0, 31, 0, 3, 43999, 0, 0, 0, '', 'Corruption of the Old God Visual - Target Corruption'), +(13, 7, 82630, 0, 0, 31, 0, 3, 43622, 0, 0, 0, '', 'Consume Blood of the Old God - Target Corrupting Adherent'), +(13, 1, 82659, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Consume Blood of the Old God - Target Cho''Gall'), +(13, 1, 82433, 0, 0, 31, 0, 3, 43324, 0, 0, 0, '', 'Darkened Creations - Target Cho''Gall'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 43324; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(43324, 0, 0, 'Valiona, Theralion, put them in their place.', 14, 0, 100, 0, 0, 22063, 47518, 3, 'Cho''gall - Theralion and Valiona Intro'), +(43324, 1, 0, '(Come closer, closer. Let us see your faces. All will be humbled before his power.)', 14, 0, 100, 0, 0, 22064, 47538, 3, 'Cho''gall - Theralion and Valiona Death'), +(43324, 2, 0, 'Welcome, mortals. (Frail little children). Few have laid eyes on this inner sanctum. (They reach out to touch the fire!)', 14, 0, 100, 0, 0, 22065, 47585, 3, 'Cho''gall - Ascendant Council 1'), +(43324, 3, 0, 'It is here the chosen realize their destiny. (One with eternity). And it is here that you will realize yours.(End of the flesh. End of the flesh)!', 14, 0, 100, 0, 0, 22066, 47587, 3, 'Cho''gall - Ascendant Council 2'), +(43324, 4, 0, 'Brothers of Twilight! The Hammer calls to you! (Fire water earth air). Leave your mortal shell behind. (Fire water earth air). Embrace your new forms for here and everafter! (Burn and drown and crush and suffocate). And use your gifts to destroy the unbelievers. (Burn and drown and crush and suffocate)!!', 14, 0, 100, 0, 0, 22067, 47588, 3, 'Cho''gall - Ascendant Council 3'), +(43324, 5, 0, 'Foolish mortals-(Usurper''s children!) nothing you have done- (Spawn of a lesser god!) I am TRYING to speak here. (Words, words, words. The Master wants murder.) ALL falls to chaos. ALL will be destroyed. (Chaos, chaos!) Your work here today changes nothing. (Chaos, chaos, all things end) No mortal may see what you have and live. Your end has come.', 14, 0, 100, 0, 0, 22068, 47591, 3, 'Cho''gall - Intro'), +(43324, 6, 0, 'Enough! (To His will all flesh succumbs. From His kingdom, chaos comes.) Yes - what he said.', 14, 0, 100, 0, 0, 22081, 47859, 3, 'Cho''gall - Aggro'), +(43324, 7, 0, 'Behold the might of the hammer!', 14, 0, 100, 0, 0, 22079, 47857, 3, 'Cho''gall - Absorb Fire Elemental 1'), +(43324, 7, 1, 'Give me your strength!', 14, 0, 100, 0, 0, 22078, 47856, 3, 'Cho''gall - Absorb Fire Elemental 1l'), +(43324, 8, 0, '(Stop. Hammertime!)', 14, 0, 100, 0, 0, 22080, 47858, 3, 'Cho''gall - Absorb Shadow Lorb'), +(43324, 9, 0, '|TInterface\\Icons\\ability_rogue_shadowdance.blp:20|t%s begins to summon |cFFFF0000Corrupted Adherents|r to aid him!\n', 41, 0, 100, 0, 0, 0, 44484, 3, 'Cho''gall - Announce Corrupting Adherents'), +(43324, 10, 0, '(*Snort*)', 14, 0, 100, 0, 0, 22083, 47861, 3, 'Cho''gall - Corrupting Adherents 1'), +(43324, 10, 1, '(Infinite suffering!)', 14, 0, 100, 0, 0, 22082, 47860, 3, 'Cho''gall - Corrupting Adherents 2'), +(43324, 10, 2, 'More. More!', 14, 0, 100, 0, 0, 22085, 47863, 3, 'Cho''gall - Corrupting Adherents 3'), +(43324, 10, 3, '(Come, brothers! Feast on hope!)', 14, 0, 100, 0, 0, 22086, 47864, 3, 'Cho''gall - Corrupting Adherents 4'), +(43324, 11, 0, 'Cho''gall beckons and casts |cFF006EFD|Hspell:91303|h[Conversion]|h|r!', 41, 0, 100, 0, 0, 0, 49084, 3, 'Cho''gall - Announce Conversion'), +(43324, 12, 0, '|TInterface\\Icons\\spell_shadow_shadetruesight.blp:20|t%s begins to cast |cFFFF0000|Hspell:82299|h[Fester Blood]|h|r!', 41, 0, 100, 0, 0, 0, 45715, 3, 'Cho''gall - Announce Fester Blood'), +(43324, 13, 0, 'Brother, it cannot be... (Destiny has come!) My strength... (Too proud! He speaks in blood! Listen!) My mind... (It is for His glory we serve!) What... is happening... (Gone is the dawn. Come shades of Twilight. Come madness, come havoc, come Infinite Night!)', 14, 0, 100, 0, 0, 22093, 47868, 3, 'Cho''gall - Phase 2'), +(43324, 14, 0, '|TInterface\\Icons\\spell_shadow_shadesofdarkness.blp:20|t%s begins to summon |cFFFF0000Darkened Creations|r to aid him!\n', 41, 0, 100, 0, 0, 0, 47897, 3, 'Cho''gall - Announce Darkened Creations'), +(43324, 15, 0, '(The claws of fate grasp the unbelievers!)', 14, 0, 100, 0, 0, 22094, 47899, 3, 'Cho''gall - Say Darkened Creations 1'), +(43324, 15, 1, '(The Master sees, the Master sees!)', 14, 0, 100, 0, 0, 22095, 47900, 3, 'Cho''gall - Say Darkened Creations 2'), +(43324, 15, 2, 'What madness have we wrought? (Not yet enough!)', 14, 0, 100, 0, 0, 22096, 47901, 3, 'Cho''gall - Say Darkened Creations 3'), +(43324, 15, 3, 'I... can''t take much more... (Brother, it merely begins!)', 14, 0, 100, 0, 0, 22097, 47902, 3, 'Cho''gall - Say Darkened Creations 4'), +(43324, 15, 4, '(The Master''s eye sees all that was and all to be, or not!)', 14, 0, 100, 0, 0, 22098, 47903, 3, 'Cho''gall - Say Darkened Creations 5'), +(43324, 16, 0, '(Body and soul, to be swallowed whole!)', 14, 0, 100, 0, 0, 22088, 47882, 3, 'Cho''gall - Slay 1'), +(43324, 16, 1, 'Everyone succumbs in the end.', 14, 0, 100, 0, 0, 22089, 47883, 3, 'Cho''gall - Slay 1'), +(43324, 16, 2, '(Now they see the darkness! Their eyes are open!)', 14, 0, 100, 0, 0, 22090, 47884, 3, 'Cho''gall - Slay 1'), +(43324, 16, 3, 'Now the Master has them.', 14, 0, 100, 0, 0, 22091, 47885, 3, 'Cho''gall - Slay 2'), +(43324, 16, 4, '(Chaos, madness! Like a hug for your brain.)', 14, 0, 100, 0, 0, 22092, 47886, 3, 'Cho''gall - Slay 3'), +(43324, 16, 5, '(Blood for the master!)', 14, 0, 100, 0, 0, 22069, 47851, 3, 'Cho''gall - Slay 4'), +(43324, 16, 6, '(Finish it! Finish them all!)', 14, 0, 100, 0, 0, 22072, 47854, 3, 'Cho''gall - Slay 5'), +(43324, 17, 0, 'It is finished. (The fate of all.)', 14, 0, 100, 0, 0, 22101, 47892, 3, 'Cho''gall - Evade'), +(43324, 18, 0, 'Brother, we are shattered. (But the Master... I still hear... so angry... Master...?)', 14, 0, 100, 0, 0, 22099, 47893, 3, 'Cho''gall - Death Normal'), +(43324, 19, 0, 'Brother, we are shattered. Let her finish them. (The Master does not want them near her... Brother? The Master seethes...)', 14, 0, 100, 0, 0, 22100, 47894, 3, 'Cho''gall - Death Heroic'); + +-- Achievement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15673; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15673, 11, 0, 0, 'achievement_the_abyss_will_gaze_into_you'); + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6625, 6626, 6627, 6444); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6625, 'at_ascendant_council_intro_1'), +(6626, 'at_ascendant_council_intro_2'), +(6627, 'at_ascendant_council_intro_3'), +(6444, 'at_chogall_intro'); + +-- Spell Target Positions +UPDATE `spell_target_position` SET `Orientation`= 3.189992 WHERE `ID`= 82712; +UPDATE `spell_target_position` SET `Orientation`= 0.2274163 WHERE `ID`= 82713; + +-- Gold Loot +-- 10 Player +UPDATE `creature_template` SET `mingold`= 2200000, `maxgold`= 2400000 WHERE `entry` IN (43324, 50132); +-- 25 Player +UPDATE `creature_template` SET `mingold`= 4900000, `maxgold`= 5100000 WHERE `entry` IN (50131, 50133); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (50131, 50132, 50133, 43324); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(43324, 396, 11500), +(50131, 396, 13500), +(50132, 396, 11500), +(50133, 396, 13500); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_flame_warden_lava_eruption', +'spell_omega_stance_spider_effect'); + +DELETE FROM `achievement_criteria_data` WHERE `ScriptName`= 'achievement_hate_that_song'; + +DELETE FROM `spell_proc` WHERE `SpellId` IN (62600); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(62600, 0, 0, 0, 0, 0, 1, 2, 2, 32, 0, 0, 50); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_dru_predatory_strikes'; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_mage_mirror_image', +'spell_mage_initialize_images'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(55342, 'spell_mage_mirror_image'), +(58836, 'spell_mage_initialize_images'); + +UPDATE `creature_template` SET `unit_class`= 8, `ScriptName`= 'npc_pet_mage_mirror_image' WHERE `entry` IN (47244, 47243, 31216); + +DELETE FROM `conditions` WHERE `SourceEntry`= 58836 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 58836, 0, 0, 31, 0, 3, 47244, 0, 0, 0, '', 'Initialize Images - Target Mirror Image'), +(13, 1, 58836, 0, 1, 31, 0, 3, 47243, 0, 0, 0, '', 'Initialize Images - Target Mirror Image'), +(13, 1, 58836, 0, 2, 31, 0, 3, 31216, 0, 0, 0, '', 'Initialize Images - Target Mirror Image'); +-- Creature Spike 44765 SAI +SET @ENTRY := 44765; +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, 60, 0, 100, 1, 200, 200, 0, 0, 11, 83487, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 200 and 200 ms) - Self: Cast spell 83487 on Self // "); +-- Creature Wind Tunnel Landing Zone 48097 +SET @ENTRY := 48097; +UPDATE `creature_template` SET `AIName`="", `ScriptName`= 'npc_lct_wind_tunnel_landing_zone' WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; + +-- Creature Wind Tunnel 48092 +SET @ENTRY := 48092; +UPDATE `creature_template` SET `AIName`="", `ScriptName`= 'npc_lct_wind_tunnel' WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; + +DELETE FROM `spell_script_names` WHERE `spell_id`= 79737; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(79737, 'spell_gen_eject_all_passengers'); +-- Template Updates +-- Rom'Ogg Bonecrusher +UPDATE `creature_template` SET `flags_extra`= `flags_extra` | 2048 WHERE `entry` IN (39665, 39666); +-- Quake +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 40401; +-- Angered Earth +UPDATE `creature_template` SET `DamageModifier`= 8 WHERE `entry`= 50376; +-- Chains of Woe +UPDATE `creature_template` SET `ScriptName`= 'npc_romogg_chains_of_woe' WHERE `entry`= 40447; +UPDATE `creature_template` SET `InhabitType`= 12, `mechanic_immune_mask`= 1 | 2 | 16 | 32 | 256 | 512 | 2048 | 8192 | 65536 | 131072 | 8388608 | 33554432, `flags_extra`= 0x40000000 WHERE `entry` IN (40447, 50379); + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (40401); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(40401, '75379'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_romogg_quake', +'spell_chains_of_woe_1', +'spell_chains_of_woe_4', +'spell_romogg_chains_of_woe_teleport', +'spell_romogg_chains_of_woe_root', +'spell_romogg_chains_of_woe', +'spell_romogg_chains_of_woe_teleport_dest', +'spell_romogg_call_for_help'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75272, 'spell_romogg_quake'), +(75437, 'spell_romogg_chains_of_woe_teleport'), +(82189, 'spell_romogg_chains_of_woe_root'), +(75539, 'spell_romogg_chains_of_woe'), +(75464, 'spell_romogg_chains_of_woe_teleport_dest'), +(82137, 'spell_romogg_call_for_help'); + +-- Achievement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15943; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15943, 11, 0, 0, 'achievement_crushing_bones_and_cracking_skulls'); + +DELETE FROM `conditions` WHERE `SourceEntry`= 93454 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 2, 93454, 0, 0, 31, 0, 3, 50376, 0, 0, 0, '', 'The Skullcracker - Target Enraged Earth'), +(13, 2, 93454, 0, 1, 31, 0, 3, 40447, 0, 0, 0, '', 'The Skullcracker - Target Chains of Woe'); +-- Template Updates +-- Corla, Herald of Twilight +UPDATE `creature_template` SET `ScriptName`= 'boss_corla_herald_of_twilight' WHERE `entry`= 39679; +-- Twilight Zealot +UPDATE `creature_template` SET `ScriptName`= 'npc_corla_twilight_zealot' WHERE `entry`= 50284; +UPDATE `creature_template` SET `mechanic_immune_mask`= 1 | 2 | 4 | 8 | 16 | 32 | 256 | 512 | 2048 | 4096 | 8192 | 65536 | 131072 | 8388608, `flags_extra`= 0x40000000 WHERE `entry` IN (50284, 50285, 39987, 39988); +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 39987; +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry`= 39988; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_corla_nether_dragon_essence', +'spell_nether_dragon_essence_1', +'spell_nether_dragon_essence_2', +'spell_corla_nether_dragon_essence_visual', +'spell_corla_nether_beam', +'spell_corla_evolution', +'spell_corla_grievous_whirl'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75649, 'spell_corla_nether_dragon_essence'), +(75650, 'spell_corla_nether_dragon_essence_visual'), +(75653, 'spell_corla_nether_dragon_essence_visual'), +(75654, 'spell_corla_nether_dragon_essence_visual'), +(75676, 'spell_corla_nether_beam'), +(75697, 'spell_corla_evolution'), +(87378, 'spell_corla_evolution'), +(76524, 'spell_corla_grievous_whirl'), +(93658, 'spell_corla_grievous_whirl'); + +DELETE FROM `conditions` WHERE `SourceEntry`= 75677 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 75677, 0, 0, 31, 0, 3, 39842, 0, 0, 0, '', 'Nether Beam - Target Invisible Stalker'); + +-- Addons +DELETE FROM `creature_template_addon` WHERE `entry`= 39842; +DELETE FROM `creature_addon` WHERE `guid`= 361693; +INSERT INTO `creature_addon` (`guid`, `auras`) VALUES +(361693, '75649'); + +-- Delete encounter related creatures +DELETE FROM `creature` WHERE `guid` IN (361875, 361876); +DELETE FROM `creature_addon` WHERE `guid` IN (361875, 361876); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (76524, 93658); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(76524, 0, 0, 0, 0, 0x00008000| 0x00080000, 7, 0, 0, 0, 0, 0, 100), +(93658, 0, 0, 0, 0, 0x00008000| 0x00080000, 7, 0, 0, 0, 0, 0, 100); + +-- Achievement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15944; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15944, 11, 0, 0, 'achievement_arrested_development'); +-- Creature Garrosh Hellscream 39605 SAI +SET @ENTRY := 39605; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 65, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839, `flags_extra`= 0x40000000 WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 7000, 7000, 20000, 20000, 11, 84715, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 20000 and 20000 ms) - Self: Cast spell 84715 on Victim // "), +(@ENTRY, 0, 1, 2, 0, 0, 100, 0, 10000, 10000, 20000, 20000, 11, 50230, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 10000 and 10000 ms (and later repeats every 20000 and 20000 ms) - Self: Cast spell 50230 on Random hostile // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 84724, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 84724 on Self // "), +(@ENTRY, 0, 3, 0, 0, 0, 100, 0, 23000, 23000, 20000, 20000, 11, 61044, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 23000 and 23000 ms (and later repeats every 20000 and 20000 ms) - Self: Cast spell 61044 on Self // "), +(@ENTRY, 0, 4, 0, 0, 0, 100, 0, 33500, 33500, 20000, 20000, 11, 84742, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 33500 and 33500 ms (and later repeats every 20000 and 20000 ms) - Self: Cast spell 84742 on Random hostile // "); +DELETE FROM `creature_template_addon` WHERE `entry` IN (28596, 28569); +DELETE FROM `creature_addon` WHERE `guid` IN (313934, 313933, 313930, 313935, 313931, 313938, 313939, 314108, 314106, 314109, 314107, 314113, 314110, 314111, 314112, 313932); +INSERT INTO `creature_addon` (`guid`, `bytes2`, `emote`) VALUES +(313934, 257, 234), +(313933, 257, 234), +(313930, 257, 234), +(313935, 257, 234), +(313931, 257, 234), +(313938, 257, 234), +(313939, 257, 234), +(314108, 257, 234), +(314106, 257, 234), +(314109, 257, 234), +(314107, 257, 234), +(314113, 257, 234), +(314110, 257, 234), +(314111, 257, 234), +(314112, 257, 234), +(313932, 257, 234); + +DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (28596, 28569); +INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES +(28596, 1, 5292, 0, 0), -- Dwarven Construction Worker +(28569, 1, 5292, 0, 0); -- Construction Worker + +UPDATE `creature` SET `equipment_id`= 1 WHERE `guid` IN (313934, 313933, 313930, 313935, 313931, 313938, 313939, 314108, 314106, 314109, 314107, 314113, 314110, 314111, 314112, 313932); + +DELETE FROM `creature` WHERE `guid`= 314226; +DELETE FROM `creature_addon` WHERE `guid`= 314226; + +DELETE FROM `vehicle_template_accessory` WHERE `entry`= 50523; +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES +(50523, 50525, 0, 1, 'Kyle Radue - Chris Miller', 5, 0); -- Kyle Radue - Chris Miller + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`= 50523; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(50523, 46598, 1, 1); + +UPDATE `creature_template_addon` SET `emote`= 379 WHERE `entry`= 42421; +UPDATE `gameobject` SET `rotation0`= -0.59733, `rotation1`= -0.208596, `rotation2`= -0.731095, `rotation3`= 0.255313 WHERE `guid`= 219906; +-- Template Updates +-- Bound Flames +UPDATE `creature_template` SET `DamageModifier`= 15, `BaseVariance`= 0.5 WHERE `entry`= 50417; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_karsh_quicksilver_armor', +'spell_karsh_superheated_quicksilver_armor', +'spell_karsh_superheated_quicksilver_armor_proc'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75854, 'spell_karsh_quicksilver_armor'), +(75846, 'spell_karsh_superheated_quicksilver_armor'), +(93567, 'spell_karsh_superheated_quicksilver_armor'), +(76015, 'spell_karsh_superheated_quicksilver_armor_proc'); + +-- Serverside spells +DELETE FROM `spell_dbc` WHERE `Id`= 88538; +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(88538, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Forcecast Lava Spout'); + +DELETE FROM `spelleffect_dbc` WHERE `Id`= 160091; +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectBasePoints`, `EffectTriggerSpell`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`, `Comment`) VALUES +(160091, 140, 0, 76007, 0, 0, 12, 12, 22, 7, 88538, 0, 'Forcecast Lava Spout'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (88538, 93499) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 88538, 0, 0, 31, 0, 3, 39842, 0, 0, 0, '', 'Forcecast Lava Spout - Target Invisible Stalker'), +(13, 1, 93499, 0, 0, 31, 0, 3, 39842, 0, 0, 0, '', 'Bound Flames- Target Invisible Stalker'); + +-- Achievement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15947; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15947, 11, 0, 0, 'achievement_too_hot_to_handle'); +UPDATE `spell_proc` SET `HitMask`= 0 WHERE `SpellId`= -16487; + +DELETE FROM `spell_proc` WHERE `SpellId`= -50685; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-50685, 4, 0x00000040, 0, 0, 0, 1, 2, 2, 0, 0, 0, 0); +UPDATE `spell_proc` SET `HitMask`= 64 | 2048, `ProcFlags`= 0x000002A8 | 0x00020000 WHERE `SpellId`= -12298; + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_warr_shield_specialization'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-12298, 'spell_warr_shield_specialization'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_pal_inquisition'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(84963, 'spell_pal_inquisition'); +-- Template Updates +-- Runty +UPDATE `creature_template` SET `flags_extra`= 2 WHERE `entry` IN (40015, 40016); +-- Pups +UPDATE `creature_template` SET `ScriptName`= 'npc_beauty_puppy', `DamageModifier`= 12, `BaseVariance`= 0.5 WHERE `entry` IN (40008, 40011, 40013); +UPDATE `creature_template` SET `DamageModifier`= 25, `BaseVariance`= 0.5 WHERE `entry` IN (40009, 40012, 40014); +UPDATE `creature_template` SET `mechanic_immune_mask`= 1 | 512 | 65536 | 131072 WHERE `entry` IN (0008, 40011, 40013, 40009, 40012, 40014); +-- Spot +UPDATE `creature_template` SET `difficulty_entry_1`= 40012 WHERE `entry`= 40011; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `speed_walk`= 1.6, `speed_run`= 1.28571, `unit_flags`= 32832 WHERE `entry`= 40012; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_beauty_magma_spit'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(76031, 'spell_beauty_magma_spit'); + +-- Creature corrections +-- Runty +UPDATE `creature` SET `MovementType`= 0, `spawndist`= 0 WHERE `guid`= 361807; +-- Buster (4.0.6 nerf: only two of the three pups are available on heroic difficulty) +UPDATE `creature` SET `spawnMask`= 1 WHERE `guid`= 361806; + +-- Creature addons +DELETE FROM `creature_addon` WHERE `guid`= 361807; +INSERT INTO `creature_addon` (`guid`, `auras`) VALUES +(361807, '77783'); +DELETE FROM `spawn_group_template` WHERE `groupId` IN (52, 53); +INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES +(52, 'Bastion of Twilight - Halfus Wyrmbreaker', 4), +(53, 'Bastion of Twilight - Ascendant Council', 4); + +DELETE FROM `spawn_group` WHERE `groupId` IN (52, 53); +INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES +-- Halfus Wyrmbreaker +(52, 0, 253860), +(52, 0, 253877), +(52, 0, 253862), +(52, 0, 253880), +(52, 0, 253850), +(52, 0, 253851), +(52, 0, 253852), +(52, 0, 253853), +(52, 0, 253854), +(52, 0, 253855), +(52, 0, 253856), +(52, 0, 253857), +(52, 0, 253858), +(52, 0, 253859), +(52, 0, 253875), +(52, 0, 253879), +(52, 0, 253882), +(52, 0, 253883), +(52, 0, 253884), +(52, 0, 253885), +(52, 0, 253886), +(52, 0, 253887), +(52, 0, 253888), +(52, 0, 253889), +(52, 0, 253890), +(52, 0, 253891), +(52, 0, 253870), +(52, 1, 211098), +(52, 1, 211085), +-- Ascendant Council +(53, 0, 254144), +(53, 0, 254133), +(53, 0, 254134), +(53, 0, 254148); + +DELETE FROM `instance_spawn_groups` WHERE `spawnGroupId` IN (52, 53); +INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES +(671, 0, 23, 52, 1), +(671, 2, 23, 53, 1); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_valiona_twilight_meteorite', +'spell_valiona_blackout_damage'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(86014, 'spell_valiona_twilight_meteorite'), +(92863, 'spell_valiona_twilight_meteorite'), +(92864, 'spell_valiona_twilight_meteorite'), +(92865, 'spell_valiona_twilight_meteorite'), +(86825, 'spell_valiona_blackout_damage'), +(92879, 'spell_valiona_blackout_damage'), +(92880, 'spell_valiona_blackout_damage'), +(92881, 'spell_valiona_blackout_damage'); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_ignacious_inferno_rush', +'spell_ignacious_inferno_leap'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(82857, 'spell_ignacious_inferno_leap'), +(92520, 'spell_ignacious_inferno_leap'), +(92521, 'spell_ignacious_inferno_leap'), +(92522, 'spell_ignacious_inferno_leap'); +DELETE FROM `conditions` WHERE `SourceEntry` IN (80340, 80196) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 80340, 0, 0, 31, 0, 3, 39978, 0, 0, 0, '', 'Furious Swipe - Target Twilight Torturer'), +(13, 1, 80340, 0, 1, 31, 0, 3, 39980, 0, 0, 0, '', 'Furious Swipe - Target Twilight Sadist'), +(13, 1, 80340, 0, 2, 31, 0, 3, 39982, 0, 0, 0, '', 'Furious Swipe - Target Crazed Mage'), +(13, 1, 80340, 0, 3, 31, 0, 3, 39987, 0, 0, 0, '', 'Furious Swipe - Target Evolved Twilight Zealot'), +(13, 1, 80340, 0, 4, 31, 0, 3, 39708, 0, 0, 0, '', 'Furious Swipe - Target Twilight Flame Caller'), +(13, 1, 80340, 0, 5, 31, 0, 3, 39990, 0, 0, 0, '', 'Furious Swipe - Target Twilight Zealot'), +(13, 1, 80340, 0, 6, 31, 0, 3, 40017, 0, 0, 0, '', 'Furious Swipe - Target Twilight Element Warden'), +(13, 1, 80340, 0, 7, 31, 0, 3, 39985, 0, 0, 0, '', 'Furious Swipe - Target Mad Prisoner'), +(13, 1, 80196, 0, 0, 31, 0, 3, 39978, 0, 0, 0, '', 'Aggro Nearby Targets - Target Twilight Torturer'), +(13, 1, 80196, 0, 1, 31, 0, 3, 39980, 0, 0, 0, '', 'Aggro Nearby Targets - Target Twilight Sadist'), +(13, 1, 80196, 0, 2, 31, 0, 3, 39982, 0, 0, 0, '', 'Aggro Nearby Targets - Target Crazed Mage'), +(13, 1, 80196, 0, 3, 31, 0, 3, 39987, 0, 0, 0, '', 'Aggro Nearby Targets - Target Evolved Twilight Zealot'), +(13, 1, 80196, 0, 4, 31, 0, 3, 39708, 0, 0, 0, '', 'Aggro Nearby Targets - Target Twilight Flame Caller'), +(13, 1, 80196, 0, 5, 31, 0, 3, 39990, 0, 0, 0, '', 'Aggro Nearby Targets - Target Twilight Zealot'), +(13, 1, 80196, 0, 6, 31, 0, 3, 40017, 0, 0, 0, '', 'Aggro Nearby Targets - Target Twilight Element Warden'), +(13, 1, 80196, 0, 7, 31, 0, 3, 39985, 0, 0, 0, '', 'Aggro Nearby Targets - Target Mad Prisoner'); + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6014); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6014, 'at_raz_corla_event'); +DELETE FROM `spell_proc` WHERE `SpellId` IN (-84604, -80128); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-84604, 0, 0, 0, 0, 0, 0, 0, 0x00000020, 0, 0, 0, 0), +(-80128, 4, 0, 0x00000040, 0, 0x00000010, 1, 2, 0, 0, 0, 0, 0); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_warr_devastate'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(20243, 'spell_warr_devastate'); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_drahga_devouring_flames', +'spell_drahga_devouring_flames_aoe'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(90949, 'spell_drahga_devouring_flames'); +DELETE FROM `spell_proc` WHERE `SpellId`= 105765; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(105765, 10, 0x00800000, 0, 0x00000008, 0, 1, 1, 0, 0, 0, 0, 0); +-- Template Updates +-- Shadow of Obsidius +UPDATE `creature_template` SET `modelid1`= 35979, `BaseVariance`= 0.5, `DamageModifier`= 8 WHERE `entry`= 40818; +UPDATE `creature_template` SET `BaseVariance`= 0.5, `DamageModifier`= 4 WHERE `entry`= 40817; + +-- Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (40817, 40818); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(40817, '76190 76164 76167 75054'), +(40818, '76190 76164 76167 75054'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_obsidius_twitchy', +'spell_obsidius_transformation', +'spell_obsidius_transformation_not_selectable', +'spell_obsidius_transformation_scale', +'spell_obsidius_crepuscular_veil'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(76167, 'spell_obsidius_twitchy'), +(76196, 'spell_obsidius_transformation'), +(76242, 'spell_obsidius_transformation_not_selectable'), +(76200, 'spell_obsidius_transformation_scale'), +(76189, 'spell_obsidius_crepuscular_veil'); + +-- Procs +DELETE FROM `spell_proc` WHERE `SpellId`= 76167; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(76167, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2000, 0, 0); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (76196, 82393) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 76196, 0, 0, 31, 0, 3, 40817, 0, 0, 0, '', 'Transformation - Target Shadow of Obsidius'), +(13, 1, 82393, 0, 0, 31, 0, 3, 39670, 0, 0, 0, '', 'Stop Heart - Target Raz the Crazed'); + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry`= 6016; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6016, 'at_raz_obsidius_event'); + +-- Creature Twilight Element Warden SAI +SET @ENTRY := -361820; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +SET @ENTRY := -361822; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +SET @ENTRY := -361824; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +SET @ENTRY := -361825; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +SET @ENTRY := -361823; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +SET @ENTRY := -361819; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +SET @ENTRY := -361821; +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, 0, 200, 300, 4000, 5000, 11, 75205, 0, 0, 0, 0, 0, 19, 40343, 200, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 200 and 300 ms (and later repeats every 4000 and 5000 ms) - Self: Cast spell 75205 on Closest alive creature Channel Target (40343) in 200 yards // Twilight Element Warden - Out of Combat - Cast 'Bore'"), +(@ENTRY, 0, 1, 2, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74919, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74919 on Self // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 2, 2111, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Set faction to 2111 // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 0, 0, 0, 0, 0, 0, 10, 361667, 0, 0, 0, 0, 0, 0, "On death - Creature Ascendant Lord Obsidius 39705 (361667): Set creature data #0 to 0 // "); + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 361820; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`, `dist`, `angle`) VALUES +(361820, 361820, 3, 0, 0), +(361820, 361822, 3, 0, 0), +(361820, 361823, 3, 0, 0), +(361820, 361824, 3, 0, 0), +(361820, 361825, 3, 0, 0), +(361820, 361819, 3, 0, 0), +(361820, 361821, 3, 0, 0); + +-- Achievement +DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15961; +INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES +(15961, 11, 0, 0, 'achievement_ascendant_descending'); +UPDATE `creature_addon` SET `auras`= '' WHERE `guid`= 255068; +UPDATE `creature_addon` SET `auras`= '' WHERE `guid` IN +(254870, 254871, 254872, 254873, 254875, 254877, 254878, 254879, 254881, 254884, 254885, 254888, 254892, 254893, 254894, 254895, 254896, 254897, 254898, 254899, 254900, 254901, 254902, 254903, 254904, 254905, 254906, 254907, 254908, 254909, 254910, 254911, 254912, 254913, 254916, 254919, 254886, 254891, 255406); + +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (44581, 49100, 49101, 45030, 44566, 49097, 45672, 45621, 40655, 49096); + +DELETE FROM `creature` WHERE `guid`= 255406; +DELETE FROM `creature_addon` WHERE `guid`= 255406; + +UPDATE `instance_template` SET `script`= 'instance_throne_of_the_tides' WHERE `map`= 643; +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry` IN (45030, 49101, 44581, 49100); +UPDATE `creature_template` SET `ScriptName`= 'npc_tott_ozumat_vehicle_big' WHERE `entry`= 45030; +UPDATE `creature_template` SET `VehicleId`= 1074 WHERE `entry`= 49101; + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (45030, 49101); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(45030, 46598, 1, 1), +(49101, 46598, 1, 1); + +-- Naz'jar Sentinel +SET @ENTRY := 40577; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 4000, 6000, 4000, 6000, 11, 77218, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 6000 ms (and later repeats every 4000 and 6000 ms) - Self: Cast spell 77218 on Random hostile // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 13000, 14000, 13000, 14000, 11, 76721, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 13000 and 14000 ms (and later repeats every 13000 and 14000 ms) - Self: Cast spell 76721 on Victim // "); +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 40577; +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry`= 49087; +UPDATE `creature_template` SET `mechanic_immune_mask`= 1 | 2 | 4 | 16 | 32 | 512 | 65536 | 131072, `flags_extra`= 0x40000000 WHERE `entry` IN (40577, 49087); + +-- Noxius Mire +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 41201; +DELETE FROM `creature_template_addon` WHERE `entry`= 41201; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(41201, '77217'); + +-- Naz'jar Invader and Naz'jar Spiritmender +UPDATE `creature_template` SET `unit_flags`= `unit_flags` & ~256, `InhabitType`= 1, `flags_extra`= 0x00000200 WHERE `entry` IN (41096, 49090, 39616, 49085); +UPDATE `creature_template` SET `BaseVariance`= 0.5, `DamageModifier`= 15 WHERE `entry` IN (41096, 39616); +UPDATE `creature_template` SET `BaseVariance`= 0.5, `DamageModifier`= 30 WHERE `entry` IN (49090, 49085); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry`= 74465 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 74465, 0, 0, 31, 0, 3, 22515, 0, 0, 0, '', 'Summon Falling Rocks - Target World Trigger'); + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry`= 5806; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(5806, 'at_tott_first_invader_event'); + +-- Creature Naz'jar Spiritmender 41096 SAI +SET @ENTRY := 41096; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 1500, 1500, 2400, 2400, 11, 76815, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1500 and 1500 ms (and later repeats every 2400 and 2400 ms) - Self: Cast spell 76815 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 22000, 23000, 14000, 15000, 11, 76820, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 22000 and 23000 ms (and later repeats every 14000 and 15000 ms) - Self: Cast spell 76820 on Random hostile // "), +(@ENTRY, 0, 2, 0, 2, 0, 100, 0, 0, 50, 5000, 5000, 11, 76813, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 50% (check every 5000 - 5000 ms) - Self: Cast spell 76813 on Self // "); + +-- Creature Naz'jar Invader 39616 SAI +SET @ENTRY := 39616; +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, 60, 0, 100, 0, 5000, 7000, 5000, 7000, 11, 76807, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Every 5000 and 7000 ms (for the first time, timer between 5000 and 7000 ms) - Self: Cast spell 76807 on Victim // "), +(@ENTRY, 0, 1, 0, 2, 0, 100, 0, 0, 50, 5000, 5000, 86, 76813, 0, 11, 41096, 20, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 50% (check every 5000 - 5000 ms) - SMART_TARGET_CREATURE_DISTANCE: Cast spell 76813 at Self // "); +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6018, 6017, 5834); +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6018, 'at_tott_tentacle_knockback'), +(6017, 'at_tott_tentacle_knockback'), +(5834, 'at_tott_lady_nazjar_gauntlet'); + +-- Creatures +DELETE FROM `creature` WHERE `guid` IN (255014, 255012, 255011, 255018, 254967, 254968, 254969, 254970, 254971, 254972, 254973, 254974, 254976, 254977, 255026, 255027, 255028, 255029, 255030, 255031, 255032, 255033, 255034, 255035, 255037, 255038, 255039, 255040, 255041, 255044, 255045, 255046, 255047, 255048, 255051, 255052, 255053, 255054, 255055, 254975, 255125); +DELETE FROM `creature_addon` WHERE `guid` IN (255014, 255012, 255011, 255018, 254967, 254968, 254969, 254970, 254971, 254972, 254973, 254974, 254976, 254977, 255026, 255027, 255028, 255029, 255030, 255031, 255032, 255033, 255034, 255035, 255037, 255038, 255039, 255040, 255041, 255044, 255045, 255046, 255047, 255048, 255051, 255052, 255053, 255054, 255055, 254975, 255125); + +-- GameObjects +DELETE FROM `gameobject` WHERE `guid` IN (236181, 236180, 236179, 236178, 236177, 236176, 236175, 236101, 236100, 236099, 236098, 236097, 236096, 236095, 236094, 236093, 236092, 236091, 236090, 236089, 236088, 236087, 236086, 236085, 236084, 236126, 236125, 236124, 236123, 236122, 236121, 236120, 236119, 236118, 236117, 236116, 236115, 236114, 236113, 236112, 236111, 236110, 236109, 236108, 236107, 236106, 236105, 236104, 236103, 236102, 236083, 236082, 236081, 236080, 236079, 236078, 236077, 236076, 236075, 236074, 236073, 236072, 236071, 236070, 236069, 236068, 236067, 236066, 236065, 236064, 236063, 236062, 236061, 236060, 236059, 236058, 236057, 236056, 236055, 236054, 236053, 236052, 236051, 236050, 236049, 236048, 236047, 236046, 236045, 236044, 236043, 236042, 236041, 236040, 236039, 236038, 236037, 236036, 236035, 236034, 236033, 236032, 236031, 236030, 236029, 236028, 236027, 236026, 236025, 236024, 236023, 236022, 236021, 236020, 236019, 236018, 236017, 236016, 236015, 236014, 236013, 236012, 236011, 236010, 236009, 236008, 236007, 236006, 236005, 236004, 236003, 236002, 236001, 236000, 235999, 235998, 235997, 235996, 235995, 235994, 235993, 235992, 235991, 235990, 235989, 235988, 235987, 235986, 235985, 235984, 235983, 235982, 235981, 235980, 235979, 235978, 235977, 235976, 235975, 235974, 235973, 235972, 235971, 235970, 235969, 235968, 235967, 235966, 235965, 235964, 235963, 235962, 235961, 235960, 235959, 235958, 235957, 235956, 235955, 235954, 235953, 235952, 235951, 235950, 235949, 235948, 235947, 235946, 235945, 235944, 235943, 235942, 235941, 235940, 235939, 235938, 235937, 235936, 235935, 235934, 235933, 236174, 236173, 236172, 236171, 236170, 236169, 236168, 236167, 236166, 236165, 236164, 236163, 236162, 236161, 236160, 236159, 236158, 236157, 236156, 236155, 236154, 236153, 236152, 236151, 236150, 236149, 236148, 236147, 236146, 236145, 236144, 236143, 236142, 236141, 236140, 236139, 236138, 236137, 236136, 236135, 236134, 236133, 236132, 236131, 236130, 236129, 236128, 236127, 235932, 235931, 235930, 235929, 235928, 235927, 235926, 235925, 235924, 235922, 235921, 235920, 235919, 235918, 235917, 235916, 235915, 235914, 235913, 235912, 235911, 235910, 235909, 235908, 235907, 235906, 235905, 235904, 235903, 235902, 235901, 235900, 235899, 235898, 235897, 235896, 235895, 235894, 235893, 235892, 235891, 235890, 235889, 235888, 235887, 235886, 235885, 235884, 235883, 235882, 235881, 235880, 235879, 235878, 235877, 235876, 235875, 235874, 235873, 235872, 235871, 235870, 235869, 235868, 235867, 235866, 235865, 235864, 235863, 235862, 235861, 235860, 235859, 235858, 235857, 235856, 235855, 235854, 235853, 235852, 235851, 235850, 235849, 235848, 235847, 235846, 235845, 235844, 235843, 235842, 235841, 235840, 235839, 235838, 235837, 235836, 235835, 235834, 235833, 235832, 235831, 235830, 235829, 235828, 235827, 235826, 235825, 235824, 235823, 235822, 235821, 235820, 235819, 235818, 235817, 235816, 235815, 235814, 235813, 235812, 235811, 235810, 235809, 235808, 235807, 235806, 235805, 235804, 235803, 235802, 235801, 235800, 235799, 235798, 235797, 235796, 235795, 235794, 235793, 235792, 235791, 235790, 235789, 235788, 235787, 235786, 235785, 235784, 235783, 235782, 235781, 235780, 235779, 235778, 235777, 235776, 235774, 235773, 235772, 235771, 235770, 235769, 235768, 235767, 235766, 235765, 235764, 235763, 235762, 235761, 235760, 235759, 235758, 235757, 235756, 235755, 235754, 235753, 235752, 235751, 235750, 235749, 235748, 235747, 235746, 235745, 235744, 235743, 235742, 235741, 235740, 235739, 235738, 235737, 235736, 235735, 235734, 235733, 235732, 235731, 235730, 235729, 235728, 235727, 235726, 235725, 235724, 235723, 235722, 235721, 235720, 235719, 235718, 235717, 235716, 235715, 235714, 235713, 235712, 235711, 235710, 235709, 235708, 235707, 235706, 235705, 235704, 235703, 235702, 235701, 235700, 235699, 235698, 235697, 235696, 235695, 235694, 235693, 235692, 235691, 235690, 235689, 235688, 235687, 235686, 235685, 235684, 235683, 235682, 235681, 235680, 235679, 235678, 235677, 235676, 235675, 235674, 235673, 235672, 235671, 235670, 235669, 235668, 235667, 235666, 235665, 235664, 235663, 235662, 235661, 235660, 235659, 235658, 235657, 235656, 235655, 235654, 235653, 235652, 235651, 235650, 235649, 235648, 235647, 235646, 235645, 235644, 235643, 235642, 235641, 235640, 235639, 235638, 235637, 235636, 235635, 235634, 235633, 235632, 235631, 235630, 235629, 235628, 235627, 235626, 235625, 235624, 235623, 235622, 235621, 235620, 235619, 235618, 235617, 235616, 235615, 235614, 235613, 235612, 235611, 235610, 235609, 235608, 235607, 235606, 235605, 235604, 235603, 235602, 235601, 235600, 235599, 235598, 235597, 235596, 235595, 235594, 235593, 235592, 235591, 235590, 235589, 235588, 235587, 235586, 235585, 235584, 235583, 235582, 235580, 235579, 235578, 236182, 236183, 236184, 236185, 236186, 236187, 236188, 236189, 236190, 236191, 236192, 236193, 236194, 236195, 236196, 236197, 236198, 236199, 236200, 236201, 236202, 236203, 236204, 236205, 236206, 236207, 236208, 236209, 236210, 236211, 236212, 236213, 236214, 236215, 236216, 236217, 236218, 236219, 236220, 236221, 236222, 236223, 236224, 236225, 236226, 236227, 236228, 236229, 236230, 236231, 236232, 236233, 236234, 236235, 236236, 236237, 236238, 236239, 236240, 236241, 236242, 236243, 236244, 236245, 236246, 236247, 236248, 236249, 236250, 236251, 236252, 236253, 236254, 236255, 236256, 236257, 236258, 236259, 236260, 236261, 236262, 236263, 236264, 236265, 236266, 236267, 236268, 236269, 236270, 236271, 236272, 236273, 236274, 236275, 236276, 236277, 236278, 236279, 236280, 236281, 236282, 236283, 236284, 236285, 236286, 236287, 236288, 236289, 236290, 236291, 236292, 236293, 236294, 236295, 236296, 236297, 236298, 236299, 236300, 236301, 236302, 236303, 236304, 236305, 236306, 236307, 236308, 236309, 236310, 236311, 236312, 236313, 236314, 236315, 236316, 236317, 236318, 236319, 236320, 236321, 236322, 236323, 236324, 236325, 236326, 236327, 236328, 236329, 236330, 236331, 236332, 236333, 236334, 236335, 236336, 236337, 236338, 236339, 236340, 236341); + +DELETE FROM `gameobject_addon` WHERE `guid` IN (236181, 236180, 236179, 236178, 236177, 236176, 236175, 236101, 236100, 236099, 236098, 236097, 236096, 236095, 236094, 236093, 236092, 236091, 236090, 236089, 236088, 236087, 236086, 236085, 236084, 236126, 236125, 236124, 236123, 236122, 236121, 236120, 236119, 236118, 236117, 236116, 236115, 236114, 236113, 236112, 236111, 236110, 236109, 236108, 236107, 236106, 236105, 236104, 236103, 236102, 236083, 236082, 236081, 236080, 236079, 236078, 236077, 236076, 236075, 236074, 236073, 236072, 236071, 236070, 236069, 236068, 236067, 236066, 236065, 236064, 236063, 236062, 236061, 236060, 236059, 236058, 236057, 236056, 236055, 236054, 236053, 236052, 236051, 236050, 236049, 236048, 236047, 236046, 236045, 236044, 236043, 236042, 236041, 236040, 236039, 236038, 236037, 236036, 236035, 236034, 236033, 236032, 236031, 236030, 236029, 236028, 236027, 236026, 236025, 236024, 236023, 236022, 236021, 236020, 236019, 236018, 236017, 236016, 236015, 236014, 236013, 236012, 236011, 236010, 236009, 236008, 236007, 236006, 236005, 236004, 236003, 236002, 236001, 236000, 235999, 235998, 235997, 235996, 235995, 235994, 235993, 235992, 235991, 235990, 235989, 235988, 235987, 235986, 235985, 235984, 235983, 235982, 235981, 235980, 235979, 235978, 235977, 235976, 235975, 235974, 235973, 235972, 235971, 235970, 235969, 235968, 235967, 235966, 235965, 235964, 235963, 235962, 235961, 235960, 235959, 235958, 235957, 235956, 235955, 235954, 235953, 235952, 235951, 235950, 235949, 235948, 235947, 235946, 235945, 235944, 235943, 235942, 235941, 235940, 235939, 235938, 235937, 235936, 235935, 235934, 235933, 236174, 236173, 236172, 236171, 236170, 236169, 236168, 236167, 236166, 236165, 236164, 236163, 236162, 236161, 236160, 236159, 236158, 236157, 236156, 236155, 236154, 236153, 236152, 236151, 236150, 236149, 236148, 236147, 236146, 236145, 236144, 236143, 236142, 236141, 236140, 236139, 236138, 236137, 236136, 236135, 236134, 236133, 236132, 236131, 236130, 236129, 236128, 236127, 235932, 235931, 235930, 235929, 235928, 235927, 235926, 235925, 235924, 235922, 235921, 235920, 235919, 235918, 235917, 235916, 235915, 235914, 235913, 235912, 235911, 235910, 235909, 235908, 235907, 235906, 235905, 235904, 235903, 235902, 235901, 235900, 235899, 235898, 235897, 235896, 235895, 235894, 235893, 235892, 235891, 235890, 235889, 235888, 235887, 235886, 235885, 235884, 235883, 235882, 235881, 235880, 235879, 235878, 235877, 235876, 235875, 235874, 235873, 235872, 235871, 235870, 235869, 235868, 235867, 235866, 235865, 235864, 235863, 235862, 235861, 235860, 235859, 235858, 235857, 235856, 235855, 235854, 235853, 235852, 235851, 235850, 235849, 235848, 235847, 235846, 235845, 235844, 235843, 235842, 235841, 235840, 235839, 235838, 235837, 235836, 235835, 235834, 235833, 235832, 235831, 235830, 235829, 235828, 235827, 235826, 235825, 235824, 235823, 235822, 235821, 235820, 235819, 235818, 235817, 235816, 235815, 235814, 235813, 235812, 235811, 235810, 235809, 235808, 235807, 235806, 235805, 235804, 235803, 235802, 235801, 235800, 235799, 235798, 235797, 235796, 235795, 235794, 235793, 235792, 235791, 235790, 235789, 235788, 235787, 235786, 235785, 235784, 235783, 235782, 235781, 235780, 235779, 235778, 235777, 235776, 235774, 235773, 235772, 235771, 235770, 235769, 235768, 235767, 235766, 235765, 235764, 235763, 235762, 235761, 235760, 235759, 235758, 235757, 235756, 235755, 235754, 235753, 235752, 235751, 235750, 235749, 235748, 235747, 235746, 235745, 235744, 235743, 235742, 235741, 235740, 235739, 235738, 235737, 235736, 235735, 235734, 235733, 235732, 235731, 235730, 235729, 235728, 235727, 235726, 235725, 235724, 235723, 235722, 235721, 235720, 235719, 235718, 235717, 235716, 235715, 235714, 235713, 235712, 235711, 235710, 235709, 235708, 235707, 235706, 235705, 235704, 235703, 235702, 235701, 235700, 235699, 235698, 235697, 235696, 235695, 235694, 235693, 235692, 235691, 235690, 235689, 235688, 235687, 235686, 235685, 235684, 235683, 235682, 235681, 235680, 235679, 235678, 235677, 235676, 235675, 235674, 235673, 235672, 235671, 235670, 235669, 235668, 235667, 235666, 235665, 235664, 235663, 235662, 235661, 235660, 235659, 235658, 235657, 235656, 235655, 235654, 235653, 235652, 235651, 235650, 235649, 235648, 235647, 235646, 235645, 235644, 235643, 235642, 235641, 235640, 235639, 235638, 235637, 235636, 235635, 235634, 235633, 235632, 235631, 235630, 235629, 235628, 235627, 235626, 235625, 235624, 235623, 235622, 235621, 235620, 235619, 235618, 235617, 235616, 235615, 235614, 235613, 235612, 235611, 235610, 235609, 235608, 235607, 235606, 235605, 235604, 235603, 235602, 235601, 235600, 235599, 235598, 235597, 235596, 235595, 235594, 235593, 235592, 235591, 235590, 235589, 235588, 235587, 235586, 235585, 235584, 235583, 235582, 235580, 235579, 235578, 236182, 236183, 236184, 236185, 236186, 236187, 236188, 236189, 236190, 236191, 236192, 236193, 236194, 236195, 236196, 236197, 236198, 236199, 236200, 236201, 236202, 236203, 236204, 236205, 236206, 236207, 236208, 236209, 236210, 236211, 236212, 236213, 236214, 236215, 236216, 236217, 236218, 236219, 236220, 236221, 236222, 236223, 236224, 236225, 236226, 236227, 236228, 236229, 236230, 236231, 236232, 236233, 236234, 236235, 236236, 236237, 236238, 236239, 236240, 236241, 236242, 236243, 236244, 236245, 236246, 236247, 236248, 236249, 236250, 236251, 236252, 236253, 236254, 236255, 236256, 236257, 236258, 236259, 236260, 236261, 236262, 236263, 236264, 236265, 236266, 236267, 236268, 236269, 236270, 236271, 236272, 236273, 236274, 236275, 236276, 236277, 236278, 236279, 236280, 236281, 236282, 236283, 236284, 236285, 236286, 236287, 236288, 236289, 236290, 236291, 236292, 236293, 236294, 236295, 236296, 236297, 236298, 236299, 236300, 236301, 236302, 236303, 236304, 236305, 236306, 236307, 236308, 236309, 236310, 236311, 236312, 236313, 236314, 236315, 236316, 236317, 236318, 236319, 236320, 236321, 236322, 236323, 236324, 236325, 236326, 236327, 236328, 236329, 236330, 236331, 236332, 236333, 236334, 236335, 236336, 236337, 236338, 236339, 236340, 236341); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (74563, 74568, 74889, 76890) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 74563, 0, 0, 31, 0, 3, 39959, 0, 0, 0, '', 'Murloc Leash Visual - Target Lady Naz''jar'), +(13, 1, 74568, 0, 0, 31, 0, 3, 39959, 0, 0, 0, '', 'Murloc Leash Visual - Target Lady Naz''jar'), +(13, 1, 74889, 0, 0, 31, 0, 3, 39960, 0, 0, 0, '', 'Trigger Murloc - Target Target Deep Murloc Drudge'), +(13, 1, 76890, 0, 0, 31, 0, 3, 39960, 0, 0, 0, '', 'Trigger Murloc - Target Target Deep Murloc Drudge'); + +UPDATE `creature_template` SET `ScriptName`= 'npc_tott_lady_nazjar', `flags_extra`= 2 WHERE `entry`= 39959; +DELETE FROM `creature_text` WHERE `CreatureID`= 39959; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(39959, 0, 0, 'Armies of the depths, wash over our enemies as a tide of death!', 14, 0, 100, 0, 0, 18890, 50510, 2, 'Lady Naz''jar to Player'), +(39959, 1, 0, 'Meddlesome gnats! You think us defeated so easily?', 14, 0, 100, 0, 0, 18891, 43121, 2, 'Lady Naz''jar to Player'); + +-- Naz'jar Invader and Naz'jar Spiritmender +UPDATE `creature_template` SET `unit_flags`= `unit_flags` & ~256, `InhabitType`= 1, `flags_extra`= 0x00000200 WHERE `entry` IN (41139, 49091, 40584, 49086); +UPDATE `creature_template` SET `BaseVariance`= 0.5, `DamageModifier`= 15 WHERE `entry` IN (41139, 40584); +UPDATE `creature_template` SET `BaseVariance`= 0.5, `DamageModifier`= 30 WHERE `entry` IN (49091, 49086); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_tott_trigger_murloc'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(74889, 'spell_tott_trigger_murloc'), +(76890, 'spell_tott_trigger_murloc'); +DELETE FROM `spell_proc` WHERE `SpellId` IN (89485, -57470); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(89485, 6, 0x00000200 | 0x00000800 | 0x00001000, 0x00000004, 0, 0x00004000, 2, 1, 0, 0, 0, 1, 100), +(-57470, 0, 0, 0, 0, 0, 2, 1, 0, 16, 0, 0, 0); +-- Template Updates +-- Lady Naz'jar +UPDATE `creature_template` SET `ScriptName`= 'boss_lady_nazjar', `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 40586; +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry`= 49080; +UPDATE `creature_template` SET `mingold`= 19800, `maxgold`= 20000, `mechanic_immune_mask`= 80297855 WHERE `entry` IN (49080, 40586); +-- Geyser (Room Limitation) +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 1073743872, `flags_extra`= 128 WHERE `entry`= 48983; +-- Geyser +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 40597; +-- Naz'jar Honor Guard +UPDATE `creature_template` SET `ScriptName`= 'npc_nazjar_nazjar_honor_guard', `difficulty_entry_1`= 49084, `DamageModifier`= 30 WHERE `entry`= 40633; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `unit_flags`= 32832, `DamageModifier`= 60 WHERE `entry`= 49084; +-- Naz'jar Tempest Witch +UPDATE `creature_template` SET `ScriptName`= 'npc_nazjar_nazjar_tempest_witch', `difficulty_entry_1`= 49093, `speed_run`= 1.14286 WHERE `entry`= 44404; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `unit_flags`= 32832, `unit_class`= 2 WHERE `entry`= 49093; +-- Waterspout +UPDATE `creature_template` SET `speed_run`= 0.14285, `unit_flags`= 34112000, `unit_flags2`= 2099200, `flags_extra`= 128, `VehicleId`= 1338 WHERE `entry`= 48571; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 40586; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(40586, 0, 0, 'You have interfered with our plans for the last time, mortals!', 14, 0, 100, 0, 0, 18886, 50505, 'Lady Naz''jar - Aggro'), +(40586, 1, 0, 'Depths take you!', 14, 0, 100, 0, 0, 18887, 50506, 'Lady Naz''jar - Slay'), +(40586, 2, 0, 'Take arms, minions! Rise from the icy depths!', 14, 0, 100, 0, 0, 18892, 50513, 'Lady Naz''jar - Summon Adds 1'), +(40586, 2, 1, 'Destroy these intruders! Leave them for the great dark beyond!', 14, 0, 100, 0, 0, 18893, 50514, 'Lady Naz''jar - Summon Adds 2'), +(40586, 3, 0, 'Ulthok, stop them...', 14, 0, 100, 0, 0, 18889, 50509, 'Lady Naz''jar - Death'); + +-- Addons +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry` IN (48983, 40586); +UPDATE `creature_addon` SET `auras`= '' WHERE `guid` IN (254914, 254915, 254918, 254920, 254922, 255017); +DELETE FROM `creature_template_addon` WHERE `entry` IN (40633, 44404, 48571); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(48571, '90440'); + +-- Delete encounter spawned creatures +DELETE FROM `creature` WHERE `guid`IN (255060, 255061); +DELETE FROM `creature_addon` WHERE `guid`IN (255060, 255061); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (94046, 94047, 75690) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 3, 94046, 0, 0, 31, 0, 3, 40633, 0, 0, 0, '', 'Waterspout - Target Naz''jar Honor Guard'), +(13, 3, 94046, 0, 1, 31, 0, 3, 44404, 0, 0, 0, '', 'Waterspout - Target Naz''jar Tempest Witch'), +(13, 3, 94047, 0, 0, 31, 0, 3, 40633, 0, 0, 0, '', 'Waterspout - Target Naz''jar Honor Guard'), +(13, 3, 94047, 0, 1, 31, 0, 3, 44404, 0, 0, 0, '', 'Waterspout - Target Naz''jar Tempest Witch'), +(13, 2, 75690, 0, 0, 31, 0, 3, 40633, 0, 0, 0, '', 'Waterspout - Target Naz''jar Honor Guard'), +(13, 2, 75690, 0, 1, 31, 0, 3, 44404, 0, 0, 0, '', 'Waterspout - Target Naz''jar Tempest Witch'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_nazjar_waterspout'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(90484, 'spell_nazjar_waterspout'); + +-- Serverside spells +DELETE FROM `spell_dbc` WHERE `Id`= 94042; +INSERT INTO `spell_dbc`(`Id`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `CastingTimeIndex`, `DurationIndex`, `RangeIndex`, `SchoolMask`, `SpellAuraOptionsId`, `SpellCastingRequirementsId`, `SpellCategoriesId`, `SpellClassOptionsId`, `SpellEquippedItemsId`, `SpellInterruptsId`, `SpellLevelsId`, `SpellTargetRestrictionsId`, `Comment`) VALUES +(94042, 8388864, 268435592, 5, 268435712, 128, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 38, 0, 0, 0, 0, 0, 0, 0, '(Serverside/Non-DB2) Achievement - Old Faithful'); +-- Template Updates +UPDATE `gameobject_template` SET `ScriptName`= 'go_tott_defense_system' WHERE `entry`= 203199; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_tott_camera', +'spell_tott_shock_defense_script', +'spell_tott_ulthok_intro_visual_impact'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(77229, 'spell_tott_camera'), +(86630, 'spell_tott_shock_defense_script'), +(76018, 'spell_tott_ulthok_intro_visual_impact'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (94490, 96042, 86630) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 94490, 0, 0, 31, 0, 3, 40655, 0, 0, 0, '', 'Shock Defense - Target Ozumat'), +(13, 1, 96042, 0, 0, 31, 0, 3, 40655, 0, 0, 0, '', 'Shock Defense - Target Ozumat'), +(13, 1, 86630, 0, 0, 31, 0, 3, 40655, 0, 0, 0, '', 'Shock Defense - Target Ozumat'); + +-- Addons +DELETE FROM `creature_template_addon` WHERE `entry`= 40765; +UPDATE `creature_template` SET `flags_extra`= 2 WHERE `entry`= 49079; + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry`= 5873; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(5873, 'at_tott_commander_ulthok_summon'); +-- Template Updates +-- Commander Ulthok +UPDATE `creature_template` SET `ScriptName`= 'boss_commander_ulthok', `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 40765; +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5 WHERE `entry`= 49064; +UPDATE `creature_template` SET `mingold`= 19800, `maxgold`= 20000, `unit_flags`= `unit_flags` & ~0x00000100, `mechanic_immune_mask`= 667893631 WHERE `entry` IN (40765, 49064); +-- Dark Fissure +UPDATE `creature_template` SET `difficulty_entry_1`= 49065, `unit_flags`= 33554432, `unit_flags2`= 33556480, `flags_extra`= 128 WHERE `entry`= 40784; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 14, `unit_flags`= 33554432, `unit_flags2`= 33556480, `flags_extra`= 128 WHERE `entry`= 49065; + +-- Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (40784, 49065); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(40784, '76066'), +(49065, '91371'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 40765; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(40765, 0, 0, 'Iilth vwah, uhn''agth fhssh za.', 14, 0, 100, 0, 0, 18543, 50522, 'Commander Ulthok - Aggro'), +(40765, 1, 0, 'Where one falls, many shall take its place...', 15, 0, 100, 0, 0, 0, 32608, 'Commander Ulthok - Aggro Whisper'), +(40765, 2, 0, 'Gul''kafh an''shel.', 14, 0, 100, 0, 0, 18544, 50525, 'Commander Ulthok - Slay'), +(40765, 3, 0, 'Gaze into the void.', 15, 0, 100, 0, 0, 0, 50526, 'Commander Ulthok - Slay Whisper'), +(40765, 4, 0, 'Ywaq maq oou.', 14, 0, 100, 0, 0, 18542, 50529, 'Commander Ulthok - Death'), +(40765, 5, 0, 'They do not die.', 15, 0, 100, 0, 0, 0, 50527, 'Commander Ulthok to Player'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_ulthok_dark_fissure'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(91371, 'spell_ulthok_dark_fissure'); +DELETE FROM `creature` WHERE `guid` IN (255075, 255078, 255082, 255084, 255088, 255089, 255094, 255096, 255097, 255098, 255099, 255100, 255101, 255102, 255103, 255104, 255105, 255106, 255107, 255108, 255109, 255110, 255111, 255113, 255126, 255127, 255128, 255129, 255130, 255131, 255132, 255133, 255134, 255135, 255136, 255137, 255139, 255140, 255141, 255142, 255143, 255144, 255145, 255147, 255148, 255149, 255152, 255153, 255156, 255160, 255161, 255164, 255165, 255166, 255167, 255168, 255169, 255170, 255171, 255172, 255173, 255174, 255175, 255178, 255179, 255180, 255181, 255184, 255185, 255186, 255189, 255190, 255191, 255194, 255196, 255198, 255199, 255200, 255201, 255202, 255203, 255204, 255205, 255206, 255207, 255208, 255211, 255212, 255213, 255214, 255215, 255216, 255219, 255220, 255221, 255222, 255225, 255226, 255229, 255230, 255231, 255232, 255235, 255236, 255237, 255238, 255239, 255240, 255241, 255243, 255245, 255246, 255247, 255248, 255249, 255252, 255253, 255254, 255257, 255258, 255259, 255260, 255263, 255264, 255265, 255268, 255269, 255270, 255271, 255272, 255273, 255274, 255277, 255278, 255279, 255280, 255281, 255283, 255284, 255286, 255287, 255288, 255289, 255291, 255293, 255296, 255297, 255298, 255300, 255302, 255303, 255304, 255305, 255306, 255307, 255309, 255311, 255313, 255314, 255316, 255317, 255319, 255321, 255322, 255323, 255324, 255325, 255326, 255327, 255330, 255333, 255334, 255335, 255337, 255339, 255340, 255341, 255342, 255343, 255344, 255347, 255348, 255349, 255350, 255352, 255354, 255355, 255356, 255357, 255358, 255361, 255362, 255363, 255364, 255367, 255368, 255371, 255372, 255373, 255374, 255375, 255376, 255379, 255380, 255381, 255382, 255383, 255384, 255387, 255388, 255389, 255390, 255391, 255392, 255393, 255394, 255395, 255398, 255399, 255400, 255408, 255409, 255410); + +DELETE FROM `creature_addon` WHERE `guid` IN (255075, 255078, 255082, 255084, 255088, 255089, 255094, 255096, 255097, 255098, 255099, 255100, 255101, 255102, 255103, 255104, 255105, 255106, 255107, 255108, 255109, 255110, 255111, 255113, 255126, 255127, 255128, 255129, 255130, 255131, 255132, 255133, 255134, 255135, 255136, 255137, 255139, 255140, 255141, 255142, 255143, 255144, 255145, 255147, 255148, 255149, 255152, 255153, 255156, 255160, 255161, 255164, 255165, 255166, 255167, 255168, 255169, 255170, 255171, 255172, 255173, 255174, 255175, 255178, 255179, 255180, 255181, 255184, 255185, 255186, 255189, 255190, 255191, 255194, 255196, 255198, 255199, 255200, 255201, 255202, 255203, 255204, 255205, 255206, 255207, 255208, 255211, 255212, 255213, 255214, 255215, 255216, 255219, 255220, 255221, 255222, 255225, 255226, 255229, 255230, 255231, 255232, 255235, 255236, 255237, 255238, 255239, 255240, 255241, 255243, 255245, 255246, 255247, 255248, 255249, 255252, 255253, 255254, 255257, 255258, 255259, 255260, 255263, 255264, 255265, 255268, 255269, 255270, 255271, 255272, 255273, 255274, 255277, 255278, 255279, 255280, 255281, 255283, 255284, 255286, 255287, 255288, 255289, 255291, 255293, 255296, 255297, 255298, 255300, 255302, 255303, 255304, 255305, 255306, 255307, 255309, 255311, 255313, 255314, 255316, 255317, 255319, 255321, 255322, 255323, 255324, 255325, 255326, 255327, 255330, 255333, 255334, 255335, 255337, 255339, 255340, 255341, 255342, 255343, 255344, 255347, 255348, 255349, 255350, 255352, 255354, 255355, 255356, 255357, 255358, 255361, 255362, 255363, 255364, 255367, 255368, 255371, 255372, 255373, 255374, 255375, 255376, 255379, 255380, 255381, 255382, 255383, 255384, 255387, 255388, 255389, 255390, 255391, 255392, 255393, 255394, 255395, 255398, 255399, 255400, 255408, 255409, 255410); + +DELETE FROM `gameobject` WHERE `guid`= 236342; +DELETE FROM `gameobject_addon` WHERE `guid`= 236342; +UPDATE `spell_proc` SET `HitMask`= 0x00001000 WHERE `SpellID` IN (84722, 84723); +-- Template Updates +-- Ozumat +UPDATE `creature_template` SET `InhabitType`= 4, `ScriptName`= 'boss_ozumat', `mechanic_immune_mask`= 617299839 WHERE `entry`= 44566; +UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `InhabitType`= 4, `VehicleId`= 1438, `mechanic_immune_mask`= 617299839, `flags_extra`= 1 WHERE `entry`= 49097; +-- Neptulon +UPDATE `creature_template` SET `difficulty_entry_1`= 49094, `ScriptName`= 'npc_ozumat_neptulon' WHERE `entry`= 40792; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `gossip_menu_id`= 11469, `faction`= 2263, `npcflag`= 1, `unit_flags`= 32768 WHERE `entry`= 49094; +-- Ozumat Combat Trigger +UPDATE `creature_template` SET `unit_flags`= 34080768, `InhabitType`= 12, `flags_extra`= 128 WHERE `entry` IN (44864, 49099); +-- Ozumat Add Spawner +UPDATE `creature_template` SET `unit_flags`= 33554432, `InhabitType`= 4, `flags_extra`= 128 WHERE `entry`= 44656; +-- Deep Murloc Invader +UPDATE `creature_template` SET `exp`= 3, `difficulty_entry_1`= 49068, `InhabitType`= 1, `flags_extra`= 512, `DamageModifier`= 4, `BaseVariance`= 0.5 WHERE `entry`= 44658; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 1771, `InhabitType`= 1, `flags_extra`= 512, `DamageModifier`= 8, `BaseVariance`= 0.5 WHERE `entry`= 49068; +-- Vicious Mindlasher +UPDATE `creature_template` SET `difficulty_entry_1`= 49107, `unit_class`= 2, `InhabitType`= 1, `flags_extra`= 512, `ScriptName`= 'npc_ozumat_vicious_mindlasher' WHERE `entry`= 44715; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 1771, `unit_class`= 2, `InhabitType`= 1, `flags_extra`= 512 WHERE `entry`= 49107; +-- Unyielding Behemoth +UPDATE `creature_template` SET `difficulty_entry_1`= 49104, `InhabitType`= 1, `flags_extra`= 512 | 0x40000000, `VehicleId`= 1066, `DamageModifier`= 15, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839, `ScriptName`= 'npc_ozumat_unyielding_behemoth' WHERE `entry`= 44648; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 1771, `InhabitType`= 1, `flags_extra`= 512 | 0x40000000, `VehicleId`= 1066, `DamageModifier`= 30, `BaseVariance`= 0.5,`mechanic_immune_mask`= 617299839 WHERE `entry`= 49104; +-- Unyielding Behemoth (Hand Visual) +UPDATE `creature_template` SET `unit_flags`= 33554496, `flags_extra`= 128 WHERE `entry`= 44950; +-- Unyielding Behemoth (Leap Vehicle) +UPDATE `creature_template` SET `unit_flags`= 33554496, `unit_flags2`= 2099200, `InhabitType`= 4, `flags_extra`= 128, `VehicleId`= 1065 WHERE `entry`= 44949; +-- Faceless Sapper +UPDATE `creature_template` SET `difficulty_entry_1`= 49073, `InhabitType`= 1, `flags_extra`= 512 | 0x40000000, `mechanic_immune_mask`= 617299839 WHERE `entry`= 44752; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 1771, `unit_flags2`= 32, `InhabitType`= 1, `flags_extra`= 512 | 0x40000000, `mechanic_immune_mask`= 617299839 WHERE `entry`= 49073; +-- Blight Beast +UPDATE `creature_template` SET `difficulty_entry_1`= 49061, `InhabitType`= 1, `flags_extra`= 512, `speed_run`= 0.57142, `DamageModifier`= 15, `BaseVariance`= 0.5 WHERE `entry`= 44841; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 1771, `InhabitType`= 1, `flags_extra`= 512, `speed_run`= 0.57142, `DamageModifier`= 30, `BaseVariance`= 0.5 WHERE `entry`= 49061; +-- Blight of Ozumat +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry` IN (44801, 49062); +-- Blight of Ozumat 2 +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry` IN (44834, 49063); + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (44841, 44801, 49062, 44834, 49063); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(44841, '83665'), +(44801, '83525'), +(49062, '83525'), +(44834, '83607'), +(49063, '83607'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_ozumat_charge_to_window', +'spell_ozumat_jump_to_ground', +'spell_ozumat_shadow_blast', +'spell_ozumat_shadow_blast_missile', +'spell_ozumat_blight_of_ozumat', +'spell_ozumat_purify'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(83240, 'spell_ozumat_charge_to_window'), +(83241, 'spell_ozumat_jump_to_ground'), +(83653, 'spell_ozumat_charge_to_window'), +(83652, 'spell_ozumat_jump_to_ground'), +(83929, 'spell_ozumat_shadow_blast'), +(83931, 'spell_ozumat_shadow_blast_missile'), +(83518, 'spell_ozumat_blight_of_ozumat'), +(76953, 'spell_ozumat_purify'); + +-- Gossips +DELETE FROM `gossip_menu_option` WHERE (`MenuID`=11469 AND `OptionID`=0); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionType`, `OptionNpcFlag`, `OptionBroadcastTextId`) VALUES +(11469, 0, 0, 'We are ready!', 1, 1, 41133); + +-- Spellclicks +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (44648, 49104); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(44648, 46598, 1, 1), +(49104, 46598, 1, 1); + +-- Vehicle Accessories +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (44648, 49104); +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES +(44648, 44950, 0, 1, 'Unyielding Behemoth - Hand Visual', 8, 0), +(49104, 44950, 0, 1, 'Unyielding Behemoth - Hand Visual', 8, 0); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 40792; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(40792, 0, 0, 'Ahh - my fearless assistants, I assume.', 14, 0, 100, 0, 0, 19469, 44263, 'Neptulon - Intro 1'), +(40792, 1, 0, 'You may yet regret your presence here.', 14, 0, 100, 0, 0, 19470, 44264, 'Neptulon - Intro 2'), +(40792, 2, 0, 'As I purify these waters, the servants of filth will surely be stirred. Beware!', 14, 0, 100, 0, 0, 19471, 44265, 'Neptulon - Purify Waters 1'), +(40792, 3, 0, 'Patience, guests. The waters are nearly cleansed.', 14, 0, 100, 0, 0, 19475, 44269, 'Neptulon - Purify Waters 2'), +(40792, 4, 0, 'The beast has returned! It must not pollute my waters!', 14, 0, 100, 0, 0, 19476, 44270, 'Neptulon to Player'), +(40792, 5, 0, 'Augh... Their filthiness stains me!', 14, 0, 100, 0, 0, 19472, 44266, 'Neptulon to Player'), +(40792, 6, 0, 'My waters are cleansed! Drink in their power!', 14, 0, 100, 0, 0, 19478, 44272, 'Neptulon to Player'), +(40792, 7, 0, 'Behold the power of pure water!', 14, 0, 100, 0, 0, 19477, 44271, 'Neptulon to Player'), +(40792, 8, 0, 'Ozumat is vulnerable, strike now!', 41, 0, 100, 0, 0, 19477, 50863, 'Neptulon to Player'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (76953, 83360, 83441, 83240, 83241, 83437, 83977, 83463, 83648, 83653, 83652, 83606, 84037, 94171, 94170) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 76953, 0, 0, 31, 0, 3, 36171, 0, 0, 0, '', 'Purify - Target World Trigger'), +(13, 1, 83360, 0, 0, 31, 0, 3, 44656, 0, 0, 0, '', 'Summon Murloc Add Trigger - Target Ozumat Add Spawner'), +(13, 1, 83441, 0, 0, 31, 0, 3, 44656, 0, 0, 0, '', 'Summon Caster Add Trigger - Target Ozumat Add Spawner'), +(13, 1, 83648, 0, 0, 31, 0, 3, 44656, 0, 0, 0, '', 'Summon Kite Add Trigger - Target Ozumat Add Spawner'), +(13, 1, 83437, 0, 0, 31, 0, 3, 44656, 0, 0, 0, '', 'Summon Öt Add Trigger - Target Ozumat Add Spawner'), +(13, 1, 83240, 0, 0, 31, 0, 3, 40792, 0, 0, 0, '', 'Charge to window - Target Neptulon'), +(13, 1, 83241, 0, 0, 31, 0, 3, 40792, 0, 0, 0, '', 'Jump to ground - Target Neptulon'), +(13, 1, 83653, 0, 0, 31, 0, 3, 40792, 0, 0, 0, '', 'Charge to window - Target Neptulon'), +(13, 1, 83652, 0, 0, 31, 0, 3, 40792, 0, 0, 0, '', 'Jump to ground - Target Neptulon'), +(13, 1, 83463, 0, 0, 31, 0, 3, 40792, 0, 0, 0, '', 'Entangling Grasp - Target Neptulon'), +(13, 1, 94170, 0, 0, 31, 0, 3, 40792, 0, 0, 0, '', 'Grab Neptulon - Target Neptulon'), +(13, 1, 83977, 0, 0, 31, 0, 3, 44950, 0, 0, 0, '', 'Shadow Blast - Target Unyielding Behemoth (Hand Visual)'), +(13, 1, 83606, 0, 0, 31, 0, 3, 36171, 254898, 0, 0, '', 'Purify - Target World Trigger'), +(13, 1, 84037, 0, 0, 31, 0, 3, 44566, 0, 0, 0, '', 'Pure Water - Target Ozumat'), +(13, 1, 94171, 0, 0, 31, 0, 3, 44566, 0, 0, 0, '', 'Grab Neptulon - Target Ozumat'); + +-- Areatriggers +DELETE FROM `areatrigger_scripts` WHERE `entry`= 6646; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(6646, 'at_tott_neptulon_intro'); + +-- Delete Encounter Related Creatures +DELETE FROM `creature` WHERE `guid` IN (255404, 254949, 255407, 254956); +DELETE FROM `creature_addon` WHERE `guid` IN (255404, 254949, 255407, 254956); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 49097; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(49097, 395, 7000); + +-- Loot +UPDATE `gameobject_template_addon`SET `flags`= 16, `mingold`= 19800, `maxgold`= 20000 WHERE `entry` IN (205216, 207973); + +DELETE FROM `gameobject_loot_template` WHERE `Entry` IN (29711, 36142); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (297110, 361420); +INSERT INTO `gameobject_loot_template` (`Entry`, `Chance`, `LootMode`, `Reference`, `MinCount`, `MaxCount`) VALUES +(29711, 100, 1, 448190, 2, 2); + +INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MinCount`, `MaxCount`) VALUES +(36142, 52078, 100, 1, 0, 1, 1), -- Chaos Orb +(36142, 361420, 100, 1, 361420, 2, 2); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(297110, 55252, 0, 1, 1, 1, 1), +(297110, 55259, 0, 1, 1, 1, 1), +(297110, 55258, 0, 1, 1, 1, 1), +(297110, 55254, 0, 1, 1, 1, 1), +(297110, 55253, 0, 1, 1, 1, 1), +(297110, 55255, 0, 1, 1, 1, 1), +(297110, 55249, 0, 1, 1, 1, 1), +(297110, 55250, 0, 1, 1, 1, 1), +(297110, 55251, 0, 1, 1, 1, 1), +(297110, 55256, 0, 1, 1, 1, 1); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(361420, 56284, 0, 1, 1, 1, 1), +(361420, 56289, 0, 1, 1, 1, 1), +(361420, 56288, 0, 1, 1, 1, 1), +(361420, 56291, 0, 1, 1, 1, 1), +(361420, 56281, 0, 1, 1, 1, 1), +(361420, 56286, 0, 1, 1, 1, 1), +(361420, 56283, 0, 1, 1, 1, 1), +(361420, 56282, 0, 1, 1, 1, 1), +(361420, 56285, 0, 1, 1, 1, 1), +(361420, 56290, 0, 1, 1, 1, 1); +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry`= 40925; +UPDATE `creature_addon` SET `auras`= '' WHERE `guid` IN (255117, 255119, 255120, 255115); +UPDATE `creature` SET `MovementType`= 0, `spawndist`= 0 WHERE `guid` IN (255021, 255022, 255023, 255019); + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_tott_shock_defense'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(86611, 'spell_tott_shock_defense'), +(86613, 'spell_tott_shock_defense'), +(86614, 'spell_tott_shock_defense'); +UPDATE `instance_encounters` SET `creditEntry`= 44566 WHERE `entry`= 1047; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_sha_earth_shock', +'spell_sha_fulmination'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(95774, 'spell_sha_fulmination'); + +DELETE FROM `spell_proc` WHERE `SpellId`= 95774; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(95774, 11, 0x00100000, 0, 0, 0x00010000, 1, 1, 0, 0, 0, 1, 100); +DELETE FROM `creature` WHERE `guid` IN (340550, 340473); +DELETE FROM `creature_addon` WHERE `guid` IN (340550, 340473); +DELETE FROM `creature` WHERE `guid` IN (361804, 361805, 361806, 361807); +DELETE FROM `creature_addon` WHERE `guid` IN (361804, 361805, 361806, 361807); + +DELETE FROM `creature_template_addon` WHERE `entry`= 40015; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(40015, '77783'); +DELETE FROM `creature` WHERE `guid` IN (304363); +DELETE FROM `creature_addon` WHERE `guid` IN (304363); + +UPDATE `creature_template` SET `unit_flags`= 0x40 | 0x200 WHERE `entry` IN (39788, 48902); +UPDATE `creature_template` SET `speed_run`= 1.71429 WHERE `entry`= 48902; +DELETE FROM `creature` WHERE `guid` IN (253891 , 253890, 253889, 253888, 253887, 253886, 253885, 253884, 253883, 253882, 253858, 253855, 253853, 253852, 253870, 253879, 253875, 253859, 253857, 253856, 253854, 253851, 253850, 253877, 253880, 253862, 253860, 254144, 254133, 254134, 254148); + +DELETE FROM `creature_addon` WHERE `guid` IN (253891 , 253890, 253889, 253888, 253887, 253886, 253885, 253884, 253883, 253882, 253858, 253855, 253853, 253852, 253870, 253879, 253875, 253859, 253857, 253856, 253854, 253851, 253850, 253877, 253880, 253862, 253860, 254144, 254133, 254134, 254148); + +DELETE FROM `gameobject` WHERE `guid` IN (211098, 211085); +DELETE FROM `gameobject_addon` WHERE `guid` IN (211098, 211085); + +DELETE FROM `instance_spawn_groups` WHERE `InstanceMapId`= 671; +DELETE FROM `spawn_group` WHERE `groupId` IN (52, 53); +DELETE FROM `spawn_group_template` WHERE `groupId` IN (52, 53); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_sha_fulmination', +'spell_sha_earth_shock'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(8042, 'spell_sha_earth_shock'); + +DELETE FROM `spell_proc` WHERE `SpellId`= 95774; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(95774, 11, 0x00100000, 0, 0, 0x00010000, 1, 1, 0, 16, 0, 1, 100); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pri_evangelism', +'spell_pri_evangelism_triggered', +'spell_pri_archangel'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-81659, 'spell_pri_evangelism'), +(81660, 'spell_pri_evangelism_triggered'), +(81661, 'spell_pri_evangelism_triggered'), +(87117, 'spell_pri_evangelism_triggered'), +(87118, 'spell_pri_evangelism_triggered'), +(87151, 'spell_pri_archangel'); + +DELETE FROM `spell_proc` WHERE `SpellId`= -81659; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-81659, 6, 0x00000080 | 0x00100000, 0, 0x00000440, 0, 1, 1, 0, 0, 0, 0, 0); + +DELETE FROM `spell_group` WHERE `id`= 1124; +INSERT INTO `spell_group` (`id`, `spell_id`) VALUES +(1124, 81660), +(1124, 81661), +(1124, 87117), +(1124, 87118); + +DELETE FROM `spell_group_stack_rules` WHERE `group_id`= 1124; +INSERT INTO `spell_group_stack_rules` (`group_id`, `stack_rule`) VALUES +(1124, 2); +DELETE FROM `creature_template_addon` WHERE `entry`= 33248; +-- Creature Power Word: Barrier 33248 SAI +SET @ENTRY := 33248; +UPDATE `creature_template` SET `unit_flags`= 33554440, `unit_flags2`= 34, `minlevel`= 1, `maxlevel`= 1, `faction`= 35, `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, 1, 63, 0, 100, 0, 0, 0, 0, 0, 11, 40031, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Cast spell 40031 on Self // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 81781, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 81781 on Self // "); + + +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_power_word_barrier'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(81781, 'spell_power_word_barrier'); +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 45455; +DELETE FROM `spell_bonus_data` WHERE `entry`= 53301; +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(53301, 0, 0, 0, 0.273, 'Hunter - Explosive Shot'); +DELETE FROM `spawn_group` WHERE `spawnId` IN (328052, 328324, 334607, 334694, 334855, 10873, 11348, 14387, 15031, 17874, 19107, 21584, 21594, 21692, 23229, 24268, 26987, 29241, 32333, 33115, 37085, 40210, 41759, 50381, 93194, 93301); + +DELETE FROM `reference_loot_template` WHERE `Entry` IN (495410, 495411, 497120, 297110, 10100, 10101, 43401, 43403, 43405, 43407); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(497120, 63465, 0, 1, 1, 1, 1), +(497120, 63463, 0, 1, 1, 1, 1), +(497120, 63459, 0, 1, 1, 1, 1), +(497120, 63462, 0, 1, 1, 1, 1), +(497120, 63458, 0, 1, 1, 1, 1), +(497120, 63457, 0, 1, 1, 1, 1), +(497120, 63464, 0, 1, 1, 1, 1), +(497120, 63460, 0, 1, 1, 1, 1), +(497120, 63456, 0, 1, 1, 1, 1), +(497120, 63461, 0, 1, 1, 1, 1); + +DELETE FROM `creature_loot_template` WHERE `entry` IN (49541, 49712); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(49541, 495410, 100, 1, 495410, 2), +(49541, 52078, 100, 1, 0, 1), -- Chaos Orb +(49712, 497120, 100, 1, 497120, 2), +(49712, 52078, 100, 1, 0, 1); -- Chaos Orb + +UPDATE `gameobject_template` SET `ScriptName`= 'go_cheer_speaker' WHERE `entry`= 180749; + +DELETE FROM `item_script_names` WHERE `ScriptName`= 'item_generic_limit_chance_above_60'; + +INSERT INTO `item_script_names` (`Id`, `ScriptName`) VALUES +(19169, 'item_generic_limit_chance_above_60'); + +DELETE FROM `creature_loot_template` WHERE `Entry` IN (46964, 49712); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (469640, 497120, 497121); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(495410, 63487, 0, 1, 1, 1, 1), -- Book of the Well Sung Song +(495410, 63480, 0, 1, 1, 1, 1), -- Record of the Broderhood's End +(495410, 63479, 0, 1, 1, 1, 1), -- Bracers of Some Consequence +(495410, 63478, 0, 1, 1, 1, 1), -- Stonemanons's Helm +(495410, 65178, 0, 1, 1, 1, 1), -- VanCleef's Boots +(495410, 63485, 0, 1, 1, 1, 1), -- Cowl of Rebellion +(495410, 63482, 0, 1, 1, 1, 1), -- Daughter's Hand +(495410, 63483, 0, 1, 1, 1, 1), -- Guildmaster's Greaves +(495410, 63486, 0, 1, 1, 1, 1), -- Shackles of the Betrayed +(495410, 63484, 0, 1, 1, 1, 1); -- Armbands of Exiled Architects + +DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (5470, 5315); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_item_toc25_normal_caster_trinket', +'spell_item_toc25_heroic_caster_trinket', +'spell_item_darkmoon_card_greatness', +'spell_item_charm_witch_doctor', +'spell_item_mana_drain', +'spell_item_thunder_capacitor', +'spell_item_lightning_capacitor', +'spell_item_death_choice', +'spell_item_soul_preserver', +'spell_item_harm_prevention_belt', +'spell_gen_clear_fear_poly', +'spell_gen_blood_reserve', +'spell_igb_battle_experience_check', +'spell_combined_toxins', +'spell_collecting_fallout'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(67712, 'spell_item_toc25_normal_caster_trinket'), +(67758, 'spell_item_toc25_heroic_caster_trinket'), +(57345, 'spell_item_darkmoon_card_greatness'), +(43820, 'spell_item_charm_witch_doctor'), +(27522, 'spell_item_mana_drain'), +(54841, 'spell_item_thunder_capacitor'), +(37657, 'spell_item_lightning_capacitor'), +(67702, 'spell_item_death_choice'), +(60510, 'spell_item_soul_preserver'), +(13234, 'spell_item_harm_prevention_belt'), +(8129, 'spell_gen_clear_fear_poly'), +(64568, 'spell_gen_blood_reserve'), +(71201, 'spell_igb_battle_experience_check'), +(56584, 'spell_combined_toxins'), +(12709, 'spell_collecting_fallout'); + +DELETE FROM `areatrigger_scripts` WHERE `ScriptName` IN +('at_nearby_scarshield_infiltrator'); + +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(1946, 'at_nearby_scarshield_infiltrator'); +-- Spawns -- +-- completely respawn troggs +DELETE FROM `creature` WHERE `guid` IN (260626, 261880, 262330, 262630, 266625, 266649, 267392, 270074, 273525, 274393, 274564, 279583, 279584, 281443, 281770, 281825, 286000, 286682, 286759, 286846, 286847, 287613, 287771, 288673, 288686, 288687, 288688, 288689, 288690, 288697, 295362, 300068, 300287, 300294, 300295, 301642, 303274, 303275, 303354, 303916, 303941, 303997, 304072, 304073, 304163, 304187, 304189, 304264, 304266, 304268, 304269, 304270, 304274, 304275, 304276, 304277, 304278, 304279, 304280, 304281, 304282, 304284, 304285, 304286, 304289, 304290, 304291, 304292, 304293, 304294, 304295, 304297, 304298, 304330, 304336, 304354, 304359, 304360, 304361, 304373, 304413, 304430, 304445, 305511, 305643, 305649, 305650, 305751, 305879, 305982, 305983, 306014, 306082, 306088, 306089, 306183, 306184, 306185, 306190, 306192, 306210, 306211, 306212, 306214, 306219, 306220, 306275, 306277, 306279, 306397, 306420, 306548, 307101, 307200, 307218, 307220, 307221, 307229, 307230, 307246, 307264, 307272, 307275, 307276, 307277, 307278, 307279, 307280, 307281, 307282, 307284, 307305, 307306, 314738, 316813, 316897, 316898, 316907, 316908, 316926, 316928, 316929, 316930, 316999, 317000, 317119, 317122, 317123, 317207, 317208, 317270, 282741, 285362, 295351, 304183, 304271, 304283, 304287, 304366, 306119, 306182, 306549, 307202, 307206, 307274, 316848, 316873, 260304, 267393, 269933, 270027, 285915, 302467, 302522, 304117, 304185, 304272, 304273, 304288, 304296, 304342, 304448, 305600, 305606, 306213, 306215, 306216, 306827, 307273, 307283, 316909, 316913, 317271, 317304); + +DELETE FROM `creature_addon` WHERE `guid` IN (260626, 261880, 262330, 262630, 266625, 266649, 267392, 270074, 273525, 274393, 274564, 279583, 279584, 281443, 281770, 281825, 286000, 286682, 286759, 286846, 286847, 287613, 287771, 288673, 288686, 288687, 288688, 288689, 288690, 288697, 295362, 300068, 300287, 300294, 300295, 301642, 303274, 303275, 303354, 303916, 303941, 303997, 304072, 304073, 304163, 304187, 304189, 304264, 304266, 304268, 304269, 304270, 304274, 304275, 304276, 304277, 304278, 304279, 304280, 304281, 304282, 304284, 304285, 304286, 304289, 304290, 304291, 304292, 304293, 304294, 304295, 304297, 304298, 304330, 304336, 304354, 304359, 304360, 304361, 304373, 304413, 304430, 304445, 305511, 305643, 305649, 305650, 305751, 305879, 305982, 305983, 306014, 306082, 306088, 306089, 306183, 306184, 306185, 306190, 306192, 306210, 306211, 306212, 306214, 306219, 306220, 306275, 306277, 306279, 306397, 306420, 306548, 307101, 307200, 307218, 307220, 307221, 307229, 307230, 307246, 307264, 307272, 307275, 307276, 307277, 307278, 307279, 307280, 307281, 307282, 307284, 307305, 307306, 314738, 316813, 316897, 316898, 316907, 316908, 316926, 316928, 316929, 316930, 316999, 317000, 317119, 317122, 317123, 317207, 317208, 317270, 282741, 285362, 295351, 304183, 304271, 304283, 304287, 304366, 306119, 306182, 306549, 307202, 307206, 307274, 316848, 316873, 260304, 267393, 269933, 270027, 285915, 302467, 302522, 304117, 304185, 304272, 304273, 304288, 304296, 304342, 304448, 305600, 305606, 306213, 306215, 306216, 306827, 307273, 307283, 316909, 316913, 317271, 317304); + +-- spawn missing Temple Fireshaper (not in old sniffs) +DELETE FROM `creature` WHERE `guid` = 260626; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(260626, 48143, 644, 0, 0, 3, 169, 0, 0, 0, -640.624, 396.364, 83.8651, 1.54741, 7200, 0, 0, 1, 0, 0, 0, 0, 0, '', 0); + +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES +(261880, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -310.194, 470.802, 89.2101, 0.942478, 75, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(262330, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -306.049, 473.334, 89.2098, 3.32781, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(262630, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -310.229, 475.618, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(266625, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -314.069, 475.719, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(266649, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -313.979, 472.288, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(267392, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -314.16, 467.67, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(270074, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -308.781, 468.149, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(273525, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -308.802, 464.792, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(274393, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -304.965, 467.861, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(274564, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -301.382, 471.996, 89.2101, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(279583, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -340.839, 347.286, 75.9967, 0.964845, 75, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(279584, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -346.127, 354.856, 75.9967, 5.85007, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(281443, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -346.036, 351.425, 75.9967, 5.60471, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(281770, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -346.217, 346.807, 75.9967, 0.486205, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(281825, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -342.286, 354.755, 75.9967, 5.86649, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(286000, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -342.252, 349.939, 75.9967, 0.300333, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(286682, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -339.944, 351.752, 75.9395, 0.246043, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(286759, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -338.092, 352.474, 75.9967, 6.11989, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(286846, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -337.023, 346.998, 75.9967, 3.12421, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(286847, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -340.859, 343.929, 75.9967, 0.0577634, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(287613, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -327.108, 363.51, 75.9967, 0.191986, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(287771, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -326.706, 371.395, 75.9149, 0.115208, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288673, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -323.705, 370.922, 75.9147, 5.43921, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288686, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -327.919, 369.543, 75.915, 6.1753, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288687, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -329.505, 368.512, 75.9967, 1.20988, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288688, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -322.414, 366.157, 75.9135, 2.20408, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288689, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -327.079, 366.141, 75.9135, 0.471097, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288690, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -329.941, 364.475, 75.9136, 2.99184, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(288697, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -328.955, 360.703, 75.9967, 0.191986, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(295362, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -324.66, 361.185, 75.9139, 6.02108, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(300068, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -287.823, 385.519, 75.9193, 2.92434, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(300287, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -299.3, 358.482, 75.8604, 3.52962, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(300294, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -292.242, 380.517, 75.801, 3.16325, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(300295, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -225.253, 369.491, 75.9968, 3.42004, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(301642, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -223.826, 358.665, 75.9968, 2.10959, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(303274, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -302.997, 356.95, 75.8869, 3.51183, 75, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(303275, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -268.631, 350.643, 75.8555, 5.96633, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(303354, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -265.242, 356.885, 75.8571, 2.1115, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(303916, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -235.209, 401.48, 78.039, 1.21846, 75, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(303941, 40251, 644, 0, 0, 3, 169, 0, 0, 0, -232.226, 336.948, 76.1978, 2.17494, 75, 0, 0, 1, 0, 2, 0, 0, 0, '', 0), +(303997, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -229.985, 345.492, 75.9832, 3.14345, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304072, 40252, 644, 0, 0, 3, 169, 0, 0, 0, -227.76, 404.618, 78.4398, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304073, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -306.997, 356.864, 75.908, 3.51118, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304163, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -306.122, 359.457, 75.9034, 3.51491, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304187, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -306.001, 354.316, 75.9027, 3.51128, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304189, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -303.786, 360.88, 75.8911, 3.52073, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304264, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -303.601, 353.004, 75.8867, 3.51511, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304266, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -301.767, 360.221, 75.88, 3.88732, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304268, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -300.917, 353.542, 75.8629, 3.52084, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304269, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -299.208, 355.679, 75.8515, 3.52591, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304270, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -295.094, 380.578, 75.823, 3.21846, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304274, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -292.451, 385.642, 75.9222, 1.82215, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304275, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -290.55, 383.07, 75.7897, 5.77275, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304276, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -290.126, 377.787, 75.783, 0.57182, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304277, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -288.722, 374.086, 75.8119, 2.14096, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304278, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -287.697, 378.254, 75.7646, 2.15255, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304279, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -284.984, 385.712, 75.7487, 0.553711, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304280, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -284.745, 380.914, 75.7436, 0.298799, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304281, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -269.067, 357.017, 75.8528, 5.32259, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304282, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -266.62, 352.449, 75.8571, 2.56367, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304284, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -266.006, 359.436, 75.8554, 4.82735, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304285, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -264.552, 360.05, 75.8568, 3.74199, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304286, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -262.46, 348.775, 75.8631, 5.90125, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304289, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -261.533, 354.988, 75.862, 3.6823, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304290, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -260.413, 357.929, 75.9242, 1.73724, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304291, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -260.307, 350.639, 75.8649, 5.97425, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304292, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -237.583, 339.826, 75.9239, 0.555555, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304293, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -237.493, 347.875, 75.9968, 6.11079, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304294, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -237.403, 344.444, 75.9941, 0.603315, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304295, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -233.653, 347.774, 75.9968, 4.36988, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304297, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -233.618, 342.958, 75.9755, 3.0492, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304298, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -232.327, 401.063, 77.917, 1.51474, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304330, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -232.205, 340.306, 75.9557, 1.25035, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304336, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -231.429, 395.645, 76.3648, 2.90686, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304354, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -231.346, 405.052, 79.0613, 1.62124, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304359, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -229.184, 361.543, 75.9968, 0.942478, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304360, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -229.094, 369.592, 75.9968, 0.942478, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304361, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -229.003, 366.161, 75.9968, 0.942478, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(304373, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -228.389, 340.017, 75.9719, 2.85645, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304413, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -227.851, 396.569, 76.7132, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304430, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -227.67, 401.188, 77.3578, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(304445, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -225.219, 364.675, 75.9968, 0.942478, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(305511, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -224.806, 344.153, 75.9968, 2.59741, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(305643, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -223.92, 404.517, 78.4297, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(305649, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -223.885, 399.701, 77.6513, 0.942478, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(305650, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -222.754, 363.174, 75.9125, 2.12401, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(305751, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -221.988, 402.397, 78.3069, 5.59566, 75, 0, 0, 1, 0, 0, 0, 0, 0, '', 0), +(306277, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -221.059, 367.21, 75.9968, 0.942478, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(306279, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -219.99, 361.734, 75.9968, 0.942478, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0), +(306397, 39804, 644, 0, 0, 3, 169, 0, 0, 0, -216.406, 365.87, 75.9968, 5.54348, 75, 3, 0, 1, 0, 1, 0, 0, 0, '', 0); + +-- Creature Formations -- +-- First group, on the beginning +DELETE FROM `creature_formations` WHERE `memberGUID` IN (322519, 322579, 322520, 322578); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(322519,322519,0,0,3,0,0), +(322519,322579,0,0,3,0,0), +(322519,322520,0,0,3,0,0), +(322519,322578,0,0,3,0,0); + +-- Second right-side group +DELETE FROM `creature_formations` WHERE `memberGUID` IN (322466, 322211, 322053, 322465); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(322466,322466,0,0,3,0,0), +(322466,322211,13,330,515,5,10), +(322466,322053,13,30,515,5,10), +(322466,322465,7,0,515,5,10); + +-- Second left-side group +DELETE FROM `creature_formations` WHERE `memberGUID` IN (322210, 321936, 321868, 321867); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(322210,322210,0,0,3,0,0), +(322210,321936,13,330,515,5,10), +(322210,321868,13,30,515,5,10), +(322210,321867,7,0,515,5,10); + +-- Third group +DELETE FROM `creature_formations` WHERE `memberGUID` IN (260626, 320942, 321479); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(260626,260626,0,0,3,0,0), +(260626,320942,0,0,3,0,0), +(260626,321479,0,0,3,0,0); + +-- Group before elevator +DELETE FROM `creature_formations` WHERE `memberGUID` IN (317604, 317603, 317601, 317570); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(317604,317604,0,0,3,0,0), +(317604,317603,9,320,515,0,0), +(317604,317601,9,40,515,0,0), +(317604,317570,11,270,515,0,0); + +-- Group west from elevator +DELETE FROM `creature_formations` WHERE `memberGUID` IN (317458, 320150, 317381, 317382); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(317458,317458,0,0,3,0,0), +(317458,320150,8,330,515,2,5), +(317458,317381,8,30,515,2,5), +(317458,317382,8,90,515,2,5); + +-- First group east from elevator +DELETE FROM `creature_formations` WHERE `memberGUID` IN (307307, 307310, 307320, 307308); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(307307,307307,0,0,3,0,0), +(307307,307310,0,0,3,0,0), +(307307,307320,0,0,3,0,0), +(307307,307308,0,0,3,0,0); + +-- Second group east from elevator +DELETE FROM `creature_formations` WHERE `memberGUID` IN (307365, 307452, 307418, 307453, 307333, 307360); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(307365,307365,0,0,3,0,0), +(307365,307452,0,0,3,0,0), +(307365,307418,0,0,3,0,0), +(307365,307453,0,0,3,0,0), +(307365,307333,0,0,3,0,0), +(307365,307360,0,0,3,0,0); + +-- Third group east from elevator +DELETE FROM `creature_formations` WHERE `memberGUID` IN (308039, 307679, 307678, 307680, 307454); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(308039,308039,0,0,3,0,0), +(308039,307679,0,0,3,0,0), +(308039,307678,0,0,3,0,0), +(308039,307680,0,0,3,0,0), +(308039,307454,0,0,3,0,0); + +DELETE FROM `creature_formations` WHERE `memberGUID` IN (260626, 261880, 262330, 262630, 266625, 266649, 267392, 270074, 273525, 274393, 274564, 279583, 279584, 281443, 281770, 281825, 286000, 286682, 286759, 286846, 286847, 287613, 287771, 288673, 288686, 288687, 288688, 288689, 288690, 288697, 295362, 300068, 300287, 300294, 300295, 301642, 303274, 303275, 303354, 303916, 303941, 303997, 304072, 304073, 304163, 304187, 304189, 304264, 304266, 304268, 304269, 304270, 304274, 304275, 304276, 304277, 304278, 304279, 304280, 304281, 304282, 304284, 304285, 304286, 304289, 304290, 304291, 304292, 304293, 304294, 304295, 304297, 304298, 304330, 304336, 304354, 304359, 304360, 304361, 304373, 304413, 304430, 304445, 305511, 305643, 305649, 305650, 305751, 305879, 305982, 305983, 306014, 306082, 306088, 306089, 306183, 306184, 306185, 306190, 306192, 306210, 306211, 306212, 306214, 306219, 306220, 306275, 306277, 306279, 306397, 306420, 306548, 307101, 307200, 307218, 307220, 307221, 307229, 307230, 307246, 307264, 307272, 307275, 307276, 307277, 307278, 307279, 307280, 307281, 307282, 307284, 307305, 307306, 314738, 316813, 316897, 316898, 316907, 316908, 316926, 316928, 316929, 316930, 316999, 317000, 317119, 317122, 317123, 317207, 317208, 317270, 282741, 285362, 295351, 304183, 304271, 304283, 304287, 304366, 306119, 306182, 306549, 307202, 307206, 307274, 316848, 316873, 260304, 267393, 269933, 270027, 285915, 302467, 302522, 304117, 304185, 304272, 304273, 304288, 304296, 304342, 304448, 305600, 305606, 306213, 306215, 306216, 306827, 307273, 307283, 316909, 316913, 317271, 317304); + +-- Vault of Light troggs +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +-- First left-side group +(261880,261880,0,0,3,0,0), +(261880,262330,4,180,515,0,0), +(261880,262630,4,220,515,0,0), +(261880,266625,4,260,515,0,0), +(261880,266649,4,300,515,0,0), +(261880,267392,4,340,515,0,0), +(261880,270074,4,20,515,0,0), +(261880,273525,4,60,515,0,0), +(261880,274393,4,100,515,0,0), +(261880,274564,4,140,515,0,0), +-- First right-side group +(279583,279583,0,0,3,0,0), +(279583,279584,4,180,515,0,0), +(279583,281443,4,220,515,0,0), +(279583,281770,4,260,515,0,0), +(279583,281825,4,300,515,0,0), +(279583,286000,4,340,515,0,0), +(279583,286682,4,20,515,0,0), +(279583,286759,4,60,515,0,0), +(279583,286846,4,100,515,0,0), +(279583,286847,4,140,515,0,0), +-- First middle group +(287613,287613,0,0,3,0,0), +(287613,287771,0,0,3,0,0), +(287613,288673,0,0,3,0,0), +(287613,288686,0,0,3,0,0), +(287613,288687,0,0,3,0,0), +(287613,288688,0,0,3,0,0), +(287613,288689,0,0,3,0,0), +(287613,288690,0,0,3,0,0), +(287613,288697,0,0,3,0,0), +(287613,295362,0,0,3,0,0), +-- Second middle group +(300068,300068,0,0,3,0,0), +(300068,300294,0,0,3,0,0), +(300068,304270,0,0,3,0,0), +(300068,304274,0,0,3,0,0), +(300068,304275,0,0,3,0,0), +(300068,304276,0,0,3,0,0), +(300068,304277,0,0,3,0,0), +(300068,304278,0,0,3,0,0), +(300068,304279,0,0,3,0,0), +(300068,304280,0,0,3,0,0), +-- Third middle group +(303275,303275,0,0,3,0,0), +(303275,303354,0,0,3,0,0), +(303275,304281,0,0,3,0,0), +(303275,304282,0,0,3,0,0), +(303275,304284,0,0,3,0,0), +(303275,304285,0,0,3,0,0), +(303275,304286,0,0,3,0,0), +(303275,304289,0,0,3,0,0), +(303275,304290,0,0,3,0,0), +(303275,304291,0,0,3,0,0), +-- Forth middle group +(300295,300295,0,0,3,0,0), +(300295,301642,0,0,3,0,0), +(300295,304359,0,0,3,0,0), +(300295,304360,0,0,3,0,0), +(300295,304361,0,0,3,0,0), +(300295,304445,0,0,3,0,0), +(300295,305650,0,0,3,0,0), +(300295,306277,0,0,3,0,0), +(300295,306279,0,0,3,0,0), +(300295,306397,0,0,3,0,0), +-- Second left-side group +(303916,303916,0,0,3,0,0), +(303916,304072,4,180,515,0,0), +(303916,304298,4,220,515,0,0), +(303916,304336,4,260,515,0,0), +(303916,304354,4,300,515,0,0), +(303916,304413,4,340,515,0,0), +(303916,304430,4,20,515,0,0), +(303916,305643,4,60,515,0,0), +(303916,305649,4,100,515,0,0), +(303916,305751,4,140,515,0,0), +-- Second right-side group +(303941,303941,0,0,3,0,0), +(303941,303997,4,180,515,0,0), +(303941,304292,4,220,515,0,0), +(303941,304293,4,260,515,0,0), +(303941,304294,4,300,515,0,0), +(303941,304295,4,340,515,0,0), +(303941,304297,4,20,515,0,0), +(303941,304330,4,60,515,0,0), +(303941,304373,4,100,515,0,0), +(303941,305511,4,140,515,0,0), +-- Moving middle group +(303274,303274,0,0,3,0,0), +(303274,300287,4,180,515,0,0), +(303274,304269,4,220,515,0,0), +(303274,304268,4,260,515,0,0), +(303274,304264,4,300,515,0,0), +(303274,304187,4,340,515,0,0), +(303274,304073,4,20,515,0,0), +(303274,304163,4,60,515,0,0), +(303274,304189,4,100,515,0,0), +(303274,304266,4,140,515,0,0); + +-- Isiset trash right-side formation +DELETE FROM `creature_formations` WHERE `memberGUID` IN (313971, 317535, 313950, 313951, 313952); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(313971,313971,0,0,3,0,0), +(313971,317535,0,0,3,0,0), +(313971,313950,0,0,3,0,0), +(313971,313951,0,0,3,0,0), +(313971,313952,0,0,3,0,0); + +-- Isiset trash left-side formation +DELETE FROM `creature_formations` WHERE `memberGUID` IN (313972, 320781, 313954, 313949, 313953); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(313972,313972,0,0,3,0,0), +(313972,320781,0,0,3,0,0), +(313972,313954,0,0,3,0,0), +(313972,313949,0,0,3,0,0), +(313972,313953,0,0,3,0,0); + +-- Ammunae trash +DELETE FROM `creature_formations` WHERE `memberGUID` IN (317605, 313947); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(317605,317605,0,0,3,0,0), +(317605,313947,0,0,3,0,0); + +DELETE FROM `creature_formations` WHERE `memberGUID` IN (317606, 313948); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(317606,317606,0,0,3,0,0), +(317606,313948,0,0,3,0,0); + +-- Setesh trash +-- Void Worms left-side formation +DELETE FROM `creature_formations` WHERE `memberGUID` IN (313958, 313959); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(313958,313958,0,0,3,5,10), +(313958,313959,2,270,515,5,10); + +-- Void Worms right-side formation +DELETE FROM `creature_formations` WHERE `memberGUID` IN (313961, 313960); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(313961,313961,0,0,3,4,8), +(313961,313960,2,270,515,4,8); + +-- Void Lord and 2x Void Seeker formation +DELETE FROM `creature_formations` WHERE `memberGUID` IN (313962, 313967, 313968); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(313962,313962,0,0,3,0,0), +(313962,313967,0,0,3,0,0), +(313962,313968,0,0,3,0,0); + +-- Rajh trash +DELETE FROM `creature_formations` WHERE `memberGUID` IN (314159, 314158, 313086); +INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES +(314159,314159,0,0,3,0,0), +(314159,314158,0,0,3,0,0), +(314159,313086,0,0,3,0,0); + +-- Random Movement -- +-- Pit Viper snakes, Camels, most of Isiset trash, both Lifewarden Nymphs +UPDATE `creature` SET `MovementType` = 1, `spawndist` = 5 WHERE `map` = 644 AND `id` = 39444; +UPDATE `creature` SET `MovementType` = 1, `spawndist` = 5 WHERE `map` = 644 AND `id` = 39443; +UPDATE `creature` SET `MovementType` = 1, `spawndist` = 5 WHERE `guid` IN (317535, 313950, 313951, 313952, 320781, 320754, 313949, 313953); +UPDATE `creature` SET `MovementType` = 1, `spawndist` = 5 WHERE `guid` IN (313947, 313948); + +-- Waypoints -- +-- trash paths +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (322466); +DELETE FROM `creature_addon` WHERE `guid` IN (322466); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(322466, 3224660, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (3224660); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3224660, 1, -749.123, 472.962, 67.20775, 0, 0, 0, 0, 100, 0), +(3224660, 2, -748.2323, 464.9793, 67.19108, 0, 0, 0, 0, 100, 0), +(3224660, 3, -734.168, 459.564, 67.17745, 0, 0, 0, 0, 100, 0), +(3224660, 4, -717.325, 459.96, 67.18442, 0, 0, 0, 0, 100, 0), +(3224660, 5, -697.075, 460.267, 73.2090, 0, 0, 0, 0, 100, 0), +(3224660, 6, -678.781, 460.182, 79.06738, 0, 0, 0, 0, 100, 0), -- turns back +(3224660, 7, -697.075, 460.267, 73.2090, 0, 0, 0, 0, 100, 0), +(3224660, 8, -717.325, 459.96, 67.18442, 0, 0, 0, 0, 100, 0), +(3224660, 9, -734.168, 459.564, 67.17745, 0, 0, 0, 0, 100, 0), +(3224660, 10, -748.2323, 464.9793, 67.19108, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (322210); +DELETE FROM `creature_addon` WHERE `guid` IN (322210); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(322210, 3222100, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (3222100); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3222100, 1, -749.771, 499.585, 67.21061, 0, 0, 0, 0, 100, 0), +(3222100, 2, -746.602, 515.061, 67.2137, 0, 0, 0, 0, 100, 0), +(3222100, 3, -722.425, 516.491, 67.18806, 0, 0, 0, 0, 100, 0), +(3222100, 4, -697.958, 516.549, 72.92428, 0, 0, 0, 0, 100, 0), +(3222100, 5, -678.974, 516.177, 78.99928, 0, 0, 0, 0, 100, 0), +(3222100, 6, -664.887, 515.224, 83.51125, 0, 0, 0, 0, 100, 0), -- turns back +(3222100, 7, -678.974, 516.177, 78.99928, 0, 0, 0, 0, 100, 0), +(3222100, 8, -697.958, 516.549, 72.92428, 0, 0, 0, 0, 100, 0), +(3222100, 9, -722.425, 516.491, 67.18806, 0, 0, 0, 0, 100, 0), +(3222100, 10, -746.602, 515.061, 67.2137, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (317458); +DELETE FROM `creature_addon` WHERE `guid` IN (317458); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(317458, 3174580, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (3174580); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3174580, 1, -507.01, 338.422, 95.64893, 0, 0, 0, 0, 100, 0), +(3174580, 2, -506.941, 330.323, 95.65701, 0, 0, 0, 0, 100, 0), +(3174580, 3, -507.142, 319.997, 95.65394, 0, 0, 0, 0, 100, 0), -- turns back +(3174580, 4, -506.941, 330.323, 95.65701, 0, 0, 0, 0, 100, 0), +(3174580, 5, -507.01, 338.422, 95.64893, 0, 0, 0, 0, 100, 0), +(3174580, 6, -507.0659, 347.3517, 95.64893, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (317604); +DELETE FROM `creature_addon` WHERE `guid` IN (317604); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(317604, 3176040, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (3176040); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3176040, 1, -622.665, 193.2998, 81.75228, 0, 0, 0, 0, 100, 0), +(3176040, 2, -634.005, 193.528, 81.82398, 0, 0, 0, 0, 100, 0), +(3176040, 3, -640.3165, 193.7006, 81.9477, 0, 0, 0, 0, 100, 0), +(3176040, 4, -640.856, 204.708, 81.80561, 0, 0, 0, 0, 100, 0), +(3176040, 5, -640.726, 212.753, 81.82135, 0, 0, 0, 0, 100, 0), +(3176040, 6, -640.714, 224.997, 81.84181, 0, 0, 0, 0, 100, 0), -- turns back +(3176040, 7, -640.726, 212.753, 81.82135, 0, 0, 0, 0, 100, 0), +(3176040, 8, -640.856, 204.708, 81.80561, 0, 0, 0, 0, 100, 0), +(3176040, 9, -640.3165, 193.7006, 81.9477, 0, 0, 0, 0, 100, 0), +(3176040, 10, -634.005, 193.528, 81.82398, 0, 0, 0, 0, 100, 0); + +SET @WP := 2618800; +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (261880); +DELETE FROM `creature_addon` WHERE `guid` IN (261880); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(261880, @WP, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (@WP); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@WP, 1, -340.8974, 457.3196, 89.13029, 0, 0, 0, 0, 100, 0), +(@WP, 2, -338.6441, 441.092, 89.15115, 0, 0, 0, 0, 100, 0), +(@WP, 3, -336.803, 421.161, 83.844, 0, 0, 0, 0, 100, 0), +(@WP, 4, -336.425, 402.235, 78.255, 0, 0, 0, 0, 100, 0), +(@WP, 5, -340.507, 389.498, 75.913, 0, 0, 0, 0, 100, 0), +(@WP, 6, -327.793, 380.275, 75.914, 0, 0, 0, 0, 100, 0), +(@WP, 7, -320.367, 404.156, 78.804, 0, 0, 0, 0, 100, 0), +(@WP, 8, -320.326, 387.264, 75.914, 0, 0, 0, 0, 100, 0), +(@WP, 9, -322.123, 418.502, 83.045, 0, 0, 0, 0, 100, 0), +(@WP, 10, -320.925, 445.385, 89.147, 0, 0, 0, 0, 100, 0), +(@WP, 11, -314.721, 466.031, 89.134, 0, 0, 0, 0, 100, 0), +(@WP, 12, -344.675, 464.471, 89.125, 0, 0, 0, 0, 100, 0); + +SET @WP := 2795830; +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (279583); +DELETE FROM `creature_addon` WHERE `guid` IN (279583); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(279583, @WP, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (@WP); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@WP, 1, -320.240, 348.689, 75.915, 0, 0, 0, 0, 100, 0), +(@WP, 2, -322.295, 328.576, 79.189, 0, 0, 0, 0, 100, 0), +(@WP, 3, -321.970, 303.343, 86.694, 0, 0, 0, 0, 100, 0), +(@WP, 4, -320.053, 276.121, 89.126, 0, 0, 0, 0, 100, 0), +(@WP, 5, -313.603, 268.022, 89.126, 0, 0, 0, 0, 100, 0), +(@WP, 6, -344.487, 266.569, 89.126, 0, 0, 0, 0, 100, 0), +(@WP, 7, -338.947, 281.011, 89.126, 0, 0, 0, 0, 100, 0), +(@WP, 8, -338.379, 295.442, 89.009, 0, 0, 0, 0, 100, 0), +(@WP, 9, -337.555, 312.697, 83.940, 0, 0, 0, 0, 100, 0), +(@WP, 10, -337.478, 336.837, 76.707, 0, 0, 0, 0, 100, 0), +(@WP, 11, -334.222, 347.829, 75.916, 0, 0, 0, 0, 100, 0); + +SET @WP := 3039160; +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (303916); +DELETE FROM `creature_addon` WHERE `guid` IN (303916); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(303916, @WP, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (@WP); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@WP, 1, -229.809, 425.084, 85.0233, 0, 0, 0, 0, 100, 0), +(@WP, 2, -231.281, 454.782, 89.1416, 0, 0, 0, 0, 100, 0), +(@WP, 3, -238.517, 466.93, 89.1382, 0, 0, 0, 0, 100, 0), +(@WP, 4, -207.506, 467.781, 89.1251, 0, 0, 0, 0, 100, 0), +(@WP, 5, -214.589, 455.196, 89.1241, 0, 0, 0, 0, 100, 0), +(@WP, 6, -214.108, 428.046, 85.9165, 0, 0, 0, 0, 100, 0), +(@WP, 7, -213.996, 399.453, 77.4527, 0, 0, 0, 0, 100, 0), +(@WP, 8, -215.003, 383.376, 75.9213, 0, 0, 0, 0, 100, 0), +(@WP, 9, -230.138, 382.637, 75.9021, 0, 0, 0, 0, 100, 0), +(@WP, 10, -231.266, 407.546, 79.7728, 0, 0, 0, 0, 100, 0); + +SET @WP := 3039410; +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (303941); +DELETE FROM `creature_addon` WHERE `guid` IN (303941); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(303941, @WP, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (@WP); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@WP, 1, -223.72, 350.826, 75.912, 0, 0, 0, 0, 100, 0), +(@WP, 2, -214.202, 339.769, 75.8889, 0, 0, 0, 0, 100, 0), +(@WP, 3, -214.631, 315.951, 82.9647, 0, 0, 0, 0, 100, 0), +(@WP, 4, -214.432, 279.69, 89.1245, 0, 0, 0, 0, 100, 0), +(@WP, 5, -207.678, 267.186, 89.1249, 0, 0, 0, 0, 100, 0), +(@WP, 6, -238.754, 265.643, 89.1254, 0, 0, 0, 0, 100, 0), +(@WP, 7, -231.774, 279.155, 89.1254, 0, 0, 0, 0, 100, 0), +(@WP, 8, -232.392, 305.642, 86.0238, 0, 0, 0, 0, 100, 0), +(@WP, 9, -233.215, 323.859, 80.5908, 0, 0, 0, 0, 100, 0), +(@WP, 10, -233.501, 343.237, 75.9087, 0, 0, 0, 0, 100, 0); + +SET @WP := 3032740; +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (303274); +DELETE FROM `creature_addon` WHERE `guid` IN (303274); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(303274, @WP, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (@WP); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@WP, 1, -286.595, 362.899, 75.8408, 0, 0, 0, 0, 100, 0), +(@WP, 2, -264.119, 373.367, 75.7968, 0, 0, 0, 0, 100, 0), +(@WP, 3, -241.036, 378.026, 75.9096, 0, 0, 0, 0, 100, 0), +(@WP, 4, -222.212, 381.237, 75.9118, 0, 0, 0, 0, 100, 0), +(@WP, 5, -208.335, 375.96, 75.9188, 0, 0, 0, 0, 100, 0), +(@WP, 6, -205.636, 357.433, 75.9146, 0, 0, 0, 0, 100, 0), +(@WP, 7, -208.335, 375.96, 75.9188, 0, 0, 0, 0, 100, 0), +(@WP, 8, -222.212, 381.237, 75.9118, 0, 0, 0, 0, 100, 0), +(@WP, 9, -241.036, 378.026, 75.9096, 0, 0, 0, 0, 100, 0), +(@WP, 10, -264.119, 373.367, 75.7968, 0, 0, 0, 0, 100, 0), +(@WP, 11, -286.595, 362.899, 75.8408, 0, 0, 0, 0, 100, 0), +(@WP, 12, -302.983, 356.94, 75.8865, 0, 0, 0, 0, 100, 0), +(@WP, 13, -316.96, 351.339, 75.9109, 0, 0, 0, 0, 100, 0), +(@WP, 14, -336.149, 350.328, 75.9152, 0, 0, 0, 0, 100, 0), +(@WP, 15, -344.571, 366.36, 75.9152, 0, 0, 0, 0, 100, 0), +(@WP, 16, -336.149, 350.328, 75.9152, 0, 0, 0, 0, 100, 0), +(@WP, 17, -316.96, 351.339, 75.9109, 0, 0, 0, 0, 100, 0), +(@WP, 18, -302.983, 356.94, 75.8865, 0, 0, 0, 0, 100, 0); + +-- Void Wyrm left-side path +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (313958); +DELETE FROM `creature_addon` WHERE `guid` IN (313958); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(313958, 3139580, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (3139580); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3139580, 1, -486.3099, -3.628408, 343.9285, 0, 0, 0, 0, 100, 0), +(3139580, 2, -478.6337, 2.699653, 343.9205, 0, 0, 0, 0, 100, 0), +(3139580, 3, -479.5243, 11.73611, 343.924, 0, 0, 0, 0, 100, 0), +(3139580, 4, -483.2934, 21.49826, 343.9048, 0, 0, 0, 0, 100, 0), +(3139580, 5, -491.0434, 28.45313, 343.942, 0, 0, 0, 0, 100, 0), +(3139580, 6, -498.3116, 27.82349, 343.9431, 0, 0, 0, 0, 100, 0), -- turn back +(3139580, 7, -491.0434, 28.45313, 343.942, 0, 0, 0, 0, 100, 0), +(3139580, 8, -483.2934, 21.49826, 343.9048, 0, 0, 0, 0, 100, 0), +(3139580, 9, -479.5243, 11.73611, 343.924, 0, 0, 0, 0, 100, 0), +(3139580, 10, -478.6337, 2.699653, 343.9205, 0, 0, 0, 0, 100, 0); + +-- Void Wyrm right-side path +UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (313961); +DELETE FROM `creature_addon` WHERE `guid` IN (313961); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `auras`) VALUES +(313961, 3139610, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id` IN (3139610); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3139610, 1, -519.3091, 8.16338, 343.9321, 0, 0, 0, 0, 100, 0), +(3139610, 2, -522.6979, 13.5, 343.923, 0, 0, 0, 0, 100, 0), +(3139610, 3, -521.3993, 20.92361, 343.9171, 0, 0, 0, 0, 100, 0), +(3139610, 4, -519.0362, 24.70054, 343.9201, 0, 0, 0, 0, 100, 0), +(3139610, 5, -512.7574, 26.00804, 343.9253, 0, 0, 0, 0, 100, 0), -- turn back +(3139610, 6, -519.0362, 24.70054, 343.9201, 0, 0, 0, 0, 100, 0), +(3139610, 7, -521.3993, 20.92361, 343.9171, 0, 0, 0, 0, 100, 0), +(3139610, 8, -522.6979, 13.5, 343.923, 0, 0, 0, 0, 100, 0); +SET @ENTRY := 40927; +UPDATE `creature_template` SET `AIName`="" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; + +UPDATE `creature_template` SET `ScriptName`= 'npc_rajh_orb_of_the_sun' WHERE `ScriptName`= 'npc_orb_of_the_sun'; +UPDATE `creature_template` SET `ScriptName`= 'npc_rajh_solar_winds' WHERE `ScriptName`= 'npc_solar_winds'; + +-- Loot +DELETE FROM `creature_loot_template` WHERE entry IN (39378, 48815); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(39378, 393780, 100, 1, 393780, 2), +(48815, 488150, 100, 1, 488150, 2), +(48815, 52078, 100, 1, 0, 1); -- Chaos Orb + + +DELETE FROM `reference_loot_template` WHERE `Entry` IN (393780, 488150); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Normal +(393780, 56108, 0, 1, 1, 1, 1), +(393780, 56101, 0, 1, 1, 1, 1), +(393780, 56107, 0, 1, 1, 1, 1), +(393780, 56099, 0, 1, 1, 1, 1), +(393780, 56098, 0, 1, 1, 1, 1), +(393780, 56104, 0, 1, 1, 1, 1), +(393780, 56105, 0, 1, 1, 1, 1), +(393780, 56106, 0, 1, 1, 1, 1), +(393780, 56102, 0, 1, 1, 1, 1), +(393780, 56100, 0, 1, 1, 1, 1), +-- Heroic +(488150, 56433, 0, 1, 1, 1, 1), +(488150, 56430, 0, 1, 1, 1, 1), +(488150, 56434, 0, 1, 1, 1, 1), +(488150, 56428, 0, 1, 1, 1, 1), +(488150, 56429, 0, 1, 1, 1, 1), +(488150, 56435, 0, 1, 1, 1, 1), +(488150, 56436, 0, 1, 1, 1, 1), +(488150, 56432, 0, 1, 1, 1, 1), +(488150, 56427, 0, 1, 1, 1, 1), +(488150, 56431, 0, 1, 1, 1, 1); +-- Creature Pit Viper 39444 SAI +SET @ENTRY := 39444; +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, 63, 0, 100, 0, 0, 0, 0, 0, 116, 5500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Sets corpse delay of Self to 5500ms // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 9000, 10000, 8000, 8000, 11, 74538, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 9000 and 10000 ms (and later repeats every 8000 and 8000 ms) - Self: Cast spell 74538 on Victim // "); + +-- Creature Sun-Touched Speaker 39373 SAI +SET @ENTRY := 39373; +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, 1, 0, 100, 0, 3000, 3000, 12000, 12000, 11, 74632, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 3000 and 3000 ms (and later repeats every 12000 and 12000 ms) - Self: Cast spell 74632 on Self // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 1, 4000, 5000, 0, 0, 11, 73861, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 5000 ms (and later repeats every 0 and 0 ms) - Self: Cast spell 73861 on Random hostile // "); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_hoo_flame_ring_visual'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(74632, 'spell_hoo_flame_ring_visual'); +UPDATE `creature_template` SET `InhabitType`= 1, `flags_extra`= `flags_extra` | 512 WHERE `entry` IN (43875, 43876); +UPDATE `creature_template` SET `ScriptName`= 'npc_asaad_storm_target' WHERE `ScriptName`= 'npc_storm_target'; +UPDATE `creature_template` SET `ScriptName`= 'npc_asaad_unstable_grounding_field' WHERE `ScriptName`= 'npc_unstable_grounding_field'; + +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_sots_targeting' WHERE `ScriptName`= 'spell_sots_targeting'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_sots_trigger' WHERE `ScriptName`= 'spell_sots_trigger'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_storm_rune_beam' WHERE `ScriptName`= 'spell_storm_rune_beam'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_grounding_field_visual_beams' WHERE `ScriptName`= 'spell_grounding_field_visual_beams'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_supremacy_of_the_storm' WHERE `ScriptName`= 'spell_supremacy_of_the_storm'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_supremacy_of_the_storm_visual' WHERE `ScriptName`= 'spell_supremacy_of_the_storm_visual'; +UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_static_cling' WHERE `ScriptName`= 'spell_static_cling'; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_asaad_summon_skyfall_star'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(96260, 'spell_asaad_summon_skyfall_star'); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_dru_furor'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-17056, 'spell_dru_furor'); + +DELETE FROM `spell_proc` WHERE `SpellId`= -17056; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-17056, 7, 0x40000000 | 0x80000000, 0, 0, 0x00000800, 0, 0, 0, 0, 0, 0, 100); +UPDATE `spell_proc` SET `SpellFamilyMask0`= 0x00400000 | 0x00000010 WHERE `SpellId`= -11095; +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_pri_strength_of_soul', +'spell_pri_strength_of_soul_script'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(-89488, 'spell_pri_strength_of_soul'), +(89490, 'spell_pri_strength_of_soul_script'); + +DELETE FROM `spell_proc` WHERE `SpellId`= -89488; +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-89488, 6, 0x00000400 | 0x00001000 | 0x00000800, 0x40000000, 0, 0, 2 | 4, 2, 0, 0, 0, 0, 0); + +-- Template Updates +-- High Priest Venoxis +UPDATE `creature_template` SET `ScriptName`= 'boss_high_priest_venoxis', `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 80297855, `mingold`= 20000, `maxgold`= 21000 WHERE `entry`= 52155; +-- Venomous Effusion +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 33556480, `flags_extra`= 128, `InhabitType`= 4 WHERE `entry`= 52288; +-- Pool of Acrid Tears +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 33556480, `flags_extra`= 128 WHERE `entry`= 52197; +-- Bloodvenom +UPDATE `creature_template` SET `speed_run`= 0.42857, `speed_walk`= 0.12, `unit_flags`= 34078720, `unit_flags2`= 33556480, `flags_extra`= 128 WHERE `entry`= 52525; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_venoxis_venomous_effusion', +'spell_venoxis_whispers_of_hethiss', +'spell_venoxis_toxic_link_targeting', +'spell_venoxis_toxic_link', +'spell_venoxis_toxic_link_ally', +'spell_venoxis_pool_of_acrid_tears', +'spell_venoxis_blood_venom_forcecast', +'spell_venom_withdrawal'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(96680, 'spell_venoxis_venomous_effusion'), +(96466, 'spell_venoxis_whispers_of_hethiss'), +(96475, 'spell_venoxis_toxic_link_targeting'), +(96477, 'spell_venoxis_toxic_link'), +(96476, 'spell_venoxis_toxic_link_ally'), +(96520, 'spell_venoxis_pool_of_acrid_tears'), +(96842, 'spell_venoxis_blood_venom_forcecast'), +(96653, 'spell_venom_withdrawal'); + + +-- Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (52288, 52197, 52525); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(52288, '96681'), +(52197, '96520'), +(52525, '97110'); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 52155; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(52155, 0, 0, 'You disssssturb the plans of Gurubashi, little one. It\'sss too late for you. Too late for all of you!', 14, 0, 100, 0, 0, 24326, 50937, 'High Priest Venoxis - Aggro'), +(52155, 1, 0, 'Yesss...ssssuccumb to the venom...', 14, 0, 100, 0, 0, 24320, 50950, 'High Priest Venoxis - Whispers of Hethiss'), +(52155, 2, 0, 'Let the coils of death unfurl!', 14, 0, 100, 0, 0, 24319, 51382, 'High Priest Venoxis - Blessing of the Snake God'), +(52155, 3, 0, 'Hisss word, FILLS me, MY BLOOD IS VENOM, AND YOU WILL BATHE IN THE GLORY OF THE SNAKE GOD!!!', 14, 0, 100, 0, 0, 24321, 52073, 'High Priest Venoxis - Say Bloodvenom'), +(52155, 4, 0, '|TInterface\\Icons\\ability_creature_poison_06.blp:20|t High Priest Venoxis begins casting |cFFFF0000|Hspell:96637|h[Bloodvenom]|h|r!', 41, 0, 100, 0, 0, 0, 51033, 'High Priest Venoxis - Announce Bloodvenom'), +(52155, 5, 0, 'High Priest Venoxis is exhausted!', 41, 0, 100, 0, 0, 0, 51034, 'High Priest Venoxis'), +(52155, 6, 0, 'The mortal coil unwindsss...', 41, 0, 100, 0, 0, 0, 51380, 'High Priest Venoxis - Slay 1'), +(52155, 6, 1, 'Your sssacrifice pleases him.', 41, 0, 100, 0, 0, 0, 51381, 'High Priest Venoxis - Slay 2'), +(52155, 7, 0, 'My death means...nothing...', 14, 0, 100, 0, 0, 24318, 51383, 'High Priest Venoxis - Death'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry`= 96634 AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 96634, 0, 0, 31, 0, 3, 52155, 0, 0, 0, '', 'Venoxis Ult Cosmetic Missile - Target High Priest Venoxis'); + +-- Waypoints +SET @NPC := 52302; +SET @PATH := @NPC * 10 + 1; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-12026.56,-1670.935,33.5924,0,0,0,0,100,0), +(@PATH,2,-12017.63,-1661.311,34.088,0,0,0,0,100,0), +(@PATH,3,-12009.14,-1668.432,32.60046,0,0,0,0,100,0), +(@PATH,4,-12006.23,-1665.151,32.83873,0,0,0,0,100,0), +(@PATH,5,-12000.44,-1670.092,32.40856,0,0,0,0,100,0), +(@PATH,6,-11994.2,-1663.372,32.44453,0,0,0,0,100,0), +(@PATH,7,-11978.91,-1677.668,32.78415,0,0,0,0,100,0), +(@PATH,8,-11989.17,-1688.754,32.31588,0,0,0,0,100,0), +(@PATH,9,-11994.42,-1684.13,32.31588,0,0,0,0,100,0), +(@PATH,10,-11990.18,-1679.264,32.31588,0,0,0,0,100,0), +(@PATH,11,-11994.79,-1675.155,32.31588,0,0,0,0,100,0), +(@PATH,12,-11999.01,-1679.781,32.31588,0,0,0,0,100,0), +(@PATH,13,-12004.95,-1674.781,32.40856,0,0,0,0,100,0), +(@PATH,14,-12009.21,-1679.031,32.40856,0,0,0,0,100,0), +(@PATH,15,-12017.35,-1671.651,32.40856,0,0,0,0,100,0); + +SET @NPC := 52302; +SET @PATH := @NPC * 10; +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-11998.44,-1710.416,32.30133,0,0,0,0,100,0), +(@PATH,2,-12001.83,-1713.524,32.5653,0,0,0,0,100,0), +(@PATH,3,-11991.27,-1723.13,32.76447,0,0,0,0,100,0), +(@PATH,4,-11983.52,-1714.759,32.67511,0,0,0,0,100,0), +(@PATH,5,-11978.05,-1719.528,33.12287,0,0,0,0,100,0), +(@PATH,6,-11971.85,-1713.589,32.74445,0,0,0,0,100,0), +(@PATH,7,-11977.01,-1708.417,32.62214,0,0,0,0,100,0), +(@PATH,8,-11969.95,-1700.295,32.88337,0,0,0,0,100,0), +(@PATH,9,-11974.53,-1695.618,32.56588,0,0,0,0,100,0), +(@PATH,10,-11969.65,-1690.429,32.69088,0,0,0,0,100,0), +(@PATH,11,-11975.91,-1684.455,32.82199,0,0,0,0,100,0), +(@PATH,12,-11985.76,-1694.698,32.31588,0,0,0,0,100,0), +(@PATH,13,-11980.35,-1700.076,32.30133,0,0,0,0,100,0), +(@PATH,14,-11986.71,-1706.908,32.30133,0,0,0,0,100,0), +(@PATH,15,-11996.84,-1697.576,32.31588,0,0,0,0,100,0), +(@PATH,16,-11993.94,-1694.17,32.31588,0,0,0,0,100,0), +(@PATH,17,-11999.01,-1689.167,32.31588,0,0,0,0,100,0); + +-- Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 52155; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(52155, 395, 7000); + +DELETE FROM `creature_loot_template` WHERE `Entry`= 52155; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(52155, 521550, 100, 1, 521550, 1); + +DELETE FROM `reference_loot_template` WHERE `Entry`= 521550; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(521550, 69603, 0, 1, 1, 1, 1), +(521550, 69600, 0, 1, 1, 1, 1), +(521550, 69604, 0, 1, 1, 1, 1), +(521550, 69601, 0, 1, 1, 1, 1), +(521550, 69602, 0, 1, 1, 1, 1); + +-- Delete encounter related creatures +DELETE FROM `creature` WHERE `guid` IN (294881, 294905, 294983, 294972, 294882, 294904, 294966, 294987, 294960, 294951, 294985, 294979, 294973, 294968, 294955, 294977, 294965, 294950, 294975, 294962, 294957, 294954, 294949, 294952, 294961, 294969, 294971, 294978, 294982, 294984, 294956, 294953); +DELETE FROM `creature_addon` WHERE `guid` IN (294881, 294905, 294983, 294972, 294882, 294904, 294966, 294987, 294960, 294951, 294985, 294979, 294973, 294968, 294955, 294977, 294965, 294950, 294975, 294962, 294957, 294954, 294949, 294952, 294961, 294969, 294971, 294978, 294982, 294984, 294956, 294953); +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_ozuruk_rupture_summon'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(95669, 'spell_ozuruk_rupture_summon'); +-- Scalding Rock Elemental +UPDATE `creature_template` SET `DamageModifier`= 2.3 WHERE `entry`= 40229; +-- Hyjal Warden +UPDATE `creature_template` SET `DamageModifier`= 2.3 WHERE `entry`= 38915; +-- Furious Hyjal Warden +UPDATE `creature_template` SET `DamageModifier`= 2.3 WHERE `entry`= 43427; +-- Faerie Dragon +UPDATE `creature_template` SET `ScriptName`= 'npc_mh_faerie_dragon' WHERE `entry`= 39921; +-- Twilight Inciter +UPDATE `creature_template` SET `DamageModifier`= 1.5, `flags_extra`= 2048, `ScriptName`= 'npc_mh_twilight_inciter' WHERE `entry`= 39926; +-- Emerald Flameweaver +UPDATE `creature_template` SET `InhabitType`= 4, `ScriptName`= 'npc_mh_emerald_flameweaver' WHERE `entry`= 40856; +-- Twilight Infiltrator +UPDATE `creature_template` SET `DamageModifier`= 2.3, `mingold`= 2000, `maxgold`= 2500 WHERE `entry`= 40882; +-- Aronus +UPDATE `creature_template` SET `npcflag`= 16777216, `InhabitType`= 4 WHERE `entry`= 39140; +-- Aronus (summoned vehicle) +UPDATE `creature_template` SET `InhabitType`= 4, `VehicleId`= 726, `unit_flags`= 33032, `ScriptName`= 'npc_mh_aronus' WHERE `entry`= 39128; +-- Ragnaros +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 2 WHERE `entry`= 38806; +-- Deathwing +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 39867; +-- Generic Bunny - PRK (Large AOI) +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 128 WHERE `entry`= 44775; + +-- Sparring Data +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry` IN (38915, 40229, 43427); +INSERT INTO `creature_sparring_template` (`AttackerEntry`, `VictimEntry`, `HealthLimitPct`) VALUES +-- Scalding Rock Elemental vs. Hyjal Warden +(38915, 40229, 90), +(40229, 38915, 90), +-- Scalding Rock Elemental vs. Furious Hyjal Warden +(43427, 40229, 90), +(40229, 43427, 90); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (39921, 39926, 38806, 39128); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +-- Nordrassil Quests +(39921, 0, 0, 'We find evil ones now! Follow!', 12, 0, 100, 0, 0, 0, 40300, 'Faerie Dragon to Player'), +(39921, 0, 1, 'They hide this way! Quick!', 12, 0, 100, 0, 0, 0, 40301, 'Faerie Dragon to Player'), +(39921, 0, 2, 'Meep! $R is good friend. Follow now! We find intruder!', 12, 0, 100, 0, 0, 0, 39943, 'Faerie Dragon to Player'), +(39921, 0, 3, 'We look for the evil ones now, yes?', 12, 0, 100, 0, 0, 0, 40302, 'Faerie Dragon to Player'), +(39921, 1, 0, 'You must fight now, $n!', 14, 0, 100, 0, 0, 0, 40304, 'Faerie Dragon to Player'), +(39921, 1, 1, 'Over here! You must stop them!', 14, 0, 100, 0, 0, 0, 40303, 'Faerie Dragon to Player'), +(39921, 1, 2, 'Over here, $n!', 14, 0, 100, 0, 0, 0, 40305, 'Faerie Dragon to Player'), +(39921, 1, 3, 'We finds evil one! Quick!', 14, 0, 100, 0, 0, 0, 39944, 'Faerie Dragon to Player'), +(39926, 0, 0, 'You will not give away my position, $c!', 12, 0, 100, 0, 0, 0, 39947, 'Twilight Inciter to Player'), +(39926, 0, 1, 'I\'ve been spotted? Time to die!', 12, 0, 100, 0, 0, 0, 39946, 'Twilight Inciter to Player'), +(39926, 0, 2, 'How did you find me? It matters little... you will die!', 12, 0, 100, 0, 0, 0, 39945, 'Twilight Inciter to Player'), +(39926, 0, 3, 'You might have found me, but you won\'t bring word back to the others!', 12, 0, 100, 0, 0, 0, 39948, 'Twilight Inciter to Player'), +-- As Hyjal Burns +(38806, 0, 0, 'BY FIRE BE PURGED!!!!', 14, 0, 100, 449, 0, 23335, 39839, 'Ragnaros to Player'), +(39128, 0, 0, 'No... it can\'t be. Our forward outpost has been obliterated!', 12, 0, 100, 0, 0, 20950, 39185, 'Aronus to Player'), +(39128, 1, 0, 'Is it too late? I feel Deathwing\'s presence nearby!', 12, 0, 100, 0, 0, 20951, 39186, 'Aronus to Player'), +(39128, 2, 0, 'The Firelord has risen! We must send word to the others. Let us hurry!', 12, 0, 100, 0, 0, 20952, 39189, 'Aronus to Player'); + +UPDATE `creature_text` SET `TextRange`= 1 WHERE `CreatureID`= 38806; + +-- Spellclick +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (39140, 39128); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(39140, 73518, 1, 0), +(39128, 76649, 1, 0); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_mh_summon_emerald_flameweaver', +'spell_mh_ragnaros'); + +DELETE FROM `spell_script_names` WHERE `spell_id`= 51254; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(76212, 'spell_mh_summon_emerald_flameweaver'), +(74436, 'spell_mh_ragnaros'), +(51254, 'spell_gen_eject_all_passengers'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (76205, 73518) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 76205, 0, 0, 31, 0, 5, 203065, 0, 0, 0, '', 'Emerald Flameweaver Drake Breath - Target Emerald Flames'), +(13, 1, 73518, 0, 0, 31, 0, 3, 39140, 0, 0, 0, '', 'Hyjal Intro Flight - Target Aronus'); + +DELETE FROM `conditions` WHERE `SourceEntry` IN (73518) AND `SourceTypeOrReferenceId`= 18; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(18, 39140, 73518, 0, 0, 28, 0, 25316, 0, 0, 0, 0, '', 'Required quest complete for spellclick'); + +-- Update Movements +UPDATE `creature` SET `spawndist`= 0, `MovementType`= 0 WHERE `id`= 39921; +UPDATE `creature` SET `spawndist`= 7, `MovementType`= 1 WHERE `id`= 40229; +UPDATE `creature` SET `spawndist`= 5, `MovementType`= 1 WHERE `id`= 49844; + +-- Gameobject focus (203087) +DELETE FROM `gameobject` WHERE `guid`= 19; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseID`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(19, 203087, 1, 0, 0, 1, 169, 5758.737, -3297.48, 1604.599, 0, 0, 0, 0, 1, 6000, 100, 1, 0); + +-- Quest chains +DELETE FROM `quest_template_addon` WHERE `ID` IN (25584, 27874, 25612, 25611, 29437, 25830, 25520, 25514, 25519, 25807); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`) VALUES +(25584, 25578, 0, 0), +(27874, 25612, 0, 0), +(25612, 25600, 0, 25612), +(25611, 25600, 0, 25612), +(29437, 29326, 0, 0), +(25830, 25520, 0, 0), +(25520, 25514, 0, -25520), +(25807, 25795, 0, -25520), +(25514, 25510, 0, -25514), +(25519, 25510, 0, -25514); + +-- Spell Area +DELETE FROM `spell_area` WHERE `area` IN (493, 5040) AND `spell`= 49416; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `autocast`, `gender`, `quest_start_status`, `quest_end_status`) VALUES +(49416, 493, 25316, 25316, 1, 2, 2, 11), +(49416, 5040, 25316, 25316, 1, 2, 2, 11); + +-- SAI corrections and additions +-- Creature Furious Hyjal Warden 43427 SAI +SET @ENTRY := 43427; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 5000, 6000, 22000, 30000, 11, 18328, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 6000 ms (and later repeats every 22000 and 30000 ms) - Self: Cast spell 18328 on Self // Furious Hyjal Warden - In Combat - Cast 'Incapacitating Shout'"), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 1000, 3000, 7000, 14000, 11, 19643, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1000 and 3000 ms (and later repeats every 7000 and 14000 ms) - Self: Cast spell 19643 on Victim // Furious Hyjal Warden - In Combat - Cast 'Mortal Strike'"), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 1000, 3000, 11000, 13000, 11, 15618, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 1000 and 3000 ms (and later repeats every 11000 and 13000 ms) - Self: Cast spell 15618 on Victim // "), +(@ENTRY, 0, 3, 0, 1, 0, 100, 0, 1000, 1000, 3000, 3000, 49, 0, 0, 0, 0, 0, 0, 11, 40229, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1000 and 1000 ms (and later repeats every 3000 and 3000 ms) - Self: Attack Creature Scalding Rock Elemental (40229) in 10 yd // "); + +-- Creature Hyjal Warden 38915 SAI +SET @ENTRY := 38915; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 11000, 14000, 11, 19643, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 5000 ms (and later repeats every 11000 and 14000 ms) - Self: Cast spell 19643 on Victim // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 1000, 1000, 3000, 3000, 49, 0, 0, 0, 0, 0, 0, 11, 40229, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1000 and 1000 ms (and later repeats every 3000 and 3000 ms) - Self: Attack Creature Scalding Rock Elemental (40229) in 10 yd // "); + +-- Creature Scalding Rock Elemental 40229 SAI +SET @ENTRY := 40229; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 8000, 10000, 15000, 19000, 11, 80638, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 8000 and 10000 ms (and later repeats every 15000 and 19000 ms) - Self: Cast spell 80638 on Victim // "); + +-- Creature Cenarion Emissary Jademoon 15187 SAI +SET @ENTRY := 15187; +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, 62, 0, 100, 512, 12129, 0, 0, 0, 86, 86587, 0, 7, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On gossip action 0 from menu 12129 selected - SMART_TARGET_ACTION_INVOKER: Cast spell 86587 at Action invoker // "); + +-- Creature Cenarion Emissary Blackhoof 15188 SAI +SET @ENTRY := 15188; +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, 62, 0, 100, 512, 12125, 0, 0, 0, 86, 86565, 0, 7, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On gossip action 0 from menu 12125 selected - SMART_TARGET_ACTION_INVOKER: Cast spell 86565 at Action invoker // "); + +-- Creature Ragnaros 38806 SAI +SET @ENTRY := 38806; +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, 63, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Talk 0 // "), +(@ENTRY, 0, 1, 0, 60, 0, 100, 1, 3500, 3500, 0, 0, 5, 53, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 3500 and 3500 ms) - Self: Play emote 53 // "); +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry` IN (35845, 38821); +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 44744; +DELETE FROM `spell_proc` WHERE `SpellId` IN (83074, 44544, 57761); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(83074, 3, 1049120, 4096, 0, 0, 0, 2, 0, 2, 0, 0, 25), +(44544, 3, 0x00020000, 0x00100000, 0, 0x00010000, 1, 1, 0, 0, 0, 1, 100), +(57761, 3, 0x00000001, 0x00001000, 0, 0x00010000, 1, 1, 0, 0, 0, 1, 100); + +UPDATE `spell_proc` SET `SpellPhaseMask`= 2 WHERE `SpellId` IN (44543, 44545); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_mage_deep_freeze'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(44572, 'spell_mage_deep_freeze'); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_umbriss_blitz'; +-- Template Updates +-- Twilight Vanquisher +UPDATE `creature_template` SET `DamageModifier`= 1.5, `flags_extra`= 2048, `BaseAttackTime`= 2000, `mingold`= 1000, `maxgold`= 4000 WHERE `entry`= 38913; +-- Twilight Flamecaller +UPDATE `creature_template` SET `DamageModifier`= 2.3, `mingold`= 1000, `maxgold`= 4000 WHERE `entry`= 38926; +-- Twilight Overseer +UPDATE `creature_template` SET `DamageModifier`= 2.3, `mingold`= 1000, `maxgold`= 4000 WHERE `entry`= 40123; +-- Blazebound Elemental +UPDATE `creature_template` SET `DamageModifier`= 2.3 WHERE `entry`= 38896; +-- Unbound Flame Spirit +UPDATE `creature_template` SET `unit_flags`= 33587968 WHERE `entry`= 40080; + +-- Sparring Data +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry`= 38915 AND `VictimEntry` IN (38913, 38926, 38896, 40123); +DELETE FROM `creature_sparring_template` WHERE `AttackerEntry` IN (38913, 38926, 38902, 38896, 40123, 38952); +INSERT INTO `creature_sparring_template` (`AttackerEntry`, `VictimEntry`, `HealthLimitPct`) VALUES +-- Hyjal Warden vs. Twilight Vanquisher +(38915, 38913, 90), +(38913, 38915, 90), +-- Hyjal Warden vs. Twilight Flamecaller +(38915, 38926, 90), +(38926, 38915, 90), +-- Hyjal Warden vs. Blazebound Elemental +(38915, 38896, 90), +(38896, 38915, 90), +-- Hyjal Warden vs. Twilight Overseer +(38915, 40123, 90), +(40123, 38915, 90), +-- Ironbark Ancient vs. Twilight Vanquisher +(38902, 38913, 90), +(38913, 38902, 90), +-- Ironbark Ancient vs. Twilight Flamecaller +(38902, 38926, 90), +(38926, 38902, 90), +-- Ironbark Ancient vs. Blazebound Elemental +(38902, 38896, 90), +(38896, 38902, 90), +-- Nordrassil Druid vs. Twilight Vanquisher +(38952, 38913, 90), +(38913, 38952, 90), +-- Nordrassil Druid vs. Twilight Flamecaller +(38952, 38926, 90), +(38926, 38952, 90), +-- Nordrassil Druid vs. Blazebound Elemental +(38952, 38896, 90), +(38896, 38952, 90), +-- Nordrassil Druid vs. Twilight Overseer +(38952, 40123, 90), +(40123, 38952, 90); + +-- Quest chains +DELETE FROM `quest_template_addon` WHERE `ID` IN (25472, 25430, 25323, 25319); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`) VALUES +(25472, 25317, 0, -25472), +(25319, 25317, 0, -25472), +(25430, 25464, 0, 0), +(25323, 25472, 0, 0); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_mh_flamebreaker'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(75206, 'spell_mh_flamebreaker'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (75206, 75192) AND `SourceTypeOrReferenceId`= 17; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(17, 0, 75206, 0, 0, 31, 1, 3, 38896, 0, 0, 0, '', 'Flamebreaker - Only allow Blazebound Elemental'), +(17, 0, 75192, 0, 0, 31, 1, 3, 40147, 0, 0, 0, '', 'Weakening - Only allow Baron Geddon'); + +-- Make quest items quest related +UPDATE `creature_loot_template` SET `QuestRequired`= 1 WHERE `Item` IN (52506, 53139); + +-- Remove duplicate spawns +DELETE FROM `creature` WHERE `guid` IN (394598, 384268); +DELETE FROM `creature_addon` WHERE `guid` IN (394598, 384268); + +-- Creature Nordrassil Druid SAI +SET @ENTRY := -384003; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74492, 0, 0, 0, 0, 0, 10, 384034, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74492 on Creature Ysera 40289 (384034) // "); + +SET @ENTRY := -383996; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74492, 0, 0, 0, 0, 0, 10, 384034, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74492 on Creature Ysera 40289 (384034) // "); + +SET @ENTRY := -384013; +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, 25, 0, 100, 0, 0, 0, 0, 0, 11, 74492, 0, 0, 0, 0, 0, 10, 384034, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 74492 on Creature Ysera 40289 (384034) // "); + +-- Creature Blazebound Elemental 38896 SAI +SET @ENTRY := 38896; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 12500, 15300, 11, 80031, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 5000 ms (and later repeats every 12500 and 15300 ms) - Self: Cast spell 80031 on Victim // "), +(@ENTRY, 0, 1, 0, 8, 0, 100, 0, 74723, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On spell 74723 hit - Self: Die // "); + +-- Creature Unbound Flame Spirit 40080 SAI +SET @ENTRY := 40080; +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, 1, 60, 0, 100, 1, 2000, 2000, 0, 0, 3, 0, 8409, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 0 and 0 ms (for the first time, timer between 2000 and 2000 ms) - Self: Morph to model 8409 // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 19, 33555200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Remove UNIT_FLAGS to UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IMMUNE_TO_NPC, UNIT_FLAG_NOT_SELECTABLE // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Attack Owner/Summoner // "), +(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 33, 40065, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On death - Action invoker: Give kill credit Unbound Flame Spirit (40065) // "), +(@ENTRY, 0, 4, 0, 63, 0, 100, 0, 0, 0, 0, 0, 116, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Sets corpse delay of Self to 2ms // "); + +-- Creature Twilight Vanquisher 38913 SAI +SET @ENTRY := 38913; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 6000, 8000, 14000, 18000, 11, 79881, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 8000 ms (and later repeats every 14000 and 18000 ms) - Self: Cast spell 79881 on Victim // Twilight Vanquisher - In Combat - Cast 'Slam'"), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 1000, 1000, 5000, 5000, 49, 0, 0, 0, 0, 0, 0, 11, 38915, 6, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1000 and 1000 ms (and later repeats every 5000 and 5000 ms) - Self: Attack Creature Hyjal Warden (38915) in 6 yd // "); + +-- Creature Twilight Flamecaller 38926 SAI +SET @ENTRY := 38926; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 0, 0, 3400, 4700, 11, 15536, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 0 and 0 ms (and later repeats every 3400 and 4700 ms) - Self: Cast spell 15536 on Victim // Twilight Flamecaller - In Combat - Cast 'Fireball'"), +(@ENTRY, 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, "When health between 0% and 15% (check every 0 - 0 ms) - Self: Flee for assist // Twilight Flamecaller - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 3000, 6000, 11000, 12000, 11, 20794, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 3000 and 6000 ms (and later repeats every 11000 and 12000 ms) - Self: Cast spell 20794 on Victim // Twilight Flamecaller - In Combat - Cast 'Flamestrike'"), +(@ENTRY, 0, 3, 0, 0, 0, 100, 0, 9000, 9000, 21000, 22000, 11, 11990, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 9000 and 9000 ms (and later repeats every 21000 and 22000 ms) - Self: Cast spell 11990 on Victim // Twilight Flamecaller - In Combat - Cast 'Rain of Fire'"), +(@ENTRY, 0, 4, 0, 1, 0, 100, 0, 1000, 1000, 5000, 5000, 49, 0, 0, 0, 0, 0, 0, 11, 38915, 10, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 1000 and 1000 ms (and later repeats every 5000 and 5000 ms) - Self: Attack Creature Hyjal Warden (38915) in 10 yd // "); +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry` IN (44687, 44600); +DELETE FROM `creature_template_addon` WHERE `entry` IN (46227, 46228, 46229); +INSERT INTO `creature_template_addon` (`entry`, `bytes1`, `bytes2`) VALUES +(46227, 50331648, 1), +(46228, 50331648, 1), +(46229, 50331648, 1); +-- Template Updates +-- Bloodlord Mandokir +UPDATE `creature_template` SET `ScriptName`= 'boss_bloodlord_mandokir' WHERE `ScriptName`= 'boss_mandokir'; +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839, `mingold`= 20000, `maxgold`= 21000, `lootid`= 52151 WHERE `entry`= 52151; +-- Ohgan +UPDATE `creature_template` SET `ScriptName`= 'npc_mandokir_ohgan' WHERE `ScriptName`= 'npc_ohgan'; +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5, `mechanic_immune_mask`= 617299839 WHERE `entry`= 52157; +-- Chained Spirit +UPDATE `creature_template` SET `ScriptName`= 'npc_mandokir_chained_spirit' WHERE `ScriptName`= 'npc_chained_spirit'; + +-- Template Addons +UPDATE `creature_template_addon` SET `mount`= 34408 WHERE `entry`= 52151; + +-- Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 52151; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(52151, 395, 7000); + +DELETE FROM `creature_loot_template` WHERE `Entry`= 52151; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(52151, 521510, 100, 1, 521510, 1); + +DELETE FROM `reference_loot_template` WHERE `Entry`= 521510; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(521510, 69609, 0, 1, 1, 1, 1), +(521510, 69607, 0, 1, 1, 1, 1), +(521510, 69605, 0, 1, 1, 1, 1), +(521510, 69606, 0, 1, 1, 1, 1), +(521510, 69608, 0, 1, 1, 1, 1); +-- Template Updates +-- High Priestes Kilnara +UPDATE `creature_template` SET `DamageModifier`= 120, `BaseVariance`= 0.5, `mingold`= 20000, `maxgold`= 21000, `mechanic_immune_mask`= 80297855,`ScriptName`= 'boss_high_priestess_kilnara' WHERE `entry`= 52059; +-- Avatar of Bethekk +UPDATE `creature_template` SET `DamageModifier`= 60, `BaseVariance`= 0.5, `exp`= 3, `minlevel`= 87, `maxlevel`= 87, `mechanic_immune_mask`= 617299839 WHERE `entry`= 52602; +-- Pride of Bethekk +UPDATE `creature_template` SET `DamageModifier`= 10, `BaseVariance`= 0.5, `unit_flags`= 0x8000, `ScriptName`= 'npc_kilnara_pride_of_bethekk' WHERE `entry`= 52061; +-- Pride of Bethekk (Transform) +UPDATE `creature_template` SET `unit_flags`= 0x8000 WHERE `entry`= 52061; +-- Wave of Agony +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 52160; +-- Wave of Agony (Visual wave) +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 2 WHERE `entry`= 52147; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_kilnara_tears_of_blood', +'spell_kilnara_wave_of_agony', +'spell_kilnara_wave_of_agony_dummy', +'spell_kilnara_primal_awakening', +'spell_kilnara_gaping_wound'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(96435, 'spell_kilnara_tears_of_blood'), +(98270, 'spell_kilnara_wave_of_agony'), +(96457, 'spell_kilnara_wave_of_agony_dummy'), +(96530, 'spell_kilnara_primal_awakening'), +(97355, 'spell_kilnara_gaping_wound'); + +DELETE FROM `creature_template_addon` WHERE `entry`= 52147; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(52147, '96532'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (96465, 96530) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 96465, 0, 0, 31, 0, 3, 52160, 0, 0, 0, '', 'Wave of Agony - Target Wave of Agony'), +(13, 1, 96530, 0, 0, 31, 0, 3, 52061, 0, 0, 0, '', 'Primale Awakening - Target Pride of Bethekk'); + +-- Summon Groups +DELETE FROM `creature_summon_groups` WHERE `summonerId`= 52059; +INSERT INTO `creature_summon_groups` (`groupId`, `summonerId`, `summonerType`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(0, 52059, 0, 52061, -11517.2, -1646.82, 44.4849, 3.87463, 6, 4000), +(0, 52059, 0, 52061, -11518.1, -1651.48, 44.4849, 2.26893, 6, 4000), +(0, 52059, 0, 52061, -11520.6, -1646, 44.4849, 4.95674, 6, 4000), +(0, 52059, 0, 52061, -11521.8, -1651.58, 44.4849, 0.977384, 6, 4000), +(0, 52059, 0, 52061, -11504.1, -1650.26, 44.4849, 2.26893, 6, 4000), +(0, 52059, 0, 52061, -11508.7, -1603.38, 44.4849, 5.41052, 6, 4000), +(0, 52059, 0, 52061, -11508.3, -1607.37, 44.4849, 0.977384, 6, 4000), +(0, 52059, 0, 52061, -11523.2, -1609.31, 44.4849, 0.977384, 6, 4000), +(0, 52059, 0, 52061, -11523.2, -1605.96, 44.4849, 5.41052, 6, 4000), +(0, 52059, 0, 52061, -11519.7, -1609, 44.4849, 2.26893, 6, 4000), +(0, 52059, 0, 52061, -11519.2, -1605.37, 44.4849, 3.56047, 6, 4000), +(0, 52059, 0, 52061, -11504.6, -1603.33, 44.4849, 3.87463, 6, 4000), +(0, 52059, 0, 52061, -11504.3, -1645.56, 44.4849, 4.66003, 6, 4000), +(0, 52059, 0, 52061, -11507, -1644.55, 44.4849, 4.7822, 6, 4000), +(0, 52059, 0, 52061, -11506.6, -1651.04, 44.4849, 1.6057, 6, 4000), +(0, 52059, 0, 52061, -11505.6, -1607.56, 44.4849, 2.26893, 6, 4000); + +DELETE FROM `creature` WHERE `guid` IN (262602, 271426, 271427, 276829, 289056, 295339, 295353, 318887, 318907, 319126, 319682, 334853, 334863, 334932, 334957, 335469); +DELETE FROM `creature_addon` WHERE `guid` IN (262602, 271426, 271427, 276829, 289056, 295339, 295353, 318887, 318907, 319126, 319682, 334853, 334863, 334932, 334957, 335469); + +-- Loot +-- Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 52059; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(52059, 395, 7000); + +DELETE FROM `creature_loot_template` WHERE `Entry`= 52059; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(52059, 520590, 100, 1, 520590, 1); + +DELETE FROM `reference_loot_template` WHERE `Entry`= 520590; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(520590, 69614, 0, 1, 1, 1, 1), +(520590, 69612, 0, 1, 1, 1, 1), +(520590, 69611, 0, 1, 1, 1, 1), +(520590, 69613, 0, 1, 1, 1, 1), +(520590, 69610, 0, 1, 1, 1, 1); + +-- Adding Shadowy Corruption to Ascendant Lord Obsidius' heroic entry +DELETE FROM `creature_template_addon` WHERE `entry`= 39706; +INSERT INTO `creature_template_addon` (`entry`, `bytes2`, `auras`) VALUES +(39706, 1, '75054'); + +-- Remove snare immunity from several encounter adds +UPDATE `creature_template` SET `mechanic_immune_mask`= `mechanic_immune_mask` & ~1024 WHERE `entry` IN (40357, 48785, 40600, 48828, 48844, 48845); + +-- Adding Taunt Immunity to several adds +UPDATE `creature_template` SET `flags_extra`= `flags_extra` | 256 WHERE `entry` IN (40357, 48785, 40600, 48828, 48844, 48845, 43658, 49311, 49229); +DELETE FROM `game_event_gameobject` WHERE `guid` IN (220147, 220148, 220041, 220029, 220102, 220600, 224456, 220076, 220044, 220043, 220048, 220049, 220042, 220458, 220468, 220602, 220476, 220466, 220463, 220437, 220438, 220461); +INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES +(3, 220147), +(3, 220148), +(3, 220041), +(3, 220029), +(3, 220102), +(3, 220600), +(3, 224456), +(3, 220076), +(3, 220044), +(3, 220043), +(3, 220048), +(3, 220049), +(3, 220042), +(3, 220458), +(3, 220468), +(3, 220602), +(3, 220476), +(3, 220466), +(3, 220463), +(3, 220437), +(3, 220438), +(3, 220461); + +DELETE FROM `game_event_creature` WHERE `guid` IN (314484, 314040); +INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES +(3, 314484), +(3, 314040); + +DELETE FROM `game_event_gameobject` WHERE `guid` IN (224436, 224389, 224438, 224391, 224447, 224395, 224397, 224399, 224440, 224401, 224443, 224386, 224393, 224458, 224457, 224461, 224460, 224459, 224403, 224448, 224409, 224413, 224415, 224417, 224419, 224453, 224422, 224424, 224445, 224427, 224429, 224431, 224434, 224452, 224435, 224433, 224446, 224430, 224432, 224428, 224405, 224411, 224451, 224426, 224423, 224425, 224444, 224421, 224420, 224449, 224418, 224416, 224414, 224442, 224412, 224410, 224408, 224455, 224407, 224406, 224404, 224402, 224398, 224450, 224396, 224394, 224392, 224390, 224439, 224388, 224385, 224454, 224387, 224383, 224384, 224437, 224400); +INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES +(3, 224436), +(3, 224389), +(3, 224438), +(3, 224391), +(3, 224447), +(3, 224395), +(3, 224397), +(3, 224399), +(3, 224440), +(3, 224401), +(3, 224443), +(3, 224386), +(3, 224393), +(3, 224458), +(3, 224457), +(3, 224461), +(3, 224460), +(3, 224459), +(3, 224403), +(3, 224405), +(3, 224448), +(3, 224409), +(3, 224411), +(3, 224413), +(3, 224415), +(3, 224417), +(3, 224419), +(3, 224453), +(3, 224422), +(3, 224424), +(3, 224445), +(3, 224427), +(3, 224429), +(3, 224431), +(3, 224434), +(3, 224452), +(3, 224435), +(3, 224433), +(3, 224446), +(3, 224430), +(3, 224432), +(3, 224428), +(3, 224451), +(3, 224426), +(3, 224423), +(3, 224425), +(3, 224444), +(3, 224421), +(3, 224420), +(3, 224449), +(3, 224418), +(3, 224416), +(3, 224414), +(3, 224442), +(3, 224412), +(3, 224410), +(3, 224408), +(3, 224455), +(3, 224407), +(3, 224406), +(3, 224404), +(3, 224402), +(3, 224398), +(3, 224450), +(3, 224396), +(3, 224394), +(3, 224392), +(3, 224390), +(3, 224439), +(3, 224388), +(3, 224385), +(3, 224454), +(3, 224387), +(3, 224383), +(3, 224384), +(3, 224437), +(3, 224400); + +DELETE FROM `game_event_creature` WHERE `guid` IN (358708, 358707, 358706, 358704, 358705); +INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES +(3, 358708), +(3, 358707), +(3, 358706), +(3, 358704), +(3, 358705); +-- Pathing for Entry: 475 'TDB FORMAT' +SET @NPC := 280185; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9857.371,`position_y`=179.0012,`position_z`=20.34673 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9857.371,179.0012,20.34673,0,0,0,0,100,0), +(@PATH,2,-9865.824,179.7147,18.95403,0,0,0,0,100,0), +(@PATH,3,-9875.407,186.6826,17.52646,0,0,0,0,100,0), +(@PATH,4,-9883.963,195.0957,15.47739,0,0,0,0,100,0), +(@PATH,5,-9893.877,206.7493,14.13369,0,0,0,0,100,0), +(@PATH,6,-9900.333,215.4647,14.84706,0,0,0,0,100,0), +(@PATH,7,-9912.066,220.6375,17.55446,0,0,0,0,100,0), +(@PATH,8,-9936.305,225.5934,22.25602,0,0,0,0,100,0), +(@PATH,9,-9912.066,220.6375,17.55446,0,0,0,0,100,0), +(@PATH,10,-9900.333,215.4647,14.84706,0,0,0,0,100,0), +(@PATH,11,-9893.877,206.7493,14.13369,0,0,0,0,100,0), +(@PATH,12,-9884.15,195.3242,15.47739,0,0,0,0,100,0), +(@PATH,13,-9875.619,186.8867,17.47739,0,0,0,0,100,0), +(@PATH,14,-9865.939,179.8086,18.91875,0,0,0,0,100,0), +(@PATH,15,-9857.371,179.0012,20.34673,0,0,0,0,100,0), +(@PATH,16,-9845.659,183.0172,20.97102,0,0,0,0,100,0), +(@PATH,17,-9838.6,191.2428,23.04388,0,0,0,0,100,0), +(@PATH,18,-9845.029,183.2025,21.20053,0,0,0,0,100,0), +(@PATH,19,-9857.371,179.0012,20.34673,0,0,0,0,100,0); +-- 0x203CC400000076C00013930003F8925A .go xyz -9857.371 179.0012 20.34673 + +-- Pathing for Entry: 475 'TDB FORMAT' +SET @NPC := 280142; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9761.747,`position_y`=106.7565,`position_z`=26.45013 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9761.747,106.7565,26.45013,0,0,0,0,100,0), +(@PATH,2,-9770.365,103.1574,27.18955,0,0,0,0,100,0), +(@PATH,3,-9781.66,98.24756,28.74007,0,0,0,0,100,0), +(@PATH,4,-9789.447,94.47607,28.77352,0,0,0,0,100,0), +(@PATH,5,-9797.38,89.08634,28.51797,0,0,0,0,100,0), +(@PATH,6,-9789.447,94.47607,28.77352,0,0,0,0,100,0), +(@PATH,7,-9781.66,98.24756,28.74007,0,0,0,0,100,0), +(@PATH,8,-9770.365,103.1574,27.18955,0,0,0,0,100,0), +(@PATH,9,-9761.747,106.7565,26.45013,0,0,0,0,100,0), +(@PATH,10,-9748.221,110.5554,25.59357,0,0,0,0,100,0), +(@PATH,11,-9740.368,112.9743,24.81501,0,0,0,0,100,0), +(@PATH,12,-9748.221,110.5554,25.59357,0,0,0,0,100,0); +-- 0x203CC400000076C00013930001F8925B .go xyz -9761.747 106.7565 26.45013 + +-- Pathing for Entry: 475 'TDB FORMAT' +SET @NPC := 280145; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9788.127,`position_y`=149.6609,`position_z`=25.07858 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9788.127,149.6609,25.07858,0,0,0,0,100,0), +(@PATH,2,-9794.722,152.9546,24.72138,0,0,0,0,100,0), +(@PATH,3,-9797.021,159.9689,25.46847,0,0,0,0,100,0), +(@PATH,4,-9800.761,172.8822,23.31731,0,0,0,0,100,0), +(@PATH,5,-9803.823,180.0129,22.35514,0,0,0,0,100,0), +(@PATH,6,-9809.692,182.0895,22.5449,0,0,0,0,100,0), +(@PATH,7,-9821.691,180.9642,22.81018,0,0,0,0,100,0), +(@PATH,8,-9809.692,182.0895,22.5449,0,0,0,0,100,0), +(@PATH,9,-9803.823,180.0129,22.35514,0,0,0,0,100,0), +(@PATH,10,-9800.761,172.8822,23.31731,0,0,0,0,100,0), +(@PATH,11,-9797.021,159.9689,25.46847,0,0,0,0,100,0); +-- 0x203CC400000076C0001393000178925B .go xyz -9788.127 149.6609 25.07858 + +-- Pathing for Entry: 475 'TDB FORMAT' +SET @NPC := 280248; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9772.54,`position_y`=97.54986,`position_z`=6.61907 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9772.54,97.54986,6.61907,0,0,0,0,100,0), +(@PATH,2,-9762.998,91.01275,11.75701,0,0,0,0,100,0), +(@PATH,3,-9751.17,89.2978,13.26458,0,0,0,0,100,0), +(@PATH,4,-9746.868,89.78358,12.87456,0,0,0,0,100,0), +(@PATH,5,-9744.331,97.00578,12.62533,0,0,0,0,100,0), +(@PATH,6,-9749.636,106.8764,13.79356,0,0,0,0,100,0), +(@PATH,7,-9753.591,118.0865,15.39913,0,0,0,0,100,0), +(@PATH,8,-9751.409,126.1938,17.07101,0,0,0,0,100,0), +(@PATH,9,-9749.368,136.0419,19.43791,0,0,0,0,100,0), +(@PATH,10,-9751.409,126.1938,17.07101,0,0,0,0,100,0), +(@PATH,11,-9753.591,118.0865,15.39913,0,0,0,0,100,0), +(@PATH,12,-9749.636,106.8764,13.79356,0,0,0,0,100,0), +(@PATH,13,-9744.331,97.00578,12.62533,0,0,0,0,100,0), +(@PATH,14,-9746.868,89.78358,12.87456,0,0,0,0,100,0), +(@PATH,15,-9751.17,89.2978,13.26458,0,0,0,0,100,0), +(@PATH,16,-9762.998,91.01275,11.75701,0,0,0,0,100,0), +(@PATH,17,-9772.54,97.54986,6.61907,0,0,0,0,100,0); +-- 0x203CC400000076C00013930000F8925B .go xyz -9744.331 97.00578 12.62533 + +-- Pathing for Entry: 50058 'TDB FORMAT' +SET @NPC := 389234; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=4126.797,`position_y`=-3177.688,`position_z`=950.3358 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,4126.797,-3177.688,950.3358,0,0,0,0,100,0), +(@PATH,2,4099.541,-3202.306,950.4251,0,0,0,0,100,0), +(@PATH,3,4077.642,-3176.266,950.4214,0,0,0,0,100,0), +(@PATH,4,4044.2,-3167.99,950.1903,0,0,0,0,100,0), +(@PATH,5,4033.431,-3183.484,950.2645,0,0,0,0,100,0), +(@PATH,6,4031.548,-3207.445,950.2204,0,0,0,0,100,0), +(@PATH,7,4051.59,-3218.481,950.2161,0,0,0,0,100,0), +(@PATH,8,4064.445,-3233.363,950.298,0,0,0,0,100,0), +(@PATH,9,4058.747,-3245.755,950.298,0,0,0,0,100,0), +(@PATH,10,4037.719,-3276.592,950.2196,0,0,0,0,100,0), +(@PATH,11,4037.316,-3297.813,950.2196,0,0,0,0,100,0), +(@PATH,12,4071.481,-3314.851,950.298,0,0,0,0,100,0), +(@PATH,13,4080.672,-3349.877,950.298,0,0,0,0,100,0), +(@PATH,14,4057.445,-3356.042,950.2372,0,0,0,0,100,0), +(@PATH,15,4062.219,-3335.241,950.2372,0,0,0,0,100,0), +(@PATH,16,4053.511,-3309.304,950.298,0,0,0,0,100,0), +(@PATH,17,4025.102,-3282.568,950.2274,0,0,0,0,100,0), +(@PATH,18,4010.321,-3254.802,950.2906,0,0,0,0,100,0), +(@PATH,19,3991.856,-3226.946,950.2852,0,0,0,0,100,0), +(@PATH,20,3974.884,-3210.762,950.2852,0,0,0,0,100,0), +(@PATH,21,3948.589,-3222.128,950.2712,0,0,0,0,100,0), +(@PATH,22,3930.121,-3230.28,950.207,0,0,0,0,100,0), +(@PATH,23,3906.49,-3217.059,950.207,0,0,0,0,100,0), +(@PATH,24,3884.261,-3213.009,950.248,0,0,0,0,100,0), +(@PATH,25,3859.883,-3206.503,950.2002,0,0,0,0,100,0), +(@PATH,26,3858.437,-3180.198,950.298,0,0,0,0,100,0), +(@PATH,27,3846.56,-3162.193,950.261,0,0,0,0,100,0), +(@PATH,28,3840.135,-3141.521,950.4117,0,0,0,0,100,0), +(@PATH,29,3817.962,-3140.042,950.4295,0,0,0,0,100,0), +(@PATH,30,3808.899,-3126.359,950.4639,0,0,0,0,100,0), +(@PATH,31,3793.963,-3124.644,950.4965,0,0,0,0,100,0), +(@PATH,32,3808.899,-3126.359,950.4639,0,0,0,0,100,0), +(@PATH,33,3817.962,-3140.042,950.4295,0,0,0,0,100,0), +(@PATH,34,3840.135,-3141.521,950.4117,0,0,0,0,100,0), +(@PATH,35,3846.56,-3162.193,950.261,0,0,0,0,100,0), +(@PATH,36,3858.437,-3180.198,950.298,0,0,0,0,100,0), +(@PATH,37,3859.883,-3206.503,950.2002,0,0,0,0,100,0), +(@PATH,38,3884.261,-3213.009,950.248,0,0,0,0,100,0), +(@PATH,39,3906.49,-3217.059,950.207,0,0,0,0,100,0), +(@PATH,40,3930.121,-3230.28,950.207,0,0,0,0,100,0), +(@PATH,41,3948.589,-3222.128,950.2712,0,0,0,0,100,0), +(@PATH,42,3974.884,-3210.762,950.2852,0,0,0,0,100,0), +(@PATH,43,3991.856,-3226.946,950.2852,0,0,0,0,100,0), +(@PATH,44,4010.321,-3254.802,950.2906,0,0,0,0,100,0), +(@PATH,45,4025.102,-3282.568,950.2274,0,0,0,0,100,0), +(@PATH,46,4053.511,-3309.304,950.298,0,0,0,0,100,0), +(@PATH,47,4062.219,-3335.241,950.2372,0,0,0,0,100,0), +(@PATH,48,4057.445,-3356.042,950.2372,0,0,0,0,100,0), +(@PATH,49,4080.672,-3349.877,950.298,0,0,0,0,100,0), +(@PATH,50,4071.481,-3314.851,950.298,0,0,0,0,100,0), +(@PATH,51,4037.316,-3297.813,950.2196,0,0,0,0,100,0), +(@PATH,52,4037.719,-3276.592,950.2196,0,0,0,0,100,0), +(@PATH,53,4058.747,-3245.755,950.298,0,0,0,0,100,0), +(@PATH,54,4064.445,-3233.363,950.298,0,0,0,0,100,0), +(@PATH,55,4051.59,-3218.481,950.2161,0,0,0,0,100,0), +(@PATH,56,4031.548,-3207.445,950.2204,0,0,0,0,100,0), +(@PATH,57,4033.431,-3183.484,950.2645,0,0,0,0,100,0), +(@PATH,58,4044.2,-3167.99,950.1903,0,0,0,0,100,0), +(@PATH,59,4077.642,-3176.266,950.4214,0,0,0,0,100,0), +(@PATH,60,4099.541,-3202.306,950.4251,0,0,0,0,100,0), +(@PATH,61,4126.797,-3177.688,950.3358,0,0,0,0,100,0), +(@PATH,62,4147.719,-3151.613,950.3467,0,0,0,0,100,0), +(@PATH,63,4142.729,-3112.814,950.3542,0,0,0,0,100,0), +(@PATH,64,4151.068,-3086.503,950.421,0,0,0,0,100,0), +(@PATH,65,4153.577,-3047.703,950.421,0,0,0,0,100,0), +(@PATH,66,4168.38,-3027.212,950.4654,0,0,0,0,100,0), +(@PATH,67,4176.624,-3009.679,950.4654,0,0,0,0,100,0), +(@PATH,68,4168.38,-3027.212,950.4654,0,0,0,0,100,0), +(@PATH,69,4153.577,-3047.703,950.421,0,0,0,0,100,0), +(@PATH,70,4151.068,-3086.503,950.421,0,0,0,0,100,0), +(@PATH,71,4142.729,-3112.814,950.3542,0,0,0,0,100,0), +(@PATH,72,4147.719,-3151.613,950.3467,0,0,0,0,100,0), +(@PATH,73,4126.797,-3177.688,950.3358,0,0,0,0,100,0); +-- 0x204100002030E28000000E0000778C99 .go xyz 4126.797 -3177.688 950.3358 + +-- Pathing for Entry: 50053 'TDB FORMAT' +SET @NPC := 384200; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=5237.075,`position_y`=-3021.51,`position_z`=1561.182 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,5237.075,-3021.51,1561.182,0,0,0,0,100,0), +(@PATH,2,5243.623,-3045.361,1564.983,0,0,0,0,100,0), +(@PATH,3,5255.871,-3072.79,1572.789,0,0,0,0,100,0), +(@PATH,4,5267.572,-3093.361,1578.062,0,0,0,0,100,0), +(@PATH,5,5282.075,-3106.856,1581.168,0,0,0,0,100,0), +(@PATH,6,5304.188,-3116.533,1587.315,0,0,0,0,100,0), +(@PATH,7,5321.646,-3135.311,1594.618,0,0,0,0,100,0), +(@PATH,8,5335.723,-3157,1601.185,0,0,0,0,100,0), +(@PATH,9,5344.767,-3177.894,1607.67,0,0,0,0,100,0), +(@PATH,10,5350.1,-3192.738,1611.55,0,0,0,0,100,0), +(@PATH,11,5355.405,-3205.12,1614.353,0,0,0,0,100,0), +(@PATH,12,5358.474,-3221.095,1616.823,0,0,0,0,100,0), +(@PATH,13,5365.362,-3240.594,1620.798,0,0,0,0,100,0), +(@PATH,14,5375.819,-3260.712,1625.692,0,0,0,0,100,0), +(@PATH,15,5381.632,-3275.132,1630.171,0,0,0,0,100,0), +(@PATH,16,5388.772,-3295.436,1639.317,0,0,0,0,100,0), +(@PATH,17,5400.378,-3309.641,1649.13,0,0,0,0,100,0), +(@PATH,18,5406.483,-3321.32,1654.851,0,0,0,0,100,0), +(@PATH,19,5405.934,-3320.281,1654.519,0,0,0,0,100,0), +(@PATH,20,5396.385,-3354.148,1655.348,0,0,0,0,100,0), +(@PATH,21,5382.691,-3368.55,1655.602,0,0,0,0,100,0), +(@PATH,22,5369.022,-3374.616,1655.602,0,0,0,0,100,0), +(@PATH,23,5351.131,-3369.922,1655.681,0,0,0,0,100,0), +(@PATH,24,5324.47,-3355.646,1656.347,0,0,0,0,100,0), +(@PATH,25,5298.932,-3343.997,1654.701,0,0,0,0,100,0), +(@PATH,26,5271.26,-3338.575,1651.564,0,0,0,0,100,0), +(@PATH,27,5273.414,-3339.02,1651.767,0,0,0,0,100,0), +(@PATH,28,5214.022,-3347.616,1642.635,0,0,0,0,100,0), +(@PATH,29,5194.637,-3357.195,1637.742,0,0,0,0,100,0), +(@PATH,30,5186.169,-3370.08,1632.861,0,0,0,0,100,0), +(@PATH,31,5184.27,-3389.821,1627.303,0,0,0,0,100,0), +(@PATH,32,5172.373,-3402.696,1622.716,0,0,0,0,100,0), +(@PATH,33,5162.81,-3420.712,1617.475,0,0,0,0,100,0), +(@PATH,34,5141.22,-3427.13,1616.569,0,0,0,0,100,0), +(@PATH,35,5131.471,-3440.611,1615.84,0,0,0,0,100,0), +(@PATH,36,5109.695,-3446.174,1615.251,0,0,0,0,100,0), +(@PATH,37,5131.471,-3440.611,1615.84,0,0,0,0,100,0), +(@PATH,38,5141.22,-3427.13,1616.569,0,0,0,0,100,0), +(@PATH,39,5162.81,-3420.712,1617.475,0,0,0,0,100,0), +(@PATH,40,5172.373,-3402.696,1622.716,0,0,0,0,100,0), +(@PATH,41,5184.27,-3389.821,1627.303,0,0,0,0,100,0), +(@PATH,42,5186.169,-3370.08,1632.861,0,0,0,0,100,0), +(@PATH,43,5194.637,-3357.195,1637.742,0,0,0,0,100,0), +(@PATH,44,5214.022,-3347.616,1642.635,0,0,0,0,100,0), +(@PATH,45,5243.295,-3341.726,1647.052,0,0,0,0,100,0), +(@PATH,46,5271.26,-3338.575,1651.564,0,0,0,0,100,0), +(@PATH,47,5298.932,-3343.997,1654.701,0,0,0,0,100,0), +(@PATH,48,5324.416,-3355.645,1656.348,0,0,0,0,100,0), +(@PATH,49,5351.131,-3369.922,1655.681,0,0,0,0,100,0), +(@PATH,50,5369.022,-3374.616,1655.602,0,0,0,0,100,0), +(@PATH,51,5382.691,-3368.55,1655.602,0,0,0,0,100,0), +(@PATH,52,5396.385,-3354.148,1655.348,0,0,0,0,100,0), +(@PATH,53,5405.932,-3338.405,1655.996,0,0,0,0,100,0), +(@PATH,54,5406.479,-3321.404,1654.894,0,0,0,0,100,0), +(@PATH,55,5400.378,-3309.641,1649.13,0,0,0,0,100,0), +(@PATH,56,5388.772,-3295.436,1639.317,0,0,0,0,100,0), +(@PATH,57,5381.632,-3275.132,1630.171,0,0,0,0,100,0), +(@PATH,58,5375.819,-3260.712,1625.692,0,0,0,0,100,0), +(@PATH,59,5365.362,-3240.594,1620.798,0,0,0,0,100,0), +(@PATH,60,5358.474,-3221.095,1616.823,0,0,0,0,100,0), +(@PATH,61,5355.405,-3205.12,1614.353,0,0,0,0,100,0), +(@PATH,62,5350.1,-3192.738,1611.55,0,0,0,0,100,0), +(@PATH,63,5344.767,-3177.894,1607.67,0,0,0,0,100,0), +(@PATH,64,5335.723,-3157,1601.185,0,0,0,0,100,0), +(@PATH,65,5321.646,-3135.311,1594.618,0,0,0,0,100,0), +(@PATH,66,5304.188,-3116.533,1587.315,0,0,0,0,100,0), +(@PATH,67,5282.203,-3106.924,1581.132,0,0,0,0,100,0), +(@PATH,68,5267.572,-3093.361,1578.062,0,0,0,0,100,0), +(@PATH,69,5255.871,-3072.79,1572.789,0,0,0,0,100,0), +(@PATH,70,5243.625,-3045.369,1564.919,0,0,0,0,100,0), +(@PATH,71,5237.075,-3021.51,1561.182,0,0,0,0,100,0), +(@PATH,72,5229.133,-3002.361,1560.071,0,0,0,0,100,0), +(@PATH,73,5222.127,-2983.832,1559.785,0,0,0,0,100,0), +(@PATH,74,5218.384,-2964.726,1560.4,0,0,0,0,100,0), +(@PATH,75,5232.068,-2941.471,1552.919,0,0,0,0,100,0), +(@PATH,76,5245.479,-2913.498,1544.206,0,0,0,0,100,0), +(@PATH,77,5263.723,-2888.24,1535.957,0,0,0,0,100,0), +(@PATH,78,5278.404,-2868.33,1530.203,0,0,0,0,100,0), +(@PATH,79,5285.874,-2846.701,1525.548,0,0,0,0,100,0), +(@PATH,80,5281.974,-2817.384,1521.314,0,0,0,0,100,0), +(@PATH,81,5277.874,-2793.229,1516.565,0,0,0,0,100,0), +(@PATH,82,5281.026,-2769.783,1510.622,0,0,0,0,100,0), +(@PATH,83,5289.062,-2748.012,1505.053,0,0,0,0,100,0), +(@PATH,84,5296.903,-2729.451,1498.544,0,0,0,0,100,0), +(@PATH,85,5314.102,-2707.778,1493.764,0,0,0,0,100,0), +(@PATH,86,5329.338,-2692.286,1489.772,0,0,0,0,100,0), +(@PATH,87,5347.444,-2678.688,1487.548,0,0,0,0,100,0), +(@PATH,88,5370.518,-2668.24,1484.903,0,0,0,0,100,0), +(@PATH,89,5388.651,-2663.642,1482.943,0,0,0,0,100,0), +(@PATH,90,5407.867,-2654.332,1484.052,0,0,0,0,100,0), +(@PATH,91,5427.881,-2644.545,1481.002,0,0,0,0,100,0), +(@PATH,92,5447.66,-2630.493,1480.311,0,0,0,0,100,0), +(@PATH,93,5471.818,-2618.396,1480.492,0,0,0,0,100,0), +(@PATH,94,5495.106,-2591.175,1484.413,0,0,0,0,100,0), +(@PATH,95,5505.352,-2569.74,1482.284,0,0,0,0,100,0), +(@PATH,96,5522.223,-2550.714,1481.885,0,0,0,0,100,0), +(@PATH,97,5529.495,-2522.057,1480.437,0,0,0,0,100,0), +(@PATH,98,5512.86,-2484.07,1476,0,0,0,0,100,0), +(@PATH,99,5499.51,-2448.377,1470.729,0,0,0,0,100,0), +(@PATH,100,5490.925,-2420.309,1467.602,0,0,0,0,100,0), +(@PATH,101,5468.779,-2413.373,1466.353,0,0,0,0,100,0), +(@PATH,102,5441.799,-2419.458,1467.405,0,0,0,0,100,0), +(@PATH,103,5427.038,-2447.318,1472.617,0,0,0,0,100,0), -- first path +(@PATH,104,5229.133,-3002.361,1560.071,0,0,0,0,100,0), +(@PATH,105,5237.075,-3021.51,1561.182,0,0,0,0,100,0), +(@PATH,106,5243.625,-3045.369,1564.919,0,0,0,0,100,0), +(@PATH,107,5255.871,-3072.79,1572.789,0,0,0,0,100,0), +(@PATH,108,5267.572,-3093.361,1578.062,0,0,0,0,100,0), +(@PATH,109,5282.203,-3106.924,1581.132,0,0,0,0,100,0), +(@PATH,110,5304.188,-3116.533,1587.315,0,0,0,0,100,0), +(@PATH,111,5321.646,-3135.311,1594.618,0,0,0,0,100,0), +(@PATH,112,5335.723,-3157,1601.185,0,0,0,0,100,0), +(@PATH,113,5344.767,-3177.894,1607.67,0,0,0,0,100,0), +(@PATH,114,5350.1,-3192.738,1611.55,0,0,0,0,100,0), +(@PATH,115,5355.405,-3205.12,1614.353,0,0,0,0,100,0), +(@PATH,116,5358.474,-3221.095,1616.823,0,0,0,0,100,0), +(@PATH,117,5365.362,-3240.594,1620.798,0,0,0,0,100,0), +(@PATH,118,5375.819,-3260.712,1625.692,0,0,0,0,100,0), +(@PATH,119,5381.632,-3275.132,1630.171,0,0,0,0,100,0), +(@PATH,120,5388.772,-3295.436,1639.317,0,0,0,0,100,0), +(@PATH,121,5400.378,-3309.641,1649.13,0,0,0,0,100,0), +(@PATH,122,5406.479,-3321.404,1654.894,0,0,0,0,100,0), +(@PATH,123,5405.932,-3338.405,1655.996,0,0,0,0,100,0), +(@PATH,124,5396.385,-3354.148,1655.348,0,0,0,0,100,0), +(@PATH,125,5382.691,-3368.55,1655.602,0,0,0,0,100,0), +(@PATH,126,5369.022,-3374.616,1655.602,0,0,0,0,100,0), +(@PATH,127,5351.131,-3369.922,1655.681,0,0,0,0,100,0), +(@PATH,128,5324.416,-3355.645,1656.348,0,0,0,0,100,0), +(@PATH,129,5298.932,-3343.997,1654.701,0,0,0,0,100,0), +(@PATH,130,5271.26,-3338.575,1651.564,0,0,0,0,100,0), +(@PATH,131,5243.295,-3341.726,1647.052,0,0,0,0,100,0), +(@PATH,132,5214.022,-3347.616,1642.635,0,0,0,0,100,0), +(@PATH,133,5194.637,-3357.195,1637.742,0,0,0,0,100,0), +(@PATH,134,5186.169,-3370.08,1632.861,0,0,0,0,100,0), +(@PATH,135,5184.27,-3389.821,1627.303,0,0,0,0,100,0), +(@PATH,136,5172.373,-3402.696,1622.716,0,0,0,0,100,0), +(@PATH,137,5162.81,-3420.712,1617.475,0,0,0,0,100,0), +(@PATH,138,5141.22,-3427.13,1616.569,0,0,0,0,100,0), +(@PATH,139,5131.471,-3440.611,1615.84,0,0,0,0,100,0), +(@PATH,140,5109.695,-3446.174,1615.251,0,0,0,0,100,0), +(@PATH,141,5131.471,-3440.611,1615.84,0,0,0,0,100,0), +(@PATH,142,5141.22,-3427.13,1616.569,0,0,0,0,100,0), +(@PATH,143,5162.81,-3420.712,1617.475,0,0,0,0,100,0), +(@PATH,144,5172.373,-3402.696,1622.716,0,0,0,0,100,0), +(@PATH,145,5184.27,-3389.821,1627.303,0,0,0,0,100,0), +(@PATH,146,5186.169,-3370.08,1632.861,0,0,0,0,100,0), +(@PATH,147,5194.637,-3357.195,1637.742,0,0,0,0,100,0), +(@PATH,148,5214.022,-3347.616,1642.635,0,0,0,0,100,0), +(@PATH,149,5273.414,-3339.02,1651.767,0,0,0,0,100,0), +(@PATH,150,5271.26,-3338.575,1651.564,0,0,0,0,100,0), +(@PATH,151,5298.932,-3343.997,1654.701,0,0,0,0,100,0), +(@PATH,152,5324.47,-3355.646,1656.347,0,0,0,0,100,0), +(@PATH,153,5351.131,-3369.922,1655.681,0,0,0,0,100,0), +(@PATH,154,5369.022,-3374.616,1655.602,0,0,0,0,100,0), +(@PATH,155,5382.691,-3368.55,1655.602,0,0,0,0,100,0), +(@PATH,156,5396.385,-3354.148,1655.348,0,0,0,0,100,0), +(@PATH,157,5405.934,-3320.281,1654.519,0,0,0,0,100,0), +(@PATH,158,5406.483,-3321.32,1654.851,0,0,0,0,100,0), +(@PATH,159,5400.378,-3309.641,1649.13,0,0,0,0,100,0), +(@PATH,160,5388.772,-3295.436,1639.317,0,0,0,0,100,0), +(@PATH,161,5381.632,-3275.132,1630.171,0,0,0,0,100,0), +(@PATH,162,5375.819,-3260.712,1625.692,0,0,0,0,100,0), +(@PATH,163,5365.362,-3240.594,1620.798,0,0,0,0,100,0), +(@PATH,164,5358.474,-3221.095,1616.823,0,0,0,0,100,0), +(@PATH,165,5355.405,-3205.12,1614.353,0,0,0,0,100,0), +(@PATH,166,5350.1,-3192.738,1611.55,0,0,0,0,100,0), +(@PATH,167,5344.767,-3177.894,1607.67,0,0,0,0,100,0), +(@PATH,168,5335.723,-3157,1601.185,0,0,0,0,100,0), +(@PATH,169,5321.646,-3135.311,1594.618,0,0,0,0,100,0), +(@PATH,170,5304.188,-3116.533,1587.315,0,0,0,0,100,0), +(@PATH,171,5282.075,-3106.856,1581.168,0,0,0,0,100,0), +(@PATH,172,5267.572,-3093.361,1578.062,0,0,0,0,100,0), +(@PATH,173,5255.871,-3072.79,1572.789,0,0,0,0,100,0), +(@PATH,174,5243.623,-3045.361,1564.983,0,0,0,0,100,0), +(@PATH,175,5237.075,-3021.51,1561.182,0,0,0,0,100,0); +-- 0x204100002030E14000000E00007E7190 .go xyz 5237.075 -3021.51 1561.182 + +DELETE FROM `phase_area` WHERE `AreaId` IN (4989, 5022, 5013, 4861, 5016, 5018, 5019); +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(4989, 194, 'Mount Hyjal - Grove of Aessina - Phase 194'), +(5022, 194, 'Mount Hyjal - Rim of the World - Phase 194'), +(5013, 194, 'Mount Hyjal - Blackhorn''s Penance - Phase 194'), +(4861, 194, 'Mount Hyjal - The Regrowth - Phase 194'), +(5016, 194, 'Mount Hyjal - Whistling Grove - Phase 194'), +(5018, 194, 'Mount Hyjal - Ashen Lake - Phase 194'), +(5019, 194, 'Mount Hyjal - Sanctuary of Malorne - Phase 194'); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_warl_pet_scaling_06', +'spell_dk_pet_scaling_05', +'spell_dk_rune_weapon_scaling_02', +'spell_mage_water_elemental_scaling_01', +'spell_mage_water_elemental_scaling_02'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(89953, 'spell_warl_pet_scaling_06'), +(110474, 'spell_dk_pet_scaling_05'), +(51906, 'spell_dk_rune_weapon_scaling_02'), +(35657, 'spell_mage_water_elemental_scaling_01'), +(35658, 'spell_mage_water_elemental_scaling_02'); + +DELETE FROM `spell_bonus_data` WHERE `entry` IN (3110, 3716, 54049, 7814, 6360, 30213, 89751, 89753, 31707, 51963, 16827, 17253, 49966, 95714, 95725 ); +INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES +(3110, 0.657, 0, 0, 0, 'Warlock - Firebolt (Imp)'), +(3716, 0.512, 0, 0, 0, 'Warlock - Torment (Voidwalker)'), +(54049, 1.228, 0, 0, 0, 'Warlock - Shadow Bite (Felhunter)'), +(7814, 0.612, 0, 0, 0, 'Warlock - Lash of Pain (Succubus)'), +(6360, 0.85, 0, 0, 0, 'Warlock - Whiplash (Succubus)'), +(31707, 0.833, 0, 0, 0, 'Mage - Waterbolt (Water Elemental)'), +(51963, 0.453, 0, 0, 0, 'Death Knight - Gargoyle Strike (Gargoyle)'), +(16827, 0, 0, 0.20, 0, 'Hunter - Claw (Pet)'), +(17253, 0, 0, 0.20, 0, 'Hunter - Bite (Pet)'), +(49966, 0, 0, 0.20, 0, 'Hunter - Smack (Pet)'), +(95714, 0, 0, 0.288, 0, 'Hunter - Burrow Attack (Pet)'), +(95725, 0, 0, 0.288, 0, 'Hunter - Froststorm Breath (Pet)'); +-- Update and remove some creatures in Deepholm +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (42522, 43641, 45191, 44189, 44077); +DELETE FROM `creature` WHERE `guid` IN (350193, 350213, 350342, 351686, 351976, 351668, 351978, 351975, 351670); +DELETE FROM `creature_addon` WHERE `guid` IN (350193, 350213, 350342, 351686, 351976, 351668, 351978, 351975, 351670); + +-- Fix some startup errors +UPDATE `quest_template_addon` SET `ProvidedItemCount`= 1 WHERE `ID` IN (25807, 25323); + +-- Lord Godfrey loot +DELETE FROM `creature_loot_template` WHERE `Entry` IN (46964, 49712); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (469640, 497120, 497121); +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Heroic +(497120, 63465, 0, 1, 1, 1, 1), +(497120, 63463, 0, 1, 1, 1, 1), +(497120, 63459, 0, 1, 1, 1, 1), +(497120, 63462, 0, 1, 1, 1, 1), +(497120, 63458, 0, 1, 1, 1, 1), +(497120, 63457, 0, 1, 1, 1, 1), +(497120, 63464, 0, 1, 1, 1, 1), +(497120, 63460, 0, 1, 1, 1, 1), +(497120, 63456, 0, 1, 1, 1, 1), +(497120, 63461, 0, 1, 1, 1, 1), +-- Normal +(469640, 6641, 0, 1, 1, 1, 1), +(469640, 6318, 0, 1, 1, 1, 1), +(469640, 6220, 0, 1, 1, 1, 1), +(469640, 3748, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(49712, 497120, 100, 1, 497120, 2), +(49712, 52078, 100, 1, 0, 1), -- Chaos Orb +(46964, 469640, 100, 1, 469640, 1); + +DELETE FROM `reference_loot_template` WHERE `entry`= 48815; +DELETE FROM `conditions` WHERE `SourceEntry`= 75697 AND `SourceTypeOrReferenceId`= 13; +DELETE FROM `pet_levelstats` WHERE `creature_entry`= 1 AND `level` BETWEEN 81 AND 85; +INSERT INTO `pet_levelstats` (`creature_entry`, `level`, `hp`, `mana`, `armor`, `str`, `agi`, `sta`, `inte`, `spi`) VALUES +(1, 81, 8519, 1, 10085, 410, 170, 371, 81, 127), +(1, 82, 12895, 1, 10385, 436, 183, 387, 92, 139), +(1, 83, 15290, 1, 10684, 462, 196, 403, 103, 151), +(1, 84, 18705, 1, 10984, 488, 209, 419, 115, 163), +(1, 85, 32474, 1, 11647, 516, 222, 435, 127, 175); +-- Creature Bad Intentions Target 44586 SAI +SET @ENTRY := 44586; +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, 27, 0, 100, 0, 0, 0, 0, 0, 67, 0, 1000, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On passenger boarded (vehicle) - Trigger timed event #0 in 1000 - 1000 ms // "), +(@ENTRY, 0, 1, 2, 59, 0, 100, 0, 0, 0, 0, 0, 11, 83339, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 83339 on Target unit in Seat 0 // "), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 50630, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 50630 on Self // "); +-- Template Updates +UPDATE `creature_template` SET `ScriptName`= 'boss_anshal', `difficulty_entry_1`= 50103, `difficulty_entry_2`= 50113, `difficulty_entry_3`= 50123 WHERE `entry`= 45870; +UPDATE `creature_template` SET `ScriptName`= 'boss_nezir', `difficulty_entry_1`= 50098, `difficulty_entry_2`= 50108, `difficulty_entry_3`= 50118 WHERE `entry`= 45871; +UPDATE `creature_template` SET `ScriptName`= 'boss_rohash', `difficulty_entry_1`= 50095, `difficulty_entry_2`= 50105, `difficulty_entry_3`= 50115 WHERE `entry`= 45872; +-- Anshal +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `unit_flags2`= 1075838976, `vehicleId`= 1321, `InhabitType`= 1, `DamageModifier`= 60, `BaseVariance`= 0.5, `unit_class`= 2, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (45870, 50103, 50113, 50123); +-- Nezir +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `unit_flags2`= 1075838976, `vehicleId`= 1319, `InhabitType`= 1, +`DamageModifier`= 60, `BaseVariance`= 0.5, `unit_class`= 2, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (45871, 50098, 50108, 50118); +-- Rohash +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `unit_flags2`= 1075838976, `vehicleId`= 1318, `InhabitType`= 9, `unit_class`= 2, `mechanic_immune_mask`= 617299839 WHERE `entry` IN (45872, 50095, 50105, 50115); +-- Ravenous Creeper Trigger +UPDATE `creature_template` SET `unit_flags`= 33555200, `flags_extra`= 128, `ScriptName`= 'npc_conclave_of_wind_ravenous_creeper_trigger' WHERE `entry`= 45813; +-- Soothing Breeze +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 46246; +-- North Wind, East Wind and West Wind +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `InhabitType`= 4 WHERE `entry` IN (47926, 47924, 47925); +-- Ravenous Creeper +UPDATE `creature_template` SET `difficulty_entry_1`= 50100, `difficulty_entry_2`= 50110, `difficulty_entry_3`= 50120, `ScriptName`= 'npc_conclave_of_wind_ravenous_creeper' WHERE `entry`= 45812; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `InhabitType`= 1, `DamageModifier`= 10, `BaseVariance`= 0.5, `unit_class`= 2 WHERE `entry` IN (45812, 50110, 50110, 50120); +-- Tornado +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 46207; +-- World Trigger World Trigger (Not Immune NPC) +UPDATE `creature_template` SET `speed_walk`= 1, `speed_run`= 1 WHERE `entry`= 19871; +-- Ice Patch +UPDATE `creature_template` SET `InhabitType`= 4, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 46186; +-- Hurricane +UPDATE `creature_template` SET `VehicleId`= 1185, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 46419; + +-- Creature Text +DELETE FROM `creature_text` WHERE `CreatureID` IN (21252, 45870, 45871, 45872); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +-- World Trigger +(21252, 0, 0, 'The Conclave of Wind is nearing full strength!', 41, 0, 100, 0, 0, 0, 48590, 3, 'World Trigger - Announce Special Ability Warning'), +-- Anshal +(45870, 0, 0, 'It shall be I that earns the favor of our lord by casting out the intruders. My calmest wind shall still prove too much for them!', 14, 0, 100, 0, 0, 0, 50596, 0, 'Anshal - Aggro'), +(45870, 1, 0, 'You think to outrun the wind? A fatal mistake.', 14, 0, 100, 0, 0, 0, 50599, 3, 'Anshal - Out of Range'), +(45870, 2, 0, 'My power grows feeble, brothers. I shamefully must rely on you for a time.', 14, 0, 100, 0, 0, 0, 50601, 3, 'Anshal - Gather Strength'), +(45870, 3, 0, '%s begins to gather strength from the remaining Wind Lords!', 41, 0, 100, 0, 0, 0, 48593, 3, 'Anshal - Announce Gather Strength'), +(45870, 4, 0, 'The power of our winds, UNLEASHED!', 14, 0, 100, 0, 0, 0, 50594, 3, 'Anshal - Special Ability'), +(45870, 5, 0, 'Begone, outsider!', 14, 0, 100, 0, 0, 0, 50597, 3, 'Anshal - Slay 1'), +(45870, 5, 1, 'Your presence shall no longer defile our home!', 14, 0, 100, 0, 0, 0, 50598, 3, 'Anshal - Slay 2'), +-- Nezir +(45871, 0, 0, 'The honor of slaying the interlopers shall be mine, brothers! Their feeble bodies will freeze solid from my wind''s icy chill!', 14, 0, 100, 0, 0, 0, 50589, 0, 'Nezir - Aggro'), +(45871, 1, 0, 'You throw away your honor and flee as cowards? Then die!', 14, 0, 100, 0, 0, 0, 50592, 3, 'Nezir - Out of Range'), +(45871, 2, 0, 'Brothers, beware! These mortals are dangerous. I must pause and gather my strength.', 14, 0, 100, 0, 0, 0, 50595, 3, 'Nezir - Gather Strength'), +(45871, 3, 0, '%s begins to gather strength from the remaining Wind Lords!', 41, 0, 100, 0, 0, 0, 48593, 3, 'Nezir - Announce Gather Strength'), +(45871, 4, 0, 'The power of our winds, UNLEASHED!', 14, 0, 100, 0, 0, 0, 50594, 3, 'Nezir - Special Ability'), +(45871, 5, 0, 'Frozen solid.', 14, 0, 100, 0, 0, 0, 50590, 3, 'Nezir - Slay 1'), +(45871, 5, 1, 'Another mortal has taken their last breath!', 14, 0, 100, 0, 0, 0, 50591, 3, 'Nezir - Slay 2'), +-- Rohash +(45872, 0, 0, 'As I am the strongest wind, it shall be I that tears the invaders apart!', 14, 0, 100, 0, 0, 0, 50602, 0, 'Rohash - Aggro'), +(45872, 1, 0, 'Why do you flee, mortals? There is nowhere you can run or hide here!', 14, 0, 100, 0, 0, 0, 50606, 3, 'Rohash - Out of Range'), +(45872, 2, 0, 'The intruders stand fast, brothers, I cannot break them. Allow me a brief respite to strengthen my winds.', 14, 0, 100, 0, 0, 0, 50607, 3, 'Rohash - Gather Strength'), +(45872, 3, 0, '%s begins to gather strength from the remaining Wind Lords!', 41, 0, 100, 0, 0, 0, 48593, 3, 'Rohash - Announce Gather Strength'), +(45872, 4, 0, 'The power of our winds, UNLEASHED!', 14, 0, 100, 0, 0, 0, 50594, 3, 'Roash - Special Ability'), +(45872, 5, 0, 'Blown away!', 14, 0, 100, 0, 0, 0, 50603, 3, 'Rohash - Slay 1'), +(45872, 5, 1, 'Mere dust...', 14, 0, 100, 0, 0, 0, 50604, 3, 'Roash - Slay 2'), +(45872, 6, 0, '|TInterface\\Icons\\spell_nature_cyclone.blp:20|t%s begins to cast|cFFFF9A20|Hspell:86193|h [Wind Blast]!|r', 41, 0, 100, 0, 0, 0, 50875, 0, 'Rohash - Announce Wind Blast'); + +-- Model Updates +UPDATE `creature_model_info` SET `BoundingRadius`= 6.987639, `CombatReach`= 12.5, `Gender`= 0 WHERE `DisplayID`= 35234; +UPDATE `creature_model_info` SET `BoundingRadius`= 6.987639, `CombatReach`= 12.5, `Gender`= 0 WHERE `DisplayID`= 35233; +UPDATE `creature_model_info` SET `BoundingRadius`= 6.987639 WHERE `DisplayID`= 35232; + +-- Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (46246, 46207, 46186, 45870, 45871, 45872); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(46246, '86206 86207 86208'), +(46207, '86134'), +(46186, '86107'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_conclave_of_wind_winds_pre_effect_warning', +'spell_conclave_of_wind_teleport_to_center', +'spell_conclave_of_wind_winds', +'spell_conclave_of_wind_wind_blast', +'spell_conclave_of_wind_wind_blast_triggered', +'spell_conclave_of_wind_hurricane', +'spell_conclave_of_wind_hurricane_ride_vehicle', +'spell_conclave_of_wind_toxic_spores', +'spell_conclave_of_wind_sleet_storm'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(96508, 'spell_conclave_of_wind_winds_pre_effect_warning'), +(89843, 'spell_conclave_of_wind_teleport_to_center'), +(89844, 'spell_conclave_of_wind_teleport_to_center'), +(85573, 'spell_conclave_of_wind_winds'), +(85578, 'spell_conclave_of_wind_winds'), +(85576, 'spell_conclave_of_wind_winds'), +(93190, 'spell_conclave_of_wind_winds'), +(93191, 'spell_conclave_of_wind_winds'), +(93192, 'spell_conclave_of_wind_winds'), +(93147, 'spell_conclave_of_wind_winds'), +(93148, 'spell_conclave_of_wind_winds'), +(93149, 'spell_conclave_of_wind_winds'), +(93181, 'spell_conclave_of_wind_winds'), +(93182, 'spell_conclave_of_wind_winds'), +(93183, 'spell_conclave_of_wind_winds'), +(86193, 'spell_conclave_of_wind_wind_blast'), +(85480, 'spell_conclave_of_wind_wind_blast_triggered'), +(86498, 'spell_conclave_of_wind_hurricane'), +(86481, 'spell_conclave_of_wind_hurricane_ride_vehicle'), +(86290, 'spell_conclave_of_wind_toxic_spores'), +(86367, 'spell_conclave_of_wind_sleet_storm'), +(93135, 'spell_conclave_of_wind_sleet_storm'), +(93136, 'spell_conclave_of_wind_sleet_storm'), +(93137, 'spell_conclave_of_wind_sleet_storm'); + +DELETE FROM `conditions` WHERE `SourceEntry` IN (89844, 89843, 89898, 86481, 90262, 86290) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 89844, 0, 0, 31, 0, 3, 47925, 0, 0, 0, '', 'Teleport to Center (West) - Target West Wind'), +(13, 1, 89843, 0, 0, 31, 0, 3, 47926, 0, 0, 0, '', 'Teleport to Center (North) - Target North Wind'), +(13, 1, 89898, 0, 0, 31, 0, 3, 45870, 0, 0, 0, '', 'Power Gain - Target Anshal'), +(13, 1, 89898, 0, 1, 31, 0, 3, 45871, 0, 0, 0, '', 'Power Gain - Target Nezir'), +(13, 1, 89898, 0, 2, 31, 0, 3, 45872, 0, 0, 0, '', 'Power Gain - Target Roash'), +(13, 1, 86481, 0, 0, 31, 0, 3, 46419, 0, 0, 0, '', 'Hurricane - Target Hurricane'), +(13, 1, 90262, 0, 0, 31, 0, 3, 46419, 0, 0, 0, '', 'Hurricane - Target Hurricane'), +(13, 1, 86290, 0, 0, 31, 0, 3, 45812, 0, 0, 0, '', 'Toxic Spores - Target Ravenous Creeper'); + +-- Loot +DELETE FROM `creature_loot_template` WHERE `Entry` IN (45870, 45871, 45872, 50103, 50113, 50123, 50098, 50108, 50118, 50095, 50105, 50115); +UPDATE `creature_template` SET `lootid`= `entry` WHERE `entry` IN (45870, 45871, 45872, 50103, 50113, 50123, 50098, 50108, 50118, 50095, 50105, 50115); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (458700, 458701); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Normal Mode +(458700, 63497, 0, 1, 1, 1, 1), +(458700, 63496, 0, 1, 1, 1, 1), +(458700, 63490, 0, 1, 1, 1, 1), +(458700, 63498, 0, 1, 1, 1, 1), +(458700, 63492, 0, 1, 1, 1, 1), +(458700, 63495, 0, 1, 1, 1, 1), +(458700, 63491, 0, 1, 1, 1, 1), +(458700, 63493, 0, 1, 1, 1, 1), +(458700, 63488, 0, 1, 1, 1, 1), +(458700, 63489, 0, 1, 1, 1, 1), +(458700, 63494, 0, 1, 1, 1, 1), +-- Heroic Mode +(458701, 65374, 0, 1, 1, 1, 1), +(458701, 65377, 0, 1, 1, 1, 1), +(458701, 65369, 0, 1, 1, 1, 1), +(458701, 65376, 0, 1, 1, 1, 1), +(458701, 65368, 0, 1, 1, 1, 1), +(458701, 65375, 0, 1, 1, 1, 1), +(458701, 65370, 0, 1, 1, 1, 1), +(458701, 65371, 0, 1, 1, 1, 1), +(458701, 65367, 0, 1, 1, 1, 1), +(458701, 65372, 0, 1, 1, 1, 1), +(458701, 65373, 0, 1, 1, 1, 1); + +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +-- 10 Player Normal +(45870, 458700, 100, 1, 458700, 1), +(45871, 458700, 100, 1, 458700, 1), +(45872, 458700, 100, 1, 458700, 1), +-- 25 Player Normal +(50103, 458700, 100, 1, 458700, 2), +(50098, 458700, 100, 1, 458700, 2), +(50095, 458700, 100, 1, 458700, 2), +-- 10 Player Heroic +(50113, 458701, 100, 1, 458701, 1), +(50108, 458701, 100, 1, 458701, 1), +(50105, 458701, 100, 1, 458701, 1), +-- 25 Player Heroic +(50123, 458701, 100, 1, 458701, 2), +(50118, 458701, 100, 1, 458701, 2), +(50115, 458701, 100, 1, 458701, 2); + +-- Gold loot +UPDATE `creature_template` SET `mingold`= 740000, `maxgold`= 800000 WHERE `entry` IN (45870, 45871, 45872, 50113, 50108, 50105); +UPDATE `creature_template` SET `mingold`= 1500000, `maxgold`= 1700000 WHERE `entry` IN (50103, 50098, 50095, 50123, 50118, 50115); + +-- Currency loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (45871, 50098, 50108, 50118); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(45871, 396, 11500), +(50098, 396, 13500), +(50108, 396, 11500), +(50118, 396, 13500); +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `unit_class`= 2 WHERE `entry` IN (50100, 50110, 50120); +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_obsidius_shadow_of_obsidius'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(76164, 'spell_obsidius_shadow_of_obsidius'); +-- Pathing for Entry: 54 'TDB FORMAT' +SET @NPC := 280684; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9464.4,`position_y`=94.0174,`position_z`=58.54224, `orientation`= 0.03490658 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9464.4,94.0174,58.54224,3.159046,13000,0,0,100,0), +(@PATH,2,-9464.4,94.0174,58.54224,0.03490658,24000,0,0,100,0), +(@PATH,3,-9460.3,101.247,58.47567,0,3000,0,0,100,0), +(@PATH,4,-9460.3,101.247,58.47567,1.054814,13000,0,0,100,0), +(@PATH,5,-9464.4,94.0174,58.54224,0,3000,0,0,100,0), +(@PATH,6,-9464.4,94.0174,58.54224,0.03490658,37000,0,0,100,0); +-- 0x203CC80000000D80003C9800004BA8CF .go xyz -9464.4 94.0174 58.54224 + +-- Creature Corina Steele 54 SAI +SET @ENTRY := 54; +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, 40, 0, 100, 0, 1, 0, 0, 0, 11, 88424, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On wapoint 1 of any path reached - Self: Cast spell 88424 on Self // "), +(@ENTRY, 0, 1, 0, 40, 0, 100, 0, 4, 0, 0, 0, 11, 88422, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On wapoint 4 of any path reached - Self: Cast spell 88422 on Self // "); + +-- Remove hacky equipment +DELETE FROM `creature_equip_template` WHERE `CreatureID`= 54; + +-- Pathing for Entry: 2046 'TDB FORMAT' +SET @NPC := 280686; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9464.06,`position_y`=88.934,`position_z`=58.53813 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9464.06,88.934,58.53813,0,1000,0,0,100,0), +(@PATH,2,-9464.06,88.934,58.53813,2.373648,13000,0,0,100,0), +(@PATH,3,-9464.16,87.8281,58.53032,0,1000,0,0,100,0), +(@PATH,4,-9464.16,87.8281,58.53032,0.2268928,28000,0,0,100,0); +-- 0x203CC8000001FF80003C9800004B7B8D .go xyz -9464.06 88.934 58.53813 + +-- Creature Andrew Krighton 2046 SAI +SET @ENTRY := 2046; +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, 1, 40, 0, 100, 0, 2, 0, 0, 0, 17, 233, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On wapoint 2 of any path reached - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 233 // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 67, 0, 10000, 10000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Trigger timed event #0 in 10000 - 10000 ms // "), +(@ENTRY, 0, 2, 0, 59, 0, 100, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 0 // "); + +-- Creature Lyria Du Lac 913 SAI +SET @ENTRY := 913; +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, 60, 0, 100, 0, 7000, 12000, 7000, 12000, 10, 396, 273, 274, 6, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 7000 and 12000 ms (for the first time, timer between 7000 and 12000 ms) - Self: Play random emote: 396, 273, 274, 6, // "); + +-- Creature Brother Wilhelm 927 SAI +SET @ENTRY := 927; +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, 60, 0, 100, 0, 7000, 12000, 7000, 12000, 10, 396, 273, 274, 6, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 7000 and 12000 ms (for the first time, timer between 7000 and 12000 ms) - Self: Play random emote: 396, 273, 274, 6, // "); + +-- Delete obsolete Inkeeper Farley SAI +SET @ENTRY := 295; +UPDATE `creature_template` SET `AIName`="" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; + +-- Delete obsolete Marshal McBride SAI +SET @ENTRY := 197; +UPDATE `creature_template` SET `AIName`="" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; + +-- Pathing for Entry: 797 'TDB FORMAT' +SET @NPC := 280681; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9427.082,`position_y`=124.8642,`position_z`=59.36305 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9427.082,124.8642,59.36305,0,46000,1,0,100,0), +(@PATH,2,-9446.757,132.8065,58.79227,0,0,1,0,100,0), +(@PATH,3,-9453.114,128.8822,58.91727,0,0,1,0,100,0), +(@PATH,4,-9460.528,123.3364,59.0911,0,0,1,0,100,0), +(@PATH,5,-9465.454,112.1725,57.79227,0,0,1,0,100,0), +(@PATH,6,-9464.705,105.2042,58.28145,0,0,1,0,100,0), +(@PATH,7,-9460.628,94.35499,58.54224,0,46000,1,0,100,0), +(@PATH,8,-9464.572,107.5604,57.637,0,0,1,0,100,0), +(@PATH,9,-9463.494,121.7567,58.65861,0,0,1,0,100,0), +(@PATH,10,-9456.734,126.0858,59.16288,0,0,1,0,100,0), +(@PATH,11,-9444.896,135.8292,58.48393,0,0,1,0,100,0), +(@PATH,12,-9438.719,134.7248,58.30473,0,0,1,0,100,0); +-- 0x203CC8000000C740003C9800004B7B8F .go xyz -9427.082 124.8642 59.36305 +-- Pathing for Entry: 47131 'TDB FORMAT' +-- SET @NPC := 370929; +SET @NPC := 370931; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-224.573,`position_y`=2147.43,`position_z`=90.74601 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-224.573,2147.43,90.74601,0,0,1,0,100,0), +(@PATH,2,-213.948,2142.21,90.73151,0,0,1,0,100,0), +(@PATH,3,-232.9186,2149.677,90.48258,0,0,1,0,100,0), +(@PATH,4,-234.502,2148.04,90.3751,0,0,1,0,100,0), +(@PATH,5,-242.231,2141.31,87.3315,0,0,1,0,100,0), +(@PATH,6,-250.325,2140.73,86.25217,0,0,1,0,100,0), +(@PATH,7,-253.79,2128.93,81.3315,0,0,1,0,100,0), +(@PATH,8,-245.76,2142.74,87.17836,0,0,1,0,100,0), +(@PATH,9,-242.231,2141.31,87.3315,0,0,1,0,100,0), +(@PATH,10,-234.502,2148.04,90.3751,0,0,1,0,100,0); +-- 0x20309404202E06C000717400004B9BCD .go xyz -224.573 2147.43 90.74601 + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 370938; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-242.825,`position_y`=2155.08,`position_z`=90.73151 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-242.825,2155.08,90.73151,0,0,1,0,100,0), +(@PATH,2,-241.351,2135.02,87.17239,0,0,1,0,100,0), +(@PATH,3,-238.4806,2142.995,87.1442,0,0,1,0,100,0), +(@PATH,4,-248.4996,2114.142,87.17899,0,0,1,0,100,0), +(@PATH,5,-241.351,2135.02,87.17239,0,0,1,0,100,0), +(@PATH,6,-236.75,2146.47,89.28158,0,0,1,0,100,0), +(@PATH,7,-242.825,2155.08,90.73151,0,0,1,0,100,0), +(@PATH,8,-241.351,2135.02,87.17239,0,0,1,0,100,0), +(@PATH,9,-245.734,2122.86,87.13149,0,0,1,0,100,0), +(@PATH,10,-248.4996,2114.142,87.17899,0,0,1,0,100,0), +(@PATH,11,-241.351,2135.02,87.17239,0,0,1,0,100,0); +-- 0x20309404202E06C00071740000CB9BCD .go xyz -242.825 2155.08 90.73151 + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 370955; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-219.319,`position_y`=2141.33,`position_z`=90.73151 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-219.319,2141.33,90.73151,0,0,1,0,100,0), +(@PATH,2,-209.226,2138.93,90.73151,0,0,1,0,100,0), +(@PATH,3,-218.231,2146.49,90.73151,0,0,1,0,100,0), +(@PATH,4,-234.7934,2153.074,90.68277,0,0,1,0,100,0), +(@PATH,5,-241.405,2155.63,90.73151,0,0,1,0,100,0), +(@PATH,6,-234.7934,2153.074,90.68277,0,0,1,0,100,0), +(@PATH,7,-219.319,2141.33,90.73151,0,0,1,0,100,0), +(@PATH,8,-211.979,2137.72,90.73151,0,0,1,0,100,0), +(@PATH,9,-214.542,2145.04,90.73151,0,0,1,0,100,0), +(@PATH,10,-225.483,2149.2,90.73151,0,0,1,0,100,0), +(@PATH,11,-234.7934,2153.074,90.68277,0,0,1,0,100,0), +(@PATH,12,-236.892,2151.64,90.60165,0,0,1,0,100,0), +(@PATH,13,-228.297,2147.62,90.73151,0,0,1,0,100,0), +(@PATH,14,-219.319,2141.33,90.73151,0,0,1,0,100,0), +(@PATH,15,-208.745,2140.91,90.7315,0,0,1,0,100,0), +(@PATH,16,-218.231,2146.49,90.73151,0,0,1,0,100,0), +(@PATH,17,-234.7934,2153.074,90.68277,0,0,1,0,100,0), +(@PATH,18,-225.0756,2149.048,90.73151,0,0,1,0,100,0), +(@PATH,19,-228.297,2147.62,90.73151,0,0,1,0,100,0); +-- 0x20309404202E06C000717400014B9BCD .go xyz -219.319 2141.33 90.73151 + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 370923; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-202.503,`position_y`=2137.75,`position_z`=86.5315 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-205.106,2132.89,86.53151,0,0,1,0,100,0), +(@PATH,2,-193.102,2142.48,85.03326,0,0,1,0,100,0), +(@PATH,3,-191.53,2132.7,81.53151,0,0,1,0,100,0), +(@PATH,4,-194.691,2127.82,81.53151,0,0,1,0,100,0), +(@PATH,5,-205.257,2116.96,81.1315,0,0,1,0,100,0), +(@PATH,6,-191.53,2132.7,81.53151,0,0,1,0,100,0), +(@PATH,7,-191.17,2141.42,83.99815,0,0,1,0,100,0), +(@PATH,8,-200.236,2141.76,86.53151,0,0,1,0,100,0), +(@PATH,9,-205.106,2132.89,86.53151,0,0,1,0,100,0), +(@PATH,10,-193.102,2142.48,85.03326,0,0,1,0,100,0), +(@PATH,11,-191.17,2141.42,83.99815,0,0,1,0,100,0), +(@PATH,12,-194.691,2127.82,81.53151,0,0,1,0,100,0), +(@PATH,13,-202.049,2120.02,81.30997,0,0,1,0,100,0), +(@PATH,14,-205.257,2116.96,81.1315,0,0,1,0,100,0), +(@PATH,15,-191.53,2132.7,81.53151,0,0,1,0,100,0), +(@PATH,16,-189.4205,2139.011,83.39886,0,0,1,0,100,0), +(@PATH,17,-196.962,2144.57,86.53151,0,0,1,0,100,0); +-- 0x20309404202E06C00071740001CB9BCD .go xyz -202.503 2137.75 86.5315 + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 370939; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-234.826,`position_y`=2134.83,`position_z`=87.1315 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-234.826,2134.83,87.1315,0,0,1,0,100,0), +(@PATH,2,-235.071,2121.86,87.1315,0,0,1,0,100,0), +(@PATH,3,-241.924,2114.7,87.21809,0,0,1,0,100,0), +(@PATH,4,-239.7693,2124.258,87.25138,0,0,1,0,100,0), +(@PATH,5,-236.122,2134.18,87.1315,0,0,1,0,100,0), +(@PATH,6,-243.188,2142.16,87.30859,0,0,1,0,100,0), +(@PATH,7,-252.45,2136.43,83.97578,0,0,1,0,100,0), +(@PATH,8,-249.384,2143.36,87.1315,0,0,1,0,100,0), +(@PATH,9,-246.487,2136.175,81.3315,0,0,1,0,100,0), +(@PATH,10,-249.861,2129.61,81.3315,0,0,1,0,100,0), +(@PATH,11,-252.168,2136.66,84.14391,0,0,1,0,100,0), +(@PATH,12,-247.872,2144.34,87.1315,0,0,1,0,100,0), +(@PATH,13,-236.276,2137.76,87.13151,0,0,1,0,100,0), +(@PATH,14,-235.071,2121.86,87.1315,0,0,1,0,100,0), +(@PATH,15,-237.786,2116.24,87.18414,0,0,1,0,100,0), +(@PATH,16,-243.507,2121.98,87.13967,0,0,1,0,100,0), +(@PATH,17,-236.122,2134.18,87.1315,0,0,1,0,100,0), +(@PATH,18,-243.188,2142.16,87.30859,0,0,1,0,100,0), +(@PATH,19,-250.8594,2140.252,85.88985,0,0,1,0,100,0), +(@PATH,20,-254.615,2131.19,81.4307,0,0,1,0,100,0), +(@PATH,21,-247.569,2132.49,81.3315,0,0,1,0,100,0), +(@PATH,22,-247.911,2134.33,81.3315,0,0,1,0,100,0), +(@PATH,23,-253.599,2133.66,82.34867,0,0,1,0,100,0), +(@PATH,24,-249.236,2143.11,87.1315,0,0,1,0,100,0), +(@PATH,25,-252.168,2136.66,84.14391,0,0,1,0,100,0), +(@PATH,26,-233.776,2128.49,87.1315,0,0,1,0,100,0), +(@PATH,27,-237.786,2116.24,87.18414,0,0,1,0,100,0), +(@PATH,28,-246.085,2117.8,87.1315,0,0,1,0,100,0), +(@PATH,29,-236.597,2127.02,87.1315,0,0,1,0,100,0), +(@PATH,30,-237.906,2138.05,87.13151,0,0,1,0,100,0), +(@PATH,31,-245.997,2143.29,87.1315,0,0,1,0,100,0), +(@PATH,32,-241.4279,2140.79,87.30955,0,0,1,0,100,0), +(@PATH,33,-251.3684,2127.315,81.33147,0,0,1,0,100,0), +(@PATH,34,-246.38,2138.16,81.3315,0,0,1,0,100,0), +(@PATH,35,-251.691,2128.05,81.33734,0,0,1,0,100,0), +(@PATH,36,-250.616,2139.75,85.75424,0,0,1,0,100,0), +(@PATH,37,-244.495,2143.15,87.16512,0,0,1,0,100,0); +-- 0x20309404202E06C000717400024B9BCD .go xyz -234.826 2134.83 87.1315 + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 370951; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-189.0459,`position_y`=2139.051,`position_z`=83.33153 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-189.0459,2139.051,83.33153,0,0,1,0,100,0), +(@PATH,2,-190.082,2141.37,83.45259,0,0,1,0,100,0), +(@PATH,3,-192.554,2142.34,84.80293,0,0,1,0,100,0), +(@PATH,4,-197.09,2144.55,86.53151,0,0,1,0,100,0), +(@PATH,5,-201.238,2146.09,87.6928,0,0,1,0,100,0), +(@PATH,6,-204.189,2146.04,89.06788,0,0,1,0,100,0), +(@PATH,7,-206.266,2143.87,90.47363,0,0,1,0,100,0), +(@PATH,8,-208.747,2141.62,90.7315,0,0,1,0,100,0), +(@PATH,9,-217.774,2143.43,90.73151,0,0,1,0,100,0), +(@PATH,10,-222.365,2145.58,90.79582,0,0,1,0,100,0), +(@PATH,11,-233.3,2151.05,90.81931,0,0,1,0,100,0), +(@PATH,12,-241.712,2154.96,90.73151,0,0,1,0,100,0), +(@PATH,13,-233.3,2151.05,90.81931,0,0,1,0,100,0), +(@PATH,14,-222.365,2145.58,90.79582,0,0,1,0,100,0), +(@PATH,15,-217.774,2143.43,90.73151,0,0,1,0,100,0), +(@PATH,16,-211.326,2141.1,90.73151,0,0,1,0,100,0), +(@PATH,17,-208.747,2141.62,90.7315,0,0,1,0,100,0), +(@PATH,18,-206.266,2143.87,90.47363,0,0,1,0,100,0), +(@PATH,19,-204.189,2146.04,89.06788,0,0,1,0,100,0), +(@PATH,20,-201.238,2146.09,87.6928,0,0,1,0,100,0), +(@PATH,21,-197.09,2144.55,86.53151,0,0,1,0,100,0), +(@PATH,22,-192.554,2142.34,84.80293,0,0,1,0,100,0), +(@PATH,23,-190.082,2141.37,83.45259,0,0,1,0,100,0), +(@PATH,24,-189.03,2139.11,83.32229,0,0,1,0,100,0), +(@PATH,25,-190.51,2133.59,81.53151,0,0,1,0,100,0), +(@PATH,26,-193.363,2127.52,81.53151,0,0,1,0,100,0), +(@PATH,27,-195.995,2122.86,81.5315,0,0,1,0,100,0), +(@PATH,28,-193.363,2127.52,81.53151,0,0,1,0,100,0), +(@PATH,29,-190.51,2133.59,81.53151,0,0,1,0,100,0); +-- 0x20309404202E06C00071740002CB9BCD .go xyz -189.0459 2139.051 83.33153 + + +-- Pathing for Entry: 47131 'TDB FORMAT' +-- formation leader +SET @NPC := 371072; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-161.823,`position_y`=2223.74,`position_z`=82.19942 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-161.823,2223.74,82.19942,0,0,1,0,100,0), +(@PATH,2,-171.804,2217.05,80.60416,0,0,1,0,100,0), +(@PATH,3,-177.542,2215.56,80.06255,0,0,1,0,100,0), +(@PATH,4,-161.823,2223.74,82.19942,0,0,1,0,100,0), +(@PATH,5,-156.411,2233.32,84.37106,0,0,1,0,100,0), +(@PATH,6,-162.856,2244.59,86.31627,0,0,1,0,100,0), +(@PATH,7,-168.813,2251.34,86.5315,0,0,1,0,100,0), +(@PATH,8,-189.283,2262.72,90.8772,0,0,1,0,100,0), +(@PATH,9,-196.215,2265.29,90.73151,0,0,1,0,100,0), +(@PATH,10,-176.066,2256.23,87.02258,0,0,1,0,100,0), +(@PATH,11,-168.813,2251.34,86.5315,0,0,1,0,100,0), +(@PATH,12,-162.856,2244.59,86.31627,0,0,1,0,100,0), +(@PATH,13,-156.411,2233.32,84.37106,0,0,1,0,100,0); +-- 0x20309404202E06C000717400044B9BCD .go xyz -161.823 2223.74 82.19942 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 371072; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(371072, 371072, 0, 0, 515, 0, 0), +(371072, 371076, 1.7, 80, 515, 0, 0), +(371072, 371071, 1.7, 280, 515, 0, 0), +(371072, 371077, 1.7, 330, 515, 0, 0), +(371072, 371075, 1.7, 30, 515, 0, 0); + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 371005; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-205.6569,`position_y`=2159.164,`position_z`=79.9315 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-205.6569,2159.164,79.9315,0,0,1,0,100,0), +(@PATH,2,-207.2158,2171.358,79.93151,0,0,1,0,100,0), +(@PATH,3,-207.1185,2183.651,79.9315,0,0,1,0,100,0), +(@PATH,4,-206.6177,2195.511,79.9315,0,0,1,0,100,0), +(@PATH,5,-201.8645,2206.329,79.99627,0,0,1,0,100,0), +(@PATH,6,-190.8698,2211.921,79.9315,0,0,1,0,100,0), +(@PATH,7,-181.1818,2216.823,79.79803,0,0,1,0,100,0), +(@PATH,8,-183.4368,2217.228,79.84972,0,0,1,0,100,0), +(@PATH,9,-195.474,2216.148,79.9315,0,0,1,0,100,0), +(@PATH,10,-206.6364,2221.896,79.94035,0,0,1,0,100,0), +(@PATH,11,-214.7874,2221.659,80.03462,0,0,1,0,100,0), +(@PATH,12,-219.9644,2212.874,79.95942,0,0,1,0,100,0), +(@PATH,13,-221.6301,2201.626,79.9315,0,0,1,0,100,0), +(@PATH,14,-222.7887,2189.785,79.9315,0,0,1,0,100,0), +(@PATH,15,-223.4415,2177.728,79.93151,0,0,1,0,100,0), +(@PATH,16,-221.2689,2168.338,79.93151,0,0,1,0,100,0), +(@PATH,17,-212.4943,2160.883,79.93151,0,0,1,0,100,0), +(@PATH,18,-205.1652,2156.023,79.9315,0,0,1,0,100,0); +-- 0x20309404202E06C00071740007CB9BCD .go xyz -205.6569 2159.164 79.9315 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 371005; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(371005, 371005, 0, 0, 515, 0, 0), +(371005, 371007, 1.3, 100, 515, 0, 0), +(371005, 371001, 1.3, 260, 515, 0, 0), +(371005, 371006, 3, 225, 515, 0, 0), +(371005, 370997, 3, 135, 515, 0, 0); + +-- Pathing for Entry: 47131 'TDB FORMAT' +SET @NPC := 370964; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-180.995,`position_y`=2172.09,`position_z`=97.53151 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-180.995,2172.09,97.53151,0,0,1,0,100,0), +(@PATH,2,-191.658,2136.938,97.53151,0,0,1,0,100,0), +(@PATH,3,-194.9167,2126.898,97.53151,0,0,1,0,100,0), +(@PATH,4,-198.5885,2116.054,97.5315,0,0,1,0,100,0), +(@PATH,5,-201.1354,2109.094,97.5315,0,0,1,0,100,0), +(@PATH,6,-194.9167,2126.898,97.53151,0,0,1,0,100,0), +(@PATH,7,-191.658,2136.938,97.53151,0,0,1,0,100,0), +(@PATH,8,-186.283,2155.41,97.53151,0,0,1,0,100,0); +-- 0x20309404202E06C000717400094B9BCD .go xyz -180.995 2172.09 97.53151 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 370964; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(370964, 370964, 0, 0, 515, 0, 0), +(370964, 370959, 1.7, 80, 515, 0, 0), +(370964, 370965, 1.7, 280, 515, 0, 0), +(370964, 370966, 1.7, 330, 515, 0, 0), +(370964, 370946, 1.7, 30, 515, 0, 0); + +-- Pathing for Entry: 3875 'TDB FORMAT' +SET @NPC := 371042; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-187.786,`position_y`=2215.41,`position_z`=79.86974 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-187.786,2215.41,79.86974,0,0,0,0,100,0), +(@PATH,2,-178.976,2217.85,80.00671,0,0,0,0,100,0), +(@PATH,3,-178.0273,2228.236,77.39046,0,0,0,0,100,0), +(@PATH,4,-178.976,2217.85,80.00671,0,0,0,0,100,0), +(@PATH,5,-187.786,2215.41,79.86974,0,0,0,0,100,0), +(@PATH,6,-203.744,2214.27,80.11271,0,0,0,0,100,0), +(@PATH,7,-211.75,2216.71,79.96252,0,0,0,0,100,0), +(@PATH,8,-203.744,2214.27,80.11271,0,0,0,0,100,0); +-- 0x203094042003C8C000717400004B9BCD .go xyz -187.786 2215.41 79.86974 + +-- Pathing for Entry: 3875 'TDB FORMAT' +SET @NPC := 371004; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-218.328,`position_y`=2200.86,`position_z`=79.93149 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-218.328,2200.86,79.93149,0,0,0,0,100,0), +(@PATH,2,-208.717,2211.1,80.02415,0,0,0,0,100,0), +(@PATH,3,-198.048,2223.75,79.9315,0,0,0,0,100,0), +(@PATH,4,-208.717,2211.1,80.02415,0,0,0,0,100,0), +(@PATH,5,-218.328,2200.86,79.93149,0,0,0,0,100,0), +(@PATH,6,-220.208,2182.55,79.9315,0,0,0,0,100,0), +(@PATH,7,-222.141,2159.87,79.93151,0,0,0,0,100,0), +(@PATH,8,-220.208,2182.55,79.9315,0,0,0,0,100,0); +-- 0x203094042003C8C00071740000CB9BCD .go xyz -218.328 2200.86 79.93149 + +-- Pathing for Entry: 3875 'TDB FORMAT' +SET @NPC := 371135; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-186.621,`position_y`=2261.53,`position_z`=91.02705 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-186.621,2261.53,91.02705,0,0,0,0,100,0), +(@PATH,2,-174.997,2255.62,86.68996,0,0,0,0,100,0), +(@PATH,3,-155.284,2237.76,84.90366,0,0,0,0,100,0), +(@PATH,4,-157.8985,2227.425,82.91762,0,0,0,0,100,0), +(@PATH,5,-155.284,2237.76,84.90366,0,0,0,0,100,0), +(@PATH,6,-155.3389,2237.543,84.86978,0,0,0,0,100,0); +-- 0x203094042003C8C000717400014B9BCD .go xyz -186.621 2261.53 91.02705 + +-- Pathing for Entry: 3875 'TDB FORMAT' +SET @NPC := 371041; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-213.193,`position_y`=2168.08,`position_z`=79.93151 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-213.193,2168.08,79.93151,0,0,0,0,100,0), +(@PATH,2,-201.619,2159.46,79.9315,0,0,0,0,100,0), +(@PATH,3,-213.193,2168.08,79.93151,0,0,0,0,100,0), +(@PATH,4,-206.565,2190.57,79.93151,0,0,0,0,100,0), +(@PATH,5,-208.078,2204.84,80.0667,0,0,0,0,100,0), +(@PATH,6,-202.946,2217.8,80.14151,0,0,0,0,100,0), +(@PATH,7,-208.078,2204.84,80.0667,0,0,0,0,100,0), +(@PATH,8,-206.5652,2190.572,79.9315,0,0,0,0,100,0); +-- 0x203094042003C8C00071740001CB9BCD .go xyz -213.193 2168.08 79.93151 + +-- Pathing for Entry: 3875 'TDB FORMAT' +SET @NPC := 371144; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-249.528,`position_y`=2281,`position_z`=75.13151 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-249.528,2281,75.13151,0,0,0,0,100,0), +(@PATH,2,-257.429,2283.96,75.13149,0,0,0,0,100,0), +(@PATH,3,-261.245,2285.5,75.13151,0,0,0,0,100,0), +(@PATH,4,-262.115,2289.77,75.1315,0,0,0,0,100,0), +(@PATH,5,-260.658,2294.45,75.13151,0,0,0,0,100,0), +(@PATH,6,-256.936,2296.94,75.13151,0,0,0,0,100,0), +(@PATH,7,-250.703,2294.9,75.13151,0,0,0,0,100,0), +(@PATH,8,-244.811,2292.94,75.13149,0,0,0,0,100,0), +(@PATH,9,-237.326,2290.35,75.1315,0,0,0,0,100,0), +(@PATH,10,-231.441,2287.33,75.1315,0,0,0,0,100,0), +(@PATH,11,-226.16,2285.06,75.13149,0,0,0,0,100,0), +(@PATH,12,-224.778,2280.57,75.1315,0,0,0,0,100,0), +(@PATH,13,-226.003,2275.97,75.1315,0,0,0,0,100,0), +(@PATH,14,-228.705,2272.94,75.1315,0,0,0,0,100,0), +(@PATH,15,-234.149,2275.06,75.16153,0,0,0,0,100,0), +(@PATH,16,-241.1499,2277.745,75.13152,0,0,0,0,100,0); +-- 0x203094042003C8C000717400044B9BCD .go xyz -249.528 2281 75.13151 + +-- Pathing for Entry: 47143 'TDB FORMAT' +SET @NPC := 371155; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-255.974,`position_y`=2315.51,`position_z`=95.9315 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-255.974,2315.51,95.9315,0,0,0,0,100,0), +(@PATH,2,-277.262,2324.03,95.9315,0,0,0,0,100,0), +(@PATH,3,-269.446,2320.89,95.9315,0,0,0,0,100,0), +(@PATH,4,-248.9933,2312.855,96.07217,0,0,0,0,100,0), +(@PATH,5,-240.427,2309.49,95.9315,0,0,0,0,100,0), +(@PATH,6,-236.655,2307.97,95.93151,0,0,0,0,100,0), +(@PATH,7,-248.9933,2312.855,96.07217,0,0,0,0,100,0); +-- 0x20309404202E09C000717400004B9BCD .go xyz -255.974 2315.51 95.9315 + +-- Pathing for Entry: 47143 'TDB FORMAT' +SET @NPC := 371145; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-205.785,`position_y`=2295.68,`position_z`=95.93151 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-205.785,2295.68,95.93151,0,0,0,0,100,0), +(@PATH,2,-213.009,2298.61,95.9315,0,0,0,0,100,0), +(@PATH,3,-215.851,2299.77,95.9315,0,0,0,0,100,0), +(@PATH,4,-205.785,2295.68,95.93151,0,0,0,0,100,0), +(@PATH,5,-196.538,2291.93,95.93152,0,0,0,0,100,0), +(@PATH,6,-191.057,2289.7,95.9315,0,0,0,0,100,0), +(@PATH,7,-186.377,2287.84,95.9315,0,0,0,0,100,0), +(@PATH,8,-191.057,2289.7,95.9315,0,0,0,0,100,0), +(@PATH,9,-196.538,2291.93,95.93152,0,0,0,0,100,0); +-- 0x20309404202E09C00071740000CB9BCD .go xyz -205.785 2295.68 95.93151 + +-- Pathing for Entry: 47143 'TDB FORMAT' +SET @NPC := 371143; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-272.924,`position_y`=2273.36,`position_z`=95.9315 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-272.924,2273.36,95.9315,0,0,0,0,100,0), +(@PATH,2,-284.042,2277.57,95.9315,0,0,0,0,100,0), +(@PATH,3,-290.1371,2279.946,95.9315,0,0,0,0,100,0), +(@PATH,4,-284.042,2277.57,95.9315,0,0,0,0,100,0), +(@PATH,5,-272.924,2273.36,95.9315,0,0,0,0,100,0), +(@PATH,6,-263.441,2269.58,97.97887,0,0,0,0,100,0), +(@PATH,7,-256.03,2266.48,100.9315,0,0,0,0,100,0), +(@PATH,8,-263.441,2269.58,97.97887,0,0,0,0,100,0); +-- 0x20309404202E09C000717400014B9BCD .go xyz -272.924 2273.36 95.9315 + +-- Pathing for Entry: 47132 'TDB FORMAT' +SET @NPC := 371060; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-130.043,`position_y`=2198.16,`position_z`=144.9528 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-130.043,2198.16,144.9528,0,0,1,0,100,0), +(@PATH,2,-123.637,2191.48,143.5198,0,0,1,0,100,0), +(@PATH,3,-119.444,2181.99,141.5708,0,0,1,0,100,0), +(@PATH,4,-119.76,2171.37,139.7816,0,0,1,0,100,0), +(@PATH,5,-122.024,2163.51,138.7315,0,0,1,0,100,0), +(@PATH,6,-119.444,2181.99,141.5708,0,0,1,0,100,0), +(@PATH,7,-123.637,2191.48,143.5198,0,0,1,0,100,0), +(@PATH,8,-130.043,2198.16,144.9528,0,0,1,0,100,0), +(@PATH,9,-139.313,2202.1,146.7611,0,0,1,0,100,0), +(@PATH,10,-148.03,2202.66,148.2551,0,0,1,0,100,0), +(@PATH,11,-156.464,2200.04,149.8841,0,0,1,0,100,0), +(@PATH,12,-162.661,2195.54,151.058,0,0,1,0,100,0), +(@PATH,13,-170.503,2183.05,151.9315,0,0,1,0,100,0), +(@PATH,14,-162.661,2195.54,151.058,0,0,1,0,100,0), +(@PATH,15,-156.464,2200.04,149.8841,0,0,1,0,100,0), +(@PATH,16,-148.03,2202.66,148.2551,0,0,1,0,100,0), +(@PATH,17,-139.313,2202.1,146.7611,0,0,1,0,100,0); +-- 0x20309404202E070000717400044B9BCD .go xyz -130.043 2198.16 144.9528 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 371060; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(371060, 371060, 0, 0, 515, 0, 0), +(371060, 371063, 1.7, 270, 515, 0, 0), +(371060, 371061, 1.7, 45, 515, 0, 0), +(371060, 371064, 1.7, 315, 515, 0, 0); + +-- Pathing for Entry: 47145 'TDB FORMAT' +SET @NPC := 371035; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-153.214,`position_y`=2187.62,`position_z`=105.2829 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-153.214,2187.62,105.2829,0,0,0,0,100,0), +(@PATH,2,-151.4448,2186.933,105.804,0,0,0,0,100,0), +(@PATH,3,-147.009,2185.09,107.5957,0,0,0,0,100,0), +(@PATH,4,-139.924,2182.26,111.1069,0,0,0,0,100,0), +(@PATH,5,-125.892,2176.94,112.7315,0,0,0,0,100,0), +(@PATH,6,-121.795,2175.26,112.7315,0,0,0,0,100,0), +(@PATH,7,-110.116,2170.54,107.4586,0,0,0,0,100,0), +(@PATH,8,-105.325,2168.27,105.4702,0,0,0,0,100,0), +(@PATH,9,-104.118,2167.28,105.0464,0,0,0,0,100,0), +(@PATH,10,-107.112,2158.055,102.3315,0,0,0,0,100,0), +(@PATH,11,-104.217,2165.6,104.9077,0,0,0,0,100,0), +(@PATH,12,-104.118,2167.28,105.0464,0,0,0,0,100,0), +(@PATH,13,-110.116,2170.54,107.4586,0,0,0,0,100,0), +(@PATH,14,-121.795,2175.26,112.7315,0,0,0,0,100,0), +(@PATH,15,-125.892,2176.94,112.7315,0,0,0,0,100,0), +(@PATH,16,-139.924,2182.26,111.1069,0,0,0,0,100,0), +(@PATH,17,-147.009,2185.09,107.5957,0,0,0,0,100,0), +(@PATH,18,-151.307,2186.88,105.8647,0,0,0,0,100,0), +(@PATH,19,-154.7157,2186.236,105.1315,0,0,0,0,100,0), +(@PATH,20,-158.517,2177.08,102.3315,0,0,0,0,100,0), +(@PATH,21,-157.297,2176,102.3315,0,0,0,0,100,0), +(@PATH,22,-151.898,2174.59,99.9315,0,0,0,0,100,0), +(@PATH,23,-157.2549,2175.989,102.3244,0,0,0,0,100,0), +(@PATH,24,-158.517,2177.08,102.3315,0,0,0,0,100,0), +(@PATH,25,-154.755,2186.2,105.1045,0,0,0,0,100,0); +-- 0x20309404202E0A4000717400004B9BCD .go xyz -153.214 2187.62 105.2829 + +-- Pathing for Entry: 3873 'TDB FORMAT' +SET @NPC := 371031; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-240.239,`position_y`=2190.376,`position_z`=97.53152 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-240.239,2190.376,97.53152,0,33,0,0,100,0), +(@PATH,2,-233.293,2218.07,97.53151,0,33,0,0,100,0), +(@PATH,3,-240.239,2190.376,97.53152,0,33,0,0,100,0), +(@PATH,4,-244.8245,2183.276,94.13151,0,33,0,0,100,0), +(@PATH,5,-253.2409,2165.885,94.1315,0,33,0,0,100,0), +(@PATH,6,-244.8245,2183.276,94.13151,0,33,0,0,100,0); +-- 0x203094042003C84000717400024B9BCD .go xyz -240.239 2190.376 97.53152 + +-- Pathing for Entry: 42810 'TDB FORMAT' +SET @NPC := 340551; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1181.825,`position_y`=1069.069,`position_z`=264.2993 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1181.825,1069.069,264.2993,0,0,0,0,100,0), +(@PATH,2,1183.867,1087.719,263.8982,0,0,0,0,100,0), +(@PATH,3,1187.34,1063.681,263.3675,0,0,0,0,100,0), +(@PATH,4,1187.34,1063.681,263.3675,5.602507,6000,0,0,100,0), +(@PATH,5,1156.91,1047.903,265.4753,0,0,0,0,100,0); +-- 0x2030A45AA029CE8000298500002EC493 .go xyz 1181.825 1069.069 264.2993 + +-- Pathing for Entry: 42810 'TDB FORMAT' +SET @NPC := 340513; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1117.345,`position_y`=1014.186,`position_z`=266.6829 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1117.345,1014.186,266.6829,0,0,0,0,100,0), +(@PATH,2,1136.958,1026.087,267.018,0,0,0,0,100,0), +(@PATH,3,1117.345,1014.186,266.6829,0,0,0,0,100,0), +(@PATH,4,1091.625,992.7847,264.373,0,0,0,0,100,0), +(@PATH,5,1069.092,963.934,260.1193,0,0,0,0,100,0), +(@PATH,6,1091.625,992.7847,264.373,0,0,0,0,100,0); +-- 0x2030A45AA029CE800029850000AEC493 .go xyz 1117.345 1014.186 266.6829 + +-- Pathing for Entry: 42810 'TDB FORMAT' +SET @NPC := 340516; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1150.245,`position_y`=929.8108,`position_z`=284.7753 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1150.245,929.8108,284.7753,0,0,0,0,100,0), +(@PATH,2,1149.689,946.9427,283.7964,0,0,0,0,100,0), +(@PATH,3,1152.821,963.9549,282.9501,0,0,0,0,100,0), +(@PATH,4,1160.462,974.0677,279.9007,0,0,0,0,100,0), +(@PATH,5,1170.483,995.6285,273.9234,0,0,0,0,100,0), +(@PATH,6,1163.292,1017.347,269.8757,0,0,0,0,100,0), +(@PATH,7,1170.483,995.6285,273.9234,0,0,0,0,100,0), +(@PATH,8,1160.508,974.1669,279.8546,0,0,0,0,100,0), +(@PATH,9,1152.821,963.9549,282.9501,0,0,0,0,100,0), +(@PATH,10,1149.689,946.9427,283.7964,0,0,0,0,100,0); +-- 0x2030A45AA029CE8000298500012EC493 .go xyz 1150.245 929.8108 284.7753 + +-- Pathing for Entry: 42695 'TDB FORMAT' +SET @NPC := 340694; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1550.526,`position_y`=1193.469,`position_z`=220.5685 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1550.526,1193.469,220.5685,0,0,0,0,100,0), +(@PATH,2,1543.656,1212.661,223.2393,0,0,0,0,100,0), +(@PATH,3,1563.814,1178.012,218.4005,0,0,0,0,100,0), +(@PATH,4,1574.295,1151.352,216.1228,0,0,0,0,100,0), +(@PATH,5,1567.819,1105.63,215.8223,0,0,0,0,100,0), +(@PATH,6,1573.047,1131.243,215.7169,0,0,0,0,100,0), +(@PATH,7,1570.785,1160.727,216.7745,0,0,0,0,100,0), +(@PATH,8,1557.627,1183.724,219.0554,0,0,0,0,100,0); +-- 0x2030A45AA029B1C000298500002EC493 .go xyz 1550.526 1193.469 220.5685 + +-- Pathing for Entry: 42695 'TDB FORMAT' +SET @NPC := 340711; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1546.345,`position_y`=1159.319,`position_z`=216.7407 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1546.345,1159.319,216.7407,0,0,0,0,100,0), +(@PATH,2,1547.222,1147.325,216.423,0,0,0,0,100,0), +(@PATH,3,1547.339,1128.038,216.3325,0,0,0,0,100,0), +(@PATH,4,1544.799,1114.207,216.3325,0,0,0,0,100,0), +(@PATH,5,1540.96,1106.8,216.3931,0,0,0,0,100,0), +(@PATH,6,1544.799,1114.207,216.3325,0,0,0,0,100,0), +(@PATH,7,1547.339,1128.038,216.3325,0,0,0,0,100,0), +(@PATH,8,1547.222,1147.325,216.423,0,0,0,0,100,0); +-- 0x2030A45AA029B1C000298500002EC494 .go xyz 1546.345 1159.319 216.7407 + +-- Pathing for Entry: 42695 'TDB FORMAT' +SET @NPC := 340654; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1442.42,`position_y`=1189.29,`position_z`=230.9655 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1442.42,1189.29,230.9655,3.682645,7000,0,0,100,0), +(@PATH,2,1460.662,1197.037,230.4427,0,0,0,0,100,0), +(@PATH,3,1455.39,1211.3,230.9601,0,0,0,0,100,0), +(@PATH,4,1448.73,1220.99,231.6259,0,0,0,0,100,0), +(@PATH,5,1444.97,1202.81,229.8786,0,0,0,0,100,0); +-- 0x2030A45AA029B1C00029850000AEC493 .go xyz 1442.42 1189.29 230.9655 + +-- Pathing for Entry: 42695 'TDB FORMAT' +SET @NPC := 340712; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1566.243,`position_y`=1120.368,`position_z`=215.719 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1566.243,1120.368,215.719,0,0,0,0,100,0), +(@PATH,2,1582.618,1117.285,216.2138,0,0,0,0,100,0), +(@PATH,3,1566.243,1120.368,215.719,0,0,0,0,100,0), +(@PATH,4,1574.88,1117.925,215.7319,0,0,0,0,100,0), +(@PATH,5,1553.618,1124.535,216.3345,0,0,0,0,100,0), +(@PATH,6,1541.175,1130.726,216.3325,0,0,0,0,100,0), +(@PATH,7,1566.243,1120.368,215.719,0,0,0,0,100,0), +(@PATH,8,1582.618,1117.285,216.2138,0,0,0,0,100,0), +(@PATH,9,1592.052,1115.46,216.2268,0,0,0,0,100,0), +(@PATH,10,1574.88,1117.925,215.7319,0,0,0,0,100,0); +-- 0x2030A45AA029B1C00029850000AEC494 .go xyz 1566.243 1120.368 215.719 + +-- Pathing for Entry: 42692 'TDB FORMAT' +SET @NPC := 340678; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1288.18,`position_y`=1081.26,`position_z`=212.5155 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1288.18,1081.26,212.5155,4.502949,6000,0,0,100,0), +(@PATH,2,1322.95,1068.75,212.3748,0,0,0,0,100,0), +(@PATH,3,1349.6,1069.2,212.994,0,0,0,0,100,0), +(@PATH,4,1377.69,1068.29,213.098,0,0,0,0,100,0), +(@PATH,5,1404.79,1059.38,212.7177,0,0,0,0,100,0), +(@PATH,6,1386.41,1114.62,212.7551,0,0,0,0,100,0), +(@PATH,7,1356.41,1123.34,213.0578,0,0,0,0,100,0), +(@PATH,8,1335.37,1119.48,213.1407,0,0,0,0,100,0), +(@PATH,9,1313.96,1102.96,212.944,0,0,0,0,100,0); +-- 0x2030A45AA029B10000298500002EC493 .go xyz 1288.18 1081.26 212.5155 + +-- Pathing for Entry: 42692 'TDB FORMAT' +SET @NPC := 340693; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1539.342,`position_y`=1085.764,`position_z`=215.9438 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1539.342,1085.764,215.9438,0,0,0,0,100,0), +(@PATH,2,1553.276,1097.672,215.7756,0,0,0,0,100,0), +(@PATH,3,1554.925,1169.472,216.6244,0,0,0,0,100,0), +(@PATH,4,1562.587,1147.788,215.7576,0,0,0,0,100,0); +-- 0x2030A45AA029B10000298500002EC494 .go xyz 1539.342 1085.764 215.9438 + +-- Pathing for Entry: 42692 'TDB FORMAT' +SET @NPC := 340719; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1554.5,`position_y`=1069.16,`position_z`=217.8835 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1554.5,1069.16,217.8835,0,18000,0,0,100,0), +(@PATH,2,1530.8,1100.64,216.442,0,18000,0,0,100,0); +-- 0x2030A45AA029B1000029850000AEC493 .go xyz 1554.5 1069.16 217.8835 + +-- Pathing for Entry: 42692 'TDB FORMAT' +SET @NPC := 340732; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1585.593,`position_y`=1096.939,`position_z`=216.8126 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1585.593,1096.939,216.8126,0,0,0,0,100,0), +(@PATH,2,1593.496,1103.934,216.6328,0,0,0,0,100,0), +(@PATH,3,1593.496,1103.934,216.6328,0.549201,500,0,0,100,0); +-- 0x2030A45AA029B10000298500012EC493 .go xyz 1585.593 1096.939 216.8126-- Pathing for Entry: 43662 'TDB FORMAT' +SET @NPC := 340450; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1024.542,`position_y`=849.5343,`position_z`=298.6647 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,971.488,880.601,305.9347,0,0,1,0,100,0), +(@PATH,2,971.431,894.707,306.6,0,0,1,0,100,0), +(@PATH,3,983.392,904.229,306.2977,0,0,1,0,100,0), +(@PATH,4,1007.39,883.028,301.3122,0,0,1,0,100,0), +(@PATH,5,1038.13,881.785,297.10,1,0,1,0,100,0), +(@PATH,6,1029.69,851.0083,298.0182,0,0,1,0,100,0), +(@PATH,7,994.264,861.425,301.936,0,0,1,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 340450; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(340450, 340450, 0, 0, 515, 0, 0), +(340450, 340451, 3, 315, 515, 0, 0), +(340450, 340452, 4, 360, 515, 0, 0), +(340450, 340453, 3, 45, 515, 0, 0); +UPDATE `spell_proc` SET `HitMask`= 1024 WHERE `SpellId`= 76167; +-- Pathing for Entry: 330 'TDB FORMAT' +SET @NPC := 280296; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9946.83,`position_y`=408.503,`position_z`=34.89249 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '87519'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9946.83,408.503,34.89249,0,0,0,0,100,0), +(@PATH,2,-9934.89,375.823,35.15996,0,0,0,0,100,0), +(@PATH,3,-9905.29,378.352,35.28614,0,0,0,0,100,0), +(@PATH,4,-9889.87,404.354,35.3951,0,0,0,0,100,0), +(@PATH,5,-9911.25,423.392,35.39784,0,0,0,0,100,0); +-- 0x203CC80000005280003C9800004BCA0D .go xyz -9946.83 408.503 34.89249 +-- Pathing for Entry: 46402 'TDB FORMAT' +SET @NPC := 264940; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9554.9,`position_y`=-939.823,`position_z`=100.3798 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9554.9,-939.823,100.3798,0,1,0,0,100,0), +(@PATH,2,-9560.75,-931.833,100.2973,0,1,0,0,100,0), +(@PATH,3,-9569,-926.535,100.2999,0,1,0,0,100,0), +(@PATH,4,-9575.53,-925.012,100.2999,0,1,0,0,100,0), +(@PATH,5,-9569,-926.535,100.2999,0,1,0,0,100,0), +(@PATH,6,-9560.75,-931.833,100.2973,0,1,0,0,100,0), +(@PATH,7,-9554.9,-939.823,100.3798,0,1,0,0,100,0), +(@PATH,8,-9549.63,-945.835,100.3798,0,1,0,0,100,0), +(@PATH,9,-9533.89,-946.705,104.7548,0,1,0,0,100,0), +(@PATH,10,-9510.48,-945.682,104.7723,0,1,0,0,100,0), +(@PATH,11,-9490.02,-945.651,109.2862,0,1,0,0,100,0), +(@PATH,12,-9481.64,-925.976,109.2723,0,1,0,0,100,0), +(@PATH,13,-9464.31,-923.748,112.5456,0,1,0,0,100,0), +(@PATH,14,-9445.52,-922.311,112.5456,0,1,0,0,100,0), +(@PATH,15,-9464.31,-923.748,112.5456,0,1,0,0,100,0), +(@PATH,16,-9575.53,-925.012,100.2999,0,1,0,0,100,0), +(@PATH,17,-9569,-926.535,100.2999,0,1,0,0,100,0), +(@PATH,18,-9560.75,-931.833,100.2973,0,1,0,0,100,0); +-- 0x203EF000202D50800012DE00010179E0 .go xyz -9554.9 -939.823 100.3798 + +-- Pathing for Entry: 46402 'TDB FORMAT' +SET @NPC := 264918; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9484.29,`position_y`=-969.646,`position_z`=109.2723 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9484.29,-969.646,109.2723,0,0,0,0,100,0), +(@PATH,2,-9469.68,-976.174,109.2723,0,0,0,0,100,0), +(@PATH,3,-9458.85,-979.596,111.0884,0,0,0,0,100,0), +(@PATH,4,-9449.62,-988.665,111.0884,0,0,0,0,100,0), +(@PATH,5,-9442.48,-1009.54,111.0884,0,0,0,0,100,0), +(@PATH,6,-9449.62,-988.665,111.0884,0,0,0,0,100,0), +(@PATH,7,-9458.85,-979.596,111.0884,0,0,0,0,100,0), +(@PATH,8,-9469.68,-976.174,109.2723,0,0,0,0,100,0), +(@PATH,9,-9484.29,-969.646,109.2723,0,0,0,0,100,0), +(@PATH,10,-9508.17,-970.24,104.7574,0,0,0,0,100,0), +(@PATH,11,-9517.24,-974.8,104.7574,0,0,0,0,100,0), +(@PATH,12,-9518.43,-984.09,104.7574,0,0,0,0,100,0), +(@PATH,13,-9517.24,-974.8,104.7574,0,0,0,0,100,0), +(@PATH,14,-9508.17,-970.24,104.7574,0,0,0,0,100,0); +-- 0x203EF000202D50800012DE00038179D8 .go xyz -9484.29 -969.646 109.2723 + +-- Pathing for Entry: 48883 'TDB FORMAT' +SET @NPC := 263867; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9478.011,`position_y`=-956.4583,`position_z`=109.2862 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9478.011,-956.4583,109.2862,0,0,0,0,100,0), +(@PATH,2,-9483.828,-947.7882,109.2862,0,0,0,0,100,0), +(@PATH,3,-9493.745,-946.2916,109.288,0,0,0,0,100,0), +(@PATH,4,-9507.291,-946.875,104.7723,0,0,0,0,100,0), +(@PATH,5,-9527.058,-945.5486,104.7723,0,0,0,0,100,0), +(@PATH,6,-9549.873,-945.8264,100.3798,0,0,0,0,100,0), +(@PATH,7,-9553.707,-951.0538,100.3798,0,0,0,0,100,0), +(@PATH,8,-9555.106,-961.9149,100.3798,0,0,0,0,100,0), +(@PATH,9,-9552.356,-965.5,100.3798,0,0,0,0,100,0), +(@PATH,10,-9544.797,-967.2292,101.4913,0,0,0,0,100,0), +(@PATH,11,-9531.134,-967.6788,104.7574,0,0,0,0,100,0), +(@PATH,12,-9513.389,-968.243,104.7574,0,0,0,0,100,0), +(@PATH,13,-9500.127,-969.6476,107.0643,0,0,0,0,100,0), +(@PATH,14,-9488.435,-969.3143,109.2723,0,0,0,0,100,0), +(@PATH,15,-9479.194,-964.6597,109.2862,0,0,0,0,100,0); +-- 0x2030A400202FBCC000003B0000176451 .go xyz -9478.011 -956.4583 109.2862 +-- light trash npc's (level 85, normal rank) +UPDATE `creature_template` SET `DamageModifier`= 8, `BaseVariance`= 0.5, `mingold`= 5000, `maxgold`= 9000 WHERE `entry` IN (48842, 49125); + +-- generic trash npc's (level 85, elite rank) +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5, `mingold`= 5000, `maxgold`= 9000 WHERE `entry` IN (48851, 48942, 48967, 48968, 48973, 48981, 48985, 49059, 49130, 49184, 49186, 49164); +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5, `mingold`= 3000, `maxgold`= 6000 WHERE `entry` IN (49126, 49174); +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5, `mingold`= 10000, `maxgold`= 13000 WHERE `entry` IN (49155, 49160); +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `DamageModifier`= 60, `BaseVariance`= 0.5, `mingold`= 3000, `maxgold`= 6000 WHERE `entry` IN (49187, 48988, 48919); +-- Gust Soldier +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45478 WHERE `entry`= 45477; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 1.55556, `unit_flags`= 32832 WHERE `entry`= 45478; +-- Wild Vortex +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45913 WHERE `entry`= 45912; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 1.55556, `unit_flags`= 32832, `unit_class`= 2 WHERE `entry`= 45913; +-- Armored Mistral +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45916 WHERE `entry`= 45915; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_run`= 0.595239, `unit_flags`= 32832, `modelid1`= 33828 WHERE `entry`= 45916; +-- Lurking Tempest +UPDATE `creature_template` SET `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 46450 WHERE `entry`= 45704; +UPDATE `creature_template` SET `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 14, `speed_walk`= 1.6, `speed_run`= 0.571429, `unit_flags`= 32832, `unit_flags2`= 0 WHERE `entry`= 46450; +-- Cloud Prince +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45918 WHERE `entry`= 45917; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 1.55556, `unit_flags`= 32832, `unit_class`= 2 WHERE `entry`= 45918; +-- Turbolent Squall +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45925 WHERE `entry`= 45924; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 1.55556, `unit_flags`= 32832, `unit_class`= 2 WHERE `entry`= 45925; +-- Empyrian Assassin +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45923 WHERE `entry`= 45922; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `unit_flags`= 32832 WHERE `entry`= 45923; +-- Young Storm Dragon +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45920 WHERE `entry`= 45919; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 1.6, `unit_flags`= 32832, `InhabitType`= 7 WHERE `entry`= 45920; +-- Executor of the Caliph +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45929 WHERE `entry`= 45928; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 0.666668, `unit_flags`= 32832 WHERE `entry`= 45929; +-- Minister of Air +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45931 WHERE `entry`= 45930; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 0.666668, `unit_flags`= 32832, `unit_class`= 8 WHERE `entry`= 45931; +-- Temple Adept +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45936 WHERE `entry`= 45935; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 0.666668, `unit_flags`= 32832, `unit_class`= 2 WHERE `entry`= 45936; +-- Servant of Asaad +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 15, `BaseVariance`= 0.5, `difficulty_entry_1`= 45927 WHERE `entry`= 45926; +UPDATE `creature_template` SET `mingold`= 7000, `maxgold`= 13000, `DamageModifier`= 30, `BaseVariance`= 0.5, `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 0.666668, `unit_flags`= 32832, `unit_class`= 2 WHERE `entry`= 45927; +-- Skyfall Star +UPDATE `creature_template` SET `difficulty_entry_1`= 45933 WHERE `entry`= 45932; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85,`exp`= 3, `faction`= 16, `speed_walk`= 0.8, `speed_run`= 0.285714, `unit_flags`= 32832, `unit_flags2`= 0, `InhabitType`= 7 WHERE `entry`= 45933; +DELETE FROM `gossip_menu_option` WHERE `MenuId`=1291; +INSERT INTO `gossip_menu_option` (`MenuId`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextId`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `VerifiedBuild`) VALUES +(1291, 3, 1, 'I want to browse your goods.', 2823, 3, 128, 0, 28153), +(1291, 2, 5, 'Make this inn your home.', 2822, 8, 65536, 0, 28153), +(1291, 1, 0, 'What can I do at an inn?', 4308, 1, 1, 1221, 28153); +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_rog_glyph_of_hemorrhage', +'spell_rog_honor_among_thieves'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(56807, 'spell_rog_glyph_of_hemorrhage'), +(-51698, 'spell_rog_honor_among_thieves'); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (56807, 51698, 51700, 51701, -51698); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(56807, 8, 0x02000000, 0, 0, 0x00000010, 1, 2, 0, 0, 0, 0, 100), +(-51698, 0, 0, 0, 0, 0x00055110, 1, 2, 2, 0, 2000, 0, 0); +DELETE FROM `spell_proc` WHERE `SpellId` IN (-51632); +INSERT INTO `spell_proc` (`SpellId`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `Cooldown`, `Charges`, `Chance`) VALUES +(-51632, 8, 0x00000200 | 0x00000100 | 0x00000400, 0, 0, 0, 1 | 4, 2, 0, 0, 0, 0, 0); +UPDATE `spelleffect_dbc` SET `EffectApplyAuraName`= 230, `EffectMiscValue`= 0 WHERE `EffectSpellId`= 35657 AND `EffectIndex`= 0; +UPDATE `spelleffect_dbc` SET `EffectApplyAuraName`= 35, `EffectMiscValue`= 0 WHERE `EffectSpellId`= 35658 AND `EffectIndex`= 0; +UPDATE `creature_template` SET `modelid2`= 0 WHERE `entry`= 510; +-- Voidwalker +UPDATE `pet_levelstats` SET `hp`= 43285, `mana`= 23422, `armor`= 27943, `str`= 453, `agi`= 883, `sta`= 353, `inte`= 159, `spi`= 225 WHERE `creature_entry`= 1860 AND `level`= 85; +UPDATE `pet_levelstats` SET `hp`= 35908, `mana`= 19537, `armor`= 24957, `str`= 420, `agi`= 737, `sta`= 348, `inte`= 157, `spi`= 222 WHERE `creature_entry`= 1860 AND `level`= 84; +UPDATE `pet_levelstats` SET `hp`= 28531, `mana`= 15652, `armor`= 21970, `str`= 395, `agi`= 590, `sta`= 343, `inte`= 155, `spi`= 219 WHERE `creature_entry`= 1860 AND `level`= 83; +UPDATE `pet_levelstats` SET `hp`= 21155, `mana`= 11767, `armor`= 18984, `str`= 370, `agi`= 444, `sta`= 338, `inte`= 153, `spi`= 215 WHERE `creature_entry`= 1860 AND `level`= 82; +UPDATE `pet_levelstats` SET `hp`= 13778, `mana`= 7882, `armor`= 15997, `str`= 345, `agi`= 297, `sta`= 333, `inte`= 151, `spi`= 212 WHERE `creature_entry`= 1860 AND `level`= 81; + +-- Doomguard, Felhunter, Succubus and Imp +UPDATE `pet_levelstats` SET `hp`= 43285, `mana`= 23422, `armor`= 16083, `str`= 453, `agi`= 883, `sta`= 353, `inte`= 159, `spi`= 225 WHERE `creature_entry` IN (1863, 17252, 417, 416) AND `level`= 85; +UPDATE `pet_levelstats` SET `hp`= 35908, `mana`= 19537, `armor`= 15469, `str`= 420, `agi`= 737, `sta`= 348, `inte`= 157, `spi`= 222 WHERE `creature_entry` IN (1863, 17252, 417, 416) AND `level`= 84; +UPDATE `pet_levelstats` SET `hp`= 28531, `mana`= 15652, `armor`= 14854, `str`= 395, `agi`= 590, `sta`= 343, `inte`= 155, `spi`= 219 WHERE `creature_entry` IN (1863, 17252, 417, 416) AND `level`= 83; +UPDATE `pet_levelstats` SET `hp`= 21155, `mana`= 11767, `armor`= 14240, `str`= 370, `agi`= 444, `sta`= 338, `inte`= 153, `spi`= 215 WHERE `creature_entry` IN (1863, 17252, 417, 416) AND `level`= 82; +UPDATE `pet_levelstats` SET `hp`= 13778, `mana`= 7882, `armor`= 13625, `str`= 345, `agi`= 297, `sta`= 333, `inte`= 151, `spi`= 212 WHERE `creature_entry` IN (1863, 17252, 417, 416) AND `level`= 81; +UPDATE `player_xp_for_level` SET `Experience`= 813000 WHERE `Level`= 70; +UPDATE `player_xp_for_level` SET `Experience`= 821000 WHERE `Level`= 71; +UPDATE `player_xp_for_level` SET `Experience`= 830000 WHERE `Level`= 72; +UPDATE `player_xp_for_level` SET `Experience`= 838000 WHERE `Level`= 73; +UPDATE `player_xp_for_level` SET `Experience`= 847000 WHERE `Level`= 74; +UPDATE `player_xp_for_level` SET `Experience`= 855000 WHERE `Level`= 75; +UPDATE `player_xp_for_level` SET `Experience`= 865000 WHERE `Level`= 76; +UPDATE `player_xp_for_level` SET `Experience`= 873000 WHERE `Level`= 77; +UPDATE `player_xp_for_level` SET `Experience`= 882000 WHERE `Level`= 78; +UPDATE `player_xp_for_level` SET `Experience`= 891000 WHERE `Level`= 79; +DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sc_ring_wyrm_knockback'; + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(81235, 'spell_sc_ring_wyrm_knockback'); +-- Add Venomtip visual aura to Venomtip Needler +DELETE FROM `creature_template_addon` WHERE `entry` IN (52379); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(52379, '96912'); + +-- Remove Poison Cloud aura from toxic plants to handle them via instance script and turn them passive +UPDATE `creature_template` SET `flags_extra`= 2 WHERE `entry` IN (52332, 52331); +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry` IN (52332, 52331); + +-- Update Venomtip Needler and Florawing Needler random movement +UPDATE `creature` SET `MovementType`= 1, `spawndist`= 7 WHERE `id` IN (52379, 52377); + +-- Set ready 1h emote for entrance Siame-Quashi +DELETE FROM `creature_addon` WHERE `guid` IN (295169, 295167, 295172, 295174); +INSERT INTO `creature_addon` (`guid`, `bytes2`, `emote`) VALUES +(295169, 1, 333), +(295167, 1, 333), +(295172, 1, 333), +(295174, 1, 333); + +-- Zanzil's Cauldron of Toxic Torment +UPDATE `creature_template` SET `unit_flags`= 0x200 WHERE `entry`= 52529; +UPDATE `creature_template_addon` SET `auras`= '' WHERE `entry`= 52529; + +DELETE FROM `creature_text` WHERE `CreatureID`= 52380; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(52380, 0, 0, 'Mauri\'s death removes the protections from a nearby cauldron!', 41, 0, 100, 0, 0, 0, 51367, 'Venomancer Mauri - Death'); + +-- Creature Venomancer Mauri 52380 +SET @ENTRY := 52380; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 65, `mechanic_immune_mask`= 16 | 65536 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, 1, 25, 0, 100, 0, 0, 0, 0, 0, 86, 96937, 0, 10, 295158, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - SMART_TARGET_CREATURE_GUID: Cast spell 96937 at Self // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 86, 96936, 0, 10, 295157, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - SMART_TARGET_CREATURE_GUID: Cast spell 96936 at Self // "), +(@ENTRY, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 18, 33554432, 0, 0, 0, 0, 0, 10, 295156, 0, 0, 0, 0, 0, 0, " Linked - Creature Zanzil's Cauldron of Toxic Torment 52529 (295156): Set UNIT_FLAGS to UNIT_FLAG_NOT_SELECTABLE // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 86, 97122, 0, 10, 295156, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - SMART_TARGET_CREATURE_GUID: Cast spell 97122 at Self // "), +(@ENTRY, 0, 4, 5, 6, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On death - Self: Talk 0 // "), +(@ENTRY, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 19, 33554432, 0, 0, 0, 0, 0, 10, 295156, 0, 0, 0, 0, 0, 0, " Linked - Creature Zanzil's Cauldron of Toxic Torment 52529 (295156): Remove UNIT_FLAGS to UNIT_FLAG_NOT_SELECTABLE // "), +(@ENTRY, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 97122, 0, 0, 0, 0, 0, 10, 295156, 0, 0, 0, 0, 0, 0, " Linked - Creature Zanzil's Cauldron of Toxic Torment 52529 (295156): Remove aura due to spell 97122 // "), +(@ENTRY, 0, 7, 8, 4, 0, 100, 0, 0, 0, 0, 0, 28, 96936, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Remove aura due to spell 96936 // "), +(@ENTRY, 0, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 96937, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Remove aura due to spell 96937 // "), +(@ENTRY, 0, 9, 0, 0, 0, 100, 0, 4000, 4000, 7000, 7000, 11, 96918, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 4000 ms (and later repeats every 7000 and 7000 ms) - Self: Cast spell 96918 on Victim // "), +(@ENTRY, 0, 10, 0, 0, 0, 100, 0, 7000, 7000, 9000, 9000, 11, 96466, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 9000 and 9000 ms) - Self: Cast spell 96466 on Random hostile // "); + +DELETE FROM `creature_text` WHERE `CreatureID`= 52381; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(52381, 0, 0, 'I\'m gonna turn ya\' blood ta venom!', 12, 0, 100, 0, 0, 0, 51221, 'Venomancer T\'Kulu - Aggro'), +(52381, 1, 0, 'T\'kulu\'s death removes the protections from a nearby cauldron!', 41, 0, 100, 0, 0, 0, 51368, 'Venomancer T\'Kulu - Death'); + +-- Creature Venomancer T'Kulu 52381 +SET @ENTRY := 52381; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 65, `mechanic_immune_mask`= 16 | 65536 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, 1, 25, 0, 100, 0, 0, 0, 0, 0, 86, 96937, 0, 10, 295004, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - SMART_TARGET_CREATURE_GUID: Cast spell 96937 at Self // "), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 86, 96936, 0, 10, 295002, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - SMART_TARGET_CREATURE_GUID: Cast spell 96936 at Self // "), +(@ENTRY, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 18, 33554432, 0, 0, 0, 0, 0, 10, 295003, 0, 0, 0, 0, 0, 0, " Linked - Creature Zanzil's Cauldron of Toxic Torment 52529 (295003): Set UNIT_FLAGS to UNIT_FLAG_NOT_SELECTABLE // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 86, 97122, 0, 10, 295003, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - SMART_TARGET_CREATURE_GUID: Cast spell 97122 at Self // "), +(@ENTRY, 0, 4, 5, 6, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On death - Self: Talk 1 // "), +(@ENTRY, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 19, 33554432, 0, 0, 0, 0, 0, 10, 295003, 0, 0, 0, 0, 0, 0, " Linked - Creature Zanzil's Cauldron of Toxic Torment 52529 (295003): Remove UNIT_FLAGS to UNIT_FLAG_NOT_SELECTABLE // "), +(@ENTRY, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 97122, 0, 0, 0, 0, 0, 10, 295003, 0, 0, 0, 0, 0, 0, " Linked - Creature Zanzil's Cauldron of Toxic Torment 52529 (295003): Remove aura due to spell 97122 // "), +(@ENTRY, 0, 7, 8, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On aggro - Self: Talk 0 // "), +(@ENTRY, 0, 8, 9, 61, 0, 100, 0, 0, 0, 0, 0, 28, 96936, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Remove aura due to spell 96936 // "), +(@ENTRY, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 96937, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Remove aura due to spell 96937 // "), +(@ENTRY, 0, 10, 0, 0, 0, 100, 0, 4000, 4000, 6000, 6000, 11, 96918, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 4000 ms (and later repeats every 6000 and 6000 ms) - Self: Cast spell 96918 on Victim // "), +(@ENTRY, 0, 11, 0, 0, 0, 100, 0, 7000, 7000, 14000, 14000, 11, 96475, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 7000 and 7000 ms (and later repeats every 14000 and 14000 ms) - Self: Cast spell 96475 on Self // "); +-- Template Updates +-- Zanzil +UPDATE `creature_template` SET `DamageModifier`= 65, `mechanic_immune_mask`= 80297855, `mingold`= 20000, `maxgold`= 22500 WHERE `entry`= 52053; +-- Zanzil's Toxic Gas +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 4196352, `flags_extra`= 128 WHERE `entry`= 52062; +-- Zanzili Berserker +UPDATE `creature_template` SET `ScriptName`= 'npc_zanzil_zanzili_berserker', `DamageModifier`= 65, `mechanic_immune_mask`= 1 | 2 | 4 | 8 | 16 | 32 | 64 | 256 | 4096 | 8192 | 65536 | 131072 | 33554432 | 8388608 | 2048 , `flags_extra`= 256 | 1073741824 WHERE `entry`= 52054; +-- Zanzili Zombie +UPDATE `creature_template` SET `DamageModifier`= 10 WHERE `entry`= 52055; + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_zanzil_zanzili_fire', +'spell_zanzil_zanzils_resurrection_elixir', +'spell_zanzil_zanzils_resurrection_elixir_red_script', +'spell_zanzil_zanzils_graveyard_gas', +'spell_zanzil_frostburn_formula'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(96914, 'spell_zanzil_zanzili_fire'), +(96316, 'spell_zanzil_zanzils_resurrection_elixir'), +(96319, 'spell_zanzil_zanzils_resurrection_elixir'), +(96470, 'spell_zanzil_zanzils_resurrection_elixir_red_script'), +(96339, 'spell_zanzil_zanzils_graveyard_gas'), +(96325, 'spell_zanzil_frostburn_formula'); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (96317, 96316, 96319, 96470, 96339) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 96317, 0, 0, 31, 0, 3, 52054, 0, 0, 0, '', 'Zanzil''s Resurrection Elixir - Target Zanzili Berserker'), +(13, 1, 96470, 0, 0, 31, 0, 3, 52055, 0, 0, 0, '', 'Zanzil''s Resurrection Elixir - Target Zanzili Zombie'), +(13, 1, 96339, 0, 0, 31, 0, 3, 52062, 0, 0, 0, '', 'Zanzil''s Graveyard Gas - Target Zanzil''s Toxic Gas'); + +-- Template Addons +UPDATE `creature_template_addon` SET `aiAnimKit`= 1288 WHERE `entry`= 52055; +UPDATE `creature_template_addon` SET `aiAnimKit`= 1293 WHERE `entry`= 52054; + +-- Delete encounter related creatures +DELETE FROM `creature` WHERE `guid` IN (294874, 295332, 335931, 335932, 335933, 335934, 335935, 335936, 335940, 335941, 335943, 335944, 335945, 335946, 335947, 335948, 335949, 335950, 335951, 335952, 335953, 335954, 335955, 335956, 335957, 335958, 335959, 335960, 335962, 335963, 335964, 335965, 335966, 335967, 335968, 335969, 335970, 335971, 335972, 335973, 335974, 335975, 335976, 335977, 335980, 335981, 335982, 335983, 335984, 335985, 335986, 335987, 335988, 335989, 335990, 335991, 335996, 335979, 335978, 295120, 295121, 295122, 295123, 295124, 295125, 295126, 295127, 295128, 295129, 295130, 295131, 295132, 295133, 295134, 295135, 295136, 295137, 295138, 295143, 295144, 295145); + +DELETE FROM `creature_addon` WHERE `guid` IN (294874, 295332, 335931, 335932, 335933, 335934, 335935, 335936, 335940, 335941, 335943, 335944, 335945, 335946, 335947, 335948, 335949, 335950, 335951, 335952, 335953, 335954, 335955, 335956, 335957, 335958, 335959, 335960, 335962, 335963, 335964, 335965, 335966, 335967, 335968, 335969, 335970, 335971, 335972, 335973, 335974, 335975, 335976, 335977, 335980, 335981, 335982, 335983, 335984, 335985, 335986, 335987, 335988, 335989, 335990, 335991, 335996, 335979, 335978, 295120, 295121, 295122, 295123, 295124, 295125, 295126, 295127, 295128, 295129, 295130, 295131, 295132, 295133, 295134, 295135, 295136, 295137, 295138, 295143, 295144, 295145); + +-- Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id`= 52053; +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(52053, 395, 7000); + +DELETE FROM `creature_loot_template` WHERE `Entry`= 52053; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MaxCount`) VALUES +(52053, 520530, 100, 1, 520530, 1); + +DELETE FROM `reference_loot_template` WHERE `Entry`= 520530; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(520530, 69618, 0, 1, 1, 1, 1), +(520530, 69617, 0, 1, 1, 1, 1), +(520530, 69616, 0, 1, 1, 1, 1), +(520530, 69619, 0, 1, 1, 1, 1), +(520530, 69615, 0, 1, 1, 1, 1); + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID` IN (52053, 52054); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +-- Zanzil +(52053, 0, 0, 'What? You\'ve come to laugh at Zanzil, too? Not again! I\'ll make you pay!', 14, 0, 100, 0, 0, 24337, 51935, 'Zanzil - Aggro'), +(52053, 1, 0, '%s begins to resurrect a swarm of |cFFCC0000Zanzili Zombies|r!', 41, 0, 100, 0, 0, 0, 50877, 'Zanzil - Announce Zanzili Zombies'), +(52053, 2, 0, 'Rise up! Zanzil\'s elixir gives you life!', 14, 0, 100, 0, 0, 24352, 51942, 'Zanzil - Zanzili Zombies 1'), +(52053, 2, 1, 'Who needs friends? Zanzil just makes his own! ', 14, 0, 100, 0, 0, 24351, 51941, 'Zanzil - Zanzili Zombies 2'), +(52053, 3, 0, '%s fills the area with a |cFF33FF00toxic gas|r!', 41, 0, 100, 0, 0, 0, 50878, 'Zanzil to Zanzil - Announce Graveyard Gas'), +(52053, 4, 0, 'Breathe deep, friends! Breathe it all in!', 14, 0, 100, 0, 0, 24341, 51944, 'Zanzil to Zanzil - Graveyard Gas'), +(52053, 5, 0, '%s begins to resurrect a |cFF3366CCZanzili Berserker|r!', 41, 0, 100, 0, 0, 0, 50876, 'Zanzil - Announce Zanzili Berserker'), +(52053, 6, 0, 'Maybe you need someone bigger to play with!', 14, 0, 100, 0, 0, 24349, 51939, 'Zanzil - Zanzili Berserker 1'), +(52053, 6, 1, 'Go, little one! Fight them! KILL THEM!', 14, 0, 100, 0, 0, 24350, 51940, 'Zanzil - Zanzili Berserker 2'), +(52053, 7, 0, 'Don''t worry. Zanzil won''t leave you dead for long...', 14, 0, 100, 0, 0, 24342, 51936, 'Zanzil - Slay 1'), +(52053, 7, 1, 'How does that taste?', 14, 0, 100, 0, 0, 24343, 51937, 'Zanzil - Slay 2'), +(52053, 7, 2, 'Oooh, pretty... Zanzil''s got big plans for this one...', 14, 0, 100, 0, 0, 24344, 51938, 'Zanzil - Slay 3'), +(52053, 8, 0, 'You\'ll all suffer for this! Zul\'Gurub is NOTHING without Zan... Zan...', 14, 0, 100, 0, 0, 24338, 51945, 'Zanzil - Death'), +-- Zanzili Berserker +(52054, 0, 0, '%s is chasing you. Run!', 42, 0, 100, 0, 0, 0, 36529, 'Zanzili Berserker - Whisper Pursuit'), +(52054, 1, 0, '%s is chasing $n.', 16, 0, 100, 0, 0, 0, 36530, 'Zanzili Berserker - Announce Pursuit'); + +-- Summon Groups +DELETE FROM `creature_summon_groups` WHERE `summonerId`= 52053 AND `summonerType`= 0; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +-- Zanzili Zombies 1 +(52053, 0, 0, 52055, -11538.6, -1254.12, 79.2066, 0, 6, 4000), +(52053, 0, 0, 52055, -11535.5, -1257.36, 79.5052, 0, 6, 4000), +(52053, 0, 0, 52055, -11540.8, -1253.51, 78.9323, 0, 6, 4000), +(52053, 0, 0, 52055, -11536.4, -1261.72, 79.4727, 0, 6, 4000), +(52053, 0, 0, 52055, -11540.7, -1260.35, 79.0832, 0, 6, 4000), +(52053, 0, 0, 52055, -11544.3, -1258.24, 78.474, 0, 6, 4000), +(52053, 0, 0, 52055, -11534.9, -1261.8, 79.632, 0, 6, 4000), +(52053, 0, 0, 52055, -11542.8, -1256.29, 79.0399, 0, 6, 4000), +(52053, 0, 0, 52055, -11534.2, -1258.53, 79.507, 0, 6, 4000), +(52053, 0, 0, 52055, -11538.7, -1258.52, 79.091, 0, 6, 4000), +(52053, 0, 0, 52055, -11537.8, -1264.41, 79.3455, 0, 6, 4000), +(52053, 0, 0, 52055, -11541, -1264.2, 78.9616, 0, 6, 4000), +(52053, 0, 0, 52055, -11546.4, -1260.98, 78.2899, 0, 6, 4000), +(52053, 0, 0, 52055, -11544.3, -1262.48, 78.4120, 0, 6, 4000), +-- Zanzili Zombies 2 +(52053, 0, 1, 52055, -11584.4, -1258.12, 77.8612, 0, 6, 4000), +(52053, 0, 1, 52055, -11588.2, -1254.84, 77.6245, 0, 6, 4000), +(52053, 0, 1, 52055, -11590.2, -1256.68, 77.6088, 0, 6, 4000), +(52053, 0, 1, 52055, -11585, -1253.69, 77.9192, 0, 6, 4000), +(52053, 0, 1, 52055, -11587.3, -1260.73, 77.5984, 0, 6, 4000), +(52053, 0, 1, 52055, -11585.9, -1258.05, 77.7285, 0, 6, 4000), +(52053, 0, 1, 52055, -11583.7, -1254.85, 78.0329, 0, 6, 4000), +(52053, 0, 1, 52055, -11593.8, -1258.81, 77.8374, 0, 6, 4000), +(52053, 0, 1, 52055, -11593.8, -1254.56, 77.9005, 0, 6, 4000), +(52053, 0, 1, 52055, -11592.3, -1252.61, 77.6953, 0, 6, 4000), +(52053, 0, 1, 52055, -11590.5, -1260.52, 77.595, 0, 6, 4000), +(52053, 0, 1, 52055, -11590.3, -1249.84, 77.8057, 0, 6, 4000), +(52053, 0, 1, 52055, -11596, -1257.31, 78.4782, 0, 6, 4000), +(52053, 0, 1, 52055, -11588.1, -1250.44, 77.8582, 0, 6, 4000), +-- Zanzili Zombies 3 +(52053, 0, 2, 52055, -11586.5, -1327.73, 78.651, 0, 6, 4000), +(52053, 0, 2, 52055, -11588.7, -1327.12, 78.3854, 0, 6, 4000), +(52053, 0, 2, 52055, -11592.2, -1331.85, 78.3594, 0, 6, 4000), +(52053, 0, 2, 52055, -11586.6, -1332.13, 79.1948, 0, 6, 4000), +(52053, 0, 2, 52055, -11590.7, -1329.9, 78.3559, 0, 6, 4000), +(52053, 0, 2, 52055, -11583.4, -1330.97, 79.5243, 0, 6, 4000), +(52053, 0, 2, 52055, -11582.1, -1332.14, 79.9445, 0, 6, 4000), +(52053, 0, 2, 52055, -11588.6, -1333.96, 80.1995, 0, 6, 4000), +(52053, 0, 2, 52055, -11594.4, -1334.59, 78.2969, 0, 6, 4000), +(52053, 0, 2, 52055, -11588.9, -1337.81, 79.7257, 0, 6, 4000), +(52053, 0, 2, 52055, -11582.8, -1335.41, 80.3524, 0, 6, 4000), +(52053, 0, 2, 52055, -11584.3, -1335.33, 80.191, 0, 6, 4000), +(52053, 0, 2, 52055, -11585.7, -1338.02, 80.3073, 0, 6, 4000), +(52053, 0, 2, 52055, -11592.2, -1336.09, 78.7726, 0, 6, 4000), +-- Zanzili Zombies 4 +(52053, 0, 3, 52055, -11618.1, -1311.61, 78.6514, 0, 6, 4000), +(52053, 0, 3, 52055, -11614.7, -1312.7, 79.0384, 0, 6, 4000), +(52053, 0, 3, 52055, -11616.9, -1313.22, 78.6516, 0, 6, 4000), +(52053, 0, 3, 52055, -11620.2, -1314.36, 78.2763, 0, 6, 4000), +(52053, 0, 3, 52055, -11611.5, -1314.75, 78.4497, 0, 6, 4000), +(52053, 0, 3, 52055, -11614.1, -1314.81, 78.545, 0, 6, 4000), +(52053, 0, 3, 52055, -11615.5, -1315.01, 78.537, 0, 6, 4000), +(52053, 0, 3, 52055, -11618.6, -1315.94, 78.3023, 0, 6, 4000), +(52053, 0, 3, 52055, -11622, -1316.31, 77.951, 0, 6, 4000), +(52053, 0, 3, 52055, -11617.5, -1317.2, 78.6535, 0, 6, 4000), +(52053, 0, 3, 52055, -11614.4, -1317.85, 78.3475, 0, 6, 4000), +(52053, 0, 3, 52055, -11620.8, -1318.51, 78.0817, 0, 6, 4000), +(52053, 0, 3, 52055, -11621.9, -1320.01, 78.0138, 0, 6, 4000), +(52053, 0, 3, 52055, -11617.4, -1320.57, 79.0296, 0, 6, 4000), +-- Zanzil's Toxic Gas +(52053, 0, 4, 52062, -11623.7, -1355.4, 82.2363, 0.942478, 8, 0), +(52053, 0, 4, 52062, -11607.4, -1220.11, 87.6618, 5.18363, 8, 0), +(52053, 0, 4, 52062, -11626.5, -1357.79, 86.3576, 0.907571, 8, 0), +(52053, 0, 4, 52062, -11536.6, -1225.1, 81.7799, 4.18879, 8, 0), +(52053, 0, 4, 52062, -11537.2, -1223.78, 85.8028, 4.2237, 8, 0), +(52053, 0, 4, 52062, -11625.2, -1278.44, 87.4016, 6.0912, 8, 0), +(52053, 0, 4, 52062, -11609.9, -1222.7, 87.919, 5.20108, 8, 0), +(52053, 0, 4, 52062, -11532.1, -1294.95, 87.5052, 2.32129, 8, 0), +(52053, 0, 4, 52062, -11607.4, -1223.03, 84.6856, 5.20108, 8, 0), +(52053, 0, 4, 52062, -11627.2, -1354.4, 86.699, 0.872665, 8, 0), +(52053, 0, 4, 52062, -11529.5, -1256.81, 83.3696, 3.76991, 8, 0), +(52053, 0, 4, 52062, -11623.1, -1276.96, 83.8367, 6.05629, 8, 0), +(52053, 0, 4, 52062, -11529.4, -1292.84, 87.3956, 2.3911, 8, 0), +(52053, 0, 4, 52062, -11534.7, -1225.67, 85.6265, 3.78736, 8, 0), +(52053, 0, 4, 52062, -11529.3, -1254.09, 87.5675, 3.94444, 8, 0), +(52053, 0, 4, 52062, -11624.9, -1275.04, 87.3894, 6.03884, 8, 0), +(52053, 0, 4, 52062, -11573, -1272.29, 77.6361, 0, 8, 0), +(52053, 0, 4, 52062, -11531.4, -1292.22, 83.7441, 2.32129, 8, 0), +(52053, 0, 4, 52062, -11526.5, -1256.37, 87.4362, 3.87463, 8, 0), +(52053, 0, 4, 52062, -11564.2, -1258.8, 78.7486, 0, 8, 0), +(52053, 0, 4, 52062, -11570.5, -1313.09, 79.3255, 0, 8, 0), +(52053, 0, 4, 52062, -11612.7, -1283.43, 78.4788, 0, 8, 0); +/* +############################## +### MOUNT HYJAL ############## +############################## +*/ + +DELETE FROM `quest_poi` WHERE (`QuestID`=27398 AND `id`=4) OR (`QuestID`=27398 AND `id`=3) OR (`QuestID`=27398 AND `id`=2) OR (`QuestID`=27398 AND `id`=1) OR (`QuestID`=27398 AND `id`=0) OR (`QuestID`=25551 AND `id`=2) OR (`QuestID`=25551 AND `id`=1) OR (`QuestID`=25551 AND `id`=0) OR (`QuestID`=25550 AND `id`=2) OR (`QuestID`=25550 AND `id`=1) OR (`QuestID`=25550 AND `id`=0) OR (`QuestID`=25553 AND `id`=2) OR (`QuestID`=25553 AND `id`=1) OR (`QuestID`=25553 AND `id`=0) OR (`QuestID`=25552 AND `id`=2) OR (`QuestID`=25552 AND `id`=1) OR (`QuestID`=25552 AND `id`=0) OR (`QuestID`=25549 AND `id`=4) OR (`QuestID`=25549 AND `id`=3) OR (`QuestID`=25549 AND `id`=2) OR (`QuestID`=25549 AND `id`=1) OR (`QuestID`=25549 AND `id`=0) OR (`QuestID`=25555 AND `id`=2) OR (`QuestID`=25555 AND `id`=1) OR (`QuestID`=25555 AND `id`=0) OR (`QuestID`=25644 AND `id`=1) OR (`QuestID`=25644 AND `id`=0) OR (`QuestID`=25554 AND `id`=4) OR (`QuestID`=25554 AND `id`=3) OR (`QuestID`=25554 AND `id`=2) OR (`QuestID`=25554 AND `id`=1) OR (`QuestID`=25554 AND `id`=0) OR (`QuestID`=25548 AND `id`=3) OR (`QuestID`=25548 AND `id`=2) OR (`QuestID`=25548 AND `id`=1) OR (`QuestID`=25548 AND `id`=0) OR (`QuestID`=25608 AND `id`=6) OR (`QuestID`=25608 AND `id`=5) OR (`QuestID`=25608 AND `id`=4) OR (`QuestID`=25608 AND `id`=3) OR (`QuestID`=25608 AND `id`=2) OR (`QuestID`=25608 AND `id`=1) OR (`QuestID`=25608 AND `id`=0) OR (`QuestID`=25531 AND `id`=1) OR (`QuestID`=25531 AND `id`=0) OR (`QuestID`=25315 AND `id`=2) OR (`QuestID`=25315 AND `id`=1) OR (`QuestID`=25315 AND `id`=0) OR (`QuestID`=25601 AND `id`=1) OR (`QuestID`=25601 AND `id`=0) OR (`QuestID`=25314 AND `id`=2) OR (`QuestID`=25314 AND `id`=1) OR (`QuestID`=25314 AND `id`=0) OR (`QuestID`=25311 AND `id`=2) OR (`QuestID`=25311 AND `id`=1) OR (`QuestID`=25311 AND `id`=0) OR (`QuestID`=25310 AND `id`=2) OR (`QuestID`=25310 AND `id`=1) OR (`QuestID`=25310 AND `id`=0) OR (`QuestID`=25308 AND `id`=2) OR (`QuestID`=25308 AND `id`=1) OR (`QuestID`=25308 AND `id`=0) OR (`QuestID`=25496 AND `id`=2) OR (`QuestID`=25496 AND `id`=1) OR (`QuestID`=25496 AND `id`=0) OR (`QuestID`=25309 AND `id`=2) OR (`QuestID`=25309 AND `id`=1) OR (`QuestID`=25309 AND `id`=0) OR (`QuestID`=25299 AND `id`=2) OR (`QuestID`=25299 AND `id`=1) OR (`QuestID`=25299 AND `id`=0) OR (`QuestID`=25499 AND `id`=2) OR (`QuestID`=25499 AND `id`=1) OR (`QuestID`=25499 AND `id`=0) OR (`QuestID`=25494 AND `id`=2) OR (`QuestID`=25494 AND `id`=1) OR (`QuestID`=25494 AND `id`=0) OR (`QuestID`=25294 AND `id`=7) OR (`QuestID`=25294 AND `id`=6) OR (`QuestID`=25294 AND `id`=5) OR (`QuestID`=25294 AND `id`=4) OR (`QuestID`=25294 AND `id`=3) OR (`QuestID`=25294 AND `id`=2) OR (`QuestID`=25294 AND `id`=1) OR (`QuestID`=25294 AND `id`=0) OR (`QuestID`=25296 AND `id`=3) OR (`QuestID`=25296 AND `id`=2) OR (`QuestID`=25296 AND `id`=1) OR (`QuestID`=25296 AND `id`=0) OR (`QuestID`=25509 AND `id`=3) OR (`QuestID`=25509 AND `id`=2) OR (`QuestID`=25509 AND `id`=1) OR (`QuestID`=25509 AND `id`=0) OR (`QuestID`=25291 AND `id`=1) OR (`QuestID`=25291 AND `id`=0) OR (`QuestID`=25330 AND `id`=3) OR (`QuestID`=25330 AND `id`=2) OR (`QuestID`=25330 AND `id`=1) OR (`QuestID`=25330 AND `id`=0) OR (`QuestID`=25224 AND `id`=2) OR (`QuestID`=25224 AND `id`=1) OR (`QuestID`=25224 AND `id`=0) OR (`QuestID`=25223 AND `id`=2) OR (`QuestID`=25223 AND `id`=1) OR (`QuestID`=25223 AND `id`=0) OR (`QuestID`=25276 AND `id`=1) OR (`QuestID`=25276 AND `id`=0) OR (`QuestID`=25274 AND `id`=2) OR (`QuestID`=25274 AND `id`=1) OR (`QuestID`=25274 AND `id`=0) OR (`QuestID`=25597 AND `id`=1) OR (`QuestID`=25597 AND `id`=0) OR (`QuestID`=25653 AND `id`=1) OR (`QuestID`=25653 AND `id`=0) OR (`QuestID`=25928 AND `id`=1) OR (`QuestID`=25928 AND `id`=0) OR (`QuestID`=25923 AND `id`=2) OR (`QuestID`=25923 AND `id`=1) OR (`QuestID`=25923 AND `id`=0) OR (`QuestID`=25915 AND `id`=5) OR (`QuestID`=25915 AND `id`=4) OR (`QuestID`=25915 AND `id`=3) OR (`QuestID`=25915 AND `id`=2) OR (`QuestID`=25915 AND `id`=1) OR (`QuestID`=25915 AND `id`=0) OR (`QuestID`=25910 AND `id`=4) OR (`QuestID`=25910 AND `id`=3) OR (`QuestID`=25910 AND `id`=2) OR (`QuestID`=25910 AND `id`=1) OR (`QuestID`=25910 AND `id`=0) OR (`QuestID`=25886 AND `id`=4) OR (`QuestID`=25886 AND `id`=3) OR (`QuestID`=25886 AND `id`=2) OR (`QuestID`=25886 AND `id`=1) OR (`QuestID`=25886 AND `id`=0) OR (`QuestID`=25901 AND `id`=3) OR (`QuestID`=25901 AND `id`=2) OR (`QuestID`=25901 AND `id`=1) OR (`QuestID`=25901 AND `id`=0) OR (`QuestID`=25906 AND `id`=1) OR (`QuestID`=25906 AND `id`=0) OR (`QuestID`=25899 AND `id`=4) OR (`QuestID`=25899 AND `id`=3) OR (`QuestID`=25899 AND `id`=2) OR (`QuestID`=25899 AND `id`=1) OR (`QuestID`=25899 AND `id`=0) OR (`QuestID`=25881 AND `id`=3) OR (`QuestID`=25881 AND `id`=2) OR (`QuestID`=25881 AND `id`=1) OR (`QuestID`=25881 AND `id`=0) OR (`QuestID`=25904 AND `id`=2) OR (`QuestID`=25904 AND `id`=1) OR (`QuestID`=25904 AND `id`=0) OR (`QuestID`=29198 AND `id`=10) OR (`QuestID`=29198 AND `id`=9) OR (`QuestID`=29198 AND `id`=8) OR (`QuestID`=29198 AND `id`=7) OR (`QuestID`=29198 AND `id`=6) OR (`QuestID`=29198 AND `id`=5) OR (`QuestID`=29198 AND `id`=4) OR (`QuestID`=29198 AND `id`=3) OR (`QuestID`=29198 AND `id`=2) OR (`QuestID`=29198 AND `id`=1) OR (`QuestID`=29198 AND `id`=0) OR (`QuestID`=29197 AND `id`=7) OR (`QuestID`=29197 AND `id`=6) OR (`QuestID`=29197 AND `id`=5) OR (`QuestID`=29197 AND `id`=4) OR (`QuestID`=29197 AND `id`=3) OR (`QuestID`=29197 AND `id`=2) OR (`QuestID`=29197 AND `id`=1) OR (`QuestID`=29197 AND `id`=0) OR (`QuestID`=29196 AND `id`=8) OR (`QuestID`=29196 AND `id`=7) OR (`QuestID`=29196 AND `id`=6) OR (`QuestID`=29196 AND `id`=5) OR (`QuestID`=29196 AND `id`=4) OR (`QuestID`=29196 AND `id`=3) OR (`QuestID`=29196 AND `id`=2) OR (`QuestID`=29196 AND `id`=1) OR (`QuestID`=29196 AND `id`=0) OR (`QuestID`=29195 AND `id`=10) OR (`QuestID`=29195 AND `id`=9) OR (`QuestID`=29195 AND `id`=8) OR (`QuestID`=29195 AND `id`=7) OR (`QuestID`=29195 AND `id`=6) OR (`QuestID`=29195 AND `id`=5) OR (`QuestID`=29195 AND `id`=4) OR (`QuestID`=29195 AND `id`=3) OR (`QuestID`=29195 AND `id`=2) OR (`QuestID`=29195 AND `id`=1) OR (`QuestID`=29195 AND `id`=0) OR (`QuestID`=29145 AND `id`=4) OR (`QuestID`=29145 AND `id`=3) OR (`QuestID`=29145 AND `id`=2) OR (`QuestID`=29145 AND `id`=1) OR (`QuestID`=29145 AND `id`=0) OR (`QuestID`=29389 AND `id`=2) OR (`QuestID`=29389 AND `id`=1) OR (`QuestID`=29389 AND `id`=0) OR (`QuestID`=25843 AND `id`=2) OR (`QuestID`=25843 AND `id`=1) OR (`QuestID`=25843 AND `id`=0) OR (`QuestID`=25372 AND `id`=1) OR (`QuestID`=25372 AND `id`=0) OR (`QuestID`=25842 AND `id`=2) OR (`QuestID`=25842 AND `id`=1) OR (`QuestID`=25842 AND `id`=0) OR (`QuestID`=25832 AND `id`=1) OR (`QuestID`=25832 AND `id`=0) OR (`QuestID`=25560 AND `id`=2) OR (`QuestID`=25560 AND `id`=1) OR (`QuestID`=25560 AND `id`=0) OR (`QuestID`=25544 AND `id`=2) OR (`QuestID`=25544 AND `id`=1) OR (`QuestID`=25544 AND `id`=0) OR (`QuestID`=25525 AND `id`=2) OR (`QuestID`=25525 AND `id`=1) OR (`QuestID`=25525 AND `id`=0) OR (`QuestID`=25523 AND `id`=1) OR (`QuestID`=25523 AND `id`=0) OR (`QuestID`=25830 AND `id`=1) OR (`QuestID`=25830 AND `id`=0) OR (`QuestID`=25810 AND `id`=1) OR (`QuestID`=25810 AND `id`=0) OR (`QuestID`=25807 AND `id`=2) OR (`QuestID`=25807 AND `id`=1) OR (`QuestID`=25807 AND `id`=0) OR (`QuestID`=25795 AND `id`=1) OR (`QuestID`=25795 AND `id`=0) OR (`QuestID`=25776 AND `id`=2) OR (`QuestID`=25776 AND `id`=1) OR (`QuestID`=25776 AND `id`=0) OR (`QuestID`=25764 AND `id`=2) OR (`QuestID`=25764 AND `id`=1) OR (`QuestID`=25764 AND `id`=0) OR (`QuestID`=25761 AND `id`=3) OR (`QuestID`=25761 AND `id`=2) OR (`QuestID`=25761 AND `id`=1) OR (`QuestID`=25761 AND `id`=0) OR (`QuestID`=25763 AND `id`=1) OR (`QuestID`=25763 AND `id`=0) OR (`QuestID`=25758 AND `id`=3) OR (`QuestID`=25758 AND `id`=2) OR (`QuestID`=25758 AND `id`=1) OR (`QuestID`=25758 AND `id`=0) OR (`QuestID`=25746 AND `id`=3) OR (`QuestID`=25746 AND `id`=2) OR (`QuestID`=25746 AND `id`=1) OR (`QuestID`=25746 AND `id`=0) OR (`QuestID`=25520 AND `id`=1) OR (`QuestID`=25520 AND `id`=0) OR (`QuestID`=25519 AND `id`=2) OR (`QuestID`=25519 AND `id`=1) OR (`QuestID`=25519 AND `id`=0) OR (`QuestID`=25514 AND `id`=3) OR (`QuestID`=25514 AND `id`=2) OR (`QuestID`=25514 AND `id`=1) OR (`QuestID`=25514 AND `id`=0) OR (`QuestID`=25510 AND `id`=1) OR (`QuestID`=25510 AND `id`=0) OR (`QuestID`=25502 AND `id`=5) OR (`QuestID`=25502 AND `id`=4) OR (`QuestID`=25502 AND `id`=3) OR (`QuestID`=25502 AND `id`=2) OR (`QuestID`=25502 AND `id`=1) OR (`QuestID`=25502 AND `id`=0) OR (`QuestID`=25507 AND `id`=2) OR (`QuestID`=25507 AND `id`=1) OR (`QuestID`=25507 AND `id`=0) OR (`QuestID`=25492 AND `id`=2) OR (`QuestID`=25492 AND `id`=1) OR (`QuestID`=25492 AND `id`=0) OR (`QuestID`=25493 AND `id`=7) OR (`QuestID`=25493 AND `id`=6) OR (`QuestID`=25493 AND `id`=5) OR (`QuestID`=25493 AND `id`=4) OR (`QuestID`=25493 AND `id`=3) OR (`QuestID`=25493 AND `id`=2) OR (`QuestID`=25493 AND `id`=1) OR (`QuestID`=25493 AND `id`=0) OR (`QuestID`=25491 AND `id`=3) OR (`QuestID`=25491 AND `id`=2) OR (`QuestID`=25491 AND `id`=1) OR (`QuestID`=25491 AND `id`=0) OR (`QuestID`=25490 AND `id`=2) OR (`QuestID`=25490 AND `id`=1) OR (`QuestID`=25490 AND `id`=0) OR (`QuestID`=25462 AND `id`=2) OR (`QuestID`=25462 AND `id`=1) OR (`QuestID`=25462 AND `id`=0) OR (`QuestID`=25940 AND `id`=2) OR (`QuestID`=25940 AND `id`=1) OR (`QuestID`=25940 AND `id`=0) OR (`QuestID`=29066 AND `id`=1) OR (`QuestID`=29066 AND `id`=0) OR (`QuestID`=25428 AND `id`=2) OR (`QuestID`=25428 AND `id`=1) OR (`QuestID`=25428 AND `id`=0) OR (`QuestID`=25392 AND `id`=2) OR (`QuestID`=25392 AND `id`=1) OR (`QuestID`=25392 AND `id`=0) OR (`QuestID`=25412 AND `id`=4) OR (`QuestID`=25412 AND `id`=3) OR (`QuestID`=25412 AND `id`=2) OR (`QuestID`=25412 AND `id`=1) OR (`QuestID`=25412 AND `id`=0) OR (`QuestID`=25411 AND `id`=2) OR (`QuestID`=25411 AND `id`=1) OR (`QuestID`=25411 AND `id`=0) OR (`QuestID`=25408 AND `id`=2) OR (`QuestID`=25408 AND `id`=1) OR (`QuestID`=25408 AND `id`=0) OR (`QuestID`=25381 AND `id`=2) OR (`QuestID`=25381 AND `id`=1) OR (`QuestID`=25381 AND `id`=0) OR (`QuestID`=25382 AND `id`=3) OR (`QuestID`=25382 AND `id`=2) OR (`QuestID`=25382 AND `id`=1) OR (`QuestID`=25382 AND `id`=0) OR (`QuestID`=25404 AND `id`=2) OR (`QuestID`=25404 AND `id`=1) OR (`QuestID`=25404 AND `id`=0) OR (`QuestID`=25385 AND `id`=2) OR (`QuestID`=25385 AND `id`=1) OR (`QuestID`=25385 AND `id`=0) OR (`QuestID`=25740 AND `id`=1) OR (`QuestID`=25740 AND `id`=0) OR (`QuestID`=25664 AND `id`=3) OR (`QuestID`=25664 AND `id`=2) OR (`QuestID`=25664 AND `id`=1) OR (`QuestID`=25664 AND `id`=0) OR (`QuestID`=25731 AND `id`=5) OR (`QuestID`=25731 AND `id`=4) OR (`QuestID`=25731 AND `id`=3) OR (`QuestID`=25731 AND `id`=2) OR (`QuestID`=25731 AND `id`=1) OR (`QuestID`=25731 AND `id`=0) OR (`QuestID`=25665 AND `id`=0) OR (`QuestID`=25656 AND `id`=4) OR (`QuestID`=25656 AND `id`=3) OR (`QuestID`=25656 AND `id`=2) OR (`QuestID`=25656 AND `id`=1) OR (`QuestID`=25656 AND `id`=0) OR (`QuestID`=25655 AND `id`=4) OR (`QuestID`=25655 AND `id`=3) OR (`QuestID`=25655 AND `id`=2) OR (`QuestID`=25655 AND `id`=1) OR (`QuestID`=25655 AND `id`=0) OR (`QuestID`=25663 AND `id`=2) OR (`QuestID`=25663 AND `id`=1) OR (`QuestID`=25663 AND `id`=0) OR (`QuestID`=27874 AND `id`=2) OR (`QuestID`=27874 AND `id`=1) OR (`QuestID`=27874 AND `id`=0) OR (`QuestID`=25630 AND `id`=2) OR (`QuestID`=25630 AND `id`=1) OR (`QuestID`=25630 AND `id`=0) OR (`QuestID`=25611 AND `id`=1) OR (`QuestID`=25611 AND `id`=0) OR (`QuestID`=25600 AND `id`=2) OR (`QuestID`=25600 AND `id`=1) OR (`QuestID`=25600 AND `id`=0) OR (`QuestID`=25599 AND `id`=2) OR (`QuestID`=25599 AND `id`=1) OR (`QuestID`=25599 AND `id`=0) OR (`QuestID`=25576 AND `id`=2) OR (`QuestID`=25576 AND `id`=1) OR (`QuestID`=25576 AND `id`=0) OR (`QuestID`=25575 AND `id`=3) OR (`QuestID`=25575 AND `id`=2) OR (`QuestID`=25575 AND `id`=1) OR (`QuestID`=25575 AND `id`=0) OR (`QuestID`=25577 AND `id`=3) OR (`QuestID`=25577 AND `id`=2) OR (`QuestID`=25577 AND `id`=1) OR (`QuestID`=25577 AND `id`=0) OR (`QuestID`=25312 AND `id`=1) OR (`QuestID`=25312 AND `id`=0) OR (`QuestID`=25303 AND `id`=5) OR (`QuestID`=25303 AND `id`=4) OR (`QuestID`=25303 AND `id`=3) OR (`QuestID`=25303 AND `id`=2) OR (`QuestID`=25303 AND `id`=1) OR (`QuestID`=25303 AND `id`=0) OR (`QuestID`=25332 AND `id`=2) OR (`QuestID`=25332 AND `id`=1) OR (`QuestID`=25332 AND `id`=0) OR (`QuestID`=25328 AND `id`=2) OR (`QuestID`=25328 AND `id`=1) OR (`QuestID`=25328 AND `id`=0) OR (`QuestID`=25298 AND `id`=2) OR (`QuestID`=25298 AND `id`=1) OR (`QuestID`=25298 AND `id`=0) OR (`QuestID`=25618 AND `id`=0) OR (`QuestID`=25353 AND `id`=2) OR (`QuestID`=25353 AND `id`=1) OR (`QuestID`=25353 AND `id`=0) OR (`QuestID`=25352 AND `id`=4) OR (`QuestID`=25352 AND `id`=3) OR (`QuestID`=25352 AND `id`=2) OR (`QuestID`=25352 AND `id`=1) OR (`QuestID`=25352 AND `id`=0) OR (`QuestID`=25297 AND `id`=4) OR (`QuestID`=25297 AND `id`=3) OR (`QuestID`=25297 AND `id`=2) OR (`QuestID`=25297 AND `id`=1) OR (`QuestID`=25297 AND `id`=0) OR (`QuestID`=25301 AND `id`=1) OR (`QuestID`=25301 AND `id`=0) OR (`QuestID`=48641 AND `id`=0) OR (`QuestID`=48639 AND `id`=2) OR (`QuestID`=48639 AND `id`=1) OR (`QuestID`=48639 AND `id`=0) OR (`QuestID`=42422 AND `id`=0) OR (`QuestID`=27299 AND `id`=2) OR (`QuestID`=27299 AND `id`=1) OR (`QuestID`=27299 AND `id`=0) OR (`QuestID`=25278 AND `id`=2) OR (`QuestID`=25278 AND `id`=1) OR (`QuestID`=25278 AND `id`=0) OR (`QuestID`=25300 AND `id`=1) OR (`QuestID`=25300 AND `id`=0) OR (`QuestID`=25280 AND `id`=0) OR (`QuestID`=25273 AND `id`=2) OR (`QuestID`=25273 AND `id`=1) OR (`QuestID`=25273 AND `id`=0) OR (`QuestID`=25271 AND `id`=2) OR (`QuestID`=25271 AND `id`=1) OR (`QuestID`=25271 AND `id`=0) OR (`QuestID`=25268 AND `id`=1) OR (`QuestID`=25268 AND `id`=0) OR (`QuestID`=25234 AND `id`=6) OR (`QuestID`=25234 AND `id`=5) OR (`QuestID`=25234 AND `id`=4) OR (`QuestID`=25234 AND `id`=3) OR (`QuestID`=25234 AND `id`=2) OR (`QuestID`=25234 AND `id`=1) OR (`QuestID`=25234 AND `id`=0) OR (`QuestID`=25233 AND `id`=4) OR (`QuestID`=25233 AND `id`=3) OR (`QuestID`=25233 AND `id`=2) OR (`QuestID`=25233 AND `id`=1) OR (`QuestID`=25233 AND `id`=0) OR (`QuestID`=25255 AND `id`=3) OR (`QuestID`=25255 AND `id`=2) OR (`QuestID`=25255 AND `id`=1) OR (`QuestID`=25255 AND `id`=0) OR (`QuestID`=25584 AND `id`=1) OR (`QuestID`=25584 AND `id`=0) OR (`QuestID`=25578 AND `id`=1) OR (`QuestID`=25578 AND `id`=0) OR (`QuestID`=25325 AND `id`=2) OR (`QuestID`=25325 AND `id`=1) OR (`QuestID`=25325 AND `id`=0) OR (`QuestID`=25324 AND `id`=1) OR (`QuestID`=25324 AND `id`=0) OR (`QuestID`=25424 AND `id`=1) OR (`QuestID`=25424 AND `id`=0) OR (`QuestID`=25321 AND `id`=2) OR (`QuestID`=25321 AND `id`=1) OR (`QuestID`=25321 AND `id`=0) OR (`QuestID`=25320 AND `id`=1) OR (`QuestID`=25320 AND `id`=0) OR (`QuestID`=25430 AND `id`=1) OR (`QuestID`=25430 AND `id`=0) OR (`QuestID`=25464 AND `id`=2) OR (`QuestID`=25464 AND `id`=1) OR (`QuestID`=25464 AND `id`=0) OR (`QuestID`=25323 AND `id`=4) OR (`QuestID`=25323 AND `id`=3) OR (`QuestID`=25323 AND `id`=2) OR (`QuestID`=25323 AND `id`=1) OR (`QuestID`=25323 AND `id`=0) OR (`QuestID`=25472 AND `id`=5) OR (`QuestID`=25472 AND `id`=4) OR (`QuestID`=25472 AND `id`=3) OR (`QuestID`=25472 AND `id`=2) OR (`QuestID`=25472 AND `id`=1) OR (`QuestID`=25472 AND `id`=0) OR (`QuestID`=25319 AND `id`=4) OR (`QuestID`=25319 AND `id`=3) OR (`QuestID`=25319 AND `id`=2) OR (`QuestID`=25319 AND `id`=1) OR (`QuestID`=25319 AND `id`=0) OR (`QuestID`=25574 AND `id`=3) OR (`QuestID`=25574 AND `id`=2) OR (`QuestID`=25574 AND `id`=1) OR (`QuestID`=25574 AND `id`=0) OR (`QuestID`=25370 AND `id`=4) OR (`QuestID`=25370 AND `id`=3) OR (`QuestID`=25370 AND `id`=2) OR (`QuestID`=25370 AND `id`=1) OR (`QuestID`=25370 AND `id`=0) OR (`QuestID`=25460 AND `id`=5) OR (`QuestID`=25460 AND `id`=4) OR (`QuestID`=25460 AND `id`=3) OR (`QuestID`=25460 AND `id`=2) OR (`QuestID`=25460 AND `id`=1) OR (`QuestID`=25460 AND `id`=0) OR (`QuestID`=25317 AND `id`=1) OR (`QuestID`=25317 AND `id`=0); + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=27398 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=27398 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=27398 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27398 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27398 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25551 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25551 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25551 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25550 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25550 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25550 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25553 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25553 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25553 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25552 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25552 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25552 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25549 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25549 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25549 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25549 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25549 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25549 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25549 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25549 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25549 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25555 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25555 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25555 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25644 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25644 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25554 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25554 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25554 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25554 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25554 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25548 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25548 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25548 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25548 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25548 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25548 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25548 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25548 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25548 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=6) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=5) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=4) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=3) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=25608 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25608 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25608 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25608 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25608 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25608 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25608 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25608 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25608 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25608 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25608 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25608 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25608 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25531 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25531 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25315 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25315 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25315 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25601 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25601 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25314 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25314 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25314 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25311 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25311 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25310 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25308 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25496 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25309 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25309 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25299 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25499 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25494 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25294 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=25294 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=25294 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=25294 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=25294 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25294 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25294 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25294 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25296 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25509 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25509 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25291 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25330 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25224 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25224 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25223 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25223 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25223 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25223 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25223 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25223 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25276 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25274 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25274 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25597 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25653 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25928 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25923 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25915 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25915 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25915 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25915 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25915 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25915 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25910 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25910 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25910 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25910 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25910 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25910 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25910 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25910 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25910 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25886 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25886 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25886 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25886 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25886 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25901 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25901 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25901 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25901 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25906 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25906 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25899 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25899 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25899 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25899 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25899 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25899 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25899 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25899 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25881 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25881 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25881 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25881 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25904 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25904 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25904 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=10 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=9 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=8 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29198 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29197 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=8 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29196 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=10 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=9 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=8 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29195 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29145 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=29145 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=29145 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=29145 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29145 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29389 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=29389 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29389 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25843 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25843 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25843 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25372 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25842 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25842 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25842 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25842 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25842 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25842 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25842 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25832 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25560 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25544 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25525 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25523 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25830 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25830 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25810 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25807 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25795 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25776 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25764 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25761 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25761 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25761 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25761 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25761 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25763 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25758 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25758 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25758 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25758 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25758 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25758 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25746 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25520 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25519 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25514 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25510 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25507 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25492 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25493 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=25493 AND `Idx1`=6 AND `Idx2`=5) OR (`QuestID`=25493 AND `Idx1`=6 AND `Idx2`=4) OR (`QuestID`=25493 AND `Idx1`=6 AND `Idx2`=3) OR (`QuestID`=25493 AND `Idx1`=6 AND `Idx2`=2) OR (`QuestID`=25493 AND `Idx1`=6 AND `Idx2`=1) OR (`QuestID`=25493 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25493 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25493 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25493 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25491 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25491 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25491 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25490 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25490 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25490 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25490 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25490 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25490 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25462 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25940 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25940 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29066 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25428 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25392 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25412 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25411 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25408 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25381 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25382 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25382 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25382 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25382 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25382 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25382 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25404 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25385 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25740 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25664 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25731 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25656 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25655 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25655 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25655 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25655 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25655 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25663 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27874 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27874 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25630 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25630 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25611 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25600 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25599 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25576 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25575 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25577 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25577 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25312 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25303 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25332 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25328 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25298 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25298 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25298 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25298 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25298 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25353 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25353 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25353 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25353 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25353 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25352 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25352 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25352 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25352 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25352 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25297 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25297 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25297 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25297 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25297 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25301 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=48641 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=48639 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=48639 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=48639 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=42422 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27299 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=27299 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25278 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25278 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25278 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25278 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25278 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25278 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25300 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25280 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25273 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25271 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25271 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25271 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25271 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25271 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25268 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25234 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25233 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25233 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25255 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25584 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25578 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25325 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25325 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25325 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25325 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25324 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25424 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25321 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25320 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25430 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25464 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25323 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25472 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25472 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25472 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25472 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25319 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25319 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25574 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25574 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25370 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25370 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25460 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25460 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25460 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25460 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25460 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25460 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25460 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25317 AND `Idx1`=1 AND `Idx2`=0); + + +DELETE FROM `quest_poi` WHERE (`QuestID`=25353 AND `id`=1) OR (`QuestID`=25353 AND `id`=0) OR (`QuestID`=25298 AND `id`=2) OR (`QuestID`=25298 AND `id`=0) OR (`QuestID`=25303 AND `id`=4) OR (`QuestID`=25303 AND `id`=3) OR (`QuestID`=25303 AND `id`=2) OR (`QuestID`=25303 AND `id`=1) OR (`QuestID`=25303 AND `id`=0) OR (`QuestID`=25328 AND `id`=1) OR (`QuestID`=25328 AND `id`=0) OR (`QuestID`=25301 AND `id`=0) OR (`QuestID`=25280 AND `id`=1) OR (`QuestID`=25255 AND `id`=2) OR (`QuestID`=25255 AND `id`=1) OR (`QuestID`=25255 AND `id`=0) OR (`QuestID`=25424 AND `id`=0) OR (`QuestID`=25321 AND `id`=2) OR (`QuestID`=25321 AND `id`=1) OR (`QuestID`=25574 AND `id`=1) OR (`QuestID`=25574 AND `id`=0) OR (`QuestID`=25317 AND `id`=0) OR (`QuestID`=25370 AND `id`=2) OR (`QuestID`=25370 AND `id`=1) OR (`QuestID`=25370 AND `id`=0) OR (`QuestID`=28826 AND `id`=1) OR (`QuestID`=28826 AND `id`=0) OR (`QuestID`=25297 AND `id`=3) OR (`QuestID`=25297 AND `id`=2) OR (`QuestID`=25297 AND `id`=1) OR (`QuestID`=25297 AND `id`=0) OR (`QuestID`=25278 AND `id`=2) OR (`QuestID`=25278 AND `id`=0) OR (`QuestID`=25300 AND `id`=0) OR (`QuestID`=25273 AND `id`=2) OR (`QuestID`=25273 AND `id`=0) OR (`QuestID`=25271 AND `id`=2) OR (`QuestID`=25271 AND `id`=1) OR (`QuestID`=25271 AND `id`=0) OR (`QuestID`=25268 AND `id`=0) OR (`QuestID`=25234 AND `id`=6) OR (`QuestID`=25234 AND `id`=5) OR (`QuestID`=25234 AND `id`=4) OR (`QuestID`=25234 AND `id`=3) OR (`QuestID`=25234 AND `id`=2) OR (`QuestID`=25233 AND `id`=2) OR (`QuestID`=25233 AND `id`=1) OR (`QuestID`=25233 AND `id`=0) OR (`QuestID`=25578 AND `id`=0) OR (`QuestID`=25325 AND `id`=1) OR (`QuestID`=25325 AND `id`=0) OR (`QuestID`=25320 AND `id`=0) OR (`QuestID`=25430 AND `id`=0) OR (`QuestID`=25323 AND `id`=3) OR (`QuestID`=25323 AND `id`=2) OR (`QuestID`=25323 AND `id`=1) OR (`QuestID`=25323 AND `id`=0) OR (`QuestID`=25472 AND `id`=4) OR (`QuestID`=25472 AND `id`=3) OR (`QuestID`=25472 AND `id`=2) OR (`QuestID`=25472 AND `id`=1) OR (`QuestID`=25472 AND `id`=0) OR (`QuestID`=25460 AND `id`=3) OR (`QuestID`=25460 AND `id`=2) OR (`QuestID`=25460 AND `id`=1) OR (`QuestID`=25460 AND `id`=0) OR (`QuestID`=25316 AND `id`=0) OR (`QuestID`=27726 AND `id`=1) OR (`QuestID`=27726 AND `id`=0) OR (`QuestID`=25352 AND `id`=3) OR (`QuestID`=25352 AND `id`=1) OR (`QuestID`=25352 AND `id`=0) OR (`QuestID`=25312 AND `id`=0) OR (`QuestID`=25332 AND `id`=1) OR (`QuestID`=25332 AND `id`=0) OR (`QuestID`=25584 AND `id`=0) OR (`QuestID`=25324 AND `id`=0) OR (`QuestID`=25464 AND `id`=1) OR (`QuestID`=25464 AND `id`=0) OR (`QuestID`=25319 AND `id`=2) OR (`QuestID`=25319 AND `id`=1) OR (`QuestID`=25319 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(25353, 1, -1, 1, 606, 0, 0, 7, 15595), -- 25353 +(25353, 0, 4, 1, 606, 0, 0, 1, 15595), -- 25353 +(25298, 2, 0, 1, 606, 0, 0, 1, 15595), -- 25298 +(25298, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25298 +(25303, 4, -1, 1, 606, 0, 0, 7, 15595), -- 25303 +(25303, 3, 3, 1, 606, 0, 0, 7, 15595), -- 25303 +(25303, 2, 2, 1, 606, 0, 0, 7, 15595), -- 25303 +(25303, 1, 1, 1, 606, 0, 0, 7, 15595), -- 25303 +(25303, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25303 +(25328, 1, -1, 1, 606, 0, 0, 7, 15595), -- 25328 +(25328, 0, 4, 1, 606, 0, 0, 1, 15595), -- 25328 +(25301, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25301 +(25280, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25280 +(25255, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25255 +(25255, 1, 0, 1, 606, 0, 0, 1, 15595), -- 25255 +(25255, 0, 0, 1, 606, 0, 0, 3, 15595), -- 25255 +(25424, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25424 +(25321, 2, 4, 1, 606, 0, 0, 7, 15595), -- 25321 +(25321, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25321 +(25574, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25574 +(25574, 0, 0, 1, 606, 0, 0, 7, 15595), -- 25574 +(25317, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25317 +(25370, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25370 +(25370, 1, 0, 1, 606, 0, 0, 1, 15595), -- 25370 +(25370, 0, 11, 1, 606, 0, 0, 1, 15595), -- 25370 +(28826, 1, 0, 0, 301, 0, 0, 7, 15595), -- 28826 +(28826, 0, -1, 0, 301, 0, 0, 1, 15595), -- 28826 +(25297, 3, -1, 1, 606, 0, 0, 1, 15595), -- 25297 +(25297, 2, 6, 1, 606, 0, 0, 1, 15595), -- 25297 +(25297, 1, 5, 1, 606, 0, 0, 1, 15595), -- 25297 +(25297, 0, 4, 1, 606, 0, 0, 1, 15595), -- 25297 +(25278, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25278 +(25278, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25278 +(25300, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25300 +(25273, 2, -1, 1, 606, 0, 0, 7, 15595), -- 25273 +(25273, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25273 +(25271, 2, 5, 1, 606, 0, 0, 7, 15595), -- 25271 +(25271, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25271 +(25271, 0, 4, 1, 606, 0, 0, 1, 15595), -- 25271 +(25268, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25268 +(25234, 6, 4, 1, 606, 0, 0, 7, 15595), -- 25234 +(25234, 5, 4, 1, 606, 0, 0, 7, 15595), -- 25234 +(25234, 4, 4, 1, 606, 0, 0, 7, 15595), -- 25234 +(25234, 3, 4, 1, 606, 0, 0, 7, 15595), -- 25234 +(25234, 2, -1, 1, 606, 0, 0, 7, 15595), -- 25234 +(25233, 2, 0, 1, 606, 0, 0, 7, 15595), -- 25233 +(25233, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25233 +(25233, 0, 0, 1, 606, 0, 0, 7, 15595), -- 25233 +(25578, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25578 +(25325, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25325 +(25325, 0, 16, 1, 606, 0, 0, 1, 15595), -- 25325 +(25320, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25320 +(25430, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25430 +(25323, 3, 0, 1, 606, 0, 0, 1, 15595), -- 25323 +(25323, 2, 0, 1, 606, 0, 0, 1, 15595), -- 25323 +(25323, 1, 0, 1, 606, 0, 0, 1, 15595), -- 25323 +(25323, 0, -1, 1, 683, 0, 0, 1, 15595), -- 25323 +(25472, 4, -1, 1, 606, 0, 0, 1, 15595), -- 25472 +(25472, 3, 4, 1, 606, 0, 0, 1, 15595), -- 25472 +(25472, 2, 4, 1, 606, 0, 0, 1, 15595), -- 25472 +(25472, 1, 4, 1, 606, 0, 0, 1, 15595), -- 25472 +(25472, 0, 4, 1, 606, 0, 0, 1, 15595), -- 25472 +(25460, 3, -1, 1, 606, 0, 0, 1, 15595), -- 25460 +(25460, 2, 0, 1, 606, 0, 0, 1, 15595), -- 25460 +(25460, 1, 0, 1, 606, 0, 0, 1, 15595), -- 25460 +(25460, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25460 +(25316, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25316 +(27726, 1, -1, 1, 241, 0, 0, 1, 15595), -- 27726 +(27726, 0, 16, 0, 301, 0, 0, 1, 15595), -- 27726 +(25352, 3, -1, 1, 606, 0, 0, 1, 15595), -- 25352 +(25352, 1, 1, 1, 606, 0, 0, 1, 15595), -- 25352 +(25352, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25352 +(25312, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25312 +(25332, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25332 +(25332, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25332 +(25584, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25584 +(25324, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25324 +(25464, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25464 +(25464, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25464 +(25319, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25319 +(25319, 1, 1, 1, 606, 0, 0, 1, 15595), -- 25319 +(25319, 0, 0, 1, 606, 0, 0, 1, 15595); -- 25319 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=25353 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25353 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25353 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25353 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25353 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25353 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25298 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25298 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25298 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25298 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25298 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25298 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25303 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25303 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25303 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25303 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25303 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25328 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25328 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25301 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25280 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25255 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25255 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25255 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25255 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25255 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25255 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25424 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25321 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25321 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25574 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25574 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25317 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25370 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25370 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25370 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=28826 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=28826 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25297 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25297 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25297 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25297 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25297 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25297 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25297 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25297 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25297 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25297 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25297 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25278 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25278 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25278 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25278 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25278 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25278 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25278 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25300 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25273 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25273 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25271 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25271 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25271 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25271 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25271 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25271 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25271 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25271 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25268 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=11) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=10) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=9) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=8) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=7) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=6) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=5) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=4) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=3) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=2) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=1) OR (`QuestID`=25234 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=11) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=10) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=9) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=8) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=7) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=6) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=5) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=4) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=3) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=25234 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25234 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25234 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25234 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25233 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25233 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25233 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25578 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25325 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25325 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25325 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25325 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25325 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25320 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25430 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25323 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25323 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25323 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25323 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25323 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25323 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25323 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25323 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25323 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25323 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25323 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25323 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25323 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25323 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25472 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25472 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25472 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25472 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25472 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25472 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25472 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25472 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25472 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25472 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25472 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25472 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25460 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25460 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25460 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25460 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25460 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25460 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25460 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25460 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25460 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25460 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25460 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25460 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25460 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25460 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25460 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25316 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27726 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27726 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25352 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25352 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25352 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25312 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25332 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25332 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25584 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25324 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25464 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25464 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25319 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25319 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25319 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25353, 1, 0, 5082, -2142, 15595), -- 25353 +(25353, 0, 4, 5041, -2163, 15595), -- 25353 +(25353, 0, 3, 5073, -2070, 15595), -- 25353 +(25353, 0, 2, 5126, -2049, 15595), -- 25353 +(25353, 0, 1, 5100, -2219, 15595), -- 25353 +(25353, 0, 0, 5065, -2278, 15595), -- 25353 +(25298, 2, 4, 5045, -2099, 15595), -- 25298 +(25298, 2, 3, 5029, -2017, 15595), -- 25298 +(25298, 2, 2, 5102, -2021, 15595), -- 25298 +(25298, 2, 1, 5211, -2115, 15595), -- 25298 +(25298, 2, 0, 5180, -2139, 15595), -- 25298 +(25298, 0, 0, 5350, -2125, 15595), -- 25298 +(25303, 4, 0, 5024, -2010, 15595), -- 25303 +(25303, 3, 0, 5020, -2010, 15595), -- 25303 +(25303, 2, 0, 5020, -2014, 15595), -- 25303 +(25303, 1, 0, 5016, -2018, 15595), -- 25303 +(25303, 0, 0, 5015, -2018, 15595), -- 25303 +(25328, 1, 0, 5034, -2081, 15595), -- 25328 +(25328, 0, 0, 5106, -2053, 15595), -- 25328 +(25301, 0, 0, 5016, -2025, 15595), -- 25301 +(25280, 1, 0, 5354, -2127, 15595), -- 25280 +(25255, 2, 0, 5646, -2445, 15595), -- 25255 +(25255, 1, 6, 5408, -2608, 15595), -- 25255 +(25255, 1, 5, 5418, -2441, 15595), -- 25255 +(25255, 1, 4, 5494, -2309, 15595), -- 25255 +(25255, 1, 3, 5536, -2329, 15595), -- 25255 +(25255, 1, 2, 5621, -2498, 15595), -- 25255 +(25255, 1, 1, 5622, -2666, 15595), -- 25255 +(25255, 1, 0, 5520, -2696, 15595), -- 25255 +(25255, 0, 3, 5259, -2706, 15595), -- 25255 +(25255, 0, 2, 5344, -2621, 15595), -- 25255 +(25255, 0, 1, 5397, -2644, 15595), -- 25255 +(25255, 0, 0, 5308, -2755, 15595), -- 25255 +(25424, 0, 0, 5659, -2986, 15595), -- 25424 +(25321, 2, 11, 5567, -2859, 15595), -- 25321 +(25321, 2, 10, 5567, -2843, 15595), -- 25321 +(25321, 2, 9, 5567, -2818, 15595), -- 25321 +(25321, 2, 8, 5571, -2794, 15595), -- 25321 +(25321, 2, 7, 5583, -2778, 15595), -- 25321 +(25321, 2, 6, 5603, -2778, 15595), -- 25321 +(25321, 2, 5, 5611, -2790, 15595), -- 25321 +(25321, 2, 4, 5611, -2806, 15595), -- 25321 +(25321, 2, 3, 5611, -2822, 15595), -- 25321 +(25321, 2, 2, 5611, -2835, 15595), -- 25321 +(25321, 2, 1, 5611, -2855, 15595), -- 25321 +(25321, 2, 0, 5591, -2867, 15595), -- 25321 +(25321, 1, 0, 5662, -2818, 15595), -- 25321 +(25574, 1, 0, 5559, -3649, 15595), -- 25574 +(25574, 0, 0, 5746, -3341, 15595), -- 25574 +(25317, 0, 0, 5190, -2956, 15595), -- 25317 +(25370, 2, 0, 5559, -3649, 15595), -- 25370 +(25370, 1, 9, 5305, -3712, 15595), -- 25370 +(25370, 1, 8, 5111, -3436, 15595), -- 25370 +(25370, 1, 7, 5190, -3345, 15595), -- 25370 +(25370, 1, 6, 5637, -3312, 15595), -- 25370 +(25370, 1, 5, 5747, -3347, 15595), -- 25370 +(25370, 1, 4, 5732, -3466, 15595), -- 25370 +(25370, 1, 3, 5675, -3756, 15595), -- 25370 +(25370, 1, 2, 5657, -3777, 15595), -- 25370 +(25370, 1, 1, 5631, -3800, 15595), -- 25370 +(25370, 1, 0, 5526, -3891, 15595), -- 25370 +(25370, 0, 9, 5305, -3712, 15595), -- 25370 +(25370, 0, 8, 5111, -3436, 15595), -- 25370 +(25370, 0, 7, 5190, -3345, 15595), -- 25370 +(25370, 0, 6, 5637, -3312, 15595), -- 25370 +(25370, 0, 5, 5747, -3347, 15595), -- 25370 +(25370, 0, 4, 5732, -3466, 15595), -- 25370 +(25370, 0, 3, 5675, -3756, 15595), -- 25370 +(25370, 0, 2, 5657, -3777, 15595), -- 25370 +(25370, 0, 1, 5631, -3800, 15595), -- 25370 +(25370, 0, 0, 5526, -3891, 15595), -- 25370 +(28826, 1, 0, -8216, 421, 15595), -- 28826 +(28826, 0, 0, -8216, 428, 15595), -- 28826 +(25297, 3, 0, 5165, -2136, 15595), -- 25297 +(25297, 2, 0, 5183, -2137, 15595), -- 25297 +(25297, 1, 4, 5216, -2175, 15595), -- 25297 +(25297, 1, 3, 5243, -2150, 15595), -- 25297 +(25297, 1, 2, 5283, -2156, 15595), -- 25297 +(25297, 1, 1, 5294, -2186, 15595), -- 25297 +(25297, 1, 0, 5232, -2205, 15595), -- 25297 +(25297, 0, 3, 5166, -2103, 15595), -- 25297 +(25297, 0, 2, 5204, -2053, 15595), -- 25297 +(25297, 0, 1, 5229, -2100, 15595), -- 25297 +(25297, 0, 0, 5160, -2187, 15595), -- 25297 +(25278, 2, 0, 5354, -2127, 15595), -- 25278 +(25278, 0, 5, 5163, -2183, 15595), -- 25278 +(25278, 0, 4, 5068, -2097, 15595), -- 25278 +(25278, 0, 3, 5037, -2030, 15595), -- 25278 +(25278, 0, 2, 5105, -2026, 15595), -- 25278 +(25278, 0, 1, 5214, -2095, 15595), -- 25278 +(25278, 0, 0, 5181, -2185, 15595), -- 25278 +(25300, 0, 0, 5200, -2083, 15595), -- 25300 +(25273, 2, 0, 5136, -2305, 15595), -- 25273 +(25273, 0, 0, 5134, -2310, 15595), -- 25273 +(25271, 2, 11, 5264, -2207, 15595), -- 25271 +(25271, 2, 10, 5243, -2175, 15595), -- 25271 +(25271, 2, 9, 5247, -2147, 15595), -- 25271 +(25271, 2, 8, 5257, -2105, 15595), -- 25271 +(25271, 2, 7, 5261, -2098, 15595), -- 25271 +(25271, 2, 6, 5317, -2024, 15595), -- 25271 +(25271, 2, 5, 5321, -2021, 15595), -- 25271 +(25271, 2, 4, 5370, -2119, 15595), -- 25271 +(25271, 2, 3, 5370, -2161, 15595), -- 25271 +(25271, 2, 2, 5349, -2210, 15595), -- 25271 +(25271, 2, 1, 5342, -2214, 15595), -- 25271 +(25271, 2, 0, 5296, -2225, 15595), -- 25271 +(25271, 1, 0, 5310, -2208, 15595), -- 25271 +(25271, 0, 5, 5248, -2208, 15595), -- 25271 +(25271, 0, 4, 5268, -2108, 15595), -- 25271 +(25271, 0, 3, 5326, -2014, 15595), -- 25271 +(25271, 0, 2, 5382, -2136, 15595), -- 25271 +(25271, 0, 1, 5366, -2202, 15595), -- 25271 +(25271, 0, 0, 5278, -2213, 15595), -- 25271 +(25268, 0, 0, 5310, -2208, 15595), -- 25268 +(25234, 6, 11, 5088, -2409, 15595), -- 25234 +(25234, 6, 10, 5071, -2400, 15595), -- 25234 +(25234, 6, 9, 5065, -2374, 15595), -- 25234 +(25234, 6, 8, 5068, -2353, 15595), -- 25234 +(25234, 6, 7, 5088, -2335, 15595), -- 25234 +(25234, 6, 6, 5139, -2341, 15595), -- 25234 +(25234, 6, 5, 5168, -2362, 15595), -- 25234 +(25234, 6, 4, 5171, -2365, 15595), -- 25234 +(25234, 6, 3, 5154, -2406, 15595), -- 25234 +(25234, 6, 2, 5136, -2412, 15595), -- 25234 +(25234, 6, 1, 5118, -2415, 15595), -- 25234 +(25234, 6, 0, 5103, -2415, 15595), -- 25234 +(25234, 5, 11, 5192, -2400, 15595), -- 25234 +(25234, 5, 10, 5183, -2371, 15595), -- 25234 +(25234, 5, 9, 5198, -2353, 15595), -- 25234 +(25234, 5, 8, 5216, -2338, 15595), -- 25234 +(25234, 5, 7, 5240, -2320, 15595), -- 25234 +(25234, 5, 6, 5275, -2302, 15595), -- 25234 +(25234, 5, 5, 5281, -2299, 15595), -- 25234 +(25234, 5, 4, 5323, -2279, 15595), -- 25234 +(25234, 5, 3, 5367, -2267, 15595), -- 25234 +(25234, 5, 2, 5382, -2326, 15595), -- 25234 +(25234, 5, 1, 5266, -2403, 15595), -- 25234 +(25234, 5, 0, 5246, -2412, 15595), -- 25234 +(25234, 4, 11, 5498, -2391, 15595), -- 25234 +(25234, 4, 10, 5492, -2388, 15595), -- 25234 +(25234, 4, 9, 5480, -2380, 15595), -- 25234 +(25234, 4, 8, 5397, -2282, 15595), -- 25234 +(25234, 4, 7, 5394, -2270, 15595), -- 25234 +(25234, 4, 6, 5394, -2249, 15595), -- 25234 +(25234, 4, 5, 5409, -2240, 15595), -- 25234 +(25234, 4, 4, 5421, -2240, 15595), -- 25234 +(25234, 4, 3, 5486, -2291, 15595), -- 25234 +(25234, 4, 2, 5539, -2380, 15595), -- 25234 +(25234, 4, 1, 5525, -2394, 15595), -- 25234 +(25234, 4, 0, 5513, -2394, 15595), -- 25234 +(25234, 3, 11, 5590, -2691, 15595), -- 25234 +(25234, 3, 10, 5554, -2641, 15595), -- 25234 +(25234, 3, 9, 5539, -2608, 15595), -- 25234 +(25234, 3, 8, 5525, -2549, 15595), -- 25234 +(25234, 3, 7, 5516, -2495, 15595), -- 25234 +(25234, 3, 6, 5510, -2457, 15595), -- 25234 +(25234, 3, 5, 5510, -2418, 15595), -- 25234 +(25234, 3, 4, 5537, -2404, 15595), -- 25234 +(25234, 3, 3, 5569, -2422, 15595), -- 25234 +(25234, 3, 2, 5581, -2463, 15595), -- 25234 +(25234, 3, 1, 5623, -2650, 15595), -- 25234 +(25234, 3, 0, 5614, -2691, 15595), -- 25234 +(25234, 2, 0, 5629, -2449, 15595), -- 25234 +(25233, 2, 11, 5088, -2377, 15595), -- 25233 +(25233, 2, 10, 5079, -2356, 15595), -- 25233 +(25233, 2, 9, 5074, -2341, 15595), -- 25233 +(25233, 2, 8, 5068, -2323, 15595), -- 25233 +(25233, 2, 7, 5065, -2305, 15595), -- 25233 +(25233, 2, 6, 5085, -2296, 15595), -- 25233 +(25233, 2, 5, 5103, -2291, 15595), -- 25233 +(25233, 2, 4, 5112, -2291, 15595), -- 25233 +(25233, 2, 3, 5160, -2362, 15595), -- 25233 +(25233, 2, 2, 5133, -2379, 15595), -- 25233 +(25233, 2, 1, 5112, -2388, 15595), -- 25233 +(25233, 2, 0, 5100, -2388, 15595), -- 25233 +(25233, 1, 11, 5159, -2424, 15595), -- 25233 +(25233, 1, 10, 5130, -2403, 15595), -- 25233 +(25233, 1, 9, 5127, -2380, 15595), -- 25233 +(25233, 1, 8, 5157, -2362, 15595), -- 25233 +(25233, 1, 7, 5373, -2267, 15595), -- 25233 +(25233, 1, 6, 5385, -2299, 15595), -- 25233 +(25233, 1, 5, 5376, -2320, 15595), -- 25233 +(25233, 1, 4, 5367, -2329, 15595), -- 25233 +(25233, 1, 3, 5260, -2400, 15595), -- 25233 +(25233, 1, 2, 5237, -2412, 15595), -- 25233 +(25233, 1, 1, 5216, -2421, 15595), -- 25233 +(25233, 1, 0, 5198, -2421, 15595), -- 25233 +(25233, 0, 11, 5513, -2540, 15595), -- 25233 +(25233, 0, 10, 5480, -2466, 15595), -- 25233 +(25233, 0, 9, 5388, -2317, 15595), -- 25233 +(25233, 0, 8, 5379, -2273, 15595), -- 25233 +(25233, 0, 7, 5403, -2258, 15595), -- 25233 +(25233, 0, 6, 5453, -2261, 15595), -- 25233 +(25233, 0, 5, 5513, -2291, 15595), -- 25233 +(25233, 0, 4, 5548, -2338, 15595), -- 25233 +(25233, 0, 3, 5566, -2371, 15595), -- 25233 +(25233, 0, 2, 5587, -2433, 15595), -- 25233 +(25233, 0, 1, 5599, -2519, 15595), -- 25233 +(25233, 0, 0, 5560, -2578, 15595), -- 25233 +(25578, 0, 0, 5491, -3564, 15595), -- 25578 +(25325, 1, 0, 5703, -3142, 15595), -- 25325 +(25325, 0, 3, 5664, -3160, 15595), -- 25325 +(25325, 0, 2, 5708, -3116, 15595), -- 25325 +(25325, 0, 1, 5752, -3160, 15595), -- 25325 +(25325, 0, 0, 5708, -3204, 15595), -- 25325 +(25320, 0, 0, 5662, -2818, 15595), -- 25320 +(25430, 0, 0, 5659, -2986, 15595), -- 25430 +(25323, 3, 4, 5252, -2698, 15595), -- 25323 +(25323, 3, 3, 5282, -2591, 15595), -- 25323 +(25323, 3, 2, 5356, -2574, 15595), -- 25323 +(25323, 3, 1, 5412, -2622, 15595), -- 25323 +(25323, 3, 0, 5260, -2758, 15595), -- 25323 +(25323, 2, 3, 5576, -2865, 15595), -- 25323 +(25323, 2, 2, 5623, -2924, 15595), -- 25323 +(25323, 2, 1, 5578, -3003, 15595), -- 25323 +(25323, 2, 0, 5433, -3003, 15595), -- 25323 +(25323, 1, 3, 5256, -2954, 15595), -- 25323 +(25323, 1, 2, 5244, -2847, 15595), -- 25323 +(25323, 1, 1, 5354, -2950, 15595), -- 25323 +(25323, 1, 0, 5319, -3014, 15595), -- 25323 +(25323, 0, 0, 5190, -2956, 15595), -- 25323 +(25472, 4, 0, 5190, -2956, 15595), -- 25472 +(25472, 3, 5, 5399, -2822, 15595), -- 25472 +(25472, 3, 4, 5384, -2791, 15595), -- 25472 +(25472, 3, 3, 5377, -2771, 15595), -- 25472 +(25472, 3, 2, 5459, -2771, 15595), -- 25472 +(25472, 3, 1, 5459, -2804, 15595), -- 25472 +(25472, 3, 0, 5444, -2823, 15595), -- 25472 +(25472, 2, 7, 5565, -2957, 15595), -- 25472 +(25472, 2, 6, 5552, -2855, 15595), -- 25472 +(25472, 2, 5, 5564, -2858, 15595), -- 25472 +(25472, 2, 4, 5590, -2865, 15595), -- 25472 +(25472, 2, 3, 5605, -2940, 15595), -- 25472 +(25472, 2, 2, 5602, -2956, 15595), -- 25472 +(25472, 2, 1, 5596, -2965, 15595), -- 25472 +(25472, 2, 0, 5580, -2966, 15595), -- 25472 +(25472, 1, 5, 5235, -2837, 15595), -- 25472 +(25472, 1, 4, 5234, -2825, 15595), -- 25472 +(25472, 1, 3, 5237, -2800, 15595), -- 25472 +(25472, 1, 2, 5268, -2803, 15595), -- 25472 +(25472, 1, 1, 5270, -2822, 15595), -- 25472 +(25472, 1, 0, 5262, -2841, 15595), -- 25472 +(25472, 0, 4, 5344, -2979, 15595), -- 25472 +(25472, 0, 3, 5347, -2970, 15595), -- 25472 +(25472, 0, 2, 5361, -2959, 15595), -- 25472 +(25472, 0, 1, 5389, -2973, 15595), -- 25472 +(25472, 0, 0, 5351, -2999, 15595), -- 25472 +(25460, 3, 0, 5535, -3648, 15595), -- 25460 +(25460, 2, 3, 5244, -3557, 15595), -- 25460 +(25460, 2, 2, 5211, -3513, 15595); -- 25460 + +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25460, 2, 1, 5307, -3464, 15595), -- 25460 +(25460, 2, 0, 5347, -3588, 15595), -- 25460 +(25460, 1, 3, 5557, -3483, 15595), -- 25460 +(25460, 1, 2, 5551, -3421, 15595), -- 25460 +(25460, 1, 1, 5687, -3414, 15595), -- 25460 +(25460, 1, 0, 5627, -3553, 15595), -- 25460 +(25460, 0, 5, 5434, -3839, 15595), -- 25460 +(25460, 0, 4, 5453, -3670, 15595), -- 25460 +(25460, 0, 3, 5497, -3666, 15595), -- 25460 +(25460, 0, 2, 5642, -3663, 15595), -- 25460 +(25460, 0, 1, 5664, -3742, 15595), -- 25460 +(25460, 0, 0, 5512, -3848, 15595), -- 25460 +(25316, 0, 0, 5491, -3564, 15595), -- 25316 +(27726, 1, 0, 7801, -2431, 15595), -- 27726 +(27726, 0, 0, -8323, 288, 15595), -- 27726 +(25352, 3, 0, 5354, -2127, 15595), -- 25352 +(25352, 1, 3, 5004, -2278, 15595), -- 25352 +(25352, 1, 2, 5004, -2020, 15595), -- 25352 +(25352, 1, 1, 5117, -2041, 15595), -- 25352 +(25352, 1, 0, 5070, -2302, 15595), -- 25352 +(25352, 0, 7, 5096, -2384, 15595), -- 25352 +(25352, 0, 6, 5043, -2286, 15595), -- 25352 +(25352, 0, 5, 5031, -2136, 15595), -- 25352 +(25352, 0, 4, 5032, -2110, 15595), -- 25352 +(25352, 0, 3, 5034, -2070, 15595), -- 25352 +(25352, 0, 2, 5050, -2045, 15595), -- 25352 +(25352, 0, 1, 5212, -1969, 15595), -- 25352 +(25352, 0, 0, 5143, -2414, 15595), -- 25352 +(25312, 0, 0, 5341, -2144, 15595), -- 25312 +(25332, 1, 0, 5183, -2080, 15595), -- 25332 +(25332, 0, 0, 5341, -2144, 15595), -- 25332 +(25584, 0, 0, 5640, -2447, 15595), -- 25584 +(25324, 0, 0, 5663, -3339, 15595), -- 25324 +(25464, 1, 0, 5442, -2792, 15595), -- 25464 +(25464, 0, 0, 5190, -2956, 15595), -- 25464 +(25319, 2, 0, 5190, -2956, 15595), -- 25319 +(25319, 1, 9, 5409, -3109, 15595), -- 25319 +(25319, 1, 8, 5202, -2989, 15595), -- 25319 +(25319, 1, 7, 5219, -2939, 15595), -- 25319 +(25319, 1, 6, 5307, -2762, 15595), -- 25319 +(25319, 1, 5, 5356, -2711, 15595), -- 25319 +(25319, 1, 4, 5388, -2692, 15595), -- 25319 +(25319, 1, 3, 5609, -2751, 15595), -- 25319 +(25319, 1, 2, 5627, -2792, 15595), -- 25319 +(25319, 1, 1, 5604, -3060, 15595), -- 25319 +(25319, 1, 0, 5441, -3126, 15595), -- 25319 +(25319, 0, 6, 5293, -2931, 15595), -- 25319 +(25319, 0, 5, 5479, -2770, 15595), -- 25319 +(25319, 0, 4, 5545, -2754, 15595), -- 25319 +(25319, 0, 3, 5569, -2799, 15595), -- 25319 +(25319, 0, 2, 5587, -2868, 15595), -- 25319 +(25319, 0, 1, 5594, -2915, 15595), -- 25319 +(25319, 0, 0, 5349, -3019, 15595); -- 25319 + + +DELETE FROM `quest_poi` WHERE (`QuestID`=25630 AND `id`=0) OR (`QuestID`=25611 AND `id`=1) OR (`QuestID`=25618 AND `id`=0) OR (`QuestID`=25600 AND `id`=1) OR (`QuestID`=25600 AND `id`=0) OR (`QuestID`=25577 AND `id`=1) OR (`QuestID`=25577 AND `id`=0) OR (`QuestID`=25575 AND `id`=2) OR (`QuestID`=25575 AND `id`=1) OR (`QuestID`=25575 AND `id`=0) OR (`QuestID`=27874 AND `id`=0) OR (`QuestID`=25599 AND `id`=1) OR (`QuestID`=25599 AND `id`=0) OR (`QuestID`=25576 AND `id`=1) OR (`QuestID`=25576 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(25630, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25630 +(25611, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25611 +(25618, 0, -1, 1, 606, 0, 0, 7, 15595), -- 25618 +(25600, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25600 +(25600, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25600 +(25577, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25577 +(25577, 0, 10, 1, 606, 0, 0, 1, 15595), -- 25577 +(25575, 2, 0, 1, 683, 0, 0, 3, 15595), -- 25575 +(25575, 1, 0, 1, 683, 0, 0, 1, 15595), -- 25575 +(25575, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25575 +(27874, 0, -1, 1, 606, 0, 0, 1, 15595), -- 27874 +(25599, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25599 +(25599, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25599 +(25576, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25576 +(25576, 0, 0, 1, 606, 0, 0, 1, 15595); -- 25576 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=25630 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25611 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25618 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25600 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25600 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25577 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25577 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25575 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25575 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25575 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27874 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25599 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25599 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25576 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25576 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25630, 0, 0, 5037, -1735, 15595), -- 25630 +(25611, 1, 0, 5354, -2127, 15595), -- 25611 +(25618, 0, 0, 4965, -2027, 15595), -- 25618 +(25600, 1, 0, 5013, -2045, 15595), -- 25600 +(25600, 0, 0, 4894, -2282, 15595), -- 25600 +(25577, 1, 0, 5013, -2045, 15595), -- 25577 +(25577, 0, 6, 4921, -2221, 15595), -- 25577 +(25577, 0, 5, 4936, -2176, 15595), -- 25577 +(25577, 0, 4, 5044, -2088, 15595), -- 25577 +(25577, 0, 3, 5086, -2130, 15595), -- 25577 +(25577, 0, 2, 5097, -2144, 15595), -- 25577 +(25577, 0, 1, 5080, -2179, 15595), -- 25577 +(25577, 0, 0, 4931, -2225, 15595), -- 25577 +(25575, 2, 7, 4973, -2138, 15595), -- 25575 +(25575, 2, 6, 4984, -2094, 15595), -- 25575 +(25575, 2, 5, 5019, -2108, 15595), -- 25575 +(25575, 2, 4, 5076, -2131, 15595), -- 25575 +(25575, 2, 3, 5092, -2149, 15595), -- 25575 +(25575, 2, 2, 5093, -2151, 15595), -- 25575 +(25575, 2, 1, 5087, -2163, 15595), -- 25575 +(25575, 2, 0, 5084, -2163, 15595), -- 25575 +(25575, 1, 7, 4908, -2212, 15595), -- 25575 +(25575, 1, 6, 4910, -2204, 15595), -- 25575 +(25575, 1, 5, 4934, -2170, 15595), -- 25575 +(25575, 1, 4, 5023, -2154, 15595), -- 25575 +(25575, 1, 3, 5078, -2189, 15595), -- 25575 +(25575, 1, 2, 5086, -2210, 15595), -- 25575 +(25575, 1, 1, 5085, -2211, 15595), -- 25575 +(25575, 1, 0, 4937, -2235, 15595), -- 25575 +(25575, 0, 0, 5009, -2044, 15595), -- 25575 +(27874, 0, 0, 4887, -2816, 15595), -- 27874 +(25599, 1, 0, 5013, -2045, 15595), -- 25599 +(25599, 0, 0, 5025, -2229, 15595), -- 25599 +(25576, 1, 0, 5012, -2050, 15595), -- 25576 +(25576, 0, 8, 4913, -2208, 15595), -- 25576 +(25576, 0, 7, 4923, -2184, 15595), -- 25576 +(25576, 0, 6, 4936, -2157, 15595), -- 25576 +(25576, 0, 5, 4995, -2103, 15595), -- 25576 +(25576, 0, 4, 5014, -2094, 15595), -- 25576 +(25576, 0, 3, 5082, -2143, 15595), -- 25576 +(25576, 0, 2, 5095, -2188, 15595), -- 25576 +(25576, 0, 1, 5084, -2201, 15595), -- 25576 +(25576, 0, 0, 4949, -2230, 15595); -- 25576 + +DELETE FROM `quest_poi` WHERE (`QuestID`=25560 AND `id`=1) OR (`QuestID`=25560 AND `id`=0) OR (`QuestID`=25523 AND `id`=0) OR (`QuestID`=25810 AND `id`=0) OR (`QuestID`=25807 AND `id`=1) OR (`QuestID`=25807 AND `id`=0) OR (`QuestID`=25795 AND `id`=0) OR (`QuestID`=25763 AND `id`=0) OR (`QuestID`=25758 AND `id`=2) OR (`QuestID`=25758 AND `id`=1) OR (`QuestID`=25758 AND `id`=0) OR (`QuestID`=29066 AND `id`=0) OR (`QuestID`=25411 AND `id`=1) OR (`QuestID`=25411 AND `id`=0) OR (`QuestID`=25385 AND `id`=1) OR (`QuestID`=25385 AND `id`=0) OR (`QuestID`=25404 AND `id`=1) OR (`QuestID`=25404 AND `id`=0) OR (`QuestID`=25381 AND `id`=1) OR (`QuestID`=25381 AND `id`=0) OR (`QuestID`=25832 AND `id`=0) OR (`QuestID`=25544 AND `id`=1) OR (`QuestID`=25544 AND `id`=0) OR (`QuestID`=25746 AND `id`=2) OR (`QuestID`=25746 AND `id`=1) OR (`QuestID`=25746 AND `id`=0) OR (`QuestID`=25740 AND `id`=0) OR (`QuestID`=25655 AND `id`=4) OR (`QuestID`=25655 AND `id`=2) OR (`QuestID`=25655 AND `id`=1) OR (`QuestID`=25655 AND `id`=0) OR (`QuestID`=25664 AND `id`=2) OR (`QuestID`=25664 AND `id`=1) OR (`QuestID`=25664 AND `id`=0) OR (`QuestID`=25665 AND `id`=0) OR (`QuestID`=25663 AND `id`=1) OR (`QuestID`=25663 AND `id`=0) OR (`QuestID`=25392 AND `id`=1) OR (`QuestID`=25392 AND `id`=0) OR (`QuestID`=25428 AND `id`=1) OR (`QuestID`=25428 AND `id`=0) OR (`QuestID`=25408 AND `id`=1) OR (`QuestID`=25408 AND `id`=0) OR (`QuestID`=25382 AND `id`=2) OR (`QuestID`=25382 AND `id`=1) OR (`QuestID`=25382 AND `id`=0) OR (`QuestID`=25525 AND `id`=1) OR (`QuestID`=25525 AND `id`=0) OR (`QuestID`=25776 AND `id`=1) OR (`QuestID`=25776 AND `id`=0) OR (`QuestID`=25761 AND `id`=2) OR (`QuestID`=25761 AND `id`=1) OR (`QuestID`=25761 AND `id`=0) OR (`QuestID`=25764 AND `id`=1) OR (`QuestID`=25764 AND `id`=0) OR (`QuestID`=25731 AND `id`=5) OR (`QuestID`=25731 AND `id`=4) OR (`QuestID`=25731 AND `id`=3) OR (`QuestID`=25731 AND `id`=2) OR (`QuestID`=25731 AND `id`=1) OR (`QuestID`=25656 AND `id`=4) OR (`QuestID`=25656 AND `id`=3) OR (`QuestID`=25656 AND `id`=2) OR (`QuestID`=25656 AND `id`=0) OR (`QuestID`=25412 AND `id`=3) OR (`QuestID`=25412 AND `id`=2) OR (`QuestID`=25412 AND `id`=1) OR (`QuestID`=25412 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(25560, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25560 +(25560, 0, 0, 1, 606, 0, 0, 3, 15595), -- 25560 +(25523, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25523 +(25810, 0, -1, 1, 606, 0, 0, 3, 15595), -- 25810 +(25807, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25807 +(25807, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25807 +(25795, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25795 +(25763, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25763 +(25758, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25758 +(25758, 1, 4, 1, 606, 0, 0, 3, 15595), -- 25758 +(25758, 0, 4, 1, 606, 0, 0, 3, 15595), -- 25758 +(29066, 0, -1, 1, 606, 0, 0, 1, 15595), -- 29066 +(25411, 1, -1, 1, 606, 0, 0, 7, 15595), -- 25411 +(25411, 0, 0, 1, 606, 0, 0, 7, 15595), -- 25411 +(25385, 1, 4, 1, 606, 0, 0, 3, 15595), -- 25385 +(25385, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25385 +(25404, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25404 +(25404, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25404 +(25381, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25381 +(25381, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25381 +(25832, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25832 +(25544, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25544 +(25544, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25544 +(25746, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25746 +(25746, 1, 0, 1, 606, 0, 0, 3, 15595), -- 25746 +(25746, 0, 0, 1, 606, 0, 0, 3, 15595), -- 25746 +(25740, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25740 +(25655, 4, -1, 1, 606, 0, 0, 1, 15595), -- 25655 +(25655, 2, 0, 1, 606, 0, 0, 3, 15595), -- 25655 +(25655, 1, 0, 1, 606, 0, 0, 1, 15595), -- 25655 +(25655, 0, 0, 1, 606, 0, 0, 3, 15595), -- 25655 +(25664, 2, 4, 1, 606, 0, 0, 7, 15595), -- 25664 +(25664, 1, 4, 1, 606, 0, 0, 7, 15595), -- 25664 +(25664, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25664 +(25665, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25665 +(25663, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25663 +(25663, 0, -1, 1, 606, 0, 0, 7, 15595), -- 25663 +(25392, 1, -1, 1, 606, 0, 0, 7, 15595), -- 25392 +(25392, 0, 0, 1, 606, 0, 0, 7, 15595), -- 25392 +(25428, 1, 4, 1, 606, 0, 0, 7, 15595), -- 25428 +(25428, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25428 +(25408, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25408 +(25408, 0, 4, 1, 606, 0, 0, 1, 15595), -- 25408 +(25382, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25382 +(25382, 1, 0, 1, 606, 0, 0, 3, 15595), -- 25382 +(25382, 0, 0, 1, 606, 0, 0, 3, 15595), -- 25382 +(25525, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25525 +(25525, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25525 +(25776, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25776 +(25776, 0, 0, 1, 606, 0, 0, 1, 15595), -- 25776 +(25761, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25761 +(25761, 1, 0, 1, 606, 0, 0, 3, 15595), -- 25761 +(25761, 0, 0, 1, 606, 0, 0, 3, 15595), -- 25761 +(25764, 1, 0, 1, 606, 0, 0, 7, 15595), -- 25764 +(25764, 0, -1, 1, 606, 0, 0, 1, 15595), -- 25764 +(25731, 5, 1, 1, 606, 0, 0, 7, 15595), -- 25731 +(25731, 4, 1, 1, 606, 0, 0, 7, 15595), -- 25731 +(25731, 3, 1, 1, 606, 0, 0, 7, 15595), -- 25731 +(25731, 2, 1, 1, 606, 0, 0, 7, 15595), -- 25731 +(25731, 1, -1, 1, 606, 0, 0, 1, 15595), -- 25731 +(25656, 4, 4, 1, 606, 0, 0, 7, 15595), -- 25656 +(25656, 3, 4, 1, 606, 0, 0, 7, 15595), -- 25656 +(25656, 2, -1, 1, 606, 0, 0, 1, 15595), -- 25656 +(25656, 0, 4, 1, 606, 0, 0, 3, 15595), -- 25656 +(25412, 3, -1, 1, 606, 0, 0, 1, 15595), -- 25412 +(25412, 2, 2, 1, 606, 0, 0, 1, 15595), -- 25412 +(25412, 1, 1, 1, 606, 0, 0, 1, 15595), -- 25412 +(25412, 0, 0, 1, 606, 0, 0, 1, 15595); -- 25412 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=25560 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25560 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25523 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25810 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25807 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25807 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25795 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25763 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25758 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25758 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25758 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25758 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25758 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25758 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25758 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25758 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25758 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25758 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25758 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25758 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=29066 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25411 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25411 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25385 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25385 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25404 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25404 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25381 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25381 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25832 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25544 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25544 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25746 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25746 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25746 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25746 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25746 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25746 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25740 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25655 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25655 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25655 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25655 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25655 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25655 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25655 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25664 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25664 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25664 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25665 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25663 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25663 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25392 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25392 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25428 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25428 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25408 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25408 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25382 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25382 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25382 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25382 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25382 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25382 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25382 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25382 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25382 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25382 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25382 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25525 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25525 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25776 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25776 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25761 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25761 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25761 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25761 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25761 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25761 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25761 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25761 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25761 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25764 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25764 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=11) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=10) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=9) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=8) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=7) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=6) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=5) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=4) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=3) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=25731 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25731 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25731 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25731 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25731 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25656 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25656 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25656 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25656 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25412 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25412 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25412 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25412 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25560, 1, 0, 4594, -2526, 15595), -- 25560 +(25560, 0, 11, 4667, -2510, 15595), -- 25560 +(25560, 0, 10, 4581, -2455, 15595), -- 25560 +(25560, 0, 9, 4514, -2310, 15595), -- 25560 +(25560, 0, 8, 4517, -2286, 15595), -- 25560 +(25560, 0, 7, 4530, -2274, 15595), -- 25560 +(25560, 0, 6, 4549, -2270, 15595), -- 25560 +(25560, 0, 5, 4741, -2268, 15595), -- 25560 +(25560, 0, 4, 4820, -2321, 15595), -- 25560 +(25560, 0, 3, 4827, -2328, 15595), -- 25560 +(25560, 0, 2, 4830, -2425, 15595), -- 25560 +(25560, 0, 1, 4821, -2474, 15595), -- 25560 +(25560, 0, 0, 4776, -2509, 15595), -- 25560 +(25523, 0, 0, 4594, -2526, 15595), -- 25523 +(25810, 0, 0, 4540, -2596, 15595), -- 25810 +(25807, 1, 0, 4810, -2804, 15595), -- 25807 +(25807, 0, 0, 4837, -2812, 15595), -- 25807 +(25795, 0, 0, 4887, -2816, 15595), -- 25795 +(25763, 0, 0, 4193, -2321, 15595), -- 25763 +(25758, 2, 0, 4193, -2321, 15595), -- 25758 +(25758, 1, 4, 3519, -2282, 15595), -- 25758 +(25758, 1, 3, 3629, -2200, 15595), -- 25758 +(25758, 1, 2, 3759, -2207, 15595), -- 25758 +(25758, 1, 1, 3664, -2270, 15595), -- 25758 +(25758, 1, 0, 3600, -2362, 15595), -- 25758 +(25758, 0, 5, 4031, -2269, 15595), -- 25758 +(25758, 0, 4, 3930, -2266, 15595), -- 25758 +(25758, 0, 3, 3817, -2199, 15595), -- 25758 +(25758, 0, 2, 3895, -2152, 15595), -- 25758 +(25758, 0, 1, 4039, -2216, 15595), -- 25758 +(25758, 0, 0, 4042, -2271, 15595), -- 25758 +(29066, 0, 0, 5148, -1737, 15595), -- 29066 +(25411, 1, 0, 5062, -1466, 15595), -- 25411 +(25411, 0, 11, 4848, -1582, 15595), -- 25411 +(25411, 0, 10, 4844, -1551, 15595), -- 25411 +(25411, 0, 9, 5023, -1446, 15595), -- 25411 +(25411, 0, 8, 5136, -1318, 15595), -- 25411 +(25411, 0, 7, 5186, -1302, 15595), -- 25411 +(25411, 0, 6, 5221, -1334, 15595), -- 25411 +(25411, 0, 5, 5225, -1361, 15595), -- 25411 +(25411, 0, 4, 5151, -1466, 15595), -- 25411 +(25411, 0, 3, 5120, -1504, 15595), -- 25411 +(25411, 0, 2, 5116, -1508, 15595), -- 25411 +(25411, 0, 1, 4949, -1605, 15595), -- 25411 +(25411, 0, 0, 4903, -1609, 15595), -- 25411 +(25385, 1, 6, 4832, -1539, 15595), -- 25385 +(25385, 1, 5, 5119, -1298, 15595), -- 25385 +(25385, 1, 4, 5212, -1323, 15595), -- 25385 +(25385, 1, 3, 5210, -1442, 15595), -- 25385 +(25385, 1, 2, 5105, -1522, 15595), -- 25385 +(25385, 1, 1, 4998, -1616, 15595), -- 25385 +(25385, 1, 0, 4896, -1634, 15595), -- 25385 +(25385, 0, 0, 5123, -1745, 15595), -- 25385 +(25404, 1, 0, 4930, -1874, 15595), -- 25404 +(25404, 0, 0, 4924, -1875, 15595), -- 25404 +(25381, 1, 0, 5037, -1735, 15595), -- 25381 +(25381, 0, 7, 4816, -1580, 15595), -- 25381 +(25381, 0, 6, 4850, -1533, 15595), -- 25381 +(25381, 0, 5, 4898, -1488, 15595), -- 25381 +(25381, 0, 4, 5109, -1312, 15595), -- 25381 +(25381, 0, 3, 5201, -1292, 15595), -- 25381 +(25381, 0, 2, 5208, -1401, 15595), -- 25381 +(25381, 0, 1, 5101, -1538, 15595), -- 25381 +(25381, 0, 0, 4909, -1589, 15595), -- 25381 +(25832, 0, 0, 4837, -2812, 15595), -- 25832 +(25544, 1, 11, 4518, -2559, 15595), -- 25544 +(25544, 1, 10, 4507, -2528, 15595), -- 25544 +(25544, 1, 9, 4503, -2485, 15595), -- 25544 +(25544, 1, 8, 4518, -2462, 15595), -- 25544 +(25544, 1, 7, 4545, -2446, 15595), -- 25544 +(25544, 1, 6, 4596, -2450, 15595), -- 25544 +(25544, 1, 5, 4623, -2477, 15595), -- 25544 +(25544, 1, 4, 4631, -2508, 15595), -- 25544 +(25544, 1, 3, 4631, -2539, 15595), -- 25544 +(25544, 1, 2, 4615, -2570, 15595), -- 25544 +(25544, 1, 1, 4596, -2582, 15595), -- 25544 +(25544, 1, 0, 4561, -2586, 15595), -- 25544 +(25544, 0, 0, 4594, -2526, 15595), -- 25544 +(25746, 2, 0, 4193, -2321, 15595), -- 25746 +(25746, 1, 7, 3736, -2290, 15595), -- 25746 +(25746, 1, 6, 3724, -2184, 15595), -- 25746 +(25746, 1, 5, 3913, -2199, 15595), -- 25746 +(25746, 1, 4, 3963, -2200, 15595), -- 25746 +(25746, 1, 3, 4079, -2228, 15595), -- 25746 +(25746, 1, 2, 4124, -2277, 15595), -- 25746 +(25746, 1, 1, 4136, -2316, 15595), -- 25746 +(25746, 1, 0, 4114, -2355, 15595), -- 25746 +(25746, 0, 3, 3421, -2237, 15595), -- 25746 +(25746, 0, 2, 3668, -2186, 15595), -- 25746 +(25746, 0, 1, 3670, -2295, 15595), -- 25746 +(25746, 0, 0, 3436, -2393, 15595), -- 25746 +(25740, 0, 0, 4193, -2321, 15595), -- 25740 +(25655, 4, 0, 4909, -2720, 15595), -- 25655 +(25655, 2, 4, 4790, -3082, 15595), -- 25655 +(25655, 2, 3, 4808, -2995, 15595), -- 25655 +(25655, 2, 2, 4853, -3004, 15595), -- 25655 +(25655, 2, 1, 4886, -3078, 15595), -- 25655 +(25655, 2, 0, 4848, -3145, 15595), -- 25655 +(25655, 1, 7, 4921, -2616, 15595), -- 25655 +(25655, 1, 6, 4864, -2486, 15595), -- 25655 +(25655, 1, 5, 4842, -2365, 15595), -- 25655 +(25655, 1, 4, 4860, -2209, 15595), -- 25655 +(25655, 1, 3, 5021, -2476, 15595), -- 25655 +(25655, 1, 2, 5050, -2548, 15595), -- 25655 +(25655, 1, 1, 5043, -2610, 15595), -- 25655 +(25655, 1, 0, 5039, -2636, 15595), -- 25655 +(25655, 0, 3, 4685, -2919, 15595), -- 25655 +(25655, 0, 2, 4629, -2791, 15595), -- 25655 +(25655, 0, 1, 4711, -2777, 15595), -- 25655 +(25655, 0, 0, 4733, -2874, 15595), -- 25655 +(25664, 2, 11, 4914, -2458, 15595), -- 25664 +(25664, 2, 10, 4891, -2431, 15595), -- 25664 +(25664, 2, 9, 4887, -2403, 15595), -- 25664 +(25664, 2, 8, 4895, -2388, 15595), -- 25664 +(25664, 2, 7, 4918, -2369, 15595), -- 25664 +(25664, 2, 6, 4949, -2365, 15595), -- 25664 +(25664, 2, 5, 4965, -2376, 15595), -- 25664 +(25664, 2, 4, 4976, -2403, 15595), -- 25664 +(25664, 2, 3, 4976, -2423, 15595), -- 25664 +(25664, 2, 2, 4973, -2454, 15595), -- 25664 +(25664, 2, 1, 4957, -2469, 15595), -- 25664 +(25664, 2, 0, 4938, -2469, 15595), -- 25664 +(25664, 1, 11, 4922, -3001, 15595), -- 25664 +(25664, 1, 10, 4949, -2865, 15595), -- 25664 +(25664, 1, 9, 4965, -2788, 15595), -- 25664 +(25664, 1, 8, 5000, -2632, 15595), -- 25664 +(25664, 1, 7, 5027, -2570, 15595), -- 25664 +(25664, 1, 6, 5058, -2508, 15595), -- 25664 +(25664, 1, 5, 5089, -2469, 15595), -- 25664 +(25664, 1, 4, 5139, -2423, 15595), -- 25664 +(25664, 1, 3, 5202, -2427, 15595), -- 25664 +(25664, 1, 2, 5194, -2469, 15595), -- 25664 +(25664, 1, 1, 5000, -2997, 15595), -- 25664 +(25664, 1, 0, 4969, -3067, 15595), -- 25664 +(25664, 0, 0, 4887, -2816, 15595), -- 25664 +(25665, 0, 0, 4887, -2816, 15595), -- 25665 +(25663, 1, 0, 4946, -2672, 15595), -- 25663 +(25663, 0, 0, 4942, -2672, 15595), -- 25663 +(25392, 1, 0, 5125, -1738, 15595), -- 25392 +(25392, 0, 11, 4872, -1640, 15595), -- 25392 +(25392, 0, 10, 4844, -1567, 15595), -- 25392 +(25392, 0, 9, 4856, -1524, 15595), -- 25392 +(25392, 0, 8, 4879, -1466, 15595), -- 25392 +(25392, 0, 7, 5089, -1299, 15595), -- 25392 +(25392, 0, 6, 5147, -1271, 15595), -- 25392 +(25392, 0, 5, 5206, -1283, 15595), -- 25392 +(25392, 0, 4, 5233, -1353, 15595), -- 25392 +(25392, 0, 3, 5233, -1411, 15595), -- 25392 +(25392, 0, 2, 5209, -1454, 15595), -- 25392 +(25392, 0, 1, 5004, -1637, 15595), -- 25392 +(25392, 0, 0, 4914, -1656, 15595), -- 25392 +(25428, 1, 11, 4887, -1629, 15595), -- 25428 +(25428, 1, 10, 4856, -1559, 15595), -- 25428 +(25428, 1, 9, 4864, -1512, 15595), -- 25428 +(25428, 1, 8, 5031, -1447, 15595), -- 25428 +(25428, 1, 7, 5101, -1345, 15595), -- 25428 +(25428, 1, 6, 5128, -1334, 15595), -- 25428 +(25428, 1, 5, 5190, -1334, 15595), -- 25428 +(25428, 1, 4, 5214, -1392, 15595), -- 25428 +(25428, 1, 3, 5179, -1450, 15595), -- 25428 +(25428, 1, 2, 5054, -1536, 15595), -- 25428 +(25428, 1, 1, 4995, -1586, 15595), -- 25428 +(25428, 1, 0, 4953, -1648, 15595), -- 25428 +(25428, 0, 0, 4924, -1875, 15595), -- 25428 +(25408, 1, 0, 4924, -1875, 15595), -- 25408 +(25408, 0, 10, 4862, -1868, 15595), -- 25408 +(25408, 0, 9, 4858, -1865, 15595), -- 25408 +(25408, 0, 8, 4848, -1842, 15595), -- 25408 +(25408, 0, 7, 4993, -1796, 15595), -- 25408 +(25408, 0, 6, 4998, -1795, 15595), -- 25408 +(25408, 0, 5, 5038, -1800, 15595), -- 25408 +(25408, 0, 4, 5042, -1810, 15595), -- 25408 +(25408, 0, 3, 5028, -1827, 15595), -- 25408 +(25408, 0, 2, 4996, -1865, 15595), -- 25408 +(25408, 0, 1, 4980, -1871, 15595), -- 25408 +(25408, 0, 0, 4897, -1876, 15595), -- 25408 +(25382, 2, 0, 5037, -1735, 15595), -- 25382 +(25382, 1, 3, 4855, -1536, 15595), -- 25382 +(25382, 1, 2, 4964, -1461, 15595), -- 25382 +(25382, 1, 1, 5016, -1504, 15595), -- 25382 +(25382, 1, 0, 4884, -1614, 15595), -- 25382 +(25382, 0, 5, 4946, -1511, 15595), -- 25382 +(25382, 0, 4, 5002, -1436, 15595), -- 25382 +(25382, 0, 3, 5160, -1333, 15595), -- 25382 +(25382, 0, 2, 5175, -1334, 15595), -- 25382 +(25382, 0, 1, 5180, -1404, 15595), -- 25382 +(25382, 0, 0, 5070, -1486, 15595), -- 25382 +(25525, 1, 11, 4507, -2563, 15595), -- 25525 +(25525, 1, 10, 4503, -2528, 15595), -- 25525 +(25525, 1, 9, 4503, -2504, 15595), -- 25525 +(25525, 1, 8, 4522, -2473, 15595), -- 25525 +(25525, 1, 7, 4553, -2454, 15595), -- 25525 +(25525, 1, 6, 4577, -2454, 15595), -- 25525 +(25525, 1, 5, 4608, -2477, 15595), -- 25525 +(25525, 1, 4, 4623, -2493, 15595), -- 25525 +(25525, 1, 3, 4639, -2528, 15595), -- 25525 +(25525, 1, 2, 4615, -2574, 15595), -- 25525 +(25525, 1, 1, 4584, -2590, 15595), -- 25525 +(25525, 1, 0, 4549, -2590, 15595), -- 25525 +(25525, 0, 0, 4594, -2526, 15595), -- 25525 +(25776, 1, 0, 4193, -2321, 15595), -- 25776 +(25776, 0, 0, 3422, -2438, 15595), -- 25776 +(25761, 2, 0, 4193, -2321, 15595), -- 25761 +(25761, 1, 4, 3949, -2285, 15595), -- 25761 +(25761, 1, 3, 3778, -2225, 15595), -- 25761 +(25761, 1, 2, 3868, -2154, 15595), -- 25761 +(25761, 1, 1, 3992, -2184, 15595), -- 25761 +(25761, 1, 0, 4014, -2275, 15595), -- 25761 +(25761, 0, 2, 3607, -2193, 15595), -- 25761 +(25761, 0, 1, 3730, -2264, 15595), -- 25761 +(25761, 0, 0, 3541, -2361, 15595), -- 25761 +(25764, 1, 11, 3389, -2369, 15595), -- 25764 +(25764, 1, 10, 3385, -2260, 15595), -- 25764 +(25764, 1, 9, 3424, -2221, 15595), -- 25764 +(25764, 1, 8, 3486, -2186, 15595), -- 25764 +(25764, 1, 7, 3556, -2159, 15595), -- 25764 +(25764, 1, 6, 3622, -2147, 15595), -- 25764 +(25764, 1, 5, 3746, -2143, 15595), -- 25764 +(25764, 1, 4, 3843, -2143, 15595), -- 25764 +(25764, 1, 3, 3913, -2167, 15595), -- 25764 +(25764, 1, 2, 3963, -2202, 15595), -- 25764 +(25764, 1, 1, 3940, -2271, 15595), -- 25764 +(25764, 1, 0, 3439, -2431, 15595), -- 25764 +(25764, 0, 0, 4193, -2321, 15595), -- 25764 +(25731, 5, 11, 4875, -2493, 15595), -- 25731 +(25731, 5, 10, 4864, -2485, 15595), -- 25731 +(25731, 5, 9, 4864, -2462, 15595), -- 25731 +(25731, 5, 8, 4879, -2357, 15595), -- 25731 +(25731, 5, 7, 4903, -2357, 15595), -- 25731 +(25731, 5, 6, 4922, -2376, 15595), -- 25731 +(25731, 5, 5, 4922, -2400, 15595), -- 25731 +(25731, 5, 4, 4922, -2415, 15595), -- 25731 +(25731, 5, 3, 4922, -2446, 15595), -- 25731 +(25731, 5, 2, 4922, -2473, 15595), -- 25731 +(25731, 5, 1, 4918, -2489, 15595), -- 25731 +(25731, 5, 0, 4895, -2500, 15595), -- 25731 +(25731, 4, 11, 4829, -2970, 15595), -- 25731 +(25731, 4, 10, 4829, -2966, 15595), -- 25731 +(25731, 4, 9, 4833, -2962, 15595), -- 25731 +(25731, 4, 8, 4883, -2986, 15595), -- 25731 +(25731, 4, 7, 4887, -2989, 15595), -- 25731 +(25731, 4, 6, 4910, -3013, 15595), -- 25731 +(25731, 4, 5, 4918, -3024, 15595), -- 25731 +(25731, 4, 4, 4910, -3036, 15595), -- 25731 +(25731, 4, 3, 4907, -3040, 15595), -- 25731 +(25731, 4, 2, 4891, -3052, 15595), -- 25731 +(25731, 4, 1, 4868, -3067, 15595), -- 25731 +(25731, 4, 0, 4864, -3067, 15595), -- 25731 +(25731, 3, 11, 4743, -2815, 15595), -- 25731 +(25731, 3, 10, 4740, -2811, 15595); -- 25731 + +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25731, 3, 9, 4755, -2792, 15595), -- 25731 +(25731, 3, 8, 4763, -2784, 15595), -- 25731 +(25731, 3, 7, 4767, -2780, 15595), -- 25731 +(25731, 3, 6, 4775, -2772, 15595), -- 25731 +(25731, 3, 5, 4782, -2768, 15595), -- 25731 +(25731, 3, 4, 4786, -2768, 15595), -- 25731 +(25731, 3, 3, 4790, -2807, 15595), -- 25731 +(25731, 3, 2, 4790, -2830, 15595), -- 25731 +(25731, 3, 1, 4790, -2842, 15595), -- 25731 +(25731, 3, 0, 4790, -2850, 15595), -- 25731 +(25731, 2, 11, 4941, -2632, 15595), -- 25731 +(25731, 2, 10, 4930, -2601, 15595), -- 25731 +(25731, 2, 9, 4926, -2566, 15595), -- 25731 +(25731, 2, 8, 4926, -2535, 15595), -- 25731 +(25731, 2, 7, 4926, -2473, 15595), -- 25731 +(25731, 2, 6, 4953, -2415, 15595), -- 25731 +(25731, 2, 5, 4984, -2438, 15595), -- 25731 +(25731, 2, 4, 5004, -2473, 15595), -- 25731 +(25731, 2, 3, 5004, -2500, 15595), -- 25731 +(25731, 2, 2, 4996, -2551, 15595), -- 25731 +(25731, 2, 1, 4992, -2566, 15595), -- 25731 +(25731, 2, 0, 4973, -2621, 15595), -- 25731 +(25731, 1, 0, 4909, -2720, 15595), -- 25731 +(25656, 4, 11, 4794, -3114, 15595), -- 25656 +(25656, 4, 10, 4775, -3087, 15595), -- 25656 +(25656, 4, 9, 4763, -3040, 15595), -- 25656 +(25656, 4, 8, 4763, -3001, 15595), -- 25656 +(25656, 4, 7, 4771, -2962, 15595), -- 25656 +(25656, 4, 6, 4806, -2955, 15595), -- 25656 +(25656, 4, 5, 4837, -2958, 15595), -- 25656 +(25656, 4, 4, 4852, -2989, 15595), -- 25656 +(25656, 4, 3, 4856, -3009, 15595), -- 25656 +(25656, 4, 2, 4860, -3055, 15595), -- 25656 +(25656, 4, 1, 4852, -3106, 15595), -- 25656 +(25656, 4, 0, 4829, -3129, 15595), -- 25656 +(25656, 3, 11, 4697, -2858, 15595), -- 25656 +(25656, 3, 10, 4677, -2838, 15595), -- 25656 +(25656, 3, 9, 4674, -2811, 15595), -- 25656 +(25656, 3, 8, 4674, -2776, 15595), -- 25656 +(25656, 3, 7, 4681, -2733, 15595), -- 25656 +(25656, 3, 6, 4685, -2718, 15595), -- 25656 +(25656, 3, 5, 4716, -2710, 15595), -- 25656 +(25656, 3, 4, 4736, -2729, 15595), -- 25656 +(25656, 3, 3, 4740, -2768, 15595), -- 25656 +(25656, 3, 2, 4740, -2815, 15595), -- 25656 +(25656, 3, 1, 4740, -2861, 15595), -- 25656 +(25656, 3, 0, 4720, -2873, 15595), -- 25656 +(25656, 2, 0, 4909, -2720, 15595), -- 25656 +(25656, 0, 8, 4853, -2526, 15595), -- 25656 +(25656, 0, 7, 4820, -2471, 15595), -- 25656 +(25656, 0, 6, 4774, -2344, 15595), -- 25656 +(25656, 0, 5, 4817, -2218, 15595), -- 25656 +(25656, 0, 4, 4908, -2286, 15595), -- 25656 +(25656, 0, 3, 4968, -2472, 15595), -- 25656 +(25656, 0, 2, 4980, -2512, 15595), -- 25656 +(25656, 0, 1, 4967, -2543, 15595), -- 25656 +(25656, 0, 0, 4922, -2574, 15595), -- 25656 +(25412, 3, 0, 4924, -1875, 15595), -- 25412 +(25412, 2, 0, 4911, -1536, 15595), -- 25412 +(25412, 1, 0, 5021, -1423, 15595), -- 25412 +(25412, 0, 0, 5164, -1338, 15595); -- 25412 + +/* +############################## +### Deepholm ############## +############################## +*/ + +DELETE FROM `quest_poi` WHERE (`QuestID`=26762 AND `id`=1) OR (`QuestID`=26762 AND `id`=0) OR (`QuestID`=26755 AND `id`=1) OR (`QuestID`=26755 AND `id`=0) OR (`QuestID`=28760 AND `id`=4) OR (`QuestID`=28760 AND `id`=3) OR (`QuestID`=28779 AND `id`=1) OR (`QuestID`=28779 AND `id`=0) OR (`QuestID`=26861 AND `id`=2) OR (`QuestID`=26861 AND `id`=1) OR (`QuestID`=26861 AND `id`=0) OR (`QuestID`=26771 AND `id`=1) OR (`QuestID`=26771 AND `id`=0) OR (`QuestID`=27102 AND `id`=2) OR (`QuestID`=27102 AND `id`=1) OR (`QuestID`=27102 AND `id`=0) OR (`QuestID`=27061 AND `id`=0) OR (`QuestID`=27100 AND `id`=2) OR (`QuestID`=27100 AND `id`=0) OR (`QuestID`=27010 AND `id`=2) OR (`QuestID`=27010 AND `id`=1) OR (`QuestID`=27010 AND `id`=0) OR (`QuestID`=27007 AND `id`=1) OR (`QuestID`=27007 AND `id`=0) OR (`QuestID`=26256 AND `id`=2) OR (`QuestID`=26256 AND `id`=1) OR (`QuestID`=26259 AND `id`=2) OR (`QuestID`=26259 AND `id`=1) OR (`QuestID`=26259 AND `id`=0) OR (`QuestID`=26250 AND `id`=1) OR (`QuestID`=26250 AND `id`=0) OR (`QuestID`=26625 AND `id`=1) OR (`QuestID`=26625 AND `id`=0) OR (`QuestID`=26537 AND `id`=1) OR (`QuestID`=26537 AND `id`=0) OR (`QuestID`=26564 AND `id`=1) OR (`QuestID`=26564 AND `id`=0) OR (`QuestID`=26499 AND `id`=1) OR (`QuestID`=26499 AND `id`=0) OR (`QuestID`=27934 AND `id`=1) OR (`QuestID`=27934 AND `id`=0) OR (`QuestID`=27931 AND `id`=0) OR (`QuestID`=26246 AND `id`=0) OR (`QuestID`=26413 AND `id`=1) OR (`QuestID`=26413 AND `id`=0) OR (`QuestID`=27727 AND `id`=0) OR (`QuestID`=27938 AND `id`=2) OR (`QuestID`=27938 AND `id`=1) OR (`QuestID`=27938 AND `id`=0) OR (`QuestID`=26791 AND `id`=2) OR (`QuestID`=26791 AND `id`=1) OR (`QuestID`=26791 AND `id`=0) OR (`QuestID`=26632 AND `id`=1) OR (`QuestID`=26632 AND `id`=0) OR (`QuestID`=27126 AND `id`=0) OR (`QuestID`=26876 AND `id`=1) OR (`QuestID`=26876 AND `id`=0) OR (`QuestID`=26766 AND `id`=1) OR (`QuestID`=26766 AND `id`=0) OR (`QuestID`=26768 AND `id`=3) OR (`QuestID`=26768 AND `id`=2) OR (`QuestID`=26768 AND `id`=1) OR (`QuestID`=26768 AND `id`=0) OR (`QuestID`=27101 AND `id`=0) OR (`QuestID`=26260 AND `id`=0) OR (`QuestID`=26261 AND `id`=1) OR (`QuestID`=26261 AND `id`=0) OR (`QuestID`=26258 AND `id`=1) OR (`QuestID`=26258 AND `id`=0) OR (`QuestID`=26251 AND `id`=1) OR (`QuestID`=26251 AND `id`=0) OR (`QuestID`=26249 AND `id`=0) OR (`QuestID`=26501 AND `id`=4) OR (`QuestID`=26501 AND `id`=3) OR (`QuestID`=26501 AND `id`=2) OR (`QuestID`=26501 AND `id`=1) OR (`QuestID`=26501 AND `id`=0) OR (`QuestID`=26502 AND `id`=1) OR (`QuestID`=26502 AND `id`=0) OR (`QuestID`=26500 AND `id`=1) OR (`QuestID`=26500 AND `id`=0) OR (`QuestID`=27935 AND `id`=1) OR (`QuestID`=27935 AND `id`=0) OR (`QuestID`=27932 AND `id`=1) OR (`QuestID`=27932 AND `id`=0) OR (`QuestID`=26484 AND `id`=0) OR (`QuestID`=26411 AND `id`=1) OR (`QuestID`=26411 AND `id`=0) OR (`QuestID`=26410 AND `id`=1) OR (`QuestID`=26410 AND `id`=0) OR (`QuestID`=26244 AND `id`=1) OR (`QuestID`=26244 AND `id`=0) OR (`QuestID`=26245 AND `id`=3) OR (`QuestID`=26245 AND `id`=2) OR (`QuestID`=26245 AND `id`=1) OR (`QuestID`=26245 AND `id`=0) OR (`QuestID`=27123 AND `id`=0) OR (`QuestID`=27937 AND `id`=0) OR (`QuestID`=26836 AND `id`=1) OR (`QuestID`=26836 AND `id`=0) OR (`QuestID`=26835 AND `id`=0) OR (`QuestID`=26792 AND `id`=2) OR (`QuestID`=26792 AND `id`=1) OR (`QuestID`=26792 AND `id`=0) OR (`QuestID`=26834 AND `id`=0) OR (`QuestID`=26770 AND `id`=1) OR (`QuestID`=26770 AND `id`=0) OR (`QuestID`=26857 AND `id`=1) OR (`QuestID`=26857 AND `id`=0) OR (`QuestID`=28866 AND `id`=0) OR (`QuestID`=26255 AND `id`=0) OR (`QuestID`=26254 AND `id`=1) OR (`QuestID`=26254 AND `id`=0) OR (`QuestID`=26248 AND `id`=0) OR (`QuestID`=26591 AND `id`=1) OR (`QuestID`=26591 AND `id`=0) OR (`QuestID`=27933 AND `id`=2) OR (`QuestID`=27933 AND `id`=1) OR (`QuestID`=27933 AND `id`=0) OR (`QuestID`=26247 AND `id`=0) OR (`QuestID`=27135 AND `id`=1) OR (`QuestID`=27135 AND `id`=0) OR (`QuestID`=27136 AND `id`=6) OR (`QuestID`=27136 AND `id`=5) OR (`QuestID`=27136 AND `id`=4) OR (`QuestID`=27136 AND `id`=3) OR (`QuestID`=27136 AND `id`=0) OR (`QuestID`=26409 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(26762, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26762 +(26762, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26762 +(26755, 1, 0, 646, 640, 0, 0, 3, 15595), -- 26755 +(26755, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26755 +(28760, 4, -1, 657, 769, 1, 0, 7, 15595), -- 28760 +(28760, 3, 0, 657, 769, 1, 0, 7, 15595), -- 28760 +(28779, 1, 4, 657, 769, 1, 0, 7, 15595), -- 28779 +(28779, 0, -1, 657, 769, 1, 0, 7, 15595), -- 28779 +(26861, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26861 +(26861, 1, 1, 646, 640, 0, 0, 1, 15595), -- 26861 +(26861, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26861 +(26771, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26771 +(26771, 0, 0, 646, 640, 0, 0, 3, 15595), -- 26771 +(27102, 2, -1, 646, 640, 0, 0, 1, 15595), -- 27102 +(27102, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27102 +(27102, 0, 0, 646, 640, 0, 0, 1, 15595), -- 27102 +(27061, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27061 +(27100, 2, -1, 646, 640, 0, 0, 1, 15595), -- 27100 +(27100, 0, 4, 646, 640, 0, 0, 1, 15595), -- 27100 +(27010, 2, 0, 646, 640, 0, 0, 7, 15595), -- 27010 +(27010, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27010 +(27010, 0, 11, 646, 640, 0, 0, 1, 15595), -- 27010 +(27007, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27007 +(27007, 0, 16, 646, 640, 0, 0, 1, 15595), -- 27007 +(26256, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26256 +(26256, 1, 4, 646, 640, 0, 0, 3, 15595), -- 26256 +(26259, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26259 +(26259, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26259 +(26259, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26259 +(26250, 1, -1, 646, 640, 0, 0, 7, 15595), -- 26250 +(26250, 0, 0, 646, 640, 0, 0, 7, 15595), -- 26250 +(26625, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26625 +(26625, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26625 +(26537, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26537 +(26537, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26537 +(26564, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26564 +(26564, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26564 +(26499, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26499 +(26499, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26499 +(27934, 1, 0, 646, 640, 0, 0, 1, 15595), -- 27934 +(27934, 0, -1, 646, 640, 0, 0, 3, 15595), -- 27934 +(27931, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27931 +(26246, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26246 +(26413, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26413 +(26413, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26413 +(27727, 0, -1, 0, 301, 0, 0, 1, 15595), -- 27727 +(27938, 2, -1, 646, 640, 0, 0, 1, 15595), -- 27938 +(27938, 1, 4, 646, 640, 0, 0, 1, 15595), -- 27938 +(27938, 0, 4, 646, 640, 0, 0, 1, 15595), -- 27938 +(26791, 2, 1, 646, 640, 0, 0, 3, 15595), -- 26791 +(26791, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26791 +(26791, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26791 +(26632, 1, 0, 646, 640, 0, 0, 7, 15595), -- 26632 +(26632, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26632 +(27126, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27126 +(26876, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26876 +(26876, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26876 +(26766, 1, 4, 646, 640, 0, 0, 1, 15595), -- 26766 +(26766, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26766 +(26768, 3, -1, 646, 640, 0, 0, 1, 15595), -- 26768 +(26768, 2, 4, 646, 640, 0, 0, 1, 15595), -- 26768 +(26768, 1, 4, 646, 640, 0, 0, 1, 15595), -- 26768 +(26768, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26768 +(27101, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27101 +(26260, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26260 +(26261, 1, 11, 646, 640, 0, 0, 1, 15595), -- 26261 +(26261, 0, 0, 646, 640, 0, 1, 1, 15595), -- 26261 +(26258, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26258 +(26258, 0, 16, 646, 640, 0, 0, 1, 15595), -- 26258 +(26251, 1, -1, 646, 640, 0, 0, 7, 15595), -- 26251 +(26251, 0, 0, 646, 640, 0, 0, 7, 15595), -- 26251 +(26249, 0, -1, 646, 640, 0, 0, 7, 15595), -- 26249 +(26501, 4, 3, 646, 640, 0, 0, 7, 15595), -- 26501 +(26501, 3, 2, 646, 640, 0, 0, 7, 15595), -- 26501 +(26501, 2, 1, 646, 640, 0, 0, 7, 15595), -- 26501 +(26501, 1, 0, 646, 640, 0, 0, 7, 15595), -- 26501 +(26501, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26501 +(26502, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26502 +(26502, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26502 +(26500, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26500 +(26500, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26500 +(27935, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27935 +(27935, 0, 0, 646, 640, 0, 0, 1, 15595), -- 27935 +(27932, 1, 0, 646, 640, 0, 0, 1, 15595), -- 27932 +(27932, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27932 +(26484, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26484 +(26411, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26411 +(26411, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26411 +(26410, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26410 +(26410, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26410 +(26244, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26244 +(26244, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26244 +(26245, 3, 2, 646, 640, 0, 0, 1, 15595), -- 26245 +(26245, 2, 1, 646, 640, 0, 0, 1, 15595), -- 26245 +(26245, 1, 0, 646, 640, 0, 0, 1, 15595), -- 26245 +(26245, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26245 +(27123, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27123 +(27937, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27937 +(26836, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26836 +(26836, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26836 +(26835, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26835 +(26792, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26792 +(26792, 1, 1, 646, 640, 0, 0, 1, 15595), -- 26792 +(26792, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26792 +(26834, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26834 +(26770, 1, -1, 646, 640, 0, 0, 3, 15595), -- 26770 +(26770, 0, 0, 646, 640, 0, 0, 3, 15595), -- 26770 +(26857, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26857 +(26857, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26857 +(28866, 0, -1, 646, 640, 0, 0, 7, 15595), -- 28866 +(26255, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26255 +(26254, 1, -1, 646, 640, 0, 0, 7, 15595), -- 26254 +(26254, 0, 0, 646, 640, 0, 0, 7, 15595), -- 26254 +(26248, 0, 0, 646, 640, 0, 0, 7, 15595), -- 26248 +(26591, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26591 +(26591, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26591 +(27933, 2, -1, 646, 640, 0, 0, 1, 15595), -- 27933 +(27933, 1, 4, 646, 640, 0, 0, 1, 15595), -- 27933 +(27933, 0, 4, 646, 640, 0, 0, 1, 15595), -- 27933 +(26247, 0, -1, 646, 640, 0, 0, 3, 15595), -- 26247 +(27135, 1, 4, 646, 640, 0, 0, 1, 15595), -- 27135 +(27135, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27135 +(27136, 6, 0, 646, 640, 0, 0, 7, 15595), -- 27136 +(27136, 5, 0, 646, 640, 0, 0, 1, 15595), -- 27136 +(27136, 4, 0, 646, 640, 0, 0, 3, 15595), -- 27136 +(27136, 3, 0, 646, 640, 0, 0, 1, 15595), -- 27136 +(27136, 0, -1, 646, 640, 0, 0, 1, 15595), -- 27136 +(26409, 0, -1, 646, 640, 0, 0, 1, 15595); -- 26409 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=26762 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26762 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26755 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26755 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=28760 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=28760 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=28779 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=28779 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26861 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26861 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26861 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26771 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26771 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27102 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27102 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27102 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27061 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27100 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27100 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27010 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27010 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27010 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27007 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27007 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27007 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27007 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27007 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26256 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26256 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26256 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26256 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26256 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26259 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26259 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26259 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26250 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26250 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26625 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26625 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26537 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26537 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26564 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26564 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26499 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26499 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27934 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27934 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27931 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26246 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26413 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26413 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27727 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27938 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27938 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27938 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=26791 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26791 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26791 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26632 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26632 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27126 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26876 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26876 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26766 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26766 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26768 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=26768 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=26768 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=26768 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=26768 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26768 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26768 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26768 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26768 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27101 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26260 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26261 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26261 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26258 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26258 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26258 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26258 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26258 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26251 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26251 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26249 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26501 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=26501 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=26501 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26501 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26501 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26502 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26502 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26500 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26500 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27935 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27935 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=27932 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27932 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26484 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26411 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26411 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26410 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26410 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26244 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26244 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26245 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=26245 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26245 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26245 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27123 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27937 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26836 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26836 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26835 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26792 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26792 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26792 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26834 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26770 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26770 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26857 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26857 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=28866 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26255 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26254 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26254 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26248 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26591 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26591 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27933 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=27933 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27933 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26247 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27135 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=27135 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=27135 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=27135 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=27135 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=27135 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27135 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=11) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=10) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=9) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=8) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=7) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=6) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=5) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=4) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=3) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=2) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=1) OR (`QuestID`=27136 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=27136 AND `Idx1`=5 AND `Idx2`=3) OR (`QuestID`=27136 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=27136 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=27136 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=27136 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=27136 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=27136 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=27136 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=27136 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=27136 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=27136 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=27136 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=27136 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=27136 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=27136 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=27136 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=27136 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26409 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(26762, 1, 0, 1027, 1895, 15595), -- 26762 +(26762, 0, 9, 1138, 1778, 15595), -- 26762 +(26762, 0, 8, 1164, 1943, 15595), -- 26762 +(26762, 0, 7, 1173, 1982, 15595), -- 26762 +(26762, 0, 6, 1207, 1973, 15595), -- 26762 +(26762, 0, 5, 1259, 1953, 15595), -- 26762 +(26762, 0, 4, 1278, 1926, 15595), -- 26762 +(26762, 0, 3, 1291, 1885, 15595), -- 26762 +(26762, 0, 2, 1295, 1872, 15595), -- 26762 +(26762, 0, 1, 1282, 1839, 15595), -- 26762 +(26762, 0, 0, 1200, 1726, 15595), -- 26762 +(26755, 1, 7, 1135, 1821, 15595), -- 26755 +(26755, 1, 6, 1099, 1867, 15595), -- 26755 +(26755, 1, 5, 1102, 1987, 15595), -- 26755 +(26755, 1, 4, 1135, 2001, 15595), -- 26755 +(26755, 1, 3, 1152, 1917, 15595), -- 26755 +(26755, 1, 2, 1151, 1836, 15595), -- 26755 +(26755, 1, 1, 1149, 1829, 15595), -- 26755 +(26755, 1, 0, 1144, 1824, 15595), -- 26755 +(26755, 0, 0, 1027, 1895, 15595), -- 26755 +(28760, 4, 0, -328, -11, 15595), -- 28760 +(28760, 3, 0, -624, 506, 15595), -- 28760 +(28779, 1, 0, -719, 4, 15595), -- 28779 +(28779, 0, 0, -317, -14, 15595), -- 28779 +(26861, 2, 0, 2, -243, 15595), -- 26861 +(26861, 1, 0, 246, -582, 15595), -- 26861 +(26861, 0, 0, 246, -450, 15595), -- 26861 +(26771, 1, 0, 4, -237, 15595), -- 26771 +(26771, 0, 0, -89, 435, 15595), -- 26771 +(27102, 2, 0, 996, 518, 15595), -- 27102 +(27102, 1, 0, 994, 525, 15595), -- 27102 +(27102, 0, 0, 691, -664, 15595), -- 27102 +(27061, 0, 0, 4, -237, 15595), -- 27061 +(27100, 2, 0, 994, 525, 15595), -- 27100 +(27100, 0, 7, 547, -635, 15595), -- 27100 +(27100, 0, 6, 543, -583, 15595), -- 27100 +(27100, 0, 5, 544, -501, 15595), -- 27100 +(27100, 0, 4, 771, -551, 15595), -- 27100 +(27100, 0, 3, 812, -585, 15595), -- 27100 +(27100, 0, 2, 781, -694, 15595), -- 27100 +(27100, 0, 1, 677, -742, 15595), -- 27100 +(27100, 0, 0, 562, -771, 15595), -- 27100 +(27010, 2, 0, 546, -762, 15595), -- 27010 +(27010, 1, 0, 996, 521, 15595), -- 27010 +(27010, 0, 0, 611, -607, 15595), -- 27010 +(27007, 1, 0, 996, 521, 15595), -- 27007 +(27007, 0, 3, 601, -615, 15595), -- 27007 +(27007, 0, 2, 654, -562, 15595), -- 27007 +(27007, 0, 1, 707, -615, 15595), -- 27007 +(27007, 0, 0, 654, -668, 15595), -- 27007 +(26256, 2, 0, 996, 521, 15595), -- 26256 +(26256, 1, 3, 727, -53, 15595), -- 26256 +(26256, 1, 2, 796, -31, 15595), -- 26256 +(26256, 1, 1, 790, -80, 15595), -- 26256 +(26256, 1, 0, 699, -123, 15595), -- 26256 +(26259, 2, 0, 996, 518, 15595), -- 26259 +(26259, 1, 0, 994, 525, 15595), -- 26259 +(26259, 0, 7, 668, -80, 15595), -- 26259 +(26259, 0, 6, 785, 403, 15595), -- 26259 +(26259, 0, 5, 803, 364, 15595), -- 26259 +(26259, 0, 4, 820, 216, 15595), -- 26259 +(26259, 0, 3, 842, -14, 15595), -- 26259 +(26259, 0, 2, 806, -72, 15595), -- 26259 +(26259, 0, 1, 736, -124, 15595), -- 26259 +(26259, 0, 0, 695, -154, 15595), -- 26259 +(26250, 1, 0, 1202, -242, 15595), -- 26250 +(26250, 0, 0, 1197, -246, 15595), -- 26250 +(26625, 1, 0, 674, 1802, 15595), -- 26625 +(26625, 0, 0, 862, 1902, 15595), -- 26625 +(26537, 1, 0, 674, 1802, 15595), -- 26537 +(26537, 0, 11, 621, 1698, 15595), -- 26537 +(26537, 0, 10, 574, 1770, 15595), -- 26537 +(26537, 0, 9, 561, 1829, 15595), -- 26537 +(26537, 0, 8, 624, 1915, 15595), -- 26537 +(26537, 0, 7, 676, 1967, 15595), -- 26537 +(26537, 0, 6, 755, 2021, 15595), -- 26537 +(26537, 0, 5, 790, 2036, 15595), -- 26537 +(26537, 0, 4, 893, 2038, 15595), -- 26537 +(26537, 0, 3, 993, 2025, 15595), -- 26537 +(26537, 0, 2, 1015, 1798, 15595), -- 26537 +(26537, 0, 1, 1006, 1789, 15595), -- 26537 +(26537, 0, 0, 740, 1647, 15595), -- 26537 +(26564, 1, 0, 682, 1790, 15595), -- 26564 +(26564, 0, 11, 659, 1674, 15595), -- 26564 +(26564, 0, 10, 622, 1704, 15595), -- 26564 +(26564, 0, 9, 595, 1850, 15595), -- 26564 +(26564, 0, 8, 618, 1912, 15595), -- 26564 +(26564, 0, 7, 665, 1967, 15595), -- 26564 +(26564, 0, 6, 710, 2005, 15595), -- 26564 +(26564, 0, 5, 796, 2032, 15595), -- 26564 +(26564, 0, 4, 860, 2045, 15595), -- 26564 +(26564, 0, 3, 924, 2038, 15595), -- 26564 +(26564, 0, 2, 965, 1982, 15595), -- 26564 +(26564, 0, 1, 1002, 1844, 15595), -- 26564 +(26564, 0, 0, 735, 1651, 15595), -- 26564 +(26499, 1, 0, 461, 1613, 15595), -- 26499 +(26499, 0, 9, 301, 1430, 15595), -- 26499 +(26499, 0, 8, 240, 1492, 15595), -- 26499 +(26499, 0, 7, 171, 1668, 15595), -- 26499 +(26499, 0, 6, 430, 1811, 15595), -- 26499 +(26499, 0, 5, 432, 1810, 15595), -- 26499 +(26499, 0, 4, 564, 1638, 15595), -- 26499 +(26499, 0, 3, 556, 1600, 15595), -- 26499 +(26499, 0, 2, 517, 1507, 15595), -- 26499 +(26499, 0, 1, 477, 1447, 15595), -- 26499 +(26499, 0, 0, 367, 1413, 15595), -- 26499 +(27934, 1, 0, -234, 658, 15595), -- 27934 +(27934, 0, 0, -234, 658, 15595), -- 27934 +(27931, 0, 0, 153, 1489, 15595), -- 27931 +(26246, 0, 0, 996, 521, 15595), -- 26246 +(26413, 1, 0, 982, 528, 15595), -- 26413 +(26413, 0, 0, 980, 530, 15595), -- 26413 +(27727, 0, 0, -8218, 428, 15595), -- 27727 +(27938, 2, 0, 982, 528, 15595), -- 27938 +(27938, 1, 0, 460, 1621, 15595), -- 27938 +(27938, 0, 0, 460, 1622, 15595), -- 27938 +(26791, 2, 6, 1556, 1542, 15595), -- 26791 +(26791, 2, 5, 1430, 1631, 15595), -- 26791 +(26791, 2, 4, 1579, 1920, 15595), -- 26791 +(26791, 2, 3, 1906, 1706, 15595), -- 26791 +(26791, 2, 2, 1889, 1627, 15595), -- 26791 +(26791, 2, 1, 1806, 1487, 15595), -- 26791 +(26791, 2, 0, 1695, 1461, 15595), -- 26791 +(26791, 1, 0, 1272, 1645, 15595), -- 26791 +(26791, 0, 0, 1276, 1643, 15595), -- 26791 +(26632, 1, 0, 1017, 1992, 15595), -- 26632 +(26632, 0, 0, 1027, 1895, 15595), -- 26632 +(27126, 0, 0, 702, 1996, 15595), -- 27126 +(26876, 1, 0, 996, 521, 15595), -- 26876 +(26876, 0, 0, 185, -503, 15595), -- 26876 +(26766, 1, 7, -80, -14, 15595), -- 26766 +(26766, 1, 6, -201, 84, 15595), -- 26766 +(26766, 1, 5, -226, 141, 15595), -- 26766 +(26766, 1, 4, -106, 424, 15595), -- 26766 +(26766, 1, 3, -70, 473, 15595), -- 26766 +(26766, 1, 2, 35, 424, 15595), -- 26766 +(26766, 1, 1, 26, -26, 15595), -- 26766 +(26766, 1, 0, -21, -39, 15595), -- 26766 +(26766, 0, 0, 4, -237, 15595), -- 26766 +(26768, 3, 0, 4, -237, 15595), -- 26768 +(26768, 2, 3, -132, 109, 15595), -- 26768 +(26768, 2, 2, -115, 136, 15595), -- 26768 +(26768, 2, 1, -98, 122, 15595), -- 26768 +(26768, 2, 0, -109, 100, 15595), -- 26768 +(26768, 1, 2, -40, 355, 15595), -- 26768 +(26768, 1, 1, -26, 325, 15595), -- 26768 +(26768, 1, 0, -46, 325, 15595), -- 26768 +(26768, 0, 6, 184, -579, 15595), -- 26768 +(26768, 0, 5, 64, -453, 15595), -- 26768 +(26768, 0, 4, 144, -412, 15595), -- 26768 +(26768, 0, 3, 252, -415, 15595), -- 26768 +(26768, 0, 2, 283, -465, 15595), -- 26768 +(26768, 0, 1, 230, -562, 15595), -- 26768 +(26768, 0, 0, 205, -586, 15595), -- 26768 +(27101, 0, 0, 410, -377, 15595), -- 27101 +(26260, 0, 0, 912, -197, 15595), -- 26260 +(26261, 1, 0, 774, -151, 15595), -- 26261 +(26261, 0, 8, 587, -329, 15595), -- 26261 +(26261, 0, 7, 493, -240, 15595), -- 26261 +(26261, 0, 6, 489, -215, 15595), -- 26261 +(26261, 0, 5, 486, -141, 15595), -- 26261 +(26261, 0, 4, 516, -145, 15595), -- 26261 +(26261, 0, 3, 535, -149, 15595), -- 26261 +(26261, 0, 2, 857, -249, 15595), -- 26261 +(26261, 0, 1, 724, -340, 15595), -- 26261 +(26261, 0, 0, 627, -348, 15595), -- 26261 +(26258, 1, 0, 996, 521, 15595), -- 26258 +(26258, 0, 3, 748, -41, 15595), -- 26258 +(26258, 0, 2, 801, 12, 15595), -- 26258 +(26258, 0, 1, 854, -41, 15595), -- 26258 +(26258, 0, 0, 801, -94, 15595), -- 26258 +(26251, 1, 0, 1172, -221, 15595), -- 26251 +(26251, 0, 11, 1171, -288, 15595), -- 26251 +(26251, 0, 10, 1125, -267, 15595), -- 26251 +(26251, 0, 9, 1121, -216, 15595), -- 26251 +(26251, 0, 8, 1167, -187, 15595), -- 26251 +(26251, 0, 7, 1210, -178, 15595), -- 26251 +(26251, 0, 6, 1252, -178, 15595), -- 26251 +(26251, 0, 5, 1311, -178, 15595), -- 26251 +(26251, 0, 4, 1341, -204, 15595), -- 26251 +(26251, 0, 3, 1349, -250, 15595), -- 26251 +(26251, 0, 2, 1319, -276, 15595), -- 26251 +(26251, 0, 1, 1248, -301, 15595), -- 26251 +(26251, 0, 0, 1218, -301, 15595), -- 26251 +(26249, 0, 0, 1210, -234, 15595), -- 26249 +(26501, 4, 0, 483, 1585, 15595), -- 26501 +(26501, 3, 0, 533, 1657, 15595), -- 26501 +(26501, 2, 0, 457, 1736, 15595), -- 26501 +(26501, 1, 0, 390, 1652, 15595), -- 26501 +(26501, 0, 0, 674, 1802, 15595), -- 26501 +(26502, 1, 0, 677, 1783, 15595), -- 26502 +(26502, 0, 11, 398, 1657, 15595), -- 26502 +(26502, 0, 10, 410, 1722, 15595), -- 26502 +(26502, 0, 9, 416, 1732, 15595), -- 26502 +(26502, 0, 8, 441, 1745, 15595), -- 26502 +(26502, 0, 7, 501, 1731, 15595), -- 26502 +(26502, 0, 6, 504, 1730, 15595), -- 26502 +(26502, 0, 5, 525, 1712, 15595), -- 26502 +(26502, 0, 4, 525, 1711, 15595), -- 26502 +(26502, 0, 3, 504, 1665, 15595), -- 26502 +(26502, 0, 2, 501, 1662, 15595), -- 26502 +(26502, 0, 1, 476, 1645, 15595), -- 26502 +(26502, 0, 0, 406, 1643, 15595), -- 26502 +(26500, 1, 0, 432, 1602, 15595), -- 26500 +(26500, 0, 11, 312, 1434, 15595), -- 26500 +(26500, 0, 10, 252, 1492, 15595), -- 26500 +(26500, 0, 9, 176, 1611, 15595), -- 26500 +(26500, 0, 8, 165, 1679, 15595), -- 26500 +(26500, 0, 7, 347, 1791, 15595), -- 26500 +(26500, 0, 6, 388, 1815, 15595), -- 26500 +(26500, 0, 5, 443, 1811, 15595), -- 26500 +(26500, 0, 4, 573, 1636, 15595), -- 26500 +(26500, 0, 3, 565, 1599, 15595), -- 26500 +(26500, 0, 2, 525, 1505, 15595), -- 26500 +(26500, 0, 1, 480, 1457, 15595), -- 26500 +(26500, 0, 0, 357, 1412, 15595), -- 26500 +(27935, 1, 0, 460, 1628, 15595), -- 27935 +(27935, 0, 0, -234, 658, 15595), -- 27935 +(27932, 1, 6, -178, 668, 15595), -- 27932 +(27932, 1, 5, -169, 915, 15595), -- 27932 +(27932, 1, 4, -136, 1055, 15595), -- 27932 +(27932, 1, 3, -46, 1394, 15595), -- 27932 +(27932, 1, 2, 81, 1387, 15595), -- 27932 +(27932, 1, 1, 360, 1253, 15595), -- 27932 +(27932, 1, 0, -52, 615, 15595), -- 27932 +(27932, 0, 0, 153, 1489, 15595), -- 27932 +(26484, 0, 0, 455, 1615, 15595), -- 26484 +(26411, 1, 0, 848, 679, 15595), -- 26411 +(26411, 0, 0, 850, 677, 15595), -- 26411 +(26410, 1, 0, 848, 679, 15595), -- 26410 +(26410, 0, 10, 671, 785, 15595), -- 26410 +(26410, 0, 9, 660, 838, 15595), -- 26410 +(26410, 0, 8, 705, 1019, 15595), -- 26410 +(26410, 0, 7, 721, 1064, 15595), -- 26410 +(26410, 0, 6, 751, 1082, 15595), -- 26410 +(26410, 0, 5, 887, 1084, 15595), -- 26410 +(26410, 0, 4, 910, 1062, 15595), -- 26410 +(26410, 0, 3, 982, 922, 15595), -- 26410 +(26410, 0, 2, 1028, 804, 15595), -- 26410 +(26410, 0, 1, 1020, 778, 15595), -- 26410 +(26410, 0, 0, 825, 663, 15595), -- 26410 +(26244, 1, 0, 996, 521, 15595), -- 26244 +(26244, 0, 6, 121, 180, 15595), -- 26244 +(26244, 0, 5, 132, 242, 15595), -- 26244 +(26244, 0, 4, 274, 255, 15595), -- 26244 +(26244, 0, 3, 296, 212, 15595), -- 26244 +(26244, 0, 2, 330, 140, 15595), -- 26244 +(26244, 0, 1, 320, 98, 15595), -- 26244 +(26244, 0, 0, 262, 35, 15595), -- 26244 +(26245, 3, 0, 220, 170, 15595); -- 26245 + +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(26245, 2, 0, 253, 169, 15595), -- 26245 +(26245, 1, 0, 248, 210, 15595), -- 26245 +(26245, 0, 0, 996, 521, 15595), -- 26245 +(27123, 0, 0, 996, 521, 15595), -- 27123 +(27937, 0, 0, 462, 1624, 15595), -- 27937 +(26836, 1, 0, 1027, 1895, 15595), -- 26836 +(26836, 0, 0, 1732, 1794, 15595), -- 26836 +(26835, 0, 0, 1027, 1895, 15595), -- 26835 +(26792, 2, 0, 1272, 1645, 15595), -- 26792 +(26792, 1, 6, 1702, 1398, 15595), -- 26792 +(26792, 1, 5, 1562, 1484, 15595), -- 26792 +(26792, 1, 4, 1323, 1670, 15595), -- 26792 +(26792, 1, 3, 1352, 1777, 15595), -- 26792 +(26792, 1, 2, 1623, 1919, 15595), -- 26792 +(26792, 1, 1, 1956, 1643, 15595), -- 26792 +(26792, 1, 0, 1780, 1365, 15595), -- 26792 +(26792, 0, 0, 1276, 1643, 15595), -- 26792 +(26834, 0, 0, 1272, 1645, 15595), -- 26834 +(26770, 1, 0, 1011, 1887, 15595), -- 26770 +(26770, 0, 11, 1138, 1772, 15595), -- 26770 +(26770, 0, 10, 1103, 1837, 15595), -- 26770 +(26770, 0, 9, 1103, 1847, 15595), -- 26770 +(26770, 0, 8, 1126, 1934, 15595), -- 26770 +(26770, 0, 7, 1175, 1977, 15595), -- 26770 +(26770, 0, 6, 1207, 1967, 15595), -- 26770 +(26770, 0, 5, 1257, 1949, 15595), -- 26770 +(26770, 0, 4, 1274, 1922, 15595), -- 26770 +(26770, 0, 3, 1289, 1891, 15595), -- 26770 +(26770, 0, 2, 1276, 1838, 15595), -- 26770 +(26770, 0, 1, 1233, 1766, 15595), -- 26770 +(26770, 0, 0, 1201, 1737, 15595), -- 26770 +(26857, 1, 0, 3, -236, 15595), -- 26857 +(26857, 0, 6, 64, -453, 15595), -- 26857 +(26857, 0, 5, 120, -419, 15595), -- 26857 +(26857, 0, 4, 144, -412, 15595), -- 26857 +(26857, 0, 3, 252, -415, 15595), -- 26857 +(26857, 0, 2, 283, -465, 15595), -- 26857 +(26857, 0, 1, 230, -577, 15595), -- 26857 +(26857, 0, 0, 190, -598, 15595), -- 26857 +(28866, 0, 0, 1036, 646, 15595), -- 28866 +(26255, 0, 0, 996, 521, 15595), -- 26255 +(26254, 1, 0, 1206, -242, 15595), -- 26254 +(26254, 0, 0, 1193, -242, 15595), -- 26254 +(26248, 0, 11, 1125, -297, 15595), -- 26248 +(26248, 0, 10, 1095, -267, 15595), -- 26248 +(26248, 0, 9, 1087, -237, 15595), -- 26248 +(26248, 0, 8, 1112, -204, 15595), -- 26248 +(26248, 0, 7, 1150, -187, 15595), -- 26248 +(26248, 0, 6, 1218, -161, 15595), -- 26248 +(26248, 0, 5, 1277, -161, 15595), -- 26248 +(26248, 0, 4, 1307, -170, 15595), -- 26248 +(26248, 0, 3, 1336, -199, 15595), -- 26248 +(26248, 0, 2, 1324, -254, 15595), -- 26248 +(26248, 0, 1, 1290, -284, 15595), -- 26248 +(26248, 0, 0, 1180, -305, 15595), -- 26248 +(26591, 1, 0, 681, 1796, 15595), -- 26591 +(26591, 0, 10, 630, 1699, 15595), -- 26591 +(26591, 0, 9, 583, 1847, 15595), -- 26591 +(26591, 0, 8, 672, 1954, 15595), -- 26591 +(26591, 0, 7, 721, 2000, 15595), -- 26591 +(26591, 0, 6, 790, 2033, 15595), -- 26591 +(26591, 0, 5, 892, 2052, 15595), -- 26591 +(26591, 0, 4, 914, 2027, 15595), -- 26591 +(26591, 0, 3, 931, 1999, 15595), -- 26591 +(26591, 0, 2, 1012, 1828, 15595), -- 26591 +(26591, 0, 1, 748, 1660, 15595), -- 26591 +(26591, 0, 0, 733, 1652, 15595), -- 26591 +(27933, 2, 0, 153, 1489, 15595), -- 27933 +(27933, 1, 11, -263, 585, 15595), -- 27933 +(27933, 1, 10, -282, 612, 15595), -- 27933 +(27933, 1, 9, -295, 681, 15595), -- 27933 +(27933, 1, 8, -294, 715, 15595), -- 27933 +(27933, 1, 7, -203, 1056, 15595), -- 27933 +(27933, 1, 6, -161, 1123, 15595), -- 27933 +(27933, 1, 5, -91, 1183, 15595), -- 27933 +(27933, 1, 4, -39, 1216, 15595), -- 27933 +(27933, 1, 3, 39, 1171, 15595), -- 27933 +(27933, 1, 2, 131, 1083, 15595), -- 27933 +(27933, 1, 1, 72, 676, 15595), -- 27933 +(27933, 1, 0, -80, 557, 15595), -- 27933 +(27933, 0, 6, 146, 1192, 15595), -- 27933 +(27933, 0, 5, 5, 1355, 15595), -- 27933 +(27933, 0, 4, 23, 1483, 15595), -- 27933 +(27933, 0, 3, 69, 1516, 15595), -- 27933 +(27933, 0, 2, 216, 1366, 15595), -- 27933 +(27933, 0, 1, 324, 1189, 15595), -- 27933 +(27933, 0, 0, 242, 1185, 15595), -- 27933 +(26247, 0, 0, 1110, -310, 15595), -- 26247 +(27135, 1, 5, 793, 164, 15595), -- 27135 +(27135, 1, 4, 784, 188, 15595), -- 27135 +(27135, 1, 3, 759, 273, 15595), -- 27135 +(27135, 1, 2, 777, 377, 15595), -- 27135 +(27135, 1, 1, 819, 459, 15595), -- 27135 +(27135, 1, 0, 817, 143, 15595), -- 27135 +(27135, 0, 0, 848, 679, 15595), -- 27135 +(27136, 6, 11, 985, 28, 15595), -- 27136 +(27136, 6, 10, 943, 74, 15595), -- 27136 +(27136, 6, 9, 939, 129, 15595), -- 27136 +(27136, 6, 8, 977, 184, 15595), -- 27136 +(27136, 6, 7, 1011, 210, 15595), -- 27136 +(27136, 6, 6, 1066, 218, 15595), -- 27136 +(27136, 6, 5, 1125, 210, 15595), -- 27136 +(27136, 6, 4, 1167, 159, 15595), -- 27136 +(27136, 6, 3, 1163, 104, 15595), -- 27136 +(27136, 6, 2, 1133, 83, 15595), -- 27136 +(27136, 6, 1, 1062, 36, 15595), -- 27136 +(27136, 6, 0, 1015, 24, 15595), -- 27136 +(27136, 5, 3, 1049, 1010, 15595), -- 27136 +(27136, 5, 2, 1122, 979, 15595), -- 27136 +(27136, 5, 1, 1117, 920, 15595), -- 27136 +(27136, 5, 0, 1055, 857, 15595), -- 27136 +(27136, 4, 5, 623, 363, 15595), -- 27136 +(27136, 4, 4, 653, 481, 15595), -- 27136 +(27136, 4, 3, 688, 621, 15595), -- 27136 +(27136, 4, 2, 781, 548, 15595), -- 27136 +(27136, 4, 1, 781, 483, 15595), -- 27136 +(27136, 4, 0, 694, 351, 15595), -- 27136 +(27136, 3, 5, 1378, 424, 15595), -- 27136 +(27136, 3, 4, 1318, 681, 15595), -- 27136 +(27136, 3, 3, 1368, 851, 15595), -- 27136 +(27136, 3, 2, 1434, 901, 15595), -- 27136 +(27136, 3, 1, 1515, 553, 15595), -- 27136 +(27136, 3, 0, 1454, 382, 15595), -- 27136 +(27136, 0, 0, 996, 521, 15595), -- 27136 +(26409, 0, 0, 848, 679, 15595); -- 26409 + +DELETE FROM `quest_poi` WHERE (`QuestID`=26971 AND `id`=1) OR (`QuestID`=26971 AND `id`=0) OR (`QuestID`=26833 AND `id`=0) OR (`QuestID`=26831 AND `id`=1) OR (`QuestID`=26831 AND `id`=0) OR (`QuestID`=26829 AND `id`=2) OR (`QuestID`=26829 AND `id`=1) OR (`QuestID`=27006 AND `id`=1) OR (`QuestID`=27006 AND `id`=0) OR (`QuestID`=26752 AND `id`=1) OR (`QuestID`=26752 AND `id`=0) OR (`QuestID`=26583 AND `id`=1) OR (`QuestID`=26583 AND `id`=0) OR (`QuestID`=26585 AND `id`=2) OR (`QuestID`=26585 AND `id`=1) OR (`QuestID`=26579 AND `id`=2) OR (`QuestID`=26579 AND `id`=1) OR (`QuestID`=26580 AND `id`=0) OR (`QuestID`=26577 AND `id`=0) OR (`QuestID`=26576 AND `id`=0) OR (`QuestID`=26507 AND `id`=1) OR (`QuestID`=26507 AND `id`=0) OR (`QuestID`=26441 AND `id`=0) OR (`QuestID`=26438 AND `id`=1) OR (`QuestID`=26438 AND `id`=0) OR (`QuestID`=26426 AND `id`=2) OR (`QuestID`=26426 AND `id`=1) OR (`QuestID`=26426 AND `id`=0) OR (`QuestID`=26312 AND `id`=3) OR (`QuestID`=26312 AND `id`=2) OR (`QuestID`=26312 AND `id`=1) OR (`QuestID`=26312 AND `id`=0) OR (`QuestID`=26326 AND `id`=0) OR (`QuestID`=28292 AND `id`=1) OR (`QuestID`=27058 AND `id`=1) OR (`QuestID`=27058 AND `id`=0) OR (`QuestID`=26832 AND `id`=2) OR (`QuestID`=26832 AND `id`=1) OR (`QuestID`=26832 AND `id`=0) OR (`QuestID`=27004 AND `id`=1) OR (`QuestID`=27004 AND `id`=0) OR (`QuestID`=26827 AND `id`=1) OR (`QuestID`=26827 AND `id`=0) OR (`QuestID`=26584 AND `id`=1) OR (`QuestID`=26584 AND `id`=0) OR (`QuestID`=26582 AND `id`=0) OR (`QuestID`=26578 AND `id`=1) OR (`QuestID`=26578 AND `id`=0) OR (`QuestID`=26439 AND `id`=2) OR (`QuestID`=26439 AND `id`=0) OR (`QuestID`=26436 AND `id`=0) OR (`QuestID`=26871 AND `id`=0) OR (`QuestID`=26869 AND `id`=0) OR (`QuestID`=26375 AND `id`=2) OR (`QuestID`=26375 AND `id`=1) OR (`QuestID`=26328 AND `id`=0) OR (`QuestID`=26315 AND `id`=2) OR (`QuestID`=26315 AND `id`=1) OR (`QuestID`=26313 AND `id`=2) OR (`QuestID`=26313 AND `id`=0) OR (`QuestID`=26314 AND `id`=1) OR (`QuestID`=26314 AND `id`=0) OR (`QuestID`=27040 AND `id`=0) OR (`QuestID`=27042 AND `id`=4) OR (`QuestID`=27042 AND `id`=3) OR (`QuestID`=27042 AND `id`=2) OR (`QuestID`=27042 AND `id`=1) OR (`QuestID`=27042 AND `id`=0) OR (`QuestID`=26709 AND `id`=0) OR (`QuestID`=28760 AND `id`=4) OR (`QuestID`=28760 AND `id`=3) OR (`QuestID`=28779 AND `id`=1) OR (`QuestID`=28779 AND `id`=0) OR (`QuestID`=26875 AND `id`=2) OR (`QuestID`=26875 AND `id`=1) OR (`QuestID`=26875 AND `id`=0) OR (`QuestID`=26828 AND `id`=0) OR (`QuestID`=26750 AND `id`=0) OR (`QuestID`=26581 AND `id`=2) OR (`QuestID`=26581 AND `id`=0) OR (`QuestID`=26659 AND `id`=2) OR (`QuestID`=26659 AND `id`=1) OR (`QuestID`=26659 AND `id`=0) OR (`QuestID`=26657 AND `id`=1) OR (`QuestID`=26657 AND `id`=0) OR (`QuestID`=26658 AND `id`=2) OR (`QuestID`=26658 AND `id`=1) OR (`QuestID`=26656 AND `id`=2) OR (`QuestID`=26656 AND `id`=1) OR (`QuestID`=26656 AND `id`=0) OR (`QuestID`=26575 AND `id`=1) OR (`QuestID`=26575 AND `id`=0) OR (`QuestID`=26440 AND `id`=1) OR (`QuestID`=26440 AND `id`=0) OR (`QuestID`=26437 AND `id`=1) OR (`QuestID`=26437 AND `id`=0) OR (`QuestID`=26376 AND `id`=3) OR (`QuestID`=26376 AND `id`=2) OR (`QuestID`=26376 AND `id`=0) OR (`QuestID`=26377 AND `id`=2) OR (`QuestID`=26377 AND `id`=1) OR (`QuestID`=26377 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(26971, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26971 +(26971, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26971 +(26833, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26833 +(26831, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26831 +(26831, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26831 +(26829, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26829 +(26829, 1, 0, 646, 640, 0, 0, 3, 15595), -- 26829 +(27006, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27006 +(27006, 0, 0, 646, 640, 0, 0, 1, 15595), -- 27006 +(26752, 1, 0, 646, 640, 0, 0, 7, 15595), -- 26752 +(26752, 0, -1, 646, 640, 0, 0, 7, 15595), -- 26752 +(26583, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26583 +(26583, 0, 0, 646, 640, 0, 0, 3, 15595), -- 26583 +(26585, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26585 +(26585, 1, 4, 646, 640, 0, 0, 1, 15595), -- 26585 +(26579, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26579 +(26579, 1, 0, 646, 640, 0, 0, 3, 15595), -- 26579 +(26580, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26580 +(26577, 0, -1, 646, 640, 0, 0, 3, 15595), -- 26577 +(26576, 0, -1, 646, 640, 0, 0, 7, 15595), -- 26576 +(26507, 1, -1, 646, 640, 0, 0, 7, 15595), -- 26507 +(26507, 0, 4, 646, 640, 0, 0, 7, 15595), -- 26507 +(26441, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26441 +(26438, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26438 +(26438, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26438 +(26426, 2, 1, 646, 640, 0, 0, 7, 15595), -- 26426 +(26426, 1, 0, 646, 640, 0, 0, 7, 15595), -- 26426 +(26426, 0, -1, 646, 640, 0, 0, 7, 15595), -- 26426 +(26312, 3, -1, 646, 640, 0, 0, 1, 15595), -- 26312 +(26312, 2, 2, 646, 640, 0, 0, 1, 15595), -- 26312 +(26312, 1, 1, 646, 640, 0, 0, 1, 15595), -- 26312 +(26312, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26312 +(26326, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26326 +(28292, 1, -1, 0, 301, 0, 0, 1, 15595), -- 28292 +(27058, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27058 +(27058, 0, 0, 646, 640, 0, 0, 1, 15595), -- 27058 +(26832, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26832 +(26832, 1, 1, 646, 640, 0, 0, 1, 15595), -- 26832 +(26832, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26832 +(27004, 1, -1, 646, 640, 0, 0, 1, 15595), -- 27004 +(27004, 0, 4, 646, 640, 0, 0, 1, 15595), -- 27004 +(26827, 1, 0, 646, 640, 0, 0, 1, 15595), -- 26827 +(26827, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26827 +(26584, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26584 +(26584, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26584 +(26582, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26582 +(26578, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26578 +(26578, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26578 +(26439, 2, 0, 646, 640, 0, 0, 1, 15595), -- 26439 +(26439, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26439 +(26436, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26436 +(26871, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26871 +(26869, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26869 +(26375, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26375 +(26375, 1, 0, 646, 640, 0, 0, 1, 15595), -- 26375 +(26328, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26328 +(26315, 2, -1, 646, 640, 0, 0, 7, 15595), -- 26315 +(26315, 1, 0, 646, 640, 0, 0, 7, 15595), -- 26315 +(26313, 2, -1, 646, 640, 0, 0, 7, 15595), -- 26313 +(26313, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26313 +(26314, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26314 +(26314, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26314 +(27040, 0, 0, 646, 640, 0, 0, 1, 15595), -- 27040 +(27042, 4, -1, 646, 640, 0, 0, 1, 15595), -- 27042 +(27042, 3, 3, 646, 640, 0, 1, 1, 15595), -- 27042 +(27042, 2, 2, 646, 640, 0, 0, 1, 15595), -- 27042 +(27042, 1, 1, 646, 640, 0, 0, 1, 15595), -- 27042 +(27042, 0, 0, 646, 640, 0, 0, 1, 15595), -- 27042 +(26709, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26709 +(28760, 4, -1, 657, 769, 1, 0, 7, 15595), -- 28760 +(28760, 3, 0, 657, 769, 1, 0, 7, 15595), -- 28760 +(28779, 1, 4, 657, 769, 1, 0, 7, 15595), -- 28779 +(28779, 0, -1, 657, 769, 1, 0, 7, 15595), -- 28779 +(26875, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26875 +(26875, 1, 1, 646, 640, 0, 0, 1, 15595), -- 26875 +(26875, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26875 +(26828, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26828 +(26750, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26750 +(26581, 2, 0, 646, 640, 0, 0, 7, 15595), -- 26581 +(26581, 0, -1, 646, 640, 0, 0, 1, 15595), -- 26581 +(26659, 2, -1, 646, 640, 0, 0, 7, 15595), -- 26659 +(26659, 1, 1, 646, 640, 0, 0, 7, 15595), -- 26659 +(26659, 0, 0, 646, 640, 0, 0, 7, 15595), -- 26659 +(26657, 1, 0, 646, 640, 0, 0, 7, 15595), -- 26657 +(26657, 0, -1, 646, 640, 0, 0, 7, 15595), -- 26657 +(26658, 2, 4, 646, 640, 0, 0, 7, 15595), -- 26658 +(26658, 1, -1, 646, 640, 0, 0, 7, 15595), -- 26658 +(26656, 2, -1, 646, 640, 0, 0, 7, 15595), -- 26656 +(26656, 1, 0, 646, 640, 0, 0, 1, 15595), -- 26656 +(26656, 0, 1, 646, 640, 0, 0, 1, 15595), -- 26656 +(26575, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26575 +(26575, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26575 +(26440, 1, -1, 646, 640, 0, 0, 7, 15595), -- 26440 +(26440, 0, 0, 646, 640, 0, 0, 7, 15595), -- 26440 +(26437, 1, -1, 646, 640, 0, 0, 1, 15595), -- 26437 +(26437, 0, 4, 646, 640, 0, 0, 1, 15595), -- 26437 +(26376, 3, 1, 646, 640, 0, 0, 7, 15595), -- 26376 +(26376, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26376 +(26376, 0, 0, 646, 640, 0, 0, 1, 15595), -- 26376 +(26377, 2, -1, 646, 640, 0, 0, 1, 15595), -- 26377 +(26377, 1, 0, 646, 640, 0, 0, 1, 15595), -- 26377 +(26377, 0, 10, 646, 640, 0, 0, 1, 15595); -- 26377 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=26971 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26971 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26833 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26831 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26831 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26829 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26829 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27006 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27006 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26752 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26752 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26583 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26583 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26585 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26585 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26579 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26579 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26580 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26577 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26576 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26507 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26507 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26441 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26438 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26438 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26426 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26426 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26426 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26312 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=26312 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26312 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26312 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26326 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=28292 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27058 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27058 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26832 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26832 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26832 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27004 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27004 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=27004 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=27004 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27004 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27004 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27004 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26827 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26827 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26584 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26584 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26582 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26578 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26578 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=26439 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26439 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26436 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26871 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26869 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26375 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26375 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26328 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26315 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26315 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26313 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26313 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26314 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26314 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26314 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26314 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26314 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26314 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26314 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27040 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27042 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=27042 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=27042 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=27042 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27042 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26709 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=28760 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=28760 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=28779 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=28779 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26875 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26875 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26875 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26875 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26875 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26875 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26875 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26875 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26828 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26750 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=26581 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26581 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26659 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26659 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26659 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26657 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26657 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=26658 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26658 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26656 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26656 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26656 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26575 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26575 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=26440 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26440 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26437 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26437 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=26376 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=26376 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26376 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=26377 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=26377 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=26377 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(26971, 1, 0, 996, 524, 15595), -- 26971 +(26971, 0, 0, 998, 522, 15595), -- 26971 +(26833, 0, 0, 996, 521, 15595), -- 26833 +(26831, 1, 0, 1538, -220, 15595), -- 26831 +(26831, 0, 0, 1501, -166, 15595), -- 26831 +(26829, 2, 0, 1948, -178, 15595), -- 26829 +(26829, 1, 11, 1513, -210, 15595), -- 26829 +(26829, 1, 10, 1509, -208, 15595), -- 26829 +(26829, 1, 9, 1493, -136, 15595), -- 26829 +(26829, 1, 8, 1494, -65, 15595), -- 26829 +(26829, 1, 7, 1568, 20, 15595), -- 26829 +(26829, 1, 6, 1627, 32, 15595), -- 26829 +(26829, 1, 5, 1676, -9, 15595), -- 26829 +(26829, 1, 4, 1746, -100, 15595), -- 26829 +(26829, 1, 3, 1746, -148, 15595), -- 26829 +(26829, 1, 2, 1704, -233, 15595), -- 26829 +(26829, 1, 1, 1697, -245, 15595), -- 26829 +(26829, 1, 0, 1650, -259, 15595), -- 26829 +(27006, 1, 0, 1050, 639, 15595), -- 27006 +(27006, 0, 0, 266, 1074, 15595), -- 27006 +(26752, 1, 0, 2357, 147, 15595), -- 26752 +(26752, 0, 0, 2342, 161, 15595), -- 26752 +(26583, 1, 0, 1900, -440, 15595), -- 26583 +(26583, 0, 0, 1822, -441, 15595), -- 26583 +(26585, 2, 0, 960, -631, 15595), -- 26585 +(26585, 1, 9, 1826, -710, 15595), -- 26585 +(26585, 1, 8, 1826, -696, 15595), -- 26585 +(26585, 1, 7, 1844, -448, 15595), -- 26585 +(26585, 1, 6, 1959, -408, 15595), -- 26585 +(26585, 1, 5, 1977, -508, 15595), -- 26585 +(26585, 1, 4, 1936, -673, 15595), -- 26585 +(26585, 1, 3, 1921, -711, 15595), -- 26585 +(26585, 1, 2, 1897, -745, 15595), -- 26585 +(26585, 1, 1, 1862, -764, 15595), -- 26585 +(26585, 1, 0, 1827, -771, 15595), -- 26585 +(26579, 2, 0, 960, -631, 15595), -- 26579 +(26579, 1, 8, 1140, -497, 15595), -- 26579 +(26579, 1, 7, 1381, -468, 15595), -- 26579 +(26579, 1, 6, 1523, -452, 15595), -- 26579 +(26579, 1, 5, 1683, -458, 15595), -- 26579 +(26579, 1, 4, 1705, -513, 15595), -- 26579 +(26579, 1, 3, 1738, -665, 15595), -- 26579 +(26579, 1, 2, 1742, -765, 15595), -- 26579 +(26579, 1, 1, 1379, -907, 15595), -- 26579 +(26579, 1, 0, 1041, -902, 15595), -- 26579 +(26580, 0, 0, 1178, -609, 15595), -- 26580 +(26577, 0, 0, 960, -631, 15595), -- 26577 +(26576, 0, 0, 2154, 1021, 15595), -- 26576 +(26507, 1, 11, 1863, 604, 15595), -- 26507 +(26507, 1, 10, 1811, 638, 15595), -- 26507 +(26507, 1, 9, 1787, 710, 15595), -- 26507 +(26507, 1, 8, 1787, 786, 15595), -- 26507 +(26507, 1, 7, 1811, 848, 15595), -- 26507 +(26507, 1, 6, 1859, 848, 15595), -- 26507 +(26507, 1, 5, 1911, 834, 15595), -- 26507 +(26507, 1, 4, 1973, 786, 15595), -- 26507 +(26507, 1, 3, 2011, 743, 15595), -- 26507 +(26507, 1, 2, 2031, 676, 15595), -- 26507 +(26507, 1, 1, 2002, 590, 15595), -- 26507 +(26507, 1, 0, 1916, 585, 15595), -- 26507 +(26507, 0, 11, 1887, 585, 15595), -- 26507 +(26507, 0, 10, 1830, 628, 15595), -- 26507 +(26507, 0, 9, 1792, 666, 15595), -- 26507 +(26507, 0, 8, 1782, 762, 15595), -- 26507 +(26507, 0, 7, 1782, 810, 15595), -- 26507 +(26507, 0, 6, 1849, 858, 15595), -- 26507 +(26507, 0, 5, 1911, 834, 15595), -- 26507 +(26507, 0, 4, 1954, 805, 15595), -- 26507 +(26507, 0, 3, 1988, 767, 15595), -- 26507 +(26507, 0, 2, 2026, 710, 15595), -- 26507 +(26507, 0, 1, 2035, 614, 15595), -- 26507 +(26507, 0, 0, 1978, 571, 15595), -- 26507 +(26441, 0, 0, 1635, 1316, 15595), -- 26441 +(26438, 1, 0, 1635, 1316, 15595), -- 26438 +(26438, 0, 11, 1452, 1139, 15595), -- 26438 +(26438, 0, 10, 670, 1209, 15595), -- 26438 +(26438, 0, 9, 570, 1257, 15595), -- 26438 +(26438, 0, 8, 690, 1385, 15595), -- 26438 +(26438, 0, 7, 909, 1581, 15595), -- 26438 +(26438, 0, 6, 1025, 1580, 15595), -- 26438 +(26438, 0, 5, 1116, 1570, 15595), -- 26438 +(26438, 0, 4, 1254, 1546, 15595), -- 26438 +(26438, 0, 3, 1383, 1506, 15595), -- 26438 +(26438, 0, 2, 1495, 1396, 15595), -- 26438 +(26438, 0, 1, 1639, 1252, 15595), -- 26438 +(26438, 0, 0, 1584, 1130, 15595), -- 26438 +(26426, 2, 0, 1927, 84, 15595), -- 26426 +(26426, 1, 0, 1763, 427, 15595), -- 26426 +(26426, 0, 0, 1927, 80, 15595), -- 26426 +(26312, 3, 0, 1244, 703, 15595), -- 26312 +(26312, 2, 0, 1339, 624, 15595), -- 26312 +(26312, 1, 0, 1308, 797, 15595), -- 26312 +(26312, 0, 0, 1392, 782, 15595), -- 26312 +(26326, 0, 0, 1253, 677, 15595), -- 26326 +(28292, 1, 0, -8296, 232, 15595), -- 28292 +(27058, 1, 0, 1048, 639, 15595), -- 27058 +(27058, 0, 0, 284, 1057, 15595), -- 27058 +(26832, 2, 0, 1948, -178, 15595), -- 26832 +(26832, 1, 0, 1713, -132, 15595), -- 26832 +(26832, 0, 0, 1677, 48, 15595), -- 26832 +(27004, 1, 0, 1048, 639, 15595), -- 27004 +(27004, 0, 5, 222, 864, 15595), -- 27004 +(27004, 0, 4, 235, 915, 15595), -- 27004 +(27004, 0, 3, 284, 1053, 15595), -- 27004 +(27004, 0, 2, 499, 1204, 15595), -- 27004 +(27004, 0, 1, 586, 1059, 15595), -- 27004 +(27004, 0, 0, 511, 730, 15595), -- 27004 +(26827, 1, 11, 986, 462, 15595), -- 26827 +(26827, 1, 10, 963, 568, 15595), -- 26827 +(26827, 1, 9, 963, 569, 15595), -- 26827 +(26827, 1, 8, 963, 572, 15595), -- 26827 +(26827, 1, 7, 967, 609, 15595), -- 26827 +(26827, 1, 6, 969, 610, 15595), -- 26827 +(26827, 1, 5, 1103, 602, 15595), -- 26827 +(26827, 1, 4, 1106, 600, 15595), -- 26827 +(26827, 1, 3, 1127, 496, 15595), -- 26827 +(26827, 1, 2, 1127, 494, 15595), -- 26827 +(26827, 1, 1, 1125, 489, 15595), -- 26827 +(26827, 1, 0, 1006, 429, 15595), -- 26827 +(26827, 0, 0, 996, 521, 15595), -- 26827 +(26584, 1, 0, 960, -631, 15595), -- 26584 +(26584, 0, 8, 1930, -446, 15595), -- 26584 +(26584, 0, 7, 1926, -427, 15595), -- 26584 +(26584, 0, 6, 1926, -411, 15595), -- 26584 +(26584, 0, 5, 1930, -405, 15595), -- 26584 +(26584, 0, 4, 1963, -411, 15595), -- 26584 +(26584, 0, 3, 1970, -416, 15595), -- 26584 +(26584, 0, 2, 1978, -435, 15595), -- 26584 +(26584, 0, 1, 1985, -485, 15595), -- 26584 +(26584, 0, 0, 1953, -552, 15595), -- 26584 +(26582, 0, 0, 960, -631, 15595), -- 26582 +(26578, 1, 0, 960, -631, 15595), -- 26578 +(26578, 0, 11, 1154, -909, 15595), -- 26578 +(26578, 0, 10, 1018, -890, 15595), -- 26578 +(26578, 0, 9, 1133, -520, 15595), -- 26578 +(26578, 0, 8, 1166, -443, 15595), -- 26578 +(26578, 0, 7, 1258, -439, 15595), -- 26578 +(26578, 0, 6, 1556, -431, 15595), -- 26578 +(26578, 0, 5, 1673, -431, 15595), -- 26578 +(26578, 0, 4, 1728, -485, 15595), -- 26578 +(26578, 0, 3, 1750, -606, 15595), -- 26578 +(26578, 0, 2, 1682, -742, 15595), -- 26578 +(26578, 0, 1, 1526, -827, 15595), -- 26578 +(26578, 0, 0, 1237, -919, 15595), -- 26578 +(26439, 2, 7, 773, 1224, 15595), -- 26439 +(26439, 2, 6, 576, 1271, 15595), -- 26439 +(26439, 2, 5, 884, 1562, 15595), -- 26439 +(26439, 2, 4, 977, 1607, 15595), -- 26439 +(26439, 2, 3, 1281, 1547, 15595), -- 26439 +(26439, 2, 2, 1398, 1493, 15595), -- 26439 +(26439, 2, 1, 1741, 1242, 15595), -- 26439 +(26439, 2, 0, 1471, 1081, 15595), -- 26439 +(26439, 0, 0, 1635, 1316, 15595), -- 26439 +(26436, 0, 0, 1631, 1310, 15595), -- 26436 +(26871, 0, 0, 1345, 169, 15595), -- 26871 +(26869, 0, 0, 2089, -337, 15595), -- 26869 +(26375, 2, 0, 1455, 152, 15595), -- 26375 +(26375, 1, 7, 1253, -56, 15595), -- 26375 +(26375, 1, 6, 1251, -3, 15595), -- 26375 +(26375, 1, 5, 1430, 77, 15595), -- 26375 +(26375, 1, 4, 1470, 72, 15595), -- 26375 +(26375, 1, 3, 1496, 29, 15595), -- 26375 +(26375, 1, 2, 1514, -30, 15595), -- 26375 +(26375, 1, 1, 1404, -52, 15595), -- 26375 +(26375, 1, 0, 1360, -58, 15595), -- 26375 +(26328, 0, 0, 1345, 169, 15595), -- 26328 +(26315, 2, 0, 1237, 702, 15595), -- 26315 +(26315, 1, 0, 1467, 587, 15595), -- 26315 +(26313, 2, 0, 1257, 688, 15595), -- 26313 +(26313, 0, 10, 1283, 563, 15595), -- 26313 +(26313, 0, 9, 1248, 855, 15595), -- 26313 +(26313, 0, 8, 1250, 860, 15595), -- 26313 +(26313, 0, 7, 1381, 922, 15595), -- 26313 +(26313, 0, 6, 1418, 903, 15595), -- 26313 +(26313, 0, 5, 1451, 876, 15595), -- 26313 +(26313, 0, 4, 1509, 778, 15595), -- 26313 +(26313, 0, 3, 1520, 756, 15595), -- 26313 +(26313, 0, 2, 1549, 618, 15595), -- 26313 +(26313, 0, 1, 1551, 569, 15595), -- 26313 +(26313, 0, 0, 1301, 524, 15595), -- 26313 +(26314, 1, 0, 1253, 677, 15595), -- 26314 +(26314, 0, 5, 1311, 840, 15595), -- 26314 +(26314, 0, 4, 1389, 927, 15595), -- 26314 +(26314, 0, 3, 1459, 875, 15595), -- 26314 +(26314, 0, 2, 1499, 819, 15595), -- 26314 +(26314, 0, 1, 1515, 681, 15595), -- 26314 +(26314, 0, 0, 1340, 547, 15595), -- 26314 +(27040, 0, 10, 292, 890, 15595), -- 27040 +(27040, 0, 9, 233, 917, 15595), -- 27040 +(27040, 0, 8, 283, 1030, 15595), -- 27040 +(27040, 0, 7, 441, 1148, 15595), -- 27040 +(27040, 0, 6, 509, 1115, 15595), -- 27040 +(27040, 0, 5, 534, 1099, 15595), -- 27040 +(27040, 0, 4, 560, 1081, 15595), -- 27040 +(27040, 0, 3, 587, 1055, 15595), -- 27040 +(27040, 0, 2, 569, 1025, 15595), -- 27040 +(27040, 0, 1, 547, 1000, 15595), -- 27040 +(27040, 0, 0, 408, 862, 15595), -- 27040 +(27042, 4, 0, 1050, 639, 15595), -- 27042 +(27042, 3, 0, 683, 1019, 15595), -- 27042 +(27042, 2, 0, 335, 986, 15595), -- 27042 +(27042, 1, 0, 542, 970, 15595), -- 27042 +(27042, 0, 0, 505, 1216, 15595), -- 27042 +(26709, 0, 0, 2383, 179, 15595), -- 26709 +(28760, 4, 0, -328, -11, 15595), -- 28760 +(28760, 3, 0, -624, 506, 15595), -- 28760 +(28779, 1, 0, -719, 4, 15595), -- 28779 +(28779, 0, 0, -317, -14, 15595), -- 28779 +(26875, 2, 0, 996, 524, 15595), -- 26875 +(26875, 1, 5, 989, 459, 15595), -- 26875 +(26875, 1, 4, 964, 575, 15595), -- 26875 +(26875, 1, 3, 967, 604, 15595), -- 26875 +(26875, 1, 2, 1108, 598, 15595), -- 26875 +(26875, 1, 1, 1129, 495, 15595), -- 26875 +(26875, 1, 0, 1003, 434, 15595), -- 26875 +(26875, 0, 11, 986, 462, 15595), -- 26875 +(26875, 0, 10, 963, 568, 15595), -- 26875 +(26875, 0, 9, 963, 569, 15595), -- 26875 +(26875, 0, 8, 963, 572, 15595), -- 26875 +(26875, 0, 7, 967, 609, 15595), -- 26875 +(26875, 0, 6, 969, 610, 15595), -- 26875 +(26875, 0, 5, 1103, 602, 15595), -- 26875 +(26875, 0, 4, 1106, 600, 15595), -- 26875 +(26875, 0, 3, 1127, 496, 15595), -- 26875 +(26875, 0, 2, 1127, 494, 15595), -- 26875 +(26875, 0, 1, 1125, 489, 15595), -- 26875 +(26875, 0, 0, 1006, 429, 15595), -- 26875 +(26828, 0, 0, 1948, -178, 15595), -- 26828 +(26750, 0, 0, 2383, 179, 15595), -- 26750 +(26581, 2, 11, 1304, -870, 15595), -- 26581 +(26581, 2, 10, 1353, -827, 15595), -- 26581 +(26581, 2, 9, 1411, -803, 15595), -- 26581 +(26581, 2, 8, 1478, -779, 15595), -- 26581 +(26581, 2, 7, 1546, -759, 15595), -- 26581 +(26581, 2, 6, 1599, -739, 15595), -- 26581 +(26581, 2, 5, 1651, -725, 15595), -- 26581 +(26581, 2, 4, 1685, -731, 15595), -- 26581 +(26581, 2, 3, 1686, -769, 15595), -- 26581 +(26581, 2, 2, 1604, -822, 15595), -- 26581 +(26581, 2, 1, 1507, -860, 15595), -- 26581 +(26581, 2, 0, 1338, -914, 15595), -- 26581 +(26581, 0, 0, 1178, -609, 15595), -- 26581 +(26659, 2, 0, 2154, 1030, 15595), -- 26659 +(26659, 1, 0, 1942, 1407, 15595), -- 26659 +(26659, 0, 0, 1942, 1407, 15595), -- 26659 +(26657, 1, 11, 2052, 1088, 15595), -- 26657 +(26657, 1, 10, 2019, 1151, 15595), -- 26657 +(26657, 1, 9, 2014, 1170, 15595), -- 26657 +(26657, 1, 8, 1999, 1247, 15595), -- 26657 +(26657, 1, 7, 2033, 1310, 15595); -- 26657 + +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(26657, 1, 6, 2125, 1382, 15595), -- 26657 +(26657, 1, 5, 2187, 1372, 15595), -- 26657 +(26657, 1, 4, 2226, 1257, 15595), -- 26657 +(26657, 1, 3, 2236, 1189, 15595), -- 26657 +(26657, 1, 2, 2212, 1122, 15595), -- 26657 +(26657, 1, 1, 2173, 1093, 15595), -- 26657 +(26657, 1, 0, 2129, 1083, 15595), -- 26657 +(26657, 0, 0, 2154, 1026, 15595), -- 26657 +(26658, 2, 11, 1888, 1030, 15595), -- 26658 +(26658, 2, 10, 1845, 1083, 15595), -- 26658 +(26658, 2, 9, 1840, 1170, 15595), -- 26658 +(26658, 2, 8, 1893, 1266, 15595), -- 26658 +(26658, 2, 7, 1946, 1295, 15595), -- 26658 +(26658, 2, 6, 2023, 1300, 15595), -- 26658 +(26658, 2, 5, 2062, 1271, 15595), -- 26658 +(26658, 2, 4, 2091, 1199, 15595), -- 26658 +(26658, 2, 3, 2096, 1126, 15595), -- 26658 +(26658, 2, 2, 2096, 1064, 15595), -- 26658 +(26658, 2, 1, 2033, 1011, 15595), -- 26658 +(26658, 2, 0, 1961, 1006, 15595), -- 26658 +(26658, 1, 0, 2154, 1021, 15595), -- 26658 +(26656, 2, 0, 2140, 1021, 15595), -- 26656 +(26656, 1, 0, 2140, 1019, 15595), -- 26656 +(26656, 0, 0, 2293, 448, 15595), -- 26656 +(26575, 1, 0, 1635, 1316, 15595), -- 26575 +(26575, 0, 0, 1906, 589, 15595), -- 26575 +(26440, 1, 11, 1165, 1431, 15595), -- 26440 +(26440, 1, 10, 1142, 1460, 15595), -- 26440 +(26440, 1, 9, 1132, 1479, 15595), -- 26440 +(26440, 1, 8, 1122, 1517, 15595), -- 26440 +(26440, 1, 7, 1151, 1556, 15595), -- 26440 +(26440, 1, 6, 1170, 1556, 15595), -- 26440 +(26440, 1, 5, 1251, 1551, 15595), -- 26440 +(26440, 1, 4, 1261, 1527, 15595), -- 26440 +(26440, 1, 3, 1261, 1469, 15595), -- 26440 +(26440, 1, 2, 1251, 1431, 15595), -- 26440 +(26440, 1, 1, 1232, 1422, 15595), -- 26440 +(26440, 1, 0, 1189, 1422, 15595), -- 26440 +(26440, 0, 11, 1151, 1431, 15595), -- 26440 +(26440, 0, 10, 1127, 1469, 15595), -- 26440 +(26440, 0, 9, 1122, 1503, 15595), -- 26440 +(26440, 0, 8, 1122, 1532, 15595), -- 26440 +(26440, 0, 7, 1146, 1560, 15595), -- 26440 +(26440, 0, 6, 1256, 1551, 15595), -- 26440 +(26440, 0, 5, 1271, 1527, 15595), -- 26440 +(26440, 0, 4, 1271, 1503, 15595), -- 26440 +(26440, 0, 3, 1266, 1469, 15595), -- 26440 +(26440, 0, 2, 1237, 1426, 15595), -- 26440 +(26440, 0, 1, 1208, 1412, 15595), -- 26440 +(26440, 0, 0, 1175, 1412, 15595), -- 26440 +(26437, 1, 0, 1635, 1316, 15595), -- 26437 +(26437, 0, 11, 671, 1207, 15595), -- 26437 +(26437, 0, 10, 590, 1230, 15595), -- 26437 +(26437, 0, 9, 591, 1233, 15595), -- 26437 +(26437, 0, 8, 657, 1383, 15595), -- 26437 +(26437, 0, 7, 658, 1385, 15595), -- 26437 +(26437, 0, 6, 920, 1550, 15595), -- 26437 +(26437, 0, 5, 1116, 1570, 15595), -- 26437 +(26437, 0, 4, 1361, 1544, 15595), -- 26437 +(26437, 0, 3, 1642, 1252, 15595), -- 26437 +(26437, 0, 2, 1641, 1207, 15595), -- 26437 +(26437, 0, 1, 1597, 1164, 15595), -- 26437 +(26437, 0, 0, 1467, 1073, 15595), -- 26437 +(26376, 3, 11, 1140, -31, 15595), -- 26376 +(26376, 3, 10, 1198, 21, 15595), -- 26376 +(26376, 3, 9, 1237, 41, 15595), -- 26376 +(26376, 3, 8, 1333, 70, 15595), -- 26376 +(26376, 3, 7, 1430, 79, 15595), -- 26376 +(26376, 3, 6, 1507, 41, 15595), -- 26376 +(26376, 3, 5, 1507, -21, 15595), -- 26376 +(26376, 3, 4, 1454, -60, 15595), -- 26376 +(26376, 3, 3, 1377, -69, 15595), -- 26376 +(26376, 3, 2, 1290, -74, 15595), -- 26376 +(26376, 3, 1, 1232, -74, 15595), -- 26376 +(26376, 3, 0, 1189, -74, 15595), -- 26376 +(26376, 2, 0, 1450, 187, 15595), -- 26376 +(26376, 0, 0, 1454, -18, 15595), -- 26376 +(26377, 2, 0, 1345, 169, 15595), -- 26377 +(26377, 1, 0, 1412, 21, 15595), -- 26377 +(26377, 0, 7, 1258, -58, 15595), -- 26377 +(26377, 0, 6, 1252, 4, 15595), -- 26377 +(26377, 0, 5, 1406, 86, 15595), -- 26377 +(26377, 0, 4, 1430, 82, 15595), -- 26377 +(26377, 0, 3, 1468, 59, 15595), -- 26377 +(26377, 0, 2, 1511, 26, 15595), -- 26377 +(26377, 0, 1, 1512, -26, 15595), -- 26377 +(26377, 0, 0, 1359, -62, 15595); -- 26377 + +/* +############################## +### VASHJ'IR ############## +############################## +*/ + +DELETE FROM `quest_poi` WHERE (`QuestID`=25890 AND `id`=3) OR (`QuestID`=25890 AND `id`=2) OR (`QuestID`=25442 AND `id`=0) OR (`QuestID`=25456 AND `id`=0) OR (`QuestID`=25218 AND `id`=3) OR (`QuestID`=25218 AND `id`=2) OR (`QuestID`=25218 AND `id`=1) OR (`QuestID`=25215 AND `id`=2) OR (`QuestID`=25215 AND `id`=1) OR (`QuestID`=25222 AND `id`=0) OR (`QuestID`=25883 AND `id`=2) OR (`QuestID`=25883 AND `id`=1) OR (`QuestID`=25883 AND `id`=0) OR (`QuestID`=25888 AND `id`=1) OR (`QuestID`=25888 AND `id`=0) OR (`QuestID`=25887 AND `id`=1) OR (`QuestID`=25887 AND `id`=0) OR (`QuestID`=27699 AND `id`=1) OR (`QuestID`=27699 AND `id`=0) OR (`QuestID`=25794 AND `id`=0) OR (`QuestID`=25651 AND `id`=1) OR (`QuestID`=25651 AND `id`=0) OR (`QuestID`=25358 AND `id`=1) OR (`QuestID`=25358 AND `id`=0) OR (`QuestID`=25459 AND `id`=1) OR (`QuestID`=25459 AND `id`=0) OR (`QuestID`=25602 AND `id`=1) OR (`QuestID`=25602 AND `id`=0) OR (`QuestID`=25390 AND `id`=1) OR (`QuestID`=25390 AND `id`=0) OR (`QuestID`=25388 AND `id`=0) OR (`QuestID`=25587 AND `id`=1) OR (`QuestID`=25587 AND `id`=0) OR (`QuestID`=25547 AND `id`=0) OR (`QuestID`=27729 AND `id`=1) OR (`QuestID`=27729 AND `id`=0) OR (`QuestID`=25357 AND `id`=2) OR (`QuestID`=25357 AND `id`=0) OR (`QuestID`=27724 AND `id`=0) OR (`QuestID`=25440 AND `id`=2) OR (`QuestID`=25440 AND `id`=1) OR (`QuestID`=25439 AND `id`=2) OR (`QuestID`=25439 AND `id`=1) OR (`QuestID`=25217 AND `id`=3) OR (`QuestID`=25217 AND `id`=2) OR (`QuestID`=25360 AND `id`=4) OR (`QuestID`=25360 AND `id`=3) OR (`QuestID`=25220 AND `id`=3) OR (`QuestID`=25220 AND `id`=2) OR (`QuestID`=25219 AND `id`=3) OR (`QuestID`=25219 AND `id`=2) OR (`QuestID`=25216 AND `id`=0) OR (`QuestID`=25221 AND `id`=2) OR (`QuestID`=25221 AND `id`=1) OR (`QuestID`=25164 AND `id`=4) OR (`QuestID`=25164 AND `id`=3) OR (`QuestID`=25164 AND `id`=2) OR (`QuestID`=25732 AND `id`=1) OR (`QuestID`=25732 AND `id`=0) OR (`QuestID`=25884 AND `id`=3) OR (`QuestID`=25884 AND `id`=2) OR (`QuestID`=25884 AND `id`=1) OR (`QuestID`=25884 AND `id`=0) OR (`QuestID`=25885 AND `id`=1) OR (`QuestID`=25885 AND `id`=0) OR (`QuestID`=25824 AND `id`=1) OR (`QuestID`=25824 AND `id`=0) OR (`QuestID`=25419 AND `id`=1) OR (`QuestID`=25419 AND `id`=0) OR (`QuestID`=25503 AND `id`=1) OR (`QuestID`=25503 AND `id`=0) OR (`QuestID`=25371 AND `id`=2) OR (`QuestID`=25371 AND `id`=1) OR (`QuestID`=25371 AND `id`=0) OR (`QuestID`=25545 AND `id`=4) OR (`QuestID`=25545 AND `id`=3) OR (`QuestID`=25545 AND `id`=2) OR (`QuestID`=25545 AND `id`=1) OR (`QuestID`=25545 AND `id`=0) OR (`QuestID`=25405 AND `id`=0) OR (`QuestID`=25281 AND `id`=1) OR (`QuestID`=25281 AND `id`=0) OR (`QuestID`=14482 AND `id`=3) OR (`QuestID`=14482 AND `id`=2) OR (`QuestID`=14482 AND `id`=1) OR (`QuestID`=14482 AND `id`=0) OR (`QuestID`=25441 AND `id`=3) OR (`QuestID`=25441 AND `id`=2) OR (`QuestID`=25359 AND `id`=0) OR (`QuestID`=25334 AND `id`=2) OR (`QuestID`=25334 AND `id`=1) OR (`QuestID`=25471 AND `id`=0) OR (`QuestID`=27708 AND `id`=1) OR (`QuestID`=27708 AND `id`=0) OR (`QuestID`=25743 AND `id`=1) OR (`QuestID`=25743 AND `id`=0) OR (`QuestID`=25670 AND `id`=1) OR (`QuestID`=25670 AND `id`=0) OR (`QuestID`=25657 AND `id`=1) OR (`QuestID`=25657 AND `id`=0) OR (`QuestID`=25812 AND `id`=0) OR (`QuestID`=25638 AND `id`=0) OR (`QuestID`=25389 AND `id`=1) OR (`QuestID`=25389 AND `id`=0) OR (`QuestID`=25598 AND `id`=1) OR (`QuestID`=25598 AND `id`=0) OR (`QuestID`=25477 AND `id`=1) OR (`QuestID`=25477 AND `id`=0) OR (`QuestID`=25558 AND `id`=1) OR (`QuestID`=25558 AND `id`=0) OR (`QuestID`=25564 AND `id`=1) OR (`QuestID`=25564 AND `id`=0) OR (`QuestID`=25377 AND `id`=1) OR (`QuestID`=25377 AND `id`=0) OR (`QuestID`=25546 AND `id`=1) OR (`QuestID`=25546 AND `id`=0) OR (`QuestID`=24432 AND `id`=1) OR (`QuestID`=24432 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(25890, 3, 16, 0, 615, 0, 0, 3, 15595), -- 25890 +(25890, 2, -1, 0, 615, 0, 0, 3, 15595), -- 25890 +(25442, 0, -1, 0, 615, 0, 0, 3, 15595), -- 25442 +(25456, 0, -1, 0, 615, 0, 0, 3, 15595), -- 25456 +(25218, 3, 0, 0, 615, 0, 0, 7, 15595), -- 25218 +(25218, 2, 5, 0, 615, 0, 0, 7, 15595), -- 25218 +(25218, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25218 +(25215, 2, 0, 0, 615, 0, 0, 3, 15595), -- 25215 +(25215, 1, -1, 0, 615, 0, 0, 3, 15595), -- 25215 +(25222, 0, -1, 0, 615, 0, 0, 3, 15595), -- 25222 +(25883, 2, -1, 0, 610, 0, 0, 1, 15595), -- 25883 +(25883, 1, 0, 0, 610, 0, 0, 1, 15595), -- 25883 +(25883, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25883 +(25888, 1, 0, 0, 610, 0, 0, 7, 15595), -- 25888 +(25888, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25888 +(25887, 1, 0, 0, 610, 0, 0, 7, 15595), -- 25887 +(25887, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25887 +(27699, 1, -1, 0, 610, 0, 0, 1, 15595), -- 27699 +(27699, 0, 4, 0, 610, 0, 0, 1, 15595), -- 27699 +(25794, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25794 +(25651, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25651 +(25651, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25651 +(25358, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25358 +(25358, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25358 +(25459, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25459 +(25459, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25459 +(25602, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25602 +(25602, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25602 +(25390, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25390 +(25390, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25390 +(25388, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25388 +(25587, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25587 +(25587, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25587 +(25547, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25547 +(27729, 1, 0, 0, 613, 0, 0, 1, 15595), -- 27729 +(27729, 0, 0, 0, 613, 0, 0, 1, 15595), -- 27729 +(25357, 2, -1, 0, 610, 0, 0, 1, 15595), -- 25357 +(25357, 0, 0, 0, 610, 0, 0, 3, 15595), -- 25357 +(27724, 0, -1, 0, 301, 0, 0, 1, 15595), -- 27724 +(25440, 2, 0, 0, 615, 0, 0, 3, 15595), -- 25440 +(25440, 1, -1, 0, 615, 0, 0, 3, 15595), -- 25440 +(25439, 2, 0, 0, 615, 0, 0, 3, 15595), -- 25439 +(25439, 1, -1, 0, 615, 0, 0, 3, 15595), -- 25439 +(25217, 3, 0, 0, 615, 0, 0, 7, 15595), -- 25217 +(25217, 2, -1, 0, 615, 0, 0, 3, 15595), -- 25217 +(25360, 4, 0, 0, 615, 0, 0, 7, 15595), -- 25360 +(25360, 3, -1, 0, 615, 0, 0, 3, 15595), -- 25360 +(25220, 3, 0, 0, 615, 0, 0, 3, 15595), -- 25220 +(25220, 2, -1, 0, 615, 0, 0, 3, 15595), -- 25220 +(25219, 3, 4, 0, 615, 0, 0, 3, 15595), -- 25219 +(25219, 2, -1, 0, 615, 0, 0, 3, 15595), -- 25219 +(25216, 0, -1, 0, 615, 0, 0, 3, 15595), -- 25216 +(25221, 2, 0, 0, 615, 0, 0, 7, 15595), -- 25221 +(25221, 1, -1, 0, 615, 0, 0, 7, 15595), -- 25221 +(25164, 4, 1, 0, 615, 0, 0, 3, 15595), -- 25164 +(25164, 3, 0, 0, 615, 0, 0, 3, 15595), -- 25164 +(25164, 2, -1, 0, 615, 0, 0, 3, 15595), -- 25164 +(25732, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25732 +(25732, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25732 +(25884, 3, -1, 0, 610, 0, 0, 1, 15595), -- 25884 +(25884, 2, 3, 0, 610, 0, 0, 1, 15595), -- 25884 +(25884, 1, 2, 0, 610, 0, 0, 1, 15595), -- 25884 +(25884, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25884 +(25885, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25885 +(25885, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25885 +(25824, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25824 +(25824, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25824 +(25419, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25419 +(25419, 0, 10, 0, 610, 0, 0, 1, 15595), -- 25419 +(25503, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25503 +(25503, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25503 +(25371, 2, -1, 0, 610, 0, 0, 7, 15595), -- 25371 +(25371, 1, 0, 0, 610, 0, 0, 7, 15595), -- 25371 +(25371, 0, 1, 0, 610, 0, 0, 7, 15595), -- 25371 +(25545, 4, -1, 0, 610, 0, 0, 1, 15595), -- 25545 +(25545, 3, 7, 0, 610, 0, 0, 1, 15595), -- 25545 +(25545, 2, 6, 0, 610, 0, 0, 1, 15595), -- 25545 +(25545, 1, 5, 0, 610, 0, 0, 1, 15595), -- 25545 +(25545, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25545 +(25405, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25405 +(25281, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25281 +(25281, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25281 +(14482, 3, -1, 0, 301, 0, 0, 7, 15595), -- 14482 +(14482, 2, 16, 0, 610, 0, 0, 7, 15595), -- 14482 +(14482, 1, -1, 0, 610, 0, 0, 1, 15595), -- 14482 +(14482, 0, 0, 0, 301, 0, 0, 7, 15595), -- 14482 +(25441, 3, 0, 0, 615, 0, 0, 7, 15595), -- 25441 +(25441, 2, -1, 0, 615, 0, 0, 3, 15595), -- 25441 +(25359, 0, -1, 0, 615, 0, 0, 3, 15595), -- 25359 +(25334, 2, 0, 0, 615, 0, 0, 3, 15595), -- 25334 +(25334, 1, -1, 0, 615, 0, 0, 7, 15595), -- 25334 +(25471, 0, -1, 0, 615, 0, 0, 3, 15595), -- 25471 +(27708, 1, -1, 0, 613, 0, 0, 1, 15595), -- 27708 +(27708, 0, 0, 0, 613, 0, 0, 1, 15595), -- 27708 +(25743, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25743 +(25743, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25743 +(25670, 1, 0, 0, 610, 0, 0, 7, 15595), -- 25670 +(25670, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25670 +(25657, 1, 0, 0, 610, 0, 0, 1, 15595), -- 25657 +(25657, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25657 +(25812, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25812 +(25638, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25638 +(25389, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25389 +(25389, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25389 +(25598, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25598 +(25598, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25598 +(25477, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25477 +(25477, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25477 +(25558, 1, 0, 0, 610, 0, 0, 7, 15595), -- 25558 +(25558, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25558 +(25564, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25564 +(25564, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25564 +(25377, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25377 +(25377, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25377 +(25546, 1, -1, 0, 610, 0, 0, 1, 15595), -- 25546 +(25546, 0, 4, 0, 610, 0, 0, 1, 15595), -- 25546 +(24432, 1, -1, 0, 610, 0, 0, 1, 15595), -- 24432 +(24432, 0, 5, 0, 610, 0, 0, 1, 15595); -- 24432 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=25890 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25890 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25442 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25456 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25218 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25218 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25218 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25215 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25215 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25215 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25215 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25215 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25215 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25222 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25883 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25883 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25883 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25888 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25888 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25887 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25887 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27699 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27699 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25794 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25651 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25651 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25358 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25358 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25459 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25459 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25602 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25602 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25390 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25390 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25388 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25587 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25587 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25547 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=27729 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27729 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=27729 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=27729 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=27729 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=27729 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=27729 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25357 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25357 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27724 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25440 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25440 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25439 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25439 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25217 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25217 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25360 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25360 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25220 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25220 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25219 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25219 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25216 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25221 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25221 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25164 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25164 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25164 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25164 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25164 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25732 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25732 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25884 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25884 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25884 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25884 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25884 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25884 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25884 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25884 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25884 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25884 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25884 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25885 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25885 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25824 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25824 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25419 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25419 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25503 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25503 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25371 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25371 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25371 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25545 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25545 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25545 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25545 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25545 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25405 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25281 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25281 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=14482 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=14482 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=14482 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25441 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25441 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25359 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25334 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25334 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25471 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27708 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27708 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25743 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25743 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25670 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25670 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25657 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25657 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25812 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25638 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25389 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25389 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25598 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25598 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25477 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25477 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25558 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25558 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25564 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25564 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25564 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25564 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25564 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25377 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25377 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25546 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25546 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=24432 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=24432 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=24432 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=24432 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=24432 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=24432 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=24432 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25890, 3, 0, -6445, 4178, 15595), -- 25890 +(25890, 2, 0, -6445, 4178, 15595), -- 25890 +(25442, 0, 0, -6130, 4295, 15595), -- 25442 +(25456, 0, 0, -6136, 4282, 15595), -- 25456 +(25218, 3, 11, -6163, 4470, 15595), -- 25218 +(25218, 3, 10, -6172, 4516, 15595), -- 25218 +(25218, 3, 9, -6066, 4761, 15595), -- 25218 +(25218, 3, 8, -6016, 4793, 15595), -- 25218 +(25218, 3, 7, -5928, 4812, 15595), -- 25218 +(25218, 3, 6, -5863, 4812, 15595), -- 25218 +(25218, 3, 5, -5776, 4798, 15595), -- 25218 +(25218, 3, 4, -5683, 4756, 15595), -- 25218 +(25218, 3, 3, -5706, 4632, 15595), -- 25218 +(25218, 3, 2, -5776, 4526, 15595), -- 25218 +(25218, 3, 1, -5849, 4420, 15595), -- 25218 +(25218, 3, 0, -5979, 4392, 15595), -- 25218 +(25218, 2, 11, -6131, 4480, 15595), -- 25218 +(25218, 2, 10, -6140, 4544, 15595), -- 25218 +(25218, 2, 9, -6034, 4752, 15595), -- 25218 +(25218, 2, 8, -5979, 4775, 15595), -- 25218 +(25218, 2, 7, -5923, 4775, 15595), -- 25218 +(25218, 2, 6, -5877, 4775, 15595), -- 25218 +(25218, 2, 5, -5817, 4775, 15595), -- 25218 +(25218, 2, 4, -5720, 4775, 15595), -- 25218 +(25218, 2, 3, -5669, 4743, 15595), -- 25218 +(25218, 2, 2, -5720, 4655, 15595), -- 25218 +(25218, 2, 1, -5849, 4433, 15595), -- 25218 +(25218, 2, 0, -5900, 4396, 15595), -- 25218 +(25218, 1, 0, -5863, 4679, 15595), -- 25218 +(25215, 2, 4, -6147, 4260, 15595), -- 25215 +(25215, 2, 3, -6095, 4288, 15595), -- 25215 +(25215, 2, 2, -6075, 4276, 15595), -- 25215 +(25215, 2, 1, -6042, 4247, 15595), -- 25215 +(25215, 2, 0, -6066, 4211, 15595), -- 25215 +(25215, 1, 0, -6136, 4282, 15595), -- 25215 +(25222, 0, 0, -6136, 4282, 15595), -- 25222 +(25883, 2, 0, -5324, 3379, 15595), -- 25883 +(25883, 1, 7, -5477, 3357, 15595), -- 25883 +(25883, 1, 6, -5541, 3376, 15595), -- 25883 +(25883, 1, 5, -5550, 3394, 15595), -- 25883 +(25883, 1, 4, -5534, 3418, 15595), -- 25883 +(25883, 1, 3, -5344, 3444, 15595), -- 25883 +(25883, 1, 2, -5322, 3434, 15595), -- 25883 +(25883, 1, 1, -5345, 3368, 15595), -- 25883 +(25883, 1, 0, -5425, 3348, 15595), -- 25883 +(25883, 0, 6, -5559, 3471, 15595), -- 25883 +(25883, 0, 5, -5542, 3502, 15595), -- 25883 +(25883, 0, 4, -5499, 3517, 15595), -- 25883 +(25883, 0, 3, -5461, 3504, 15595), -- 25883 +(25883, 0, 2, -5441, 3473, 15595), -- 25883 +(25883, 0, 1, -5457, 3466, 15595), -- 25883 +(25883, 0, 0, -5495, 3466, 15595), -- 25883 +(25888, 1, 11, -5494, 3317, 15595), -- 25888 +(25888, 1, 10, -5529, 3328, 15595), -- 25888 +(25888, 1, 9, -5568, 3356, 15595), -- 25888 +(25888, 1, 8, -5592, 3391, 15595), -- 25888 +(25888, 1, 7, -5603, 3423, 15595), -- 25888 +(25888, 1, 6, -5603, 3479, 15595), -- 25888 +(25888, 1, 5, -5596, 3511, 15595), -- 25888 +(25888, 1, 4, -5554, 3532, 15595), -- 25888 +(25888, 1, 3, -5494, 3500, 15595), -- 25888 +(25888, 1, 2, -5409, 3384, 15595), -- 25888 +(25888, 1, 1, -5402, 3352, 15595), -- 25888 +(25888, 1, 0, -5423, 3317, 15595), -- 25888 +(25888, 0, 0, -5128, 3280, 15595), -- 25888 +(25887, 1, 11, -5525, 3335, 15595), -- 25887 +(25887, 1, 10, -5543, 3384, 15595), -- 25887 +(25887, 1, 9, -5529, 3511, 15595), -- 25887 +(25887, 1, 8, -5508, 3536, 15595), -- 25887 +(25887, 1, 7, -5466, 3525, 15595), -- 25887 +(25887, 1, 6, -5444, 3500, 15595), -- 25887 +(25887, 1, 5, -5399, 3433, 15595), -- 25887 +(25887, 1, 4, -5392, 3402, 15595), -- 25887 +(25887, 1, 3, -5392, 3377, 15595), -- 25887 +(25887, 1, 2, -5402, 3345, 15595), -- 25887 +(25887, 1, 1, -5430, 3328, 15595), -- 25887 +(25887, 1, 0, -5490, 3328, 15595), -- 25887 +(25887, 0, 0, -5139, 3282, 15595), -- 25887 +(27699, 1, 0, -4746, 3522, 15595), -- 27699 +(27699, 0, 7, -4950, 3385, 15595), -- 27699 +(27699, 0, 6, -4982, 3408, 15595), -- 27699 +(27699, 0, 5, -4961, 3462, 15595), -- 27699 +(27699, 0, 4, -4933, 3473, 15595), -- 27699 +(27699, 0, 3, -4890, 3459, 15595), -- 27699 +(27699, 0, 2, -4876, 3454, 15595), -- 27699 +(27699, 0, 1, -4897, 3410, 15595), -- 27699 +(27699, 0, 0, -4922, 3384, 15595), -- 27699 +(25794, 0, 0, -4895, 3773, 15595), -- 25794 +(25651, 1, 0, -4746, 3522, 15595), -- 25651 +(25651, 0, 9, -5115, 3553, 15595), -- 25651 +(25651, 0, 8, -5117, 3574, 15595), -- 25651 +(25651, 0, 7, -5090, 3611, 15595), -- 25651 +(25651, 0, 6, -5026, 3657, 15595), -- 25651 +(25651, 0, 5, -4983, 3682, 15595), -- 25651 +(25651, 0, 4, -4964, 3681, 15595), -- 25651 +(25651, 0, 3, -4972, 3652, 15595), -- 25651 +(25651, 0, 2, -4991, 3603, 15595), -- 25651 +(25651, 0, 1, -5076, 3555, 15595), -- 25651 +(25651, 0, 0, -5107, 3540, 15595), -- 25651 +(25358, 1, 0, -4566, 3465, 15595), -- 25358 +(25358, 0, 7, -4777, 3457, 15595), -- 25358 +(25358, 0, 6, -4759, 3476, 15595), -- 25358 +(25358, 0, 5, -4715, 3498, 15595), -- 25358 +(25358, 0, 4, -4685, 3493, 15595), -- 25358 +(25358, 0, 3, -4651, 3468, 15595), -- 25358 +(25358, 0, 2, -4662, 3443, 15595), -- 25358 +(25358, 0, 1, -4722, 3413, 15595), -- 25358 +(25358, 0, 0, -4771, 3412, 15595), -- 25358 +(25459, 1, 0, -4556, 3470, 15595), -- 25459 +(25459, 0, 6, -4781, 3437, 15595), -- 25459 +(25459, 0, 5, -4761, 3475, 15595), -- 25459 +(25459, 0, 4, -4717, 3528, 15595), -- 25459 +(25459, 0, 3, -4681, 3500, 15595), -- 25459 +(25459, 0, 2, -4693, 3454, 15595), -- 25459 +(25459, 0, 1, -4709, 3440, 15595), -- 25459 +(25459, 0, 0, -4744, 3415, 15595), -- 25459 +(25602, 1, 0, -4559, 3464, 15595), -- 25602 +(25602, 0, 0, -4744, 3515, 15595), -- 25602 +(25390, 1, 0, -4556, 3470, 15595), -- 25390 +(25390, 0, 8, -4836, 3462, 15595), -- 25390 +(25390, 0, 7, -4920, 3620, 15595), -- 25390 +(25390, 0, 6, -4898, 3680, 15595), -- 25390 +(25390, 0, 5, -4849, 3803, 15595), -- 25390 +(25390, 0, 4, -4771, 3812, 15595), -- 25390 +(25390, 0, 3, -4619, 3649, 15595), -- 25390 +(25390, 0, 2, -4688, 3496, 15595), -- 25390 +(25390, 0, 1, -4721, 3456, 15595), -- 25390 +(25390, 0, 0, -4816, 3431, 15595), -- 25390 +(25388, 0, 0, -4556, 3470, 15595), -- 25388 +(25587, 1, 0, -4556, 3470, 15595), -- 25587 +(25587, 0, 0, -4587, 3481, 15595), -- 25587 +(25547, 0, 0, -4484, 3822, 15595), -- 25547 +(27729, 1, 6, -4619, 3672, 15595), -- 27729 +(27729, 1, 5, -4565, 3706, 15595), -- 27729 +(27729, 1, 4, -4364, 3803, 15595), -- 27729 +(27729, 1, 3, -4357, 3800, 15595), -- 27729 +(27729, 1, 2, -4394, 3681, 15595), -- 27729 +(27729, 1, 1, -4441, 3583, 15595), -- 27729 +(27729, 1, 0, -4472, 3548, 15595), -- 27729 +(27729, 0, 5, -4888, 3467, 15595), -- 27729 +(27729, 0, 4, -4916, 3510, 15595), -- 27729 +(27729, 0, 3, -4794, 3601, 15595), -- 27729 +(27729, 0, 2, -4790, 3513, 15595), -- 27729 +(27729, 0, 1, -4789, 3451, 15595), -- 27729 +(27729, 0, 0, -4814, 3427, 15595), -- 27729 +(25357, 2, 0, -4440, 3817, 15595), -- 25357 +(25357, 0, 10, -4542, 3707, 15595), -- 25357 +(25357, 0, 9, -4592, 3744, 15595), -- 25357 +(25357, 0, 8, -4636, 3882, 15595), -- 25357 +(25357, 0, 7, -4626, 3964, 15595), -- 25357 +(25357, 0, 6, -4611, 4022, 15595), -- 25357 +(25357, 0, 5, -4561, 4040, 15595), -- 25357 +(25357, 0, 4, -4463, 4005, 15595), -- 25357 +(25357, 0, 3, -4411, 3939, 15595), -- 25357 +(25357, 0, 2, -4388, 3816, 15595), -- 25357 +(25357, 0, 1, -4414, 3737, 15595), -- 25357 +(25357, 0, 0, -4493, 3695, 15595), -- 25357 +(27724, 0, 0, -8276, 1247, 15595), -- 27724 +(25440, 2, 0, -6364, 3417, 15595), -- 25440 +(25440, 1, 0, -6126, 3574, 15595), -- 25440 +(25439, 2, 8, -6376, 3382, 15595), -- 25439 +(25439, 2, 7, -6269, 3568, 15595), -- 25439 +(25439, 2, 6, -6156, 3590, 15595), -- 25439 +(25439, 2, 5, -6131, 3571, 15595), -- 25439 +(25439, 2, 4, -6119, 3560, 15595), -- 25439 +(25439, 2, 3, -6080, 3468, 15595), -- 25439 +(25439, 2, 2, -6130, 3393, 15595), -- 25439 +(25439, 2, 1, -6242, 3365, 15595), -- 25439 +(25439, 2, 0, -6363, 3353, 15595), -- 25439 +(25439, 1, 0, -6126, 3574, 15595), -- 25439 +(25217, 3, 11, -6118, 4470, 15595), -- 25217 +(25217, 3, 10, -6147, 4491, 15595), -- 25217 +(25217, 3, 9, -6147, 4527, 15595), -- 25217 +(25217, 3, 8, -6054, 4741, 15595), -- 25217 +(25217, 3, 7, -6019, 4741, 15595), -- 25217 +(25217, 3, 6, -5990, 4741, 15595), -- 25217 +(25217, 3, 5, -5740, 4733, 15595), -- 25217 +(25217, 3, 4, -5712, 4698, 15595), -- 25217 +(25217, 3, 3, -5797, 4455, 15595), -- 25217 +(25217, 3, 2, -5840, 4412, 15595), -- 25217 +(25217, 3, 1, -5876, 4398, 15595), -- 25217 +(25217, 3, 0, -5933, 4398, 15595), -- 25217 +(25217, 2, 0, -5863, 4679, 15595), -- 25217 +(25360, 4, 11, -6090, 4448, 15595), -- 25360 +(25360, 4, 10, -6140, 4512, 15595), -- 25360 +(25360, 4, 9, -6140, 4569, 15595), -- 25360 +(25360, 4, 8, -6076, 4719, 15595), -- 25360 +(25360, 4, 7, -5997, 4762, 15595), -- 25360 +(25360, 4, 6, -5726, 4762, 15595), -- 25360 +(25360, 4, 5, -5726, 4719, 15595), -- 25360 +(25360, 4, 4, -5747, 4619, 15595), -- 25360 +(25360, 4, 3, -5783, 4491, 15595), -- 25360 +(25360, 4, 2, -5847, 4391, 15595), -- 25360 +(25360, 4, 1, -5904, 4363, 15595), -- 25360 +(25360, 4, 0, -5961, 4363, 15595), -- 25360 +(25360, 3, 0, -5862, 4685, 15595), -- 25360 +(25220, 3, 9, -6074, 3658, 15595), -- 25220 +(25220, 3, 8, -6214, 3965, 15595), -- 25220 +(25220, 3, 7, -6193, 4180, 15595), -- 25220 +(25220, 3, 6, -6116, 4649, 15595), -- 25220 +(25220, 3, 5, -6074, 4675, 15595), -- 25220 +(25220, 3, 4, -5944, 4745, 15595), -- 25220 +(25220, 3, 3, -5783, 4641, 15595), -- 25220 +(25220, 3, 2, -5770, 4608, 15595), -- 25220 +(25220, 3, 1, -5951, 3634, 15595), -- 25220 +(25220, 3, 0, -6016, 3593, 15595), -- 25220 +(25220, 2, 0, -6113, 4299, 15595), -- 25220 +(25219, 3, 11, -6172, 3941, 15595), -- 25219 +(25219, 3, 10, -6181, 4162, 15595), -- 25219 +(25219, 3, 9, -6184, 4248, 15595), -- 25219 +(25219, 3, 8, -6142, 4415, 15595), -- 25219 +(25219, 3, 7, -6008, 4702, 15595), -- 25219 +(25219, 3, 6, -5853, 4747, 15595), -- 25219 +(25219, 3, 5, -5742, 4581, 15595), -- 25219 +(25219, 3, 4, -5842, 4146, 15595), -- 25219 +(25219, 3, 3, -5977, 3767, 15595), -- 25219 +(25219, 3, 2, -5996, 3727, 15595), -- 25219 +(25219, 3, 1, -6075, 3653, 15595), -- 25219 +(25219, 3, 0, -6131, 3634, 15595), -- 25219 +(25219, 2, 0, -6130, 4295, 15595), -- 25219 +(25216, 0, 0, -5863, 4679, 15595), -- 25216 +(25221, 2, 11, -5904, 3927, 15595), -- 25221 +(25221, 2, 10, -5797, 4084, 15595), -- 25221 +(25221, 2, 9, -5755, 4113, 15595), -- 25221 +(25221, 2, 8, -5505, 4220, 15595), -- 25221 +(25221, 2, 7, -5348, 4248, 15595), -- 25221 +(25221, 2, 6, -5277, 4234, 15595), -- 25221 +(25221, 2, 5, -5269, 4134, 15595), -- 25221 +(25221, 2, 4, -5305, 4020, 15595), -- 25221 +(25221, 2, 3, -5462, 3913, 15595), -- 25221 +(25221, 2, 2, -5548, 3877, 15595), -- 25221 +(25221, 2, 1, -5712, 3820, 15595), -- 25221 +(25221, 2, 0, -5833, 3799, 15595), -- 25221 +(25221, 1, 0, -5831, 4080, 15595), -- 25221 +(25164, 4, 0, -5159, 3976, 15595), -- 25164 +(25164, 3, 0, -5186, 3979, 15595), -- 25164 +(25164, 2, 2, -5202, 3965, 15595), -- 25164 +(25164, 2, 1, -5199, 3964, 15595), -- 25164 +(25164, 2, 0, -5201, 3962, 15595), -- 25164 +(25732, 1, 0, -4928, 3434, 15595), -- 25732 +(25732, 0, 0, -5108, 3577, 15595), -- 25732 +(25884, 3, 0, -5138, 3272, 15595), -- 25884 +(25884, 2, 0, -5493, 3413, 15595), -- 25884 +(25884, 1, 2, -5480, 3496, 15595), -- 25884 +(25884, 1, 1, -5480, 3483, 15595), -- 25884 +(25884, 1, 0, -5517, 3480, 15595), -- 25884 +(25884, 0, 5, -5537, 3394, 15595), -- 25884 +(25884, 0, 4, -5577, 3494, 15595), -- 25884 +(25884, 0, 3, -5514, 3521, 15595), -- 25884 +(25884, 0, 2, -5422, 3498, 15595); -- 25884 + +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25884, 0, 1, -5296, 3402, 15595), -- 25884 +(25884, 0, 0, -5387, 3359, 15595), -- 25884 +(25885, 1, 0, -5136, 3278, 15595), -- 25885 +(25885, 0, 9, -5558, 3410, 15595), -- 25885 +(25885, 0, 8, -5557, 3435, 15595), -- 25885 +(25885, 0, 7, -5439, 3499, 15595), -- 25885 +(25885, 0, 6, -5422, 3503, 15595), -- 25885 +(25885, 0, 5, -5302, 3512, 15595), -- 25885 +(25885, 0, 4, -5262, 3403, 15595), -- 25885 +(25885, 0, 3, -5275, 3373, 15595), -- 25885 +(25885, 0, 2, -5294, 3357, 15595), -- 25885 +(25885, 0, 1, -5321, 3353, 15595), -- 25885 +(25885, 0, 0, -5373, 3353, 15595), -- 25885 +(25824, 1, 0, -5139, 3282, 15595), -- 25824 +(25824, 0, 0, -5136, 3278, 15595), -- 25824 +(25419, 1, 0, -4746, 3522, 15595), -- 25419 +(25419, 0, 9, -5156, 3520, 15595), -- 25419 +(25419, 0, 8, -5080, 3601, 15595), -- 25419 +(25419, 0, 7, -4964, 3656, 15595), -- 25419 +(25419, 0, 6, -4936, 3669, 15595), -- 25419 +(25419, 0, 5, -4933, 3648, 15595), -- 25419 +(25419, 0, 4, -4954, 3588, 15595), -- 25419 +(25419, 0, 3, -4988, 3558, 15595), -- 25419 +(25419, 0, 2, -5062, 3521, 15595), -- 25419 +(25419, 0, 1, -5090, 3510, 15595), -- 25419 +(25419, 0, 0, -5102, 3509, 15595), -- 25419 +(25503, 1, 0, -5045, 3527, 15595), -- 25503 +(25503, 0, 0, -4960, 3518, 15595), -- 25503 +(25371, 2, 0, -4867, 3770, 15595), -- 25371 +(25371, 1, 0, -4886, 3798, 15595), -- 25371 +(25371, 0, 0, -4886, 3798, 15595), -- 25371 +(25545, 4, 0, -4440, 3817, 15595), -- 25545 +(25545, 3, 6, -4634, 3660, 15595), -- 25545 +(25545, 3, 5, -4554, 3747, 15595), -- 25545 +(25545, 3, 4, -4351, 3814, 15595), -- 25545 +(25545, 3, 3, -4400, 3639, 15595), -- 25545 +(25545, 3, 2, -4450, 3591, 15595), -- 25545 +(25545, 3, 1, -4480, 3569, 15595), -- 25545 +(25545, 3, 0, -4526, 3551, 15595), -- 25545 +(25545, 2, 6, -4622, 3629, 15595), -- 25545 +(25545, 2, 5, -4642, 3670, 15595), -- 25545 +(25545, 2, 4, -4567, 3720, 15595), -- 25545 +(25545, 2, 3, -4393, 3806, 15595), -- 25545 +(25545, 2, 2, -4368, 3794, 15595), -- 25545 +(25545, 2, 1, -4396, 3624, 15595), -- 25545 +(25545, 2, 0, -4490, 3524, 15595), -- 25545 +(25545, 1, 7, -4597, 3640, 15595), -- 25545 +(25545, 1, 6, -4608, 3667, 15595), -- 25545 +(25545, 1, 5, -4584, 3713, 15595), -- 25545 +(25545, 1, 4, -4387, 3821, 15595), -- 25545 +(25545, 1, 3, -4348, 3805, 15595), -- 25545 +(25545, 1, 2, -4432, 3611, 15595), -- 25545 +(25545, 1, 1, -4464, 3579, 15595), -- 25545 +(25545, 1, 0, -4524, 3544, 15595), -- 25545 +(25545, 0, 9, -4624, 3628, 15595), -- 25545 +(25545, 0, 8, -4660, 3678, 15595), -- 25545 +(25545, 0, 7, -4604, 3738, 15595), -- 25545 +(25545, 0, 6, -4435, 3865, 15595), -- 25545 +(25545, 0, 5, -4394, 3848, 15595), -- 25545 +(25545, 0, 4, -4351, 3814, 15595), -- 25545 +(25545, 0, 3, -4389, 3644, 15595), -- 25545 +(25545, 0, 2, -4406, 3599, 15595), -- 25545 +(25545, 0, 1, -4479, 3563, 15595), -- 25545 +(25545, 0, 0, -4526, 3551, 15595), -- 25545 +(25405, 0, 0, -4440, 3817, 15595), -- 25405 +(25281, 1, 0, -4455, 3803, 15595), -- 25281 +(25281, 0, 10, -4527, 3657, 15595), -- 25281 +(25281, 0, 9, -4564, 3685, 15595), -- 25281 +(25281, 0, 8, -4623, 3775, 15595), -- 25281 +(25281, 0, 7, -4613, 3882, 15595), -- 25281 +(25281, 0, 6, -4518, 3948, 15595), -- 25281 +(25281, 0, 5, -4490, 3929, 15595), -- 25281 +(25281, 0, 4, -4436, 3886, 15595), -- 25281 +(25281, 0, 3, -4373, 3781, 15595), -- 25281 +(25281, 0, 2, -4389, 3678, 15595), -- 25281 +(25281, 0, 1, -4400, 3654, 15595), -- 25281 +(25281, 0, 0, -4465, 3625, 15595), -- 25281 +(14482, 2, 0, -4460, 3802, 15595), -- 14482 +(14482, 1, 0, -4455, 3803, 15595), -- 14482 +(14482, 0, 0, -8288, 1403, 15595), -- 14482 +(25441, 3, 11, -6375, 3385, 15595), -- 25441 +(25441, 3, 10, -6354, 3435, 15595), -- 25441 +(25441, 3, 9, -6325, 3464, 15595), -- 25441 +(25441, 3, 8, -6247, 3521, 15595), -- 25441 +(25441, 3, 7, -6211, 3528, 15595), -- 25441 +(25441, 3, 6, -6154, 3528, 15595), -- 25441 +(25441, 3, 5, -6118, 3492, 15595), -- 25441 +(25441, 3, 4, -6118, 3456, 15595), -- 25441 +(25441, 3, 3, -6168, 3385, 15595), -- 25441 +(25441, 3, 2, -6204, 3371, 15595), -- 25441 +(25441, 3, 1, -6261, 3357, 15595), -- 25441 +(25441, 3, 0, -6311, 3349, 15595), -- 25441 +(25441, 2, 0, -6126, 3574, 15595), -- 25441 +(25359, 0, 0, -6126, 3574, 15595), -- 25359 +(25334, 2, 0, -5197, 3970, 15595), -- 25334 +(25334, 1, 0, -5203, 3971, 15595), -- 25334 +(25471, 0, 0, -5442, 3702, 15595), -- 25471 +(27708, 1, 0, -5139, 3282, 15595), -- 27708 +(27708, 0, 0, -5493, 3413, 15595), -- 27708 +(25743, 1, 0, -4928, 3434, 15595), -- 25743 +(25743, 0, 0, -4927, 3437, 15595), -- 25743 +(25670, 1, 0, -4931, 3441, 15595), -- 25670 +(25670, 0, 0, -4928, 3434, 15595), -- 25670 +(25657, 1, 0, -4930, 3437, 15595), -- 25657 +(25657, 0, 0, -4746, 3522, 15595), -- 25657 +(25812, 0, 0, -5136, 3278, 15595), -- 25812 +(25638, 0, 0, -4895, 3773, 15595), -- 25638 +(25389, 1, 0, -4556, 3470, 15595), -- 25389 +(25389, 0, 6, -4852, 3594, 15595), -- 25389 +(25389, 0, 5, -4891, 3631, 15595), -- 25389 +(25389, 0, 4, -4871, 3682, 15595), -- 25389 +(25389, 0, 3, -4811, 3811, 15595), -- 25389 +(25389, 0, 2, -4739, 3788, 15595), -- 25389 +(25389, 0, 1, -4620, 3722, 15595), -- 25389 +(25389, 0, 0, -4764, 3562, 15595), -- 25389 +(25598, 1, 0, -4556, 3470, 15595), -- 25598 +(25598, 0, 0, -4758, 3718, 15595), -- 25598 +(25477, 1, 0, -4895, 3781, 15595), -- 25477 +(25477, 0, 6, -5014, 3529, 15595), -- 25477 +(25477, 0, 5, -4979, 3562, 15595), -- 25477 +(25477, 0, 4, -4928, 3598, 15595), -- 25477 +(25477, 0, 3, -4791, 3693, 15595), -- 25477 +(25477, 0, 2, -4786, 3616, 15595), -- 25477 +(25477, 0, 1, -4927, 3504, 15595), -- 25477 +(25477, 0, 0, -4975, 3470, 15595), -- 25477 +(25558, 1, 0, -4441, 3715, 15595), -- 25558 +(25558, 0, 0, -4895, 3773, 15595), -- 25558 +(25564, 1, 0, -4440, 3817, 15595), -- 25564 +(25564, 0, 3, -4599, 3654, 15595), -- 25564 +(25564, 0, 2, -4346, 3780, 15595), -- 25564 +(25564, 0, 1, -4420, 3577, 15595), -- 25564 +(25564, 0, 0, -4443, 3547, 15595), -- 25564 +(25377, 1, 0, -4675, 3450, 15595), -- 25377 +(25377, 0, 0, -4730, 3467, 15595), -- 25377 +(25546, 1, 0, -4440, 3817, 15595), -- 25546 +(25546, 0, 8, -4572, 3594, 15595), -- 25546 +(25546, 0, 7, -4598, 3621, 15595), -- 25546 +(25546, 0, 6, -4655, 3787, 15595), -- 25546 +(25546, 0, 5, -4662, 3913, 15595), -- 25546 +(25546, 0, 4, -4616, 4022, 15595), -- 25546 +(25546, 0, 3, -4529, 3983, 15595), -- 25546 +(25546, 0, 2, -4408, 3809, 15595), -- 25546 +(25546, 0, 1, -4441, 3728, 15595), -- 25546 +(25546, 0, 0, -4536, 3593, 15595), -- 25546 +(24432, 1, 0, -4455, 3803, 15595), -- 24432 +(24432, 0, 5, -4534, 3786, 15595), -- 24432 +(24432, 0, 4, -4622, 3904, 15595), -- 24432 +(24432, 0, 3, -4645, 3940, 15595), -- 24432 +(24432, 0, 2, -4565, 3953, 15595), -- 24432 +(24432, 0, 1, -4511, 3883, 15595), -- 24432 +(24432, 0, 0, -4450, 3773, 15595); -- 24432 + +DELETE FROM `quest_poi` WHERE (`QuestID`=25535 AND `id`=0) OR (`QuestID`=25536 AND `id`=1) OR (`QuestID`=25536 AND `id`=0) OR (`QuestID`=25921 AND `id`=2) OR (`QuestID`=25921 AND `id`=1) OR (`QuestID`=25920 AND `id`=1) OR (`QuestID`=25920 AND `id`=0) OR (`QuestID`=25907 AND `id`=5) OR (`QuestID`=25907 AND `id`=4) OR (`QuestID`=25907 AND `id`=3) OR (`QuestID`=25907 AND `id`=2) OR (`QuestID`=25907 AND `id`=1) OR (`QuestID`=25907 AND `id`=0) OR (`QuestID`=25900 AND `id`=1) OR (`QuestID`=25900 AND `id`=0) OR (`QuestID`=25918 AND `id`=1) OR (`QuestID`=25918 AND `id`=0) OR (`QuestID`=25908 AND `id`=7) OR (`QuestID`=25908 AND `id`=6) OR (`QuestID`=25908 AND `id`=5) OR (`QuestID`=25922 AND `id`=4) OR (`QuestID`=25922 AND `id`=3) OR (`QuestID`=25922 AND `id`=2) OR (`QuestID`=25922 AND `id`=1) OR (`QuestID`=25922 AND `id`=0) OR (`QuestID`=25919 AND `id`=1) OR (`QuestID`=25919 AND `id`=0) OR (`QuestID`=25917 AND `id`=0) OR (`QuestID`=25916 AND `id`=1) OR (`QuestID`=25916 AND `id`=0) OR (`QuestID`=25909 AND `id`=2) OR (`QuestID`=25909 AND `id`=1) OR (`QuestID`=25909 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(25535, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25535 +(25536, 1, -1, 0, 615, 0, 0, 3, 15595), -- 25536 +(25536, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25536 +(25921, 2, 0, 0, 615, 0, 0, 3, 15595), -- 25921 +(25921, 1, -1, 0, 615, 0, 0, 3, 15595), -- 25921 +(25920, 1, 4, 0, 615, 0, 0, 1, 15595), -- 25920 +(25920, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25920 +(25907, 5, 0, 0, 615, 0, 0, 1, 15595), -- 25907 +(25907, 4, 0, 0, 615, 0, 0, 1, 15595), -- 25907 +(25907, 3, 0, 0, 615, 0, 0, 1, 15595), -- 25907 +(25907, 2, 0, 0, 615, 0, 0, 1, 15595), -- 25907 +(25907, 1, 0, 0, 615, 0, 0, 1, 15595), -- 25907 +(25907, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25907 +(25900, 1, 16, 0, 610, 0, 0, 1, 15595), -- 25900 +(25900, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25900 +(25918, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25918 +(25918, 0, 4, 0, 615, 0, 0, 1, 15595), -- 25918 +(25908, 7, 1, 0, 615, 0, 0, 3, 15595), -- 25908 +(25908, 6, -1, 0, 615, 0, 0, 3, 15595), -- 25908 +(25908, 5, 0, 0, 615, 0, 0, 3, 15595), -- 25908 +(25922, 4, -1, 0, 615, 0, 0, 7, 15595), -- 25922 +(25922, 3, 1, 0, 615, 0, 0, 1, 15595), -- 25922 +(25922, 2, 0, 0, 615, 0, 0, 1, 15595), -- 25922 +(25922, 1, 1, 0, 610, 0, 0, 1, 15595), -- 25922 +(25922, 0, 0, 0, 610, 0, 0, 1, 15595), -- 25922 +(25919, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25919 +(25919, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25919 +(25917, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25917 +(25916, 1, 16, 0, 610, 0, 0, 1, 15595), -- 25916 +(25916, 0, -1, 0, 610, 0, 0, 1, 15595), -- 25916 +(25909, 2, 4, 0, 610, 0, 0, 1, 15595), -- 25909 +(25909, 1, 4, 0, 610, 0, 0, 1, 15595), -- 25909 +(25909, 0, -1, 0, 610, 0, 0, 1, 15595); -- 25909 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=25535 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25536 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25536 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25536 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25536 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25536 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25536 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25536 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25921 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25921 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25920 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25920 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=7) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=6) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=5) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=4) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=3) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=25907 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25907 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25907 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25907 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25907 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25907 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25907 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25907 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25907 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25907 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25900 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25900 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25918 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25918 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=11) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=10) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=9) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=8) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=7) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=6) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=5) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=4) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=3) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=2) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=1) OR (`QuestID`=25908 AND `Idx1`=7 AND `Idx2`=0) OR (`QuestID`=25908 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=11) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=10) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=9) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=8) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=7) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=6) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=5) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=4) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=3) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=2) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=1) OR (`QuestID`=25908 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25922 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25922 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25922 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25922 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25922 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25919 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25919 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25917 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25916 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25916 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25909 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25909 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25909 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25909 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25909 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25909 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25909 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25909 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25909 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25535, 0, 0, -6344, 4305, 15595), -- 25535 +(25536, 1, 0, -6650, 4382, 15595), -- 25536 +(25536, 0, 5, -6309, 4737, 15595), -- 25536 +(25536, 0, 4, -6193, 4697, 15595), -- 25536 +(25536, 0, 3, -6176, 4601, 15595), -- 25536 +(25536, 0, 2, -6243, 4516, 15595), -- 25536 +(25536, 0, 1, -6279, 4476, 15595), -- 25536 +(25536, 0, 0, -6430, 4442, 15595), -- 25536 +(25921, 2, 0, -6586, 3905, 15595), -- 25921 +(25921, 1, 0, -6445, 4178, 15595), -- 25921 +(25920, 1, 8, -6504, 3564, 15595), -- 25920 +(25920, 1, 7, -6654, 3595, 15595), -- 25920 +(25920, 1, 6, -6765, 3675, 15595), -- 25920 +(25920, 1, 5, -6771, 3794, 15595), -- 25920 +(25920, 1, 4, -6675, 3811, 15595), -- 25920 +(25920, 1, 3, -6421, 3701, 15595), -- 25920 +(25920, 1, 2, -6420, 3654, 15595), -- 25920 +(25920, 1, 1, -6454, 3601, 15595), -- 25920 +(25920, 1, 0, -6497, 3563, 15595), -- 25920 +(25920, 0, 0, -6358, 3644, 15595), -- 25920 +(25907, 5, 7, -6699, 3867, 15595), -- 25907 +(25907, 5, 6, -6737, 3901, 15595), -- 25907 +(25907, 5, 5, -6726, 3908, 15595), -- 25907 +(25907, 5, 4, -6695, 3901, 15595), -- 25907 +(25907, 5, 3, -6687, 3895, 15595), -- 25907 +(25907, 5, 2, -6677, 3886, 15595), -- 25907 +(25907, 5, 1, -6674, 3866, 15595), -- 25907 +(25907, 5, 0, -6692, 3864, 15595), -- 25907 +(25907, 4, 7, -6441, 3906, 15595), -- 25907 +(25907, 4, 6, -6431, 3923, 15595), -- 25907 +(25907, 4, 5, -6406, 3939, 15595), -- 25907 +(25907, 4, 4, -6381, 3938, 15595), -- 25907 +(25907, 4, 3, -6378, 3918, 15595), -- 25907 +(25907, 4, 2, -6383, 3910, 15595), -- 25907 +(25907, 4, 1, -6422, 3895, 15595), -- 25907 +(25907, 4, 0, -6434, 3894, 15595), -- 25907 +(25907, 3, 6, -6519, 3984, 15595), -- 25907 +(25907, 3, 5, -6519, 3994, 15595), -- 25907 +(25907, 3, 4, -6482, 4005, 15595), -- 25907 +(25907, 3, 3, -6491, 3979, 15595), -- 25907 +(25907, 3, 2, -6498, 3972, 15595), -- 25907 +(25907, 3, 1, -6504, 3970, 15595), -- 25907 +(25907, 3, 0, -6519, 3967, 15595), -- 25907 +(25907, 2, 7, -6422, 3781, 15595), -- 25907 +(25907, 2, 6, -6431, 3791, 15595), -- 25907 +(25907, 2, 5, -6437, 3800, 15595), -- 25907 +(25907, 2, 4, -6426, 3807, 15595), -- 25907 +(25907, 2, 3, -6410, 3809, 15595), -- 25907 +(25907, 2, 2, -6401, 3810, 15595), -- 25907 +(25907, 2, 1, -6374, 3767, 15595), -- 25907 +(25907, 2, 0, -6382, 3766, 15595), -- 25907 +(25907, 1, 4, -6650, 3995, 15595), -- 25907 +(25907, 1, 3, -6649, 4009, 15595), -- 25907 +(25907, 1, 2, -6602, 3970, 15595), -- 25907 +(25907, 1, 1, -6601, 3958, 15595), -- 25907 +(25907, 1, 0, -6616, 3950, 15595), -- 25907 +(25907, 0, 0, -6445, 4178, 15595), -- 25907 +(25900, 1, 0, -6445, 4178, 15595), -- 25900 +(25900, 0, 0, -6445, 4178, 15595), -- 25900 +(25918, 1, 0, -6371, 3640, 15595), -- 25918 +(25918, 0, 10, -6728, 3608, 15595), -- 25918 +(25918, 0, 9, -6752, 3630, 15595), -- 25918 +(25918, 0, 8, -6819, 3743, 15595), -- 25918 +(25918, 0, 7, -6764, 3803, 15595), -- 25918 +(25918, 0, 6, -6667, 3813, 15595), -- 25918 +(25918, 0, 5, -6444, 3732, 15595), -- 25918 +(25918, 0, 4, -6429, 3720, 15595), -- 25918 +(25918, 0, 3, -6410, 3702, 15595), -- 25918 +(25918, 0, 2, -6396, 3683, 15595), -- 25918 +(25918, 0, 1, -6482, 3563, 15595), -- 25918 +(25918, 0, 0, -6502, 3559, 15595), -- 25918 +(25908, 7, 11, -6585, 3752, 15595), -- 25908 +(25908, 7, 10, -6622, 3780, 15595), -- 25908 +(25908, 7, 9, -6666, 3840, 15595), -- 25908 +(25908, 7, 8, -6652, 3899, 15595), -- 25908 +(25908, 7, 7, -6629, 3930, 15595), -- 25908 +(25908, 7, 6, -6578, 3948, 15595), -- 25908 +(25908, 7, 5, -6539, 3958, 15595), -- 25908 +(25908, 7, 4, -6460, 3924, 15595), -- 25908 +(25908, 7, 3, -6435, 3873, 15595), -- 25908 +(25908, 7, 2, -6432, 3834, 15595), -- 25908 +(25908, 7, 1, -6449, 3771, 15595), -- 25908 +(25908, 7, 0, -6539, 3748, 15595), -- 25908 +(25908, 6, 0, -6445, 4178, 15595), -- 25908 +(25908, 5, 11, -6769, 3857, 15595), -- 25908 +(25908, 5, 10, -6761, 3911, 15595), -- 25908 +(25908, 5, 9, -6694, 4010, 15595), -- 25908 +(25908, 5, 8, -6602, 4053, 15595), -- 25908 +(25908, 5, 7, -6534, 4050, 15595), -- 25908 +(25908, 5, 6, -6444, 4026, 15595), -- 25908 +(25908, 5, 5, -6382, 3991, 15595), -- 25908 +(25908, 5, 4, -6352, 3942, 15595), -- 25908 +(25908, 5, 3, -6334, 3897, 15595), -- 25908 +(25908, 5, 2, -6332, 3824, 15595), -- 25908 +(25908, 5, 1, -6343, 3769, 15595), -- 25908 +(25908, 5, 0, -6366, 3727, 15595), -- 25908 +(25922, 4, 0, -6560, 4323, 15595), -- 25922 +(25922, 3, 0, -6549, 4242, 15595), -- 25922 +(25922, 2, 0, -6445, 4178, 15595), -- 25922 +(25922, 1, 0, -6549, 4242, 15595), -- 25922 +(25922, 0, 0, -6445, 4178, 15595), -- 25922 +(25919, 1, 0, -6369, 3641, 15595), -- 25919 +(25919, 0, 10, -6686, 3564, 15595), -- 25919 +(25919, 0, 9, -6765, 3626, 15595), -- 25919 +(25919, 0, 8, -6809, 3700, 15595), -- 25919 +(25919, 0, 7, -6837, 3792, 15595), -- 25919 +(25919, 0, 6, -6814, 3901, 15595), -- 25919 +(25919, 0, 5, -6798, 3928, 15595), -- 25919 +(25919, 0, 4, -6256, 3919, 15595), -- 25919 +(25919, 0, 3, -6254, 3810, 15595), -- 25919 +(25919, 0, 2, -6295, 3693, 15595), -- 25919 +(25919, 0, 1, -6400, 3590, 15595), -- 25919 +(25919, 0, 0, -6522, 3538, 15595), -- 25919 +(25917, 0, 0, -6369, 3641, 15595), -- 25917 +(25916, 1, 0, -6445, 4178, 15595), -- 25916 +(25916, 0, 0, -6445, 4178, 15595), -- 25916 +(25909, 2, 3, -6807, 3940, 15595), -- 25909 +(25909, 2, 2, -6766, 4024, 15595), -- 25909 +(25909, 2, 1, -6693, 4081, 15595), -- 25909 +(25909, 2, 0, -6827, 3824, 15595), -- 25909 +(25909, 1, 3, -6320, 4003, 15595), -- 25909 +(25909, 1, 2, -6288, 3933, 15595), -- 25909 +(25909, 1, 1, -6273, 3836, 15595), -- 25909 +(25909, 1, 0, -6291, 3743, 15595), -- 25909 +(25909, 0, 0, -6445, 4178, 15595); -- 25909 + +DELETE FROM `quest_poi` WHERE (`QuestID`=25626 AND `id`=2) OR (`QuestID`=25626 AND `id`=1) OR (`QuestID`=25626 AND `id`=0) OR (`QuestID`=25861 AND `id`=1) OR (`QuestID`=25861 AND `id`=0) OR (`QuestID`=25858 AND `id`=4) OR (`QuestID`=25858 AND `id`=2) OR (`QuestID`=25858 AND `id`=1) OR (`QuestID`=25858 AND `id`=0) OR (`QuestID`=25753 AND `id`=3) OR (`QuestID`=25753 AND `id`=0) OR (`QuestID`=25754 AND `id`=5) OR (`QuestID`=25754 AND `id`=4) OR (`QuestID`=25754 AND `id`=1) OR (`QuestID`=25754 AND `id`=0) OR (`QuestID`=25752 AND `id`=3) OR (`QuestID`=25752 AND `id`=0) OR (`QuestID`=25748 AND `id`=3) OR (`QuestID`=25748 AND `id`=0) OR (`QuestID`=25747 AND `id`=1) OR (`QuestID`=25637 AND `id`=2) OR (`QuestID`=25637 AND `id`=1) OR (`QuestID`=25637 AND `id`=0) OR (`QuestID`=25583 AND `id`=0) OR (`QuestID`=25580 AND `id`=1) OR (`QuestID`=25580 AND `id`=0) OR (`QuestID`=25581 AND `id`=5) OR (`QuestID`=25581 AND `id`=3) OR (`QuestID`=25581 AND `id`=2) OR (`QuestID`=25581 AND `id`=1) OR (`QuestID`=25581 AND `id`=0) OR (`QuestID`=25540 AND `id`=0) OR (`QuestID`=25539 AND `id`=1) OR (`QuestID`=25539 AND `id`=0) OR (`QuestID`=25860 AND `id`=1) OR (`QuestID`=25860 AND `id`=0) OR (`QuestID`=25629 AND `id`=2) OR (`QuestID`=25629 AND `id`=1) OR (`QuestID`=25629 AND `id`=0) OR (`QuestID`=25896 AND `id`=2) OR (`QuestID`=25896 AND `id`=1) OR (`QuestID`=25896 AND `id`=0) OR (`QuestID`=25898 AND `id`=3) OR (`QuestID`=25898 AND `id`=2) OR (`QuestID`=25898 AND `id`=1) OR (`QuestID`=25898 AND `id`=0) OR (`QuestID`=25895 AND `id`=1) OR (`QuestID`=25895 AND `id`=0) OR (`QuestID`=25893 AND `id`=0) OR (`QuestID`=25755 AND `id`=2) OR (`QuestID`=25755 AND `id`=0) OR (`QuestID`=25751 AND `id`=3) OR (`QuestID`=25751 AND `id`=2) OR (`QuestID`=25659 AND `id`=1) OR (`QuestID`=25659 AND `id`=0) OR (`QuestID`=25620 AND `id`=0) OR (`QuestID`=25619 AND `id`=4) OR (`QuestID`=25619 AND `id`=3) OR (`QuestID`=25760 AND `id`=3) OR (`QuestID`=25760 AND `id`=1) OR (`QuestID`=27716 AND `id`=1) OR (`QuestID`=25579 AND `id`=4) OR (`QuestID`=25579 AND `id`=3) OR (`QuestID`=25538 AND `id`=1) OR (`QuestID`=25538 AND `id`=0) OR (`QuestID`=25537 AND `id`=3) OR (`QuestID`=25537 AND `id`=2) OR (`QuestID`=25537 AND `id`=1) OR (`QuestID`=25537 AND `id`=0) OR (`QuestID`=25951 AND `id`=2) OR (`QuestID`=25951 AND `id`=1) OR (`QuestID`=25951 AND `id`=0) OR (`QuestID`=25911 AND `id`=0) OR (`QuestID`=25894 AND `id`=2) OR (`QuestID`=25894 AND `id`=0) OR (`QuestID`=25897 AND `id`=1) OR (`QuestID`=25897 AND `id`=0) OR (`QuestID`=25892 AND `id`=1) OR (`QuestID`=25892 AND `id`=0) OR (`QuestID`=25863 AND `id`=0) OR (`QuestID`=25862 AND `id`=0) OR (`QuestID`=25859 AND `id`=1) OR (`QuestID`=25859 AND `id`=0) OR (`QuestID`=25749 AND `id`=1) OR (`QuestID`=25749 AND `id`=0) OR (`QuestID`=25658 AND `id`=10) OR (`QuestID`=25658 AND `id`=6) OR (`QuestID`=25658 AND `id`=4) OR (`QuestID`=25582 AND `id`=6) OR (`QuestID`=25582 AND `id`=5) OR (`QuestID`=25582 AND `id`=4) OR (`QuestID`=25582 AND `id`=0); +INSERT INTO `quest_poi` (`QuestID`, `id`, `ObjectiveIndex`, `MapID`, `WorldMapAreaId`, `Floor`, `Priority`, `Flags`, `VerifiedBuild`) VALUES +(25626, 2, -1, 0, 615, 0, 0, 7, 15595), -- 25626 +(25626, 1, 1, 0, 615, 0, 0, 7, 15595), -- 25626 +(25626, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25626 +(25861, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25861 +(25861, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25861 +(25858, 4, -1, 0, 615, 0, 0, 1, 15595), -- 25858 +(25858, 2, 2, 0, 615, 0, 0, 3, 15595), -- 25858 +(25858, 1, 1, 0, 615, 0, 0, 3, 15595), -- 25858 +(25858, 0, 0, 0, 615, 0, 0, 3, 15595), -- 25858 +(25753, 3, -1, 0, 615, 0, 0, 7, 15595), -- 25753 +(25753, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25753 +(25754, 5, -1, 0, 615, 0, 0, 7, 15595), -- 25754 +(25754, 4, 2, 0, 615, 0, 0, 7, 15595), -- 25754 +(25754, 1, 1, 0, 615, 0, 0, 7, 15595), -- 25754 +(25754, 0, 0, 0, 615, 0, 0, 7, 15595), -- 25754 +(25752, 3, -1, 0, 615, 0, 0, 7, 15595), -- 25752 +(25752, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25752 +(25748, 3, -1, 0, 615, 0, 0, 7, 15595), -- 25748 +(25748, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25748 +(25747, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25747 +(25637, 2, -1, 0, 615, 0, 0, 1, 15595), -- 25637 +(25637, 1, 0, 0, 615, 0, 0, 1, 15595), -- 25637 +(25637, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25637 +(25583, 0, -1, 0, 615, 0, 0, 7, 15595), -- 25583 +(25580, 1, 0, 0, 615, 0, 0, 7, 15595), -- 25580 +(25580, 0, -1, 0, 615, 0, 0, 7, 15595), -- 25580 +(25581, 5, -1, 0, 615, 0, 0, 3, 15595), -- 25581 +(25581, 3, 3, 0, 615, 0, 0, 1, 15595), -- 25581 +(25581, 2, 2, 0, 615, 0, 0, 1, 15595), -- 25581 +(25581, 1, 1, 0, 615, 0, 0, 1, 15595), -- 25581 +(25581, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25581 +(25540, 0, -1, 0, 615, 0, 0, 7, 15595), -- 25540 +(25539, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25539 +(25539, 0, 4, 0, 615, 0, 0, 1, 15595), -- 25539 +(25860, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25860 +(25860, 0, 0, 0, 615, 0, 0, 3, 15595), -- 25860 +(25629, 2, -1, 0, 615, 0, 0, 7, 15595), -- 25629 +(25629, 1, 0, 0, 615, 0, 0, 1, 15595), -- 25629 +(25629, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25629 +(25896, 2, 0, 0, 615, 0, 0, 7, 15595), -- 25896 +(25896, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25896 +(25896, 0, 1, 0, 615, 0, 0, 1, 15595), -- 25896 +(25898, 3, -1, 0, 615, 0, 0, 7, 15595), -- 25898 +(25898, 2, 0, 0, 615, 0, 0, 7, 15595), -- 25898 +(25898, 1, 11, 0, 615, 0, 0, 1, 15595), -- 25898 +(25898, 0, 1, 0, 615, 0, 0, 3, 15595), -- 25898 +(25895, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25895 +(25895, 0, 4, 0, 615, 0, 0, 1, 15595), -- 25895 +(25893, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25893 +(25755, 2, -1, 0, 615, 0, 0, 1, 15595), -- 25755 +(25755, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25755 +(25751, 3, -1, 0, 615, 0, 0, 7, 15595), -- 25751 +(25751, 2, 4, 0, 615, 0, 0, 3, 15595), -- 25751 +(25659, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25659 +(25659, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25659 +(25620, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25620 +(25619, 4, 0, 0, 615, 0, 0, 7, 15595), -- 25619 +(25619, 3, -1, 0, 615, 0, 0, 1, 15595), -- 25619 +(25760, 3, -1, 0, 615, 0, 0, 1, 15595), -- 25760 +(25760, 1, 0, 0, 615, 0, 0, 1, 15595), -- 25760 +(27716, 1, -1, 0, 615, 0, 0, 1, 15595), -- 27716 +(25579, 4, 0, 0, 615, 0, 0, 7, 15595), -- 25579 +(25579, 3, -1, 0, 615, 0, 0, 7, 15595), -- 25579 +(25538, 1, -1, 0, 615, 0, 0, 7, 15595), -- 25538 +(25538, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25538 +(25537, 3, 0, 0, 615, 0, 0, 7, 15595), -- 25537 +(25537, 2, 0, 0, 615, 0, 0, 7, 15595), -- 25537 +(25537, 1, 0, 0, 615, 0, 0, 7, 15595), -- 25537 +(25537, 0, -1, 0, 615, 0, 0, 7, 15595), -- 25537 +(25951, 2, -1, 0, 615, 0, 0, 7, 15595), -- 25951 +(25951, 1, 0, 0, 615, 0, 0, 7, 15595), -- 25951 +(25951, 0, 1, 0, 615, 0, 0, 1, 15595), -- 25951 +(25911, 0, -1, 0, 615, 0, 0, 7, 15595), -- 25911 +(25894, 2, -1, 0, 615, 0, 0, 1, 15595), -- 25894 +(25894, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25894 +(25897, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25897 +(25897, 0, 4, 0, 615, 0, 0, 1, 15595), -- 25897 +(25892, 1, -1, 0, 615, 0, 0, 7, 15595), -- 25892 +(25892, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25892 +(25863, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25863 +(25862, 0, -1, 0, 615, 0, 0, 1, 15595), -- 25862 +(25859, 1, -1, 0, 615, 0, 0, 1, 15595), -- 25859 +(25859, 0, 0, 0, 615, 0, 0, 1, 15595), -- 25859 +(25749, 1, 0, 0, 615, 0, 0, 7, 15595), -- 25749 +(25749, 0, -1, 0, 615, 0, 0, 7, 15595), -- 25749 +(25658, 10, -1, 0, 615, 0, 0, 1, 15595), -- 25658 +(25658, 6, -1, 0, 615, 0, 0, 1, 15595), -- 25658 +(25658, 4, 0, 0, 615, 0, 0, 7, 15595), -- 25658 +(25582, 6, 2, 0, 615, 0, 0, 7, 15595), -- 25582 +(25582, 5, 0, 0, 615, 0, 0, 7, 15595), -- 25582 +(25582, 4, 1, 0, 615, 0, 0, 7, 15595), -- 25582 +(25582, 0, -1, 0, 615, 0, 0, 7, 15595); -- 25582 + +DELETE FROM `quest_poi_points` WHERE (`QuestID`=25626 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25626 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25626 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25861 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25861 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25858 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25858 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25858 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25858 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25753 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25753 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25754 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25754 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25754 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25754 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25752 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25752 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25748 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25748 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25747 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25747 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25747 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25747 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25637 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25637 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25637 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25583 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25580 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25580 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25581 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25581 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25581 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25581 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25581 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25540 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25539 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25539 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25860 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25860 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25629 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25629 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25629 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25629 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25629 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25629 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25629 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25629 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25896 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25896 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25896 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25898 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25898 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25898 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25898 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25895 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25895 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25895 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25895 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25893 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25755 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25755 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25751 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25751 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25659 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25659 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25620 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25619 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25619 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25760 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25760 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27716 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25579 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25579 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25538 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25538 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25538 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25538 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25538 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=11) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=10) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=25537 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=11) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=10) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=9) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=8) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=7) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=6) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=5) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=4) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=3) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=2) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=1) OR (`QuestID`=25537 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25537 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25537 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25951 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25951 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25951 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25911 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25894 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25894 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25897 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25897 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25892 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25892 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25863 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25862 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25859 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=11) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=10) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=9) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=8) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=7) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=6) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=5) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=4) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=3) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=2) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=1) OR (`QuestID`=25859 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=25749 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=25749 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=25658 AND `Idx1`=10 AND `Idx2`=0) OR (`QuestID`=25658 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=11) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=10) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=9) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=8) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=7) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=6) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=5) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=4) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=3) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=2) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=1) OR (`QuestID`=25658 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25582 AND `Idx1`=6 AND `Idx2`=0) OR (`QuestID`=25582 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=25582 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=25582 AND `Idx1`=0 AND `Idx2`=0); +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25626, 2, 0, -6638, 4365, 15595), -- 25626 +(25626, 1, 0, -7244, 5075, 15595), -- 25626 +(25626, 0, 0, -7264, 5072, 15595), -- 25626 +(25861, 1, 0, -7510, 3909, 15595), -- 25861 +(25861, 0, 0, -7510, 3909, 15595), -- 25861 +(25858, 4, 0, -7328, 4441, 15595), -- 25858 +(25858, 2, 0, -7289, 4805, 15595), -- 25858 +(25858, 1, 0, -7251, 4716, 15595), -- 25858 +(25858, 0, 0, -7300, 4914, 15595), -- 25858 +(25753, 3, 0, -7285, 4785, 15595), -- 25753 +(25753, 0, 9, -7389, 4858, 15595), -- 25753 +(25753, 0, 8, -7434, 4889, 15595), -- 25753 +(25753, 0, 7, -7504, 4947, 15595), -- 25753 +(25753, 0, 6, -7510, 5189, 15595), -- 25753 +(25753, 0, 5, -7355, 5284, 15595), -- 25753 +(25753, 0, 4, -7294, 5300, 15595), -- 25753 +(25753, 0, 3, -7253, 5246, 15595), -- 25753 +(25753, 0, 2, -7150, 4941, 15595), -- 25753 +(25753, 0, 1, -7156, 4881, 15595), -- 25753 +(25753, 0, 0, -7233, 4851, 15595), -- 25753 +(25754, 5, 0, -7280, 4772, 15595), -- 25754 +(25754, 4, 0, -6779, 5047, 15595), -- 25754 +(25754, 1, 0, -7110, 5255, 15595), -- 25754 +(25754, 0, 0, -6781, 5039, 15595), -- 25754 +(25752, 3, 0, -7289, 4789, 15595), -- 25752 +(25752, 0, 11, -7423, 4769, 15595), -- 25752 +(25752, 0, 10, -7503, 4952, 15595), -- 25752 +(25752, 0, 9, -7516, 5190, 15595), -- 25752 +(25752, 0, 8, -7397, 5299, 15595), -- 25752 +(25752, 0, 7, -7225, 5310, 15595), -- 25752 +(25752, 0, 6, -6735, 5260, 15595), -- 25752 +(25752, 0, 5, -6537, 5214, 15595), -- 25752 +(25752, 0, 4, -6494, 5066, 15595), -- 25752 +(25752, 0, 3, -6503, 4932, 15595), -- 25752 +(25752, 0, 2, -6527, 4823, 15595), -- 25752 +(25752, 0, 1, -7134, 4675, 15595), -- 25752 +(25752, 0, 0, -7315, 4673, 15595), -- 25752 +(25748, 3, 0, -6976, 5071, 15595), -- 25748 +(25748, 0, 11, -7437, 4694, 15595), -- 25748 +(25748, 0, 10, -7525, 4770, 15595), -- 25748 +(25748, 0, 9, -7571, 4870, 15595), -- 25748 +(25748, 0, 8, -7610, 4977, 15595), -- 25748 +(25748, 0, 7, -7622, 5088, 15595), -- 25748 +(25748, 0, 6, -7558, 5258, 15595), -- 25748 +(25748, 0, 5, -7541, 5296, 15595), -- 25748 +(25748, 0, 4, -7462, 5375, 15595), -- 25748 +(25748, 0, 3, -7380, 5434, 15595), -- 25748 +(25748, 0, 2, -7267, 5350, 15595), -- 25748 +(25748, 0, 1, -7288, 4841, 15595), -- 25748 +(25748, 0, 0, -7397, 4684, 15595), -- 25748 +(25747, 1, 3, -6983, 5076, 15595), -- 25747 +(25747, 1, 2, -6983, 5089, 15595), -- 25747 +(25747, 1, 1, -6978, 5076, 15595), -- 25747 +(25747, 1, 0, -6983, 5064, 15595), -- 25747 +(25637, 2, 0, -7300, 4914, 15595), -- 25637 +(25637, 1, 11, -7190, 4886, 15595), -- 25637 +(25637, 1, 10, -7335, 5110, 15595), -- 25637 +(25637, 1, 9, -7368, 5282, 15595), -- 25637 +(25637, 1, 8, -7332, 5336, 15595), -- 25637 +(25637, 1, 7, -7266, 5336, 15595), -- 25637 +(25637, 1, 6, -6657, 5227, 15595), -- 25637 +(25637, 1, 5, -6538, 5178, 15595), -- 25637 +(25637, 1, 4, -6475, 5115, 15595), -- 25637 +(25637, 1, 3, -6456, 4947, 15595), -- 25637 +(25637, 1, 2, -6462, 4889, 15595), -- 25637 +(25637, 1, 1, -6525, 4803, 15595), -- 25637 +(25637, 1, 0, -6551, 4798, 15595), -- 25637 +(25637, 0, 6, -7523, 5005, 15595), -- 25637 +(25637, 0, 5, -7524, 5175, 15595), -- 25637 +(25637, 0, 4, -7480, 5201, 15595), -- 25637 +(25637, 0, 3, -7301, 4883, 15595), -- 25637 +(25637, 0, 2, -7284, 4844, 15595), -- 25637 +(25637, 0, 1, -7278, 4747, 15595), -- 25637 +(25637, 0, 0, -7321, 4705, 15595), -- 25637 +(25583, 0, 0, -6630, 4369, 15595), -- 25583 +(25580, 1, 11, -6928, 4544, 15595), -- 25580 +(25580, 1, 10, -7060, 4569, 15595), -- 25580 +(25580, 1, 9, -7125, 4665, 15595), -- 25580 +(25580, 1, 8, -7105, 4731, 15595), -- 25580 +(25580, 1, 7, -6953, 4776, 15595), -- 25580 +(25580, 1, 6, -6893, 4791, 15595), -- 25580 +(25580, 1, 5, -6792, 4791, 15595), -- 25580 +(25580, 1, 4, -6554, 4746, 15595), -- 25580 +(25580, 1, 3, -6549, 4670, 15595), -- 25580 +(25580, 1, 2, -6569, 4564, 15595), -- 25580 +(25580, 1, 1, -6635, 4518, 15595), -- 25580 +(25580, 1, 0, -6751, 4518, 15595), -- 25580 +(25580, 0, 0, -6631, 4388, 15595), -- 25580 +(25581, 5, 0, -6659, 4391, 15595), -- 25581 +(25581, 3, 0, -6892, 4817, 15595), -- 25581 +(25581, 2, 0, -6945, 4753, 15595), -- 25581 +(25581, 1, 0, -6663, 4809, 15595), -- 25581 +(25581, 0, 0, -6663, 4757, 15595), -- 25581 +(25540, 0, 0, -6641, 4388, 15595), -- 25540 +(25539, 1, 0, -6344, 4305, 15595), -- 25539 +(25539, 0, 11, -6473, 4226, 15595), -- 25539 +(25539, 0, 10, -6502, 4254, 15595), -- 25539 +(25539, 0, 9, -6518, 4295, 15595), -- 25539 +(25539, 0, 8, -6496, 4389, 15595), -- 25539 +(25539, 0, 7, -6492, 4406, 15595), -- 25539 +(25539, 0, 6, -6455, 4524, 15595), -- 25539 +(25539, 0, 5, -6329, 4753, 15595), -- 25539 +(25539, 0, 4, -6328, 4754, 15595), -- 25539 +(25539, 0, 3, -6237, 4680, 15595), -- 25539 +(25539, 0, 2, -6196, 4637, 15595), -- 25539 +(25539, 0, 1, -6193, 4572, 15595), -- 25539 +(25539, 0, 0, -6256, 4203, 15595), -- 25539 +(25860, 1, 0, -7275, 5075, 15595), -- 25860 +(25860, 0, 11, -7405, 4847, 15595), -- 25860 +(25860, 0, 10, -7503, 4929, 15595), -- 25860 +(25860, 0, 9, -7543, 5006, 15595), -- 25860 +(25860, 0, 8, -7553, 5060, 15595), -- 25860 +(25860, 0, 7, -7541, 5148, 15595), -- 25860 +(25860, 0, 6, -7504, 5223, 15595), -- 25860 +(25860, 0, 5, -7415, 5266, 15595), -- 25860 +(25860, 0, 4, -7205, 5268, 15595), -- 25860 +(25860, 0, 3, -7117, 5140, 15595), -- 25860 +(25860, 0, 2, -7123, 4987, 15595), -- 25860 +(25860, 0, 1, -7192, 4848, 15595), -- 25860 +(25860, 0, 0, -7278, 4815, 15595), -- 25860 +(25629, 2, 0, -7188, 5080, 15595), -- 25629 +(25629, 1, 11, -7491, 5003, 15595), -- 25629 +(25629, 1, 10, -7526, 5047, 15595), -- 25629 +(25629, 1, 9, -7533, 5087, 15595), -- 25629 +(25629, 1, 8, -7520, 5131, 15595), -- 25629 +(25629, 1, 7, -7444, 5245, 15595), -- 25629 +(25629, 1, 6, -7375, 5251, 15595), -- 25629 +(25629, 1, 5, -7158, 5241, 15595), -- 25629 +(25629, 1, 4, -7074, 5138, 15595), -- 25629 +(25629, 1, 3, -7080, 5007, 15595), -- 25629 +(25629, 1, 2, -7131, 4945, 15595), -- 25629 +(25629, 1, 1, -7173, 4910, 15595), -- 25629 +(25629, 1, 0, -7370, 4877, 15595), -- 25629 +(25629, 0, 5, -6837, 5074, 15595), -- 25629 +(25629, 0, 4, -6832, 5110, 15595), -- 25629 +(25629, 0, 3, -6800, 5106, 15595), -- 25629 +(25629, 0, 2, -6772, 5089, 15595), -- 25629 +(25629, 0, 1, -6765, 5058, 15595), -- 25629 +(25629, 0, 0, -6817, 5049, 15595), -- 25629 +(25896, 2, 11, -7441, 4858, 15595), -- 25896 +(25896, 2, 10, -7474, 4969, 15595), -- 25896 +(25896, 2, 9, -7478, 5112, 15595), -- 25896 +(25896, 2, 8, -7428, 5209, 15595), -- 25896 +(25896, 2, 7, -7326, 5306, 15595), -- 25896 +(25896, 2, 6, -7146, 5283, 15595), -- 25896 +(25896, 2, 5, -7077, 5186, 15595), -- 25896 +(25896, 2, 4, -7031, 5024, 15595), -- 25896 +(25896, 2, 3, -7049, 4904, 15595), -- 25896 +(25896, 2, 2, -7095, 4830, 15595), -- 25896 +(25896, 2, 1, -7220, 4775, 15595), -- 25896 +(25896, 2, 0, -7335, 4766, 15595), -- 25896 +(25896, 1, 0, -7275, 5075, 15595), -- 25896 +(25896, 0, 0, -6727, 5077, 15595), -- 25896 +(25898, 3, 0, -7345, 3940, 15595), -- 25898 +(25898, 2, 0, -7363, 3926, 15595), -- 25898 +(25898, 1, 0, -7352, 3938, 15595), -- 25898 +(25898, 0, 0, -7358, 3949, 15595), -- 25898 +(25895, 1, 0, -7359, 3920, 15595), -- 25895 +(25895, 0, 2, -7544, 3705, 15595), -- 25895 +(25895, 0, 1, -7487, 3713, 15595), -- 25895 +(25895, 0, 0, -7550, 3695, 15595), -- 25895 +(25893, 0, 0, -7359, 3920, 15595), -- 25893 +(25755, 2, 0, -7304, 5266, 15595), -- 25755 +(25755, 0, 0, -7304, 5266, 15595), -- 25755 +(25751, 3, 0, -6981, 5098, 15595), -- 25751 +(25751, 2, 8, -7465, 4929, 15595), -- 25751 +(25751, 2, 7, -7433, 5248, 15595), -- 25751 +(25751, 2, 6, -7248, 5294, 15595), -- 25751 +(25751, 2, 5, -7074, 5210, 15595), -- 25751 +(25751, 2, 4, -7070, 5202, 15595), -- 25751 +(25751, 2, 3, -7027, 5074, 15595), -- 25751 +(25751, 2, 2, -7035, 4930, 15595), -- 25751 +(25751, 2, 1, -7262, 4774, 15595), -- 25751 +(25751, 2, 0, -7303, 4747, 15595), -- 25751 +(25659, 1, 0, -7300, 4914, 15595), -- 25659 +(25659, 0, 0, -7297, 5296, 15595), -- 25659 +(25620, 0, 0, -6663, 4770, 15595), -- 25620 +(25619, 4, 11, -7082, 4567, 15595), -- 25619 +(25619, 4, 10, -7183, 4618, 15595), -- 25619 +(25619, 4, 9, -7312, 4720, 15595), -- 25619 +(25619, 4, 8, -7280, 4807, 15595), -- 25619 +(25619, 4, 7, -7206, 4863, 15595), -- 25619 +(25619, 4, 6, -7118, 4904, 15595), -- 25619 +(25619, 4, 5, -7026, 4923, 15595), -- 25619 +(25619, 4, 4, -6902, 4932, 15595), -- 25619 +(25619, 4, 3, -6814, 4876, 15595), -- 25619 +(25619, 4, 2, -6800, 4743, 15595), -- 25619 +(25619, 4, 1, -6837, 4655, 15595), -- 25619 +(25619, 4, 0, -6957, 4553, 15595), -- 25619 +(25619, 3, 0, -7190, 4714, 15595), -- 25619 +(25760, 3, 0, -7183, 4712, 15595), -- 25760 +(25760, 1, 0, -7194, 4717, 15595), -- 25760 +(27716, 1, 0, -6604, 4271, 15595), -- 27716 +(25579, 4, 11, -7150, 4614, 15595), -- 25579 +(25579, 4, 10, -7236, 4660, 15595), -- 25579 +(25579, 4, 9, -7322, 4726, 15595), -- 25579 +(25579, 4, 8, -7262, 4771, 15595), -- 25579 +(25579, 4, 7, -7140, 4801, 15595), -- 25579 +(25579, 4, 6, -6979, 4806, 15595), -- 25579 +(25579, 4, 5, -6893, 4806, 15595), -- 25579 +(25579, 4, 4, -6640, 4791, 15595), -- 25579 +(25579, 4, 3, -6539, 4705, 15595), -- 25579 +(25579, 4, 2, -6569, 4539, 15595), -- 25579 +(25579, 4, 1, -6817, 4468, 15595), -- 25579 +(25579, 4, 0, -6837, 4468, 15595), -- 25579 +(25579, 3, 0, -6631, 4393, 15595), -- 25579 +(25538, 1, 0, -6348, 4276, 15595), -- 25538 +(25538, 0, 3, -6596, 4275, 15595), -- 25538 +(25538, 0, 2, -6603, 4310, 15595), -- 25538 +(25538, 0, 1, -6601, 4310, 15595), -- 25538 +(25538, 0, 0, -6592, 4274, 15595), -- 25538 +(25537, 3, 11, -6509, 4357, 15595), -- 25537 +(25537, 3, 10, -6529, 4417, 15595), -- 25537 +(25537, 3, 9, -6529, 4443, 15595), -- 25537 +(25537, 3, 8, -6458, 4574, 15595), -- 25537 +(25537, 3, 7, -6423, 4620, 15595), -- 25537 +(25537, 3, 6, -6362, 4690, 15595), -- 25537 +(25537, 3, 5, -6322, 4721, 15595), -- 25537 +(25537, 3, 4, -6302, 4675, 15595), -- 25537 +(25537, 3, 3, -6388, 4488, 15595), -- 25537 +(25537, 3, 2, -6443, 4377, 15595), -- 25537 +(25537, 3, 1, -6458, 4352, 15595), -- 25537 +(25537, 3, 0, -6479, 4337, 15595), -- 25537 +(25537, 2, 11, -6524, 4215, 15595), -- 25537 +(25537, 2, 10, -6529, 4220, 15595), -- 25537 +(25537, 2, 9, -6544, 4261, 15595), -- 25537 +(25537, 2, 8, -6549, 4291, 15595), -- 25537 +(25537, 2, 7, -6549, 4321, 15595), -- 25537 +(25537, 2, 6, -6524, 4337, 15595), -- 25537 +(25537, 2, 5, -6514, 4332, 15595), -- 25537 +(25537, 2, 4, -6342, 4236, 15595), -- 25537 +(25537, 2, 3, -6332, 4225, 15595), -- 25537 +(25537, 2, 2, -6322, 4210, 15595), -- 25537 +(25537, 2, 1, -6322, 4185, 15595), -- 25537 +(25537, 2, 0, -6342, 4175, 15595), -- 25537 +(25537, 1, 11, -6307, 4225, 15595), -- 25537 +(25537, 1, 10, -6307, 4256, 15595), -- 25537 +(25537, 1, 9, -6307, 4296, 15595), -- 25537 +(25537, 1, 8, -6307, 4332, 15595), -- 25537 +(25537, 1, 7, -6241, 4564, 15595), -- 25537 +(25537, 1, 6, -6226, 4594, 15595), -- 25537 +(25537, 1, 5, -6201, 4620, 15595), -- 25537 +(25537, 1, 4, -6155, 4630, 15595), -- 25537 +(25537, 1, 3, -6150, 4599, 15595), -- 25537 +(25537, 1, 2, -6150, 4559, 15595), -- 25537 +(25537, 1, 1, -6241, 4210, 15595), -- 25537 +(25537, 1, 0, -6287, 4185, 15595), -- 25537 +(25537, 0, 0, -6348, 4297, 15595), -- 25537 +(25951, 2, 0, -7294, 4595, 15595), -- 25951 +(25951, 1, 0, -7286, 4808, 15595); -- 25951 + +INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES +(25951, 0, 0, -7290, 4475, 15595), -- 25951 +(25911, 0, 0, -6630, 4374, 15595), -- 25911 +(25894, 2, 0, -7359, 3920, 15595), -- 25894 +(25894, 0, 7, -7607, 3617, 15595), -- 25894 +(25894, 0, 6, -7557, 3759, 15595), -- 25894 +(25894, 0, 5, -7490, 3764, 15595), -- 25894 +(25894, 0, 4, -7452, 3727, 15595), -- 25894 +(25894, 0, 3, -7418, 3653, 15595), -- 25894 +(25894, 0, 2, -7407, 3624, 15595), -- 25894 +(25894, 0, 1, -7431, 3612, 15595), -- 25894 +(25894, 0, 0, -7531, 3582, 15595), -- 25894 +(25897, 1, 0, -7359, 3920, 15595), -- 25897 +(25897, 0, 9, -7674, 3868, 15595), -- 25897 +(25897, 0, 8, -7666, 3942, 15595), -- 25897 +(25897, 0, 7, -7528, 4221, 15595), -- 25897 +(25897, 0, 6, -7339, 4455, 15595), -- 25897 +(25897, 0, 5, -7265, 4403, 15595), -- 25897 +(25897, 0, 4, -7319, 4101, 15595), -- 25897 +(25897, 0, 3, -7342, 4036, 15595), -- 25897 +(25897, 0, 2, -7433, 3866, 15595), -- 25897 +(25897, 0, 1, -7524, 3799, 15595), -- 25897 +(25897, 0, 0, -7562, 3789, 15595), -- 25897 +(25892, 1, 0, -6634, 4360, 15595), -- 25892 +(25892, 0, 0, -6997, 5071, 15595), -- 25892 +(25863, 0, 0, -7312, 4432, 15595), -- 25863 +(25862, 0, 0, -7665, 3905, 15595), -- 25862 +(25859, 1, 0, -7328, 4441, 15595), -- 25859 +(25859, 0, 11, -7418, 3686, 15595), -- 25859 +(25859, 0, 10, -7609, 3805, 15595), -- 25859 +(25859, 0, 9, -7677, 3848, 15595), -- 25859 +(25859, 0, 8, -7682, 3852, 15595), -- 25859 +(25859, 0, 7, -7673, 3941, 15595), -- 25859 +(25859, 0, 6, -7531, 4305, 15595), -- 25859 +(25859, 0, 5, -7422, 4385, 15595), -- 25859 +(25859, 0, 4, -7230, 4335, 15595), -- 25859 +(25859, 0, 3, -7218, 4284, 15595), -- 25859 +(25859, 0, 2, -7235, 4139, 15595), -- 25859 +(25859, 0, 1, -7309, 3704, 15595), -- 25859 +(25859, 0, 0, -7354, 3672, 15595), -- 25859 +(25749, 1, 11, -7183, 4858, 15595), -- 25749 +(25749, 1, 10, -7206, 4932, 15595), -- 25749 +(25749, 1, 9, -7211, 5015, 15595), -- 25749 +(25749, 1, 8, -7211, 5126, 15595), -- 25749 +(25749, 1, 7, -7142, 5255, 15595), -- 25749 +(25749, 1, 6, -7026, 5278, 15595), -- 25749 +(25749, 1, 5, -6985, 5190, 15595), -- 25749 +(25749, 1, 4, -6985, 5107, 15595), -- 25749 +(25749, 1, 3, -6985, 5038, 15595), -- 25749 +(25749, 1, 2, -6998, 4932, 15595), -- 25749 +(25749, 1, 1, -7022, 4863, 15595), -- 25749 +(25749, 1, 0, -7100, 4816, 15595), -- 25749 +(25749, 0, 0, -6985, 5089, 15595), -- 25749 +(25658, 10, 0, -6651, 4791, 15595), -- 25658 +(25658, 6, 0, -7264, 4868, 15595), -- 25658 +(25658, 4, 11, -7123, 4849, 15595), -- 25658 +(25658, 4, 10, -7160, 4955, 15595), -- 25658 +(25658, 4, 9, -7132, 5112, 15595), -- 25658 +(25658, 4, 8, -7054, 5209, 15595), -- 25658 +(25658, 4, 7, -6639, 5250, 15595), -- 25658 +(25658, 4, 6, -6542, 5241, 15595), -- 25658 +(25658, 4, 5, -6486, 5186, 15595), -- 25658 +(25658, 4, 4, -6468, 5070, 15595), -- 25658 +(25658, 4, 3, -6468, 4927, 15595), -- 25658 +(25658, 4, 2, -6468, 4840, 15595), -- 25658 +(25658, 4, 1, -6952, 4798, 15595), -- 25658 +(25658, 4, 0, -7022, 4798, 15595), -- 25658 +(25582, 6, 0, -7156, 4699, 15595), -- 25582 +(25582, 5, 0, -6619, 4782, 15595), -- 25582 +(25582, 4, 0, -6794, 5011, 15595), -- 25582 +(25582, 0, 0, -6634, 4374, 15595); -- 25582 + +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (45097, 49333, 44981, 49327, 44926, 49322, 44924, 49321, 44922, 49319, 44932, 49323, 45122, 49334, 44976, 49324, 44977, 49325, 44897, 49318, 44896, 49317, 44898, 49320, 45062, 49330, 44982, 44976, 49328, 44980, 49326); + +-- Normal Mode (Elite) +-- The Lost City of the Tol'Vir +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(45097, 1162, 7, 0, 10, 0), +(44981, 1162, 7, 0, 10, 0), +(44926, 1162, 7, 0, 10, 0), +(44924, 1162, 7, 0, 10, 0), +(44922, 1162, 7, 0, 10, 0), +(44932, 1162, 7, 0, 10, 0), +(45122, 1162, 7, 0, 10, 0), +(44976, 1162, 7, 0, 10, 0), +(44977, 1162, 7, 0, 10, 0), +(44897, 1162, 7, 0, 10, 0), +(44896, 1162, 7, 0, 10, 0), +(44898, 1162, 7, 0, 10, 0), +(45062, 1162, 7, 0, 10, 0), +(44982, 1162, 7, 0, 10, 0), +(44980, 1162, 7, 0, 10, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 44577; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 43614; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 43612; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 44819; + +-- Heroic Mode +-- The Lost City of the Tol'Vir +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(49333, 1162, 7, 0, 15, 0), +(49327, 1162, 7, 0, 15, 0), +(49322, 1162, 7, 0, 15, 0), +(49321, 1162, 7, 0, 15, 0), +(49319, 1162, 7, 0, 15, 0), +(49323, 1162, 7, 0, 15, 0), +(49334, 1162, 7, 0, 15, 0), +(49324, 1162, 7, 0, 15, 0), +(49325, 1162, 7, 0, 15, 0), +(49318, 1162, 7, 0, 15, 0), +(49317, 1162, 7, 0, 15, 0), +(49320, 1162, 7, 0, 15, 0), +(49330, 1162, 7, 0, 15, 0), +(49328, 1162, 7, 0, 15, 0), +(49326, 1162, 7, 0, 15, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48932; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49045; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48951; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 51088; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (48141, 49309, 48139, 49307, 48140, 49308, 48143, 49310, 39440, 49286, 40787, 49301, 40311, 49295, 40310, 49294, 39801, 48895, 39800, 48894, 39803, 48896, 39802, 39373, 49285, 40170, 49293, 40106, 49292, 40033, 49291, 40715, 49300, 40668, 49299, 41374, 49305, 41371, 49304, 41364, 48892, 49303, 39587, 39731, 39732, 48710, 48715, 48776, 39370, 48815, 39378); + +-- Normal Mode +-- Halls of Origination +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(48141, 1162, 7, 0, 10, 0), +(48139, 1162, 7, 0, 10, 0), +(48140, 1162, 7, 0, 10, 0), +(48143, 1162, 7, 0, 10, 0), +(39440, 1162, 7, 0, 10, 0), +(40787, 1162, 7, 0, 10, 0), +(40311, 1162, 7, 0, 10, 0), +(40310, 1162, 7, 0, 10, 0), +(39801, 1162, 7, 0, 30, 0), +(39800, 1162, 7, 0, 30, 0), +(39803, 1162, 7, 0, 30, 0), +(39802, 1162, 7, 0, 30, 0), +(39373, 1162, 7, 0, 10, 0), +(40170, 1162, 7, 0, 10, 0), +(40106, 1162, 7, 0, 10, 0), +(40033, 1162, 7, 0, 10, 0), +(40715, 1162, 7, 0, 10, 0), +(40668, 1162, 7, 0, 10, 0), +(41374, 1162, 7, 0, 10, 0), +(41371, 1162, 7, 0, 10, 0), +(39370, 1162, 7, 0, 10, 0), +(39587, 1162, 7, 0, 150, 0), +(39731, 1162, 7, 0, 150, 0), +(39732, 1162, 7, 0, 150, 0), +(39378, 1162, 7, 0, 150, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 39425; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 39428; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 39788; + +-- Heroic Mode +-- Halls of Origination +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(49309, 1162, 7, 0, 15, 0), +(49307, 1162, 7, 0, 15, 0), +(49308, 1162, 7, 0, 15, 0), +(49310, 1162, 7, 0, 15, 0), +(49286, 1162, 7, 0, 15, 0), +(49301, 1162, 7, 0, 15, 0), +(49295, 1162, 7, 0, 15, 0), +(49294, 1162, 7, 0, 15, 0), +(48895, 1162, 7, 0, 45, 0), +(48894, 1162, 7, 0, 45, 0), +(48896, 1162, 7, 0, 45, 0), +(48892, 1162, 7, 0, 45, 0), +(49285, 1162, 7, 0, 15, 0), +(49293, 1162, 7, 0, 15, 0), +(49292, 1162, 7, 0, 15, 0), +(49291, 1162, 7, 0, 15, 0), +(49300, 1162, 7, 0, 15, 0), +(49299, 1162, 7, 0, 15, 0), +(49305, 1162, 7, 0, 15, 0), +(49304, 1162, 7, 0, 15, 0), +(49303, 1162, 7, 0, 15, 0), +(48710, 1162, 7, 0, 250, 0), +(48715, 1162, 7, 0, 250, 0), +(48776, 1162, 7, 0, 250, 0), +(48815, 1162, 7, 0, 250, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49262; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48714; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48902; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (39381, 48654, 39854, 48661, 39855, 48745, 39962, 48597, 41073, 48611, 39890, 48595, 39956, 48666, 39415, 48677, 39414, 48676, 39954, 48669, 39626, 48682, 39909, 48680, 40167, 48695, 40166, 48693, 40268, 48744, 40270, 48750, 39870, 48748, 40291, 48746, 40273, 48753, 40272, 48751, 39873, 48754, 39392, 48818, 40290, 48653, 40448, 48667, 40306, 48610, 39405, 48652); + +-- Normal Mode +-- Grim Batol +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(39381, 1162, 7, 0, 10, 0), +(39854, 1162, 7, 0, 10, 0), +(39855, 1162, 7, 0, 10, 0), +(39962, 1162, 7, 0, 10, 0), +(41073, 1162, 7, 0, 10, 0), +(39890, 1162, 7, 0, 10, 0), +(39956, 1162, 7, 0, 10, 0), +(39415, 1162, 7, 0, 10, 0), +(39414, 1162, 7, 0, 10, 0), +(39954, 1162, 7, 0, 10, 0), +(39626, 1162, 7, 0, 10, 0), +(39909, 1162, 7, 0, 10, 0), +(40167, 1162, 7, 0, 10, 0), +(40166, 1162, 7, 0, 10, 0), +(40268, 1162, 7, 0, 10, 0), +(40270, 1162, 7, 0, 10, 0), +(39870, 1162, 7, 0, 10, 0), +(40291, 1162, 7, 0, 10, 0), +(40273, 1162, 7, 0, 10, 0), +(40272, 1162, 7, 0, 10, 0), +(39873, 1162, 7, 0, 10, 0), +(39392, 1162, 7, 0, 10, 0), +(40290, 1162, 7, 0, 10, 0), +(40448, 1162, 7, 0, 10, 0), +(40306, 1162, 7, 0, 10, 0), +(39405, 1162, 7, 0, 10, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 39625; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 40177; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 40319; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 150 WHERE `creature_id`= 40484; + +-- Heroic Mode +-- Grim Batol +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(48654, 1162, 7, 0, 15, 0), +(48661, 1162, 7, 0, 15, 0), +(48745, 1162, 7, 0, 15, 0), +(48597, 1162, 7, 0, 15, 0), +(48611, 1162, 7, 0, 15, 0), +(48595, 1162, 7, 0, 15, 0), +(48666, 1162, 7, 0, 15, 0), +(48677, 1162, 7, 0, 15, 0), +(48676, 1162, 7, 0, 15, 0), +(48669, 1162, 7, 0, 15, 0), +(48682, 1162, 7, 0, 15, 0), +(48680, 1162, 7, 0, 15, 0), +(48695, 1162, 7, 0, 15, 0), +(48693, 1162, 7, 0, 15, 0), +(48744, 1162, 7, 0, 15, 0), +(48750, 1162, 7, 0, 15, 0), +(48748, 1162, 7, 0, 15, 0), +(48746, 1162, 7, 0, 15, 0), +(48753, 1162, 7, 0, 15, 0), +(48751, 1162, 7, 0, 15, 0), +(48754, 1162, 7, 0, 15, 0), +(48818, 1162, 7, 0, 15, 0), +(48653, 1162, 7, 0, 15, 0), +(48667, 1162, 7, 0, 15, 0), +(48610, 1162, 7, 0, 15, 0), +(48652, 1162, 7, 0, 15, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48337; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48702; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48784; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 48822; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (45478, 45913, 45916, 45918, 45925, 45920, 45923, 45929, 45931, 45936, 45927); + +-- Heroic Mode +-- The Vortex Pinnacle +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(45478, 1162, 7, 0, 15, 0), +(45913, 1162, 7, 0, 15, 0), +(45916, 1162, 7, 0, 15, 0), +(45918, 1162, 7, 0, 15, 0), +(45925, 1162, 7, 0, 15, 0), +(45920, 1162, 7, 0, 15, 0), +(45923, 1162, 7, 0, 15, 0), +(45929, 1162, 7, 0, 15, 0), +(45931, 1162, 7, 0, 15, 0), +(45936, 1162, 7, 0, 15, 0), +(45927, 1162, 7, 0, 15, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 43879; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 43874; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 43876; + +-- Correct some wrong model id's for difficulty entries +UPDATE `creature_template` SET `modelid1`= 34771 WHERE `entry`= 45920; +UPDATE `creature_template` SET `modelid1`= 19673 WHERE `entry`= 45923; + +-- Correct some inhabit types +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 47305; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (49085, 49090, 49087, 49086, 49091, 49092, 49102, 49078, 49077, 49074, 49080, 49064, 49082); + +-- Heroic Mode +-- Throne of the Tides +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(49085, 1162, 7, 0, 15, 0), +(49090, 1162, 7, 0, 15, 0), +(49087, 1162, 7, 0, 15, 0), +(49086, 1162, 7, 0, 15, 0), +(49091, 1162, 7, 0, 15, 0), +(49092, 1162, 7, 0, 15, 0), +(49102, 1162, 7, 0, 15, 0), +(49078, 1162, 7, 0, 15, 0), +(49077, 1162, 7, 0, 15, 0), +(49074, 1162, 7, 0, 15, 0), +(49080, 1162, 7, 0, 250, 0), +(49064, 1162, 7, 0, 250, 0), +(49082, 1162, 7, 0, 250, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49097; +UPDATE `creature_onkill_reward` SET `CurrencyId1`= 395, `CurrencyCount1`= 7000 WHERE `creature_id`= 49080; +UPDATE `creature_onkill_reward` SET `CurrencyId1`= 395, `CurrencyCount1`= 7000 WHERE `creature_id`= 49064; +UPDATE `creature_onkill_reward` SET `CurrencyId1`= 395, `CurrencyCount1`= 7000 WHERE `creature_id`= 49082; + +-- Add difficulty entry to missing updated creatues +UPDATE `creature_template` SET `difficulty_entry_1`= 49092 WHERE `entry`= 40634; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `speed_run`= 1, `unit_class`= 2, `unit_flags`= 32832 WHERE `entry`= 49092; + +UPDATE `creature_template` SET `difficulty_entry_1`= 49102 WHERE `entry`= 40925; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 16, `speed_run`= 1.28968, `unit_flags`= 64 WHERE `entry`= 49102; + +UPDATE `creature_template` SET `difficulty_entry_1`= 49078 WHERE `entry`= 40935; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 14 WHERE `entry`= 49078; + +UPDATE `creature_template` SET `difficulty_entry_1`= 49077 WHERE `entry`= 40943; +UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3, `faction`= 14, `unit_class`= 2 WHERE `entry`= 49077; + +UPDATE `creature_template` SET `difficulty_entry_1`= 49074 WHERE `entry`= 40936; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `faction`= 14, `speed_run`= 0.912699 WHERE `entry`= 49074; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (49667, 49660, 49662, 49663, 49647, 49665, 49664, 49661); + +-- Heroic Mode +-- Stonecore +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(49667, 1162, 7, 0, 15, 0), +(49660, 1162, 7, 0, 15, 0), +(49662, 1162, 7, 0, 15, 0), +(49663, 1162, 7, 0, 15, 0), +(49647, 1162, 7, 0, 15, 0), +(49665, 1162, 7, 0, 15, 0), +(49664, 1162, 7, 0, 15, 0), +(49661, 1162, 7, 0, 15, 0); + +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49642; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49538; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49654; +UPDATE `creature_onkill_reward` SET `RewOnKillRepFaction1`= 1162, `MaxStanding1`= 7, `RewOnKillRepValue1`= 250 WHERE `creature_id`= 49624; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (39709, 39981, 39979, 39986, 39983, 39988, 39991, 39994, 40018, 40020, 40022, 40024, 39666, 39680, 39699, 39701, 39705, 39995); + +-- Heroic Mode +-- Blackrock Caverns +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(39709, 1162, 7, 0, 15, 0), +(39981, 1162, 7, 0, 15, 0), +(39979, 1162, 7, 0, 15, 0), +(39986, 1162, 7, 0, 15, 0), +(39983, 1162, 7, 0, 15, 0), +(39988, 1162, 7, 0, 15, 0), +(39991, 1162, 7, 0, 15, 0), +(39994, 1162, 7, 0, 15, 0), +(40018, 1162, 7, 0, 15, 0), +(40020, 1162, 7, 0, 15, 0), +(40022, 1162, 7, 0, 15, 0), +(40024, 1162, 7, 0, 15, 0), +(39995, 1162, 7, 0, 15, 0), +(39666, 1162, 7, 0, 250, 0), +(39680, 1162, 7, 0, 250, 0), +(39699, 1162, 7, 0, 250, 0), +(39701, 1162, 7, 0, 250, 0), +(39705, 1162, 7, 0, 250, 0); + +UPDATE `creature_onkill_reward` SET `CurrencyId1`= 395, `CurrencyCount1`= 7000 WHERE `creature_id` IN (39666, 39680, 39699, 39701, 39705); + +-- Update difficulty entries +UPDATE `creature_template` SET `difficulty_entry_1`= 40024 WHERE `entry`= 40023; +UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86, `exp`= 3, `speed_walk`= 1.6, `speed_run`= 1.42857, `faction`= 16, `unit_flags`= 32832 WHERE `entry`= 40024; +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (48834, 48829,48830, 48823, 48824, 48826, 48827, 48819, 48814, 48811, 48812, 48914, 48810, 48787, 48792, 48791, 48781, 48777, 48778, 48936, 48940, 48941, 48943, 48944, 49541, 49851); + +-- Heroic Mode +-- Deadmines +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(48834, 1162, 7, 0, 15, 0), +(48829, 1162, 7, 0, 15, 0), +(48830, 1162, 7, 0, 15, 0), +(48823, 1162, 7, 0, 15, 0), +(48824, 1162, 7, 0, 15, 0), +(48826, 1162, 7, 0, 15, 0), +(48827, 1162, 7, 0, 15, 0), +(48819, 1162, 7, 0, 15, 0), +(48814, 1162, 7, 0, 15, 0), +(48811, 1162, 7, 0, 15, 0), +(48812, 1162, 7, 0, 15, 0), +(48914, 1162, 7, 0, 15, 0), +(48787, 1162, 7, 0, 15, 0), +(49851, 1162, 7, 0, 15, 0), +(48792, 1162, 7, 0, 15, 0), +(48791, 1162, 7, 0, 15, 0), +(48781, 1162, 7, 0, 15, 0), +(48777, 1162, 7, 0, 15, 0), +(48778, 1162, 7, 0, 15, 0), +(48936, 1162, 7, 0, 250, 0), +(48940, 1162, 7, 0, 250, 0), +(48941, 1162, 7, 0, 250, 0), +(48943, 1162, 7, 0, 250, 0), +(48944, 1162, 7, 0, 250, 0), +(49541, 1162, 7, 0, 250, 0); + +UPDATE `creature_onkill_reward` SET `CurrencyId1`= 395, `CurrencyCount1`= 7000 WHERE `creature_id` IN (48936, 48940, 48941, 48944 , 48943, 49541); +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (48851, 48842, 48919, 48942, 48973, 48981, 48988, 48985, 49059, 49126, 49130, 49155, 49160, 49125, 49184, 49174, 49186, 49164, 49708, 49709, 49710, 49711, 49712, 49187); + +-- Heroic Mode +-- Shadowfang Keep +INSERT INTO `creature_onkill_reward` (`creature_id`, `RewOnKillRepFaction1`, `MaxStanding1`, `IsTeamAward1`, `RewOnKillRepValue1`, `TeamDependent`) VALUES +(48851, 1162, 7, 0, 15, 0), +(48842, 1162, 7, 0, 15, 0), +(48919, 1162, 7, 0, 15, 0), +(48942, 1162, 7, 0, 15, 0), +(48973, 1162, 7, 0, 15, 0), +(48981, 1162, 7, 0, 15, 0), +(48988, 1162, 7, 0, 15, 0), +(48985, 1162, 7, 0, 15, 0), +(49126, 1162, 7, 0, 15, 0), +(49059, 1162, 7, 0, 15, 0), +(49130, 1162, 7, 0, 15, 0), +(49155, 1162, 7, 0, 15, 0), +(49160, 1162, 7, 0, 15, 0), +(49125, 1162, 7, 0, 15, 0), +(49184, 1162, 7, 0, 15, 0), +(49174, 1162, 7, 0, 15, 0), +(49186, 1162, 7, 0, 15, 0), +(49164, 1162, 7, 0, 15, 0), +(49187, 1162, 7, 0, 15, 0), +(49708, 1162, 7, 0, 250, 0), +(49709, 1162, 7, 0, 250, 0), +(49710, 1162, 7, 0, 250, 0), +(49711, 1162, 7, 0, 250, 0), +(49712, 1162, 7, 0, 250, 0); + +UPDATE `creature_onkill_reward` SET `CurrencyId1`= 395, `CurrencyCount1`= 7000 WHERE `creature_id` IN (49708, 49709, 49710, 49711, 49712); + +-- Template Updates +-- Al'Akir +UPDATE `creature_template` SET `difficulty_entry_1`= 50203, `difficulty_entry_2`= 50217, `difficulty_entry_3`= 50231,`ScriptName`= 'boss_alakir', `InhabitType`= 12, `DamageModifier`= 60, `mechanic_immune_mask`= 617299839 WHERE `entry`= 46753; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 16, `speed_walk`= 2.4, `speed_run`= 1.42857, `BaseAttackTime`= 1500, `unit_flags2`= 134219776, `InhabitType`= 12, `DamageModifier`= 60, `mechanic_immune_mask`= 617299839, `flags_extra`= 1 WHERE `entry` IN (50203, 50217, 50231); +-- Slipstream +UPDATE `creature_template` SET `InhabitType`= 4, `ScriptName`= 'npc_totfw_slipstream' WHERE `entry`= 47066; +-- Lightning Strike Trigger +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 48977; +-- Lightning Strike Trigger (Heroic Chain-Caster) +UPDATE `creature_template` SET `unit_flags`= 33554432, `unit_flags2`= 2048, `InhabitType`= 4, `flags_extra`= 128 WHERE `entry`= 50254; +-- Relentless Storm Initial Vehicle +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 48977; +-- Ice Storm +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `ScriptName`= 'npc_alakir_ice_storm' WHERE `entry`= 46734; +-- Ice Storm (Ice Patch Field) +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 46973; +-- Squall Line Vehicle SW +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `VehicleId`= 1358, `speed_walk`= 2.8 WHERE `entry`= 47034; +-- Squall Line Vehicle SE +UPDATE `creature_template` SET `unit_flags`= 33554432, `flags_extra`= 128, `VehicleId`= 1360, `speed_walk`= 2.8 WHERE `entry`= 48852; +-- Ice Storm Trigger +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 46766; +-- Stormling Pre-Effect +UPDATE `creature_template` SET `unit_flags`= 33555200, `flags_extra`= 2, `InhabitType`= 4 WHERE `entry`= 47177; +-- Stormling +UPDATE `creature_template` SET `difficulty_entry_1`= 50216, `difficulty_entry_2`= 50230, `difficulty_entry_3`= 50244, `DamageModifier`= 30, `BaseVariance`= 0.5, `ScriptName`= 'npc_alakir_stormling', `mechanic_immune_mask`= 46344991, `InhabitType`= 5 WHERE `entry`= 47175; +UPDATE `creature_template` SET `minlevel`= 88, `maxlevel`= 88, `exp`= 3, `faction`= 14, `DamageModifier`= 30, `BaseVariance`= 0.5, `mechanic_immune_mask`= 46344991, `InhabitType`= 5 WHERE `entry` IN (50216, 50230, 50244); + +-- Achievement Reward +DELETE FROM `achievement_reward` WHERE `ID`= 5123; +INSERT INTO `achievement_reward` (`ID`, `TitleA`, `TitleH`) VALUES +(5123, 226, 226); + +-- Relentless Storm Initial Vehicle +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 47806; +-- Lightning Clouds +UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 2 WHERE `entry`= 51597; +UPDATE `creature_template` SET `InhabitType`= 4, `unit_flags`= 33554432, `flags_extra`= 2 WHERE `entry`= 48190; +-- Lightning Clouds Extra Visuals +UPDATE `creature_template` SET `InhabitType`= 4, `unit_flags`= 33554432, `flags_extra`= 2 WHERE `entry`= 51598; +UPDATE `creature_template` SET `InhabitType`= 4, `unit_flags`= 33554432, `flags_extra`= 2 WHERE `entry`= 48196; +-- Relentless Storm +UPDATE `creature_template` SET `InhabitType`= 4, `unit_flags`= 33554432, `flags_extra`= 128 WHERE `entry`= 47807; + +-- Model Info +UPDATE `creature_model_info` SET `CombatReach`= 400 WHERE `DisplayId`= 36062; + +-- Texts +DELETE FROM `creature_text` WHERE `CreatureID`= 46753; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(46753, 0, 0, 'The Conclave of Wind has dissipated. Your honorable conduct and determination have earned you the right to face me in battle, mortals. I await your assault on my platform! Come!', 14, 0, 100, 0, 0, 0, 50553, 3, 'Al''Akir - Conclave of Wind defeated'), +(46753, 1, 0, 'Your challenge is accepted, mortals! Know that you face Al''Akir, Elemental Lord of Air! You have no hope of defeating me!', 14, 0, 100, 0, 0, 0, 50565, 3, 'Al''Akir - Aggro'), +(46753, 2, 0, '|TINTERFACE\\ICONS\\Spell_Frost_WindWalkOn.blp:20|t%s begins to cast |cFFFF0000|Hspell:87770|h[Wind Burst]|h|r!', 41, 0, 100, 0, 0, 0, 49014, 3, 'Al''Akir - Announce Wind Burst'), +(46753, 3, 0, 'Winds! Obey my command!', 14, 0, 100, 0, 0, 0, 50586, 3, 'Al''Akir - Squall Line'), +(46753, 4, 0, 'Your futile persistance angers me!', 14, 0, 100, 0, 0, 0, 50584, 3, 'Al''Akir - Phase 2'), +(46753, 5, 0, 'Storms! I summon you to my side!', 14, 0, 100, 0, 0, 0, 50587, 3, 'Al''Akir - Stormling'), +(46753, 6, 0, 'Enough! I will no longer be contained!', 14, 0, 100, 0, 0, 0, 50585, 3, 'Al''Akir - Phase 3'), +(46753, 7, 0, 'This little one shall vex me no longer.', 14, 0, 100, 0, 0, 0, 50573, 3, 'Al''Akir - Slay 1'), +(46753, 7, 1, 'Like swatting insects...', 14, 0, 100, 0, 0, 0, 50569, 3, 'Al''Akir - Slay 2'), +(46753, 8, 0, 'After every storm, comes the calm...', 14, 0, 100, 0, 0, 0, 50580, 3, 'Al''Akir - Death'); + +-- Spells +DELETE FROM `spell_script_names` WHERE `ScriptName` IN +('spell_alakir_lightning_strike_script', +'spell_alakir_lightning_strike_periodic', +'spell_alakir_lightning_strike_damage', +'spell_alakir_electrocute', +'spell_alakir_squall_line_pre_aura', +'spell_alakir_squall_line_script', +'spell_alakir_relentless_storm_initial_vehicle_ride_trigger', +'spell_alakir_relentless_storm_initial_vehicle_ride', +'spell_alakir_wind_burst', +'spell_alakir_lightning_clouds_periodic', +'spell_alakir_lightning_clouds_damage', +'spell_alakir_lightning_clouds_targeting', +'spell_alakir_lightning_rod_damage', +'spell_alakir_relentless_storm', +'spell_alakir_storm_distance_check', +'spell_alakir_lightning_clouds_dummy', +'spell_alakir_lightning_script'); + +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(91326, 'spell_alakir_lightning_strike_script'), +(88238, 'spell_alakir_lightning_strike_periodic'), +(93854, 'spell_alakir_lightning_strike_periodic'), +(93855, 'spell_alakir_lightning_strike_periodic'), +(93856, 'spell_alakir_lightning_strike_periodic'), +(88214, 'spell_alakir_lightning_strike_damage'), +(93255, 'spell_alakir_lightning_strike_damage'), +(88427, 'spell_alakir_electrocute'), +(87652, 'spell_alakir_squall_line_pre_aura'), +(87855, 'spell_alakir_squall_line_script'), +(89528, 'spell_alakir_relentless_storm_initial_vehicle_ride_trigger'), +(89527, 'spell_alakir_relentless_storm_initial_vehicle_ride'), +(88858, 'spell_alakir_wind_burst'), +(93286, 'spell_alakir_wind_burst'), +(93287, 'spell_alakir_wind_burst'), +(93288, 'spell_alakir_wind_burst'), +(89567, 'spell_alakir_lightning_clouds_periodic'), +(89588, 'spell_alakir_lightning_clouds_damage'), +(93297, 'spell_alakir_lightning_clouds_damage'), +(93298, 'spell_alakir_lightning_clouds_damage'), +(93299, 'spell_alakir_lightning_clouds_damage'), +(89628, 'spell_alakir_lightning_clouds_targeting'), +(89667, 'spell_alakir_lightning_rod_damage'), +(93293, 'spell_alakir_lightning_rod_damage'), +(93294, 'spell_alakir_lightning_rod_damage'), +(93295, 'spell_alakir_lightning_rod_damage'), +(89104, 'spell_alakir_relentless_storm'), +(88903, 'spell_alakir_storm_distance_check'), +(89583, 'spell_alakir_lightning_clouds_dummy'), +(89642, 'spell_alakir_lightning_script'); + +-- Template Addons +DELETE FROM `creature_template_addon` WHERE `entry` IN (47066, 50254, 46734, 47175, 51598, 48196); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(47066, '87713'), +(50254, '93247'), +(46734, '87053'), +(47175, '87906 87905'), +(51598, '89564'), +(48196, '89564'); + +-- Summon Groups +DELETE FROM `creature_summon_groups` WHERE `summonerId`= 46753 AND `summonerType`= 0; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(46753, 0, 0, 47066, -51.0972, 576.807, 209.7063, 1.553343, 8, 0), +(46753, 0, 0, 47066, -287.604, 816.51, 209.7063, 0, 8, 0), +(46753, 0, 0, 47066, -47.9531, 1053.3, 209.7063, 4.694936, 8, 0), +(46753, 0, 0, 47066, 188.823, 813.54, 209.7063, 3.124139, 8, 0); + +-- Spellclicks +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (47066, 47034, 48852); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(47066, 87742, 1, 0), +(47034, 46598, 1, 1), +(48852, 46598, 1, 1); + +-- Conditions +DELETE FROM `conditions` WHERE `SourceEntry` IN (91326, 87406, 88779, 87652, 87904, 101458, 101459, 101460, 89527, 89583, 89104) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 91326, 0, 0, 31, 0, 3, 48977, 0, 0, 0, '', 'Lightning Strike - Target Lightning Strike Trigger'), +(13, 1, 87406, 0, 0, 31, 0, 3, 46766, 0, 0, 0, '', 'Ice Storm - Target Ice Storm Trigger'), +(13, 1, 88779, 0, 0, 31, 0, 3, 46753, 0, 0, 0, '', 'Squall Line - Target Al''akir'), +(13, 1, 87652, 0, 0, 31, 0, 3, 48854, 0, 0, 0, '', 'Squall Line - Target Squall Line SW'), +(13, 1, 87652, 0, 1, 31, 0, 3, 48855, 0, 0, 0, '', 'Squall Line - Target Squall Line SE'), +(13, 1, 87904, 0, 0, 31, 0, 3, 46753, 0, 0, 0, '', 'Feedback - Target Al''akir'), +(13, 1, 101458, 0, 0, 31, 0, 3, 46753, 0, 0, 0, '', 'Feedback - Target Al''akir'), +(13, 1, 101459, 0, 0, 31, 0, 3, 46753, 0, 0, 0, '', 'Feedback - Target Al''akir'), +(13, 1, 101460, 0, 0, 31, 0, 3, 46753, 0, 0, 0, '', 'Feedback - Target Al''akir'), +(13, 1, 89527, 0, 0, 31, 0, 3, 47806, 0, 0, 0, '', 'Relentless Storm Initial Vehicle Ride - Target Relentless Storm Initial Vehicle'), +(13, 1, 89583, 0, 0, 31, 0, 3, 51598, 0, 0, 0, '', 'Lightning Clouds - Target Lightning Clouds Extra Visuals'), +(13, 1, 89104, 0, 0, 31, 0, 3, 47807, 0, 0, 0, '', 'Relentless Storm - Target Relentless Storm'); + +-- Vehicle Accessories +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (47034, 48852); +INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summonType`, `summontimer`) VALUES +-- Squall Line Vehicle SW +(47034, 48854, 0, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 1, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 2, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 3, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 4, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 5, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 6, 1, 'Squall Line SW', 5, 0), +(47034, 48854, 7, 1, 'Squall Line SW', 5, 0), +-- Squall Line Vehicle SE +(48852, 48855, 0, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 1, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 2, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 3, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 4, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 5, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 6, 1, 'Squall Line SE', 5, 0), +(48852, 48855, 7, 1, 'Squall Line SE', 5, 0); + +-- Currency Loot +DELETE FROM `creature_onkill_reward` WHERE `creature_id` IN (46753, 50203, 50217, 50231); +INSERT INTO `creature_onkill_reward` (`creature_id`, `CurrencyId1`, `CurrencyCount1`) VALUES +(46753, 396, 11500), +(50203, 396, 13500), +(50217, 396, 11500), +(50231, 396, 13500); + +-- Gold Loot +UPDATE `gameobject_template_addon` SET `mingold`= 2200000, `maxgold`= 2400000 WHERE `entry` IN (207891, 207892); +UPDATE `gameobject_template_addon` SET `mingold`= 4900000, `maxgold`= 5100000 WHERE `entry` IN (207893, 207894); +-- Loot +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry`= 46753; +DELETE FROM `creature_loot_template` WHERE `entry`= 46753; + +-- (207891, 207893, 207892, 207894) +DELETE FROM `gameobject_loot_template` WHERE `Entry` IN (35876, 35880, 36330, 36328); +DELETE FROM `reference_loot_template` WHERE `Entry` IN (358760, 358761, 363300, 363301); + +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES +-- Normal Mode +(358760, 68128, 0, 1, 1, 1, 1), +(358760, 68129, 0, 1, 1, 1, 1), +(358760, 68127, 0, 1, 1, 1, 1), +(358760, 63503, 0, 1, 1, 1, 1), +(358760, 63501, 0, 1, 1, 1, 1), +(358760, 63502, 0, 1, 1, 1, 1), +(358760, 69835, 0, 1, 1, 1, 1), +(358760, 69831, 0, 1, 1, 1, 1), +(358760, 63499, 0, 1, 1, 1, 1), +(358760, 69834, 0, 1, 1, 1, 1), +(358760, 63500, 0, 1, 1, 1, 1), +(358760, 69833, 0, 1, 1, 1, 1), +(358760, 63504, 0, 1, 1, 1, 1), +(358760, 63507, 0, 1, 1, 1, 1), +(358760, 69830, 0, 1, 1, 1, 1), +(358760, 69828, 0, 1, 1, 1, 1), +(358760, 69827, 0, 1, 1, 1, 1), +(358760, 63506, 0, 1, 1, 1, 1), +(358760, 69829, 0, 1, 1, 1, 1), +(358760, 63505, 0, 1, 1, 1, 1), +(358760, 63041, 1, 1, 1, 1, 1), +-- Normal Token Pool +(358761, 63684, 0, 1, 1, 1, 1), +(358761, 63682, 0, 1, 1, 1, 1), +(358761, 64315, 0, 1, 1, 1, 1), +(358761, 63683, 0, 1, 1, 1, 1), +(358761, 64316, 0, 1, 1, 1, 1), +(358761, 64314, 0, 1, 1, 1, 1), +-- Heroic Mode +(363300, 68130, 0, 1, 1, 1, 1), +(363300, 68132, 0, 1, 1, 1, 1), +(363300, 69879, 0, 1, 1, 1, 1), +(363300, 69881, 0, 1, 1, 1, 1), +(363300, 69882, 0, 1, 1, 1, 1), +(363300, 65380, 0, 1, 1, 1, 1), +(363300, 69878, 0, 1, 1, 1, 1), +(363300, 69885, 0, 1, 1, 1, 1), +(363300, 65381, 0, 1, 1, 1, 1), +(363300, 65378, 0, 1, 1, 1, 1), +(363300, 69880, 0, 1, 1, 1, 1), +(363300, 69883, 0, 1, 1, 1, 1), +(363300, 69884, 0, 1, 1, 1, 1), +(363300, 65382, 0, 1, 1, 1, 1), +(363300, 65383, 0, 1, 1, 1, 1), +(363300, 65379, 0, 1, 1, 1, 1), +(363300, 65384, 0, 1, 1, 1, 1), +(363300, 65386, 0, 1, 1, 1, 1), +(363300, 65385, 0, 1, 1, 1, 1), +(363300, 63041, 1, 1, 1, 1, 1), +-- Heroic Token Pool +(363301, 65001, 0, 1, 1, 1, 1), +(363301, 65002, 0, 1, 1, 1, 1), +(363301, 65087, 0, 1, 1, 1, 1), +(363301, 65000, 0, 1, 1, 1, 1), +(363301, 65088, 0, 1, 1, 1, 1), +(363301, 65089, 0, 1, 1, 1, 1); + +INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Chance`, `LootMode`, `Reference`, `MinCount`, `MaxCount`, `GroupId`) VALUES +-- 10 Player Normal +(35876, 358760, 100, 1, 358760, 2, 2, 0), +(35876, 358761, 100, 1, 358761, 1, 1, 0), +-- 10 Player Heroic +(36330, 363300, 100, 1, 363300, 2, 2, 0), +(36330, 363301, 100, 1, 363301, 1, 1, 0), +(36330, 66998, 100, 1, 0, 1, 1, 0), +-- 25 Player Normal +(35880, 358760, 100, 1, 358760, 3, 3, 0), +(35880, 358761, 100, 1, 358761, 2, 2, 0), +-- 25 Player Heroic +(36328, 363300, 100, 1, 363300, 4, 4, 0), +(36328, 363301, 100, 1, 363301, 2, 2, 0), +(36328, 66998, 100, 1, 0, 3, 3, 0); + +-- Spawns +DELETE FROM `creature` WHERE `guid` IN (340413, 340414, 340415); +DELETE FROM `creature_addon` WHERE `guid` IN (340413, 340414, 340415); + +SET @CGUID := 254727; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+11; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -50.7691, 864.094, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+1, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -95.9913, 814.078, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+2, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -26.2274, 860.302, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+3, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -24.9896, 772.418, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+4, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -52.5764, 766.026, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+5, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -92.0469, 791.96, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+6, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -73.5833, 855.875, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+7, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -88.4149, 839.203, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+8, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -77.276, 775.408, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+9, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -6.08681, 790.281, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+10, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, -6.0625, 842.55, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654), -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) +(@CGUID+11, 46766, 754, 5638, 5638, 15, 169, 0, 0, 0, 0.385417, 816.236, 191.2083, 0, 7200, 0, 0, 0, 0, 0, 0, 0, 0, 26654); -- Ice Storm Trigger (Area: Throne of the Four Winds - Difficulty: 6) (Auras: ) + +UPDATE `instance_template` SET `script`= 'instance_blackwing_descent' WHERE `map`= 669; +UPDATE `trinity_string` SET `content_default`='TransMapID: %i TransOffsetX: %f TransOffsetY: %f TransOffsetZ: %f TransOffsetO: %f (Transport ID: %u %s)' WHERE `entry`=186; + +DROP TABLE IF EXISTS `world_map_template`; +CREATE TABLE `world_map_template`( + `mapID` INT(11) UNSIGNED NOT NULL DEFAULT '0' , + `ScriptName` TEXT, + PRIMARY KEY (`mapID`)); + +DELETE FROM `world_map_template` WHERE `mapId`= 369; +INSERT INTO `world_map_template` (`mapID`, `ScriptName`) VALUES +(369, 'world_map_deeprun_tram'); + +DELETE FROM `gameobject` WHERE `guid` IN (18802, 18803, 18804, 18805, 18806, 18807); +DELETE FROM `gameobject_addon` WHERE `guid` IN (18802, 18803, 18804, 18805, 18806, 18807); + +UPDATE `gameobject_template` SET `data6`= 0, `data8`= 0, `data10`= 0 WHERE `entry`= 176084; +UPDATE `creature_template` SET `unit_class`= 8 WHERE `entry`= 45936; +UPDATE `creature` SET `equipment_id`= 0 WHERE `id`= 54; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 15 AND `SourceGroup`= 1291; + +DELETE FROM `npc_text` WHERE `ID` IN (14448, 14475, 14570, 14699, 14725, 14726, 14727, 14732, 14954, 14957, 14974, 14993, 15015, 15016, 15020, 15064, 15085, 15086, 15087, 15088, 15089, 15090, 15091, 15092, 15093, 15094, 15095, 15096, 15097, 15113, 17551, 15362, 15739, 15837, 15917, 15919, 16139, 16367, 16380, 16381, 16382, 16447, 16392, 16405, 16408, 16410, 16428, 16534, 16953, 16955, 17210, 17211, 17316, 17320, 17325, 17340, 17335, 17341, 17343, 17458, 17466, 17476, 17492, 17501, 17531, 17623, 17625, 17676, 17706, 17817, 17889, 17898, 17900, 18049, 18214, 18241, 18277, 18678, 18819, 28951, 29638); +INSERT INTO `npc_text` (`ID`, `text0_0`) VALUES +(14448, 'Missing npc_text'), +(14475, 'Missing npc_text'), +(14570, 'Missing npc_text'), +(14699, 'Missing npc_text'), +(14725, 'Missing npc_text'), +(14726, 'Missing npc_text'), +(14727, 'Missing npc_text'), +(14732, 'Missing npc_text'), +(14954, 'Missing npc_text'), +(14957, 'Missing npc_text'), +(14974, 'Missing npc_text'), +(14993, 'Missing npc_text'), +(15015, 'Missing npc_text'), +(15016, 'Missing npc_text'), +(15020, 'Missing npc_text'), +(15064, 'Missing npc_text'), +(15085, 'Missing npc_text'), +(15086, 'Missing npc_text'), +(15087, 'Missing npc_text'), +(15088, 'Missing npc_text'), +(15089, 'Missing npc_text'), +(15090, 'Missing npc_text'), +(15091, 'Missing npc_text'), +(15092, 'Missing npc_text'), +(15093, 'Missing npc_text'), +(15094, 'Missing npc_text'), +(15095, 'Missing npc_text'), +(15096, 'Missing npc_text'), +(15097, 'Missing npc_text'), +(15113, 'Missing npc_text'), +(17551, 'Missing npc_text'), +(15362, 'Missing npc_text'), +(15739, 'Missing npc_text'), +(15837, 'Missing npc_text'), +(15917, 'Missing npc_text'), +(15919, 'Missing npc_text'), +(16139, 'Missing npc_text'), +(16367, 'Missing npc_text'), +(16380, 'Missing npc_text'), +(16381, 'Missing npc_text'), +(16382, 'Missing npc_text'), +(16447, 'Missing npc_text'), +(16392, 'Missing npc_text'), +(16405, 'Missing npc_text'), +(16408, 'Missing npc_text'), +(16410, 'Missing npc_text'), +(16428, 'Missing npc_text'), +(16534, 'Missing npc_text'), +(16953, 'Missing npc_text'), +(16955, 'Missing npc_text'), +(17210, 'Missing npc_text'), +(17211, 'Missing npc_text'), +(17316, 'Missing npc_text'), +(17320, 'Missing npc_text'), +(17325, 'Missing npc_text'), +(17340, 'Missing npc_text'), +(17335, 'Missing npc_text'), +(17341, 'Missing npc_text'), +(17343, 'Missing npc_text'), +(17458, 'Missing npc_text'), +(17466, 'Missing npc_text'), +(17476, 'Missing npc_text'), +(17492, 'Missing npc_text'), +(17501, 'Missing npc_text'), +(17531, 'Missing npc_text'), +(17623, 'Missing npc_text'), +(17625, 'Missing npc_text'), +(17676, 'Missing npc_text'), +(17706, 'Missing npc_text'), +(17817, 'Missing npc_text'), +(17889, 'Missing npc_text'), +(17898, 'Missing npc_text'), +(17900, 'Missing npc_text'), +(18049, 'Missing npc_text'), +(18214, 'Missing npc_text'), +(18241, 'Missing npc_text'), +(18277, 'Missing npc_text'), +(18678, 'Missing npc_text'), +(18819, 'Missing npc_text'), +(28951, 'Missing npc_text'), +(29638, 'Missing npc_text'); + +DELETE FROM `conditions` WHERE `SourceEntry`IN (84651, 93117, 93118, 93119) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 7, 84651, 0, 0, 31, 0, 3, 45812, 0, 0, 0, '', 'Zephyr - Target Ravenous Creeper'), +(13, 7, 93117, 0, 0, 31, 0, 3, 45812, 0, 0, 0, '', 'Zephyr - Target Ravenous Creeper'), +(13, 7, 93118, 0, 0, 31, 0, 3, 45812, 0, 0, 0, '', 'Zephyr - Target Ravenous Creeper'), +(13, 7, 93119, 0, 0, 31, 0, 3, 45812, 0, 0, 0, '', 'Zephyr - Target Ravenous Creeper'); + +UPDATE `creature_template_addon` SET `bytes1`= 1 WHERE `entry`= 50260; +UPDATE `creature_addon` SET `bytes1`= 1 WHERE `guid` IN (255672, 255673, 255674, 255675, 255617, 255493, 255492, 255491, 255490, 255489, 255451, 255448, 255498, 255496, 255497, 255499, 255500, 255502, 255503, 255504, 255505, 255507, 255627, 255625, 255444, 255438, 255616, 255618, 255435, 255615, 255633, 255637, 255609, 255638, 255614, 255613, 255612, 255611, 255610, 255671, 376970, 376969, 376968, 376967, 376964, 376965, 376966, 376961, 376960, 376825, 376823, 376822, 376821, 376820, 376819, 376818, 376817, 376816, 376802, 376803, 376804, 376798, 376799, 376800, 376801, 376796, 376797, 376652, 376651, 376649, 376650, 376648, 376637, 376633, 376634, 376635, 376636, 376629, 376630, 376631, 376632, 376607, 376603, 376604, 376605, 376606, 376601, 376576, 376573, 376477, 376476, 376475, 376474, 376473, 376471, 376472, 376470, 376469, 376415, 376332, 376322, 376314, 376309, 376302, 376298, 376294, 376292, 255898, 255900, 255901, 255902, 255906, 255910, 255912, 255916, 255917, 255920, 255926, 255932, 255933, 255934, 255935, 255936, 255938, 255939, 255940, 255941, 255942, 255943, 255944, 255945, 255946, 255965, 255966, 255967, 255968, 255969, 255970, 255971, 255972, 255973, 255974, 255976, 255978, 255980); + +DELETE FROM `conditions` WHERE `SourceEntry` IN (93275, 69123) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 1, 93275, 0, 0, 31, 0, 3, 50260, 0, 0, 0, '', 'Ping Gilnean Crow - Target Gilnean Crow'), +(13, 1, 69123, 0, 0, 31, 0, 3, 36198, 0, 0, 0, '', 'Curse of the Worgen - Target Generic Trigger LAB (Multiphase - Ground)'); + +UPDATE `creature_template` SET `ScriptName`= 'npc_gilnean_crow', `InhabitType`= 4 WHERE `entry`= 50260; +UPDATE `creature_template` SET `flags_extra`= 128 WHERE `entry`= 35006; + +-- Creature Lord Darius Crowley 35566 SAI +SET @ENTRY := 35566; +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, 1, 20, 0, 100, 0, 14222, 0, 0, 0, 85, 98274, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "When player rewards quest Last Stand (14222) - Invoker: Cast spell 98274 to Action invoker // "), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 85, 72788, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, " Linked - Invoker: Cast spell 72788 to Action invoker // "); + +DELETE FROM `creature` WHERE `guid` IN (376477, 376476, 376475, 376473, 376474); +DELETE FROM `creature_addon` WHERE `guid` IN (376477, 376476, 376475, 376473, 376474); + +DELETE FROM `spell_area` WHERE `spell`= 68630 AND `area`= 4786; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(68630, 4786, 0, 14375, 0, 0, 2, 1, 0, 1 | 2 | 8 | 32); + +DELETE FROM `spell_target_position` WHERE `ID`= 69123; +UPDATE `creature` SET `MovementType`= 0, `spawndist`= 0 WHERE `ID`= 36231; +DELETE FROM `creature_addon` WHERE `guid` IN (263870, 263868, 263933, 263932, 263921, 263920, 263862, 263860); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(263870, 0, 0, 0, 257, 375, ''), +(263868, 0, 0, 0, 257, 375, ''), +(263933, 0, 0, 0, 257, 375, ''), +(263932, 0, 0, 0, 257, 375, ''), +(263921, 0, 0, 0, 257, 375, ''), +(263920, 0, 0, 0, 257, 375, ''), +(263862, 0, 0, 0, 257, 375, ''), +(263860, 0, 0, 0, 257, 375, ''); + +-- Creature Ramkahen Citizen 46402 SAI +SET @ENTRY := 46402; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; + +SET @ENTRY := -264447; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264446; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264933; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264934; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264930; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264932; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264931; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264938; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264939; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264936; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +SET @ENTRY := -264937; +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, 0, 2000, 10000, 2000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 2000 and 10000 ms (and later repeats every 2000 and 10000 ms) - Self: Play emote 1 // "), +(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 20000, 30000, 20000, 30000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 20000 and 30000 ms (and later repeats every 20000 and 30000 ms) - Self: Play emote 25 // "); + +-- Pathing for Entry: 46402 'TDB FORMAT' +SET @NPC := 264940; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-9510.48,`position_y`=-945.682,`position_z`=104.7723 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-9510.48,-945.682,104.7723,0,1,0,0,100,0), +(@PATH,2,-9490.02,-945.651,109.2862,0,1,0,0,100,0), +(@PATH,3,-9481.64,-925.976,109.2723,0,1,0,0,100,0), +(@PATH,4,-9464.31,-923.748,112.5456,0,1,0,0,100,0), +(@PATH,5,-9445.52,-922.311,112.5456,0,1,0,0,100,0), +(@PATH,6,-9464.31,-923.748,112.5456,0,1,0,0,100,0), +(@PATH,7,-9481.64,-925.976,109.2723,0,1,0,0,100,0), +(@PATH,8,-9490.02,-945.651,109.2862,0,1,0,0,100,0), +(@PATH,9,-9510.48,-945.682,104.7723,0,1,0,0,100,0), +(@PATH,10,-9533.89,-946.705,104.7548,0,1,0,0,100,0), +(@PATH,11,-9549.63,-945.835,100.3798,0,1,0,0,100,0), +(@PATH,12,-9554.9,-939.823,100.3798,0,1,0,0,100,0), +(@PATH,13,-9560.75,-931.833,100.2973,0,1,0,0,100,0), +(@PATH,14,-9569,-926.535,100.2999,0,1,0,0,100,0), +(@PATH,15,-9575.53,-925.012,100.2999,0,1,0,0,100,0), +(@PATH,16,-9569,-926.535,100.2999,0,1,0,0,100,0), +(@PATH,17,-9560.75,-931.833,100.2973,0,1,0,0,100,0), +(@PATH,18,-9554.9,-939.823,100.3798,0,1,0,0,100,0), +(@PATH,19,-9549.63,-945.835,100.3798,0,1,0,0,100,0), +(@PATH,20,-9533.89,-946.705,104.7548,0,1,0,0,100,0); +-- 0x2030A400202D508000003B0002176446 .go xyz -9510.48 -945.682 104.7723 + +-- Creature Samir +SET @ENTRY := 47625; +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, 60, 0, 100, 0, 5000, 5000, 55000, 55000, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 5000 and 5000 ms) - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 69 // "), +(@ENTRY, 0, 1, 0, 60, 0, 100, 0, 12500, 12500, 55000, 55000, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 12500 and 12500 ms) - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 0 // "), +(@ENTRY, 0, 2, 0, 60, 0, 100, 0, 13000, 13000, 55000, 55000, 66, 0, 0, 0, 0, 0, 0, 10, 263934, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 13000 and 13000 ms) - Self: Look at Creature Blacksmith Abasi 48617 (263934) // "), +(@ENTRY, 0, 3, 0, 60, 0, 100, 0, 15000, 15000, 55000, 55000, 5, 397, 0, 0, 0, 0, 0, 10, 263934, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 15000 and 15000 ms) - Creature Blacksmith Abasi 48617 (263934): Play emote 397 // "), +(@ENTRY, 0, 4, 0, 60, 0, 100, 0, 15600, 15600, 55000, 55000, 5, 274, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 15600 and 15600 ms) - Self: Play emote 274 // "), +(@ENTRY, 0, 5, 0, 60, 0, 100, 0, 19400, 19400, 55000, 55000, 5, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 19400 and 19400 ms) - Self: Play emote 6 // "), +(@ENTRY, 0, 6, 0, 60, 0, 100, 0, 19700, 19700, 55000, 55000, 5, 396, 0, 0, 0, 0, 0, 10, 263934, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 19700 and 19700 ms) - Creature Blacksmith Abasi 48617 (263934): Play emote 396 // "), +(@ENTRY, 0, 7, 0, 60, 0, 100, 0, 22900, 22900, 55000, 55000, 5, 273, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 22900 and 22900 ms) - Self: Play emote 273 // "), +(@ENTRY, 0, 8, 0, 60, 0, 100, 0, 24500, 24500, 55000, 55000, 5, 396, 0, 0, 0, 0, 0, 10, 263934, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 24500 and 24500 ms) - Creature Blacksmith Abasi 48617 (263934): Play emote 396 // "), +(@ENTRY, 0, 9, 0, 60, 0, 100, 0, 26500, 26500, 55000, 55000, 66, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 26500 and 26500 ms) - Self: Look at home position // "), +(@ENTRY, 0, 10, 0, 60, 0, 100, 0, 27700, 27700, 55000, 55000, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 27700 and 27700 ms) - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 0 // "), +(@ENTRY, 0, 11, 0, 60, 0, 100, 0, 31500, 31500, 55000, 55000, 17, 233, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 31500 and 31500 ms) - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 233 // "), +(@ENTRY, 0, 12, 0, 60, 0, 100, 0, 49800, 49800, 55000, 55000, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Every 55000 and 55000 ms (for the first time, timer between 49800 and 49800 ms) - Self: Set emote state (UNIT_NPC_EMOTESTATE) to 0 // "); + +DELETE FROM `creature_addon` WHERE `guid`= 264935; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(264935, 0, 0, 0, 1, 0, ''); -- 47625 + +UPDATE `creature` SET `equipment_id`= 1 WHERE `guid`= 264935; + +DELETE FROM `creature_equip_template` WHERE `CreatureID`= 47625; +INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES +(47625, 1, 1903, 0, 0); -- 47625 +UPDATE `creature_template` SET `mechanic_immune_mask`= `mechanic_immune_mask` | 33554432 WHERE `entry` IN (46753, 50203, 50217, 50231); +-- Creature Frantic Geist 47131 SAI +SET @ENTRY := 47131; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 1, 100, 100, 0, 0, 11, 91077, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 100 and 100 ms (and later repeats every 0 and 0 ms) - Self: Cast spell 91077 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 6000, 7000, 3000, 3000, 11, 91064, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 6000 and 7000 ms (and later repeats every 3000 and 3000 ms) - Self: Cast spell 91064 on Victim // "); +UPDATE `creature_template` SET `mechanic_immune_mask`= `mechanic_immune_mask` | 33554432 WHERE `entry` IN (39625, 48337, 40177, 48702); +-- Creature Darkwood Lurker 46508 SAI +SET @ENTRY := 46508; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 8 WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 1, 4000, 5000, 0, 0, 11, 12023, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 5000 ms (and later repeats every 0 and 0 ms) - Self: Cast spell 12023 on Victim // "); + +-- Creature Darkwood Broodmother 46507 SAI +SET @ENTRY := 46507; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 8 WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 4000, 5000, 7000, 8000, 11, 79607, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 5000 ms (and later repeats every 7000 and 8000 ms) - Self: Cast spell 79607 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 10000, 11000, 0, 0, 11, 77517, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 10000 and 11000 ms (and later repeats every 0 and 0 ms) - Self: Cast spell 77517 on Victim // "), +(@ENTRY, 0, 2, 3, 2, 0, 100, 1, 0, 30, 0, 0, 11, 18501, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When health between 0% and 30% (check every 0 - 0 ms) - Self: Cast spell 18501 on Self // "), +(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Talk 0 // "); + +-- Creature Overlook Spirit 47181 SAI +SET @ENTRY := 47181; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 8 WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 0, 0, 3400, 3400, 11, 77721, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 0 and 0 ms (and later repeats every 3400 and 3400 ms) - Self: Cast spell 77721 on Victim // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 3000, 3000, 7000, 7000, 11, 31976, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 3000 and 3000 ms (and later repeats every 7000 and 7000 ms) - Self: Cast spell 31976 on Self // "); + +-- Creature Ghastly Worker 47183 SAI +SET @ENTRY := 47183; +UPDATE `creature_template` SET `AIName`="SmartAI", `DamageModifier`= 8, `flags_extra`= 2048 WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 5000, 6000, 8000, 9000, 11, 86085, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 5000 and 6000 ms (and later repeats every 8000 and 9000 ms) - Self: Cast spell 86085 on Victim // "); + +-- Rustberg Bandit 47627 +UPDATE `creature_template` SET `DamageModifier`= 8, `flags_extra`= 2048 WHERE `entry`= 47627; + +-- Creature Apprehensive Worker 47659 SAI +SET @ENTRY := 47659; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 1, 100, 100, 0, 0, 11, 78894, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 100 and 100 ms (and later repeats every 0 and 0 ms) - Self: Cast spell 78894 on Victim // "); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (46507); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES +(46507, 0, 0, '%s goes into a frenzy!', 16, 0, 100, 0, 0, 0, 1191, 'Darkwood Broodmother - Enrage'); + +-- Pathing for Entry: 40177 'TDB FORMAT' +SET @NPC := 339785; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-512.6458,`position_y`=-468.7257,`position_z`=276.5972 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-512.6458,-468.7257,276.5972,0,0,0,0,100,0), +(@PATH,2,-492.2951,-479.1701,271.9152,0,0,0,0,100,0), +(@PATH,3,-472.2431,-499.691,271.9083,0,0,0,0,100,0), +(@PATH,4,-467.6163,-519.4114,271.9075,0,0,0,0,100,0), +(@PATH,5,-465.2691,-554.9739,271.9072,0,0,0,0,100,0), +(@PATH,6,-482.7118,-574.3004,271.9124,0,0,0,0,100,0), +(@PATH,7,-503.2309,-593.0121,276.5972,0,0,0,0,100,0), +(@PATH,8,-528.2952,-595.9375,276.6013,0,0,0,0,100,0), +(@PATH,9,-546.2274,-592.8055,276.5972,0,0,0,0,100,0), +(@PATH,10,-561.1875,-591.6719,276.5972,0,0,0,0,100,0), +(@PATH,11,-546.2274,-592.8055,276.5972,0,0,0,0,100,0), +(@PATH,12,-528.2952,-595.9375,276.6013,0,0,0,0,100,0), +(@PATH,13,-503.2309,-593.0121,276.5972,0,0,0,0,100,0), +(@PATH,14,-482.7118,-574.3004,271.9124,0,0,0,0,100,0), +(@PATH,15,-465.2691,-554.9739,271.9072,0,0,0,0,100,0), +(@PATH,16,-467.6163,-519.4114,271.9075,0,0,0,0,100,0), +(@PATH,17,-472.2431,-499.691,271.9083,0,0,0,0,100,0), +(@PATH,18,-492.2951,-479.1701,271.9152,0,0,0,0,100,0), +(@PATH,19,-512.6458,-468.7257,276.5972,0,0,0,0,100,0), +(@PATH,20,-532.632,-467.6181,276.5972,0,0,0,0,100,0), +(@PATH,21,-549.9549,-466.4288,276.5973,0,0,0,0,100,0), +(@PATH,22,-532.632,-467.6181,276.5972,0,0,0,0,100,0); +-- 0x243CC853C0273C40002ACA00002EBBC4 .go xyz -512.6458 -468.7257 276.5972 + +-- Pathing for Entry: 39450 'TDB FORMAT' +SET @NPC := 339864; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-550.238,`position_y`=-469.752,`position_z`=276.5973 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-550.238,-469.752,276.5973,0,0,0,0,100,0), +(@PATH,2,-531.828,-459.755,276.5972,0,0,0,0,100,0), +(@PATH,3,-511.859,-472.01,276.5972,0,0,0,0,100,0), +(@PATH,4,-492.087,-486.094,271.914,0,0,0,0,100,0), +(@PATH,5,-511.859,-472.01,276.5972,0,0,0,0,100,0), +(@PATH,6,-531.828,-459.755,276.5972,0,0,0,0,100,0), +(@PATH,7,-550.238,-469.752,276.5973,0,0,0,0,100,0), +(@PATH,8,-571.799,-479.387,276.5972,0,0,0,0,100,0), +(@PATH,9,-588.609,-475.16,276.8722,0,0,0,0,100,0); +-- 0x203CC853C0268680002ACA00072EBBC4 .go xyz -550.238 -469.752 276.5973 + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 339864; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(339864, 339864, 0, 0, 515, 0, 0), +(339864, 339867, 3, 0, 515, 0, 0), +(339864, 339863, 3, 45, 515, 0, 0), +(339864, 339869, 3, 315, 515, 0, 0), +(339864, 339861, 3, 90, 515, 0, 0), +(339864, 339865, 3, 270, 515, 0, 0), +(339864, 339862, 3, 210, 515, 0, 0), +(339864, 339860, 3, 150, 515, 0, 0); + +-- Pathing for Entry: 39450 'TDB FORMAT' +SET @NPC := 340044; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-534.641,`position_y`=-597.892,`position_z`=276.5972 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-534.641,-597.892,276.5972,0,0,0,0,100,0), +(@PATH,2,-513.95,-590.392,276.5965,0,0,0,0,100,0), +(@PATH,3,-488.979,-573.819,271.9133,0,0,0,0,100,0), +(@PATH,4,-513.95,-590.392,276.5965,0,0,0,0,100,0), +(@PATH,5,-534.641,-597.892,276.5972,0,0,0,0,100,0), +(@PATH,6,-552.561,-591.356,276.5972,0,0,0,0,100,0), +(@PATH,7,-576.5,-581.304,276.5972,0,0,0,0,100,0), +(@PATH,8,-592.226,-591.113,276.7903,0,0,0,0,100,0), +(@PATH,9,-611.21,-606.175,276.5812,0,0,0,0,100,0), +(@PATH,10,-622.96,-600.955,276.5808,0,0,0,0,100,0), +(@PATH,11,-631.622,-596.46,276.5824,0,0,0,0,100,0), +(@PATH,12,-640.967,-594.156,276.5701,0,0,0,0,100,0), +(@PATH,13,-622.96,-600.955,276.5808,0,0,0,0,100,0), +(@PATH,14,-611.21,-606.175,276.5812,0,0,0,0,100,0), +(@PATH,15,-592.226,-591.113,276.7903,0,0,0,0,100,0), +(@PATH,16,-576.5,-581.304,276.5972,0,0,0,0,100,0), +(@PATH,17,-552.561,-591.356,276.5972,0,0,0,0,100,0); +-- 0x203CC853C0268680002ACA00032EBBC4 .go xyz -534.641 -597.892 276.5972 + + +DELETE FROM `creature_formations` WHERE `leaderGUID`= 340044; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(340044, 340044, 0, 0, 515, 0, 0), +(340044, 340046, 3, 180, 515, 0, 0), +(340044, 340048, 3, 135, 515, 0, 0), +(340044, 340041, 3, 225, 515, 0, 0), +(340044, 340047, 3, 90, 515, 0, 0), +(340044, 340038, 3, 270, 515, 0, 0), +(340044, 340045, 3, 30, 515, 0, 0), +(340044, 340040, 3, 330, 515, 0, 0); + +-- Pathing for Entry: 39873 'TDB FORMAT' +SET @NPC := 340127; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-525.8577,`position_y`=-748.0295,`position_z`=268.7671 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-525.8577,-748.0295,268.7671,0,0,0,0,100,0), +(@PATH,2,-501.1424,-744.3351,268.7674,0,0,0,0,100,0), +(@PATH,3,-486.0469,-745.0121,268.7679,0,0,0,0,100,0), +(@PATH,4,-486.0469,-745.0121,268.7679,6.038839,0,0,0,100,0), +(@PATH,5,-502.8229,-745.2813,268.7674,0,0,0,0,100,0), +(@PATH,6,-524.0903,-746.5886,268.767,0,0,0,0,100,0), +(@PATH,7,-553.2274,-746.5382,268.7675,0,0,0,0,100,0); +-- 0x203CC853C026F040002ACA00002EBBC4 .go xyz -525.8577 -748.0295 268.7671 + + +-- Pathing for Entry: 39873 'TDB FORMAT' +SET @NPC := 340088; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-612.868,`position_y`=-677.5382,`position_z`=268.7674 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-612.868,-677.5382,268.7674,0,0,0,0,100,0), +(@PATH,2,-617.8438,-672.3368,268.7674,0,0,0,0,100,0), +(@PATH,3,-623.9132,-669.3889,268.7674,0,0,0,0,100,0), +(@PATH,4,-633.5469,-669.5139,268.7674,0,0,0,0,100,0), +(@PATH,5,-633.5469,-669.5139,268.7674,2.286381,0,0,0,100,0), +(@PATH,6,-623.8281,-669.4653,268.7674,0,0,0,0,100,0), +(@PATH,7,-609.243,-679.1597,268.7675,0,0,0,0,100,0), +(@PATH,8,-595.9445,-689.0035,268.7668,0,0,0,0,100,0), +(@PATH,9,-571.4358,-694.1736,268.7674,0,0,0,0,100,0), +(@PATH,10,-595.4028,-687.6077,268.7667,0,0,0,0,100,0); +-- 0x203CC853C026F040002ACA00002EBBC5 .go xyz -612.868 -677.5382 268.7674 + +-- Pathing for Entry: 39392 'TDB FORMAT' +SET @NPC := 340214; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-691.3108,`position_y`=-809.2292,`position_z`=233.2342 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-691.3108,-809.2292,233.2342,0,0,0,0,100,0), +(@PATH,2,-708.2292,-796.4445,233.2314,0,0,0,0,100,0), +(@PATH,3,-736.1719,-798.6788,232.4155,0,0,0,0,100,0), +(@PATH,4,-753.6233,-809.4132,232.4127,0,0,0,0,100,0), +(@PATH,5,-744.7336,-803.9452,232.4118,0,0,0,0,100,0), +(@PATH,6,-753.6233,-809.4132,232.4127,0,0,0,0,100,0), +(@PATH,7,-736.1719,-798.6788,232.4155,0,0,0,0,100,0), +(@PATH,8,-708.2292,-796.4445,233.2314,0,0,0,0,100,0), +(@PATH,9,-708.2292,-796.4445,233.2314,0,0,0,0,100,0); +-- 0x203CC853C0267800002ACA00002EBBC4 .go xyz -691.3108 -809.2292 233.2342 + +-- Pathing for Entry: 39392 'TDB FORMAT' +SET @NPC := 340238; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-729.2153,`position_y`=-860.8663,`position_z`=232.4356 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-729.2153,-860.8663,232.4356,0,0,0,0,100,0), +(@PATH,2,-743.5746,-862.5833,232.4862,0,0,0,0,100,0), +(@PATH,3,-757.3143,-859.4028,233.229,0,0,0,0,100,0), +(@PATH,4,-752.991,-860.4036,232.9894,0,0,0,0,100,0), +(@PATH,5,-757.3143,-859.4028,233.229,0,0,0,0,100,0), +(@PATH,6,-769.8958,-849.0295,233.2121,0,0,0,0,100,0), +(@PATH,7,-757.3143,-859.4028,233.229,0,0,0,0,100,0), +(@PATH,8,-743.5746,-862.5833,232.4862,0,0,0,0,100,0), +(@PATH,9,-729.2153,-860.8663,232.4356,0,0,0,0,100,0), +(@PATH,10,-743.5746,-862.5833,232.4862,0,0,0,0,100,0), +(@PATH,11,-729.2153,-860.8663,232.4356,0,0,0,0,100,0), +(@PATH,12,-729.2153,-860.8663,232.4356,0,0,0,0,100,0), +(@PATH,13,-757.3143,-859.4028,233.229,0,0,0,0,100,0), +(@PATH,14,-743.5746,-862.5833,232.4862,0,0,0,0,100,0), +(@PATH,15,-729.2153,-860.8663,232.4356,0,0,0,0,100,0), +(@PATH,16,-706.9375,-851.2274,232.4799,0,0,0,0,100,0), +(@PATH,17,-729.2153,-860.8663,232.4356,0,0,0,0,100,0), +(@PATH,18,-743.5746,-862.5833,232.4862,0,0,0,0,100,0), +(@PATH,19,-757.3143,-859.4028,233.229,0,0,0,0,100,0), +(@PATH,20,-769.8958,-849.0295,233.2121,0,0,0,0,100,0), +(@PATH,21,-757.3143,-859.4028,233.229,0,0,0,0,100,0), +(@PATH,22,-743.5746,-862.5833,232.4862,0,0,0,0,100,0); +-- 0x203CC853C0267800002ACA0000AEBBC4 .go xyz -729.2153 -860.8663 232.4356 + +-- Creature Enslaved Gronn Brute 40166 SAI +SET @ENTRY := 40166; +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, 1, 0, 100, 0, 0, 20000, 30000, 30000, 11, 76138, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When out of combat and timer at the begining between 0 and 20000 ms (and later repeats every 30000 and 30000 ms) - Self: Cast spell 76138 on Self // "), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 4000, 5000, 11000, 12000, 11, 76703, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "When in combat and timer at the begining between 4000 and 5000 ms (and later repeats every 11000 and 12000 ms) - Self: Cast spell 76703 on Victim // "); + +-- Twilight Beguiler +UPDATE `creature_template` SET `ScriptName`= 'npc_grim_batol_twilight_beguiler' WHERE `entry`= 40167; + +DELETE FROM `conditions` WHERE `SourceEntry` IN (76138, 74867, 74884, 76151, 90719) AND `SourceTypeOrReferenceId`= 13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES +(13, 3, 76138, 0, 0, 31, 0, 3, 40167, 0, 0, 0, '', 'Gronn Knockback Cosmetic - Target Twilight Beguiler'), +(13, 1, 74867, 0, 0, 31, 0, 3, 40166, 0, 0, 0, '', 'Enslave Gronn Cosmetic - Target Enslaved Gronn Brute'), +(13, 1, 74884, 0, 0, 31, 0, 3, 40166, 0, 0, 0, '', 'Enslave Gronn Cosmetic - Target Enslaved Gronn Brute'), +(13, 3, 76151, 0, 0, 31, 0, 3, 40166, 0, 0, 0, '', 'Beguile - Target Enslaved Gronn Brute'), +(13, 3, 90719, 0, 0, 31, 0, 3, 40166, 0, 0, 0, '', 'Beguile - Target Enslaved Gronn Brute'); +UPDATE `creature_template` SET `mechanic_immune_mask`= `mechanic_immune_mask` | 33554432 WHERE `entry` IN (45870, 50103, 50113, 50123, 45871, 50098, 50108, 50118, 45872, 50095, 50105, 50115); +UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry` IN (53516, 47202);