aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/characters/2014_08_28_00_characters_pvpstats.sql28
-rw-r--r--sql/updates/world/2014_08_27_00_world_creature_template.sql2
-rw-r--r--sql/updates/world/2014_08_27_02_world_misc.sql (renamed from sql/updates/world/2014_08_27_00_world_misc.sql)0
-rw-r--r--sql/updates/world/2014_08_28_00_world_misc.sql22
4 files changed, 52 insertions, 0 deletions
diff --git a/sql/updates/characters/2014_08_28_00_characters_pvpstats.sql b/sql/updates/characters/2014_08_28_00_characters_pvpstats.sql
new file mode 100644
index 00000000000..0e3c239f8e6
--- /dev/null
+++ b/sql/updates/characters/2014_08_28_00_characters_pvpstats.sql
@@ -0,0 +1,28 @@
+DROP TABLE IF EXISTS `pvpstats_battlegrounds`;
+CREATE TABLE `pvpstats_battlegrounds` (
+ `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
+ `winner_faction` TINYINT NOT NULL,
+ `bracket_id` TINYINT UNSIGNED NOT NULL,
+ `type` TINYINT UNSIGNED NOT NULL,
+ `date` DATETIME NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB;
+
+DROP TABLE IF EXISTS `pvpstats_players`;
+CREATE TABLE `pvpstats_players` (
+ `battleground_id` BIGINT UNSIGNED NOT NULL,
+ `character_guid` INT UNSIGNED NOT NULL,
+ `score_killing_blows` MEDIUMINT UNSIGNED NOT NULL,
+ `score_deaths` MEDIUMINT UNSIGNED NOT NULL,
+ `score_honorable_kills` MEDIUMINT UNSIGNED NOT NULL,
+ `score_bonus_honor` MEDIUMINT UNSIGNED NOT NULL,
+ `score_damage_done` MEDIUMINT UNSIGNED NOT NULL,
+ `score_healing_done` MEDIUMINT UNSIGNED NOT NULL,
+ `attr_1` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
+ `attr_2` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
+ `attr_3` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
+ `attr_4` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
+ `attr_5` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
+ PRIMARY KEY (`battleground_id`, `character_guid`)
+) ENGINE=InnoDB;
+
diff --git a/sql/updates/world/2014_08_27_00_world_creature_template.sql b/sql/updates/world/2014_08_27_00_world_creature_template.sql
new file mode 100644
index 00000000000..bfc5ed40f4e
--- /dev/null
+++ b/sql/updates/world/2014_08_27_00_world_creature_template.sql
@@ -0,0 +1,2 @@
+--
+UPDATE `creature_template` SET `ScriptName`='' WHERE `ScriptName`='npc_valiant';
diff --git a/sql/updates/world/2014_08_27_00_world_misc.sql b/sql/updates/world/2014_08_27_02_world_misc.sql
index d97536a836d..d97536a836d 100644
--- a/sql/updates/world/2014_08_27_00_world_misc.sql
+++ b/sql/updates/world/2014_08_27_02_world_misc.sql
diff --git a/sql/updates/world/2014_08_28_00_world_misc.sql b/sql/updates/world/2014_08_28_00_world_misc.sql
new file mode 100644
index 00000000000..d12d56de004
--- /dev/null
+++ b/sql/updates/world/2014_08_28_00_world_misc.sql
@@ -0,0 +1,22 @@
+SET @ENTRY := 28511;
+
+UPDATE `creature_template` SET `spell1`=51859,`spell2`=51904,`spell3`=52006,`spell4`=0,`spell5`=52694,`unit_flags`=16777224,`InhabitType`=5,`ScriptName`='npc_eye_of_acherus' WHERE `entry` = @ENTRY;
+
+DELETE FROM `creature_template_addon` WHERE`entry`=@ENTRY;
+INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
+(@ENTRY, 0, 0, 0x0, 0x1, 0, '51892');
+
+DELETE FROM `waypoint_data` WHERE`id`=@ENTRY * 100;
+INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
+(@ENTRY * 100, 0, 2341.571, -5672.797, 538.3942, 0, 0, 1, 0, 100, 0),
+(@ENTRY * 100, 1, 1957.396, -5844.105, 273.8667, 0, 0, 1, 0, 100, 0),
+(@ENTRY * 100, 2, 1758.007, -5876.785, 166.8667, 0, 0, 1, 0, 100, 0);
+
+DELETE FROM `creature_text` WHERE`entry`=@ENTRY;
+INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
+(@ENTRY, 0, 0, 'The Eye of Acherus launches towards its destination.', 42, 0, 100, 0, 0, 0, 'Eye of Acherus'),
+(@ENTRY, 1, 0, 'The Eye of Acherus is in your control.', 42, 0, 100, 0, 0, 0, 'Eye of Acherus');
+
+DELETE FROM `spell_script_names` WHERE spell_id=52694;
+INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
+(52694,'spell_q12641_recall_eye_of_acherus');