aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorSnapper <snapperryen@gmail.com>2016-06-04 19:31:29 +0100
committerDDuarte <dnpd.dd@gmail.com>2016-06-04 19:31:29 +0100
commit30313fba8dbf5dbcdf4e91e1ea179ad1b8c9bdc5 (patch)
tree645c2e99c52a32380ce79612781ba43b5e2d2a55 /sql/updates
parent8d2ccc4d1a88757e021a02bb2ad24eb828d0a8f7 (diff)
Core/Player: Added support cast spell for some class spells
(Warrior's Battle Stance and Death Knight's Blood Presence) on first login. (cherry-picked from commit c8eb69df10b36d19a77743a037e700b001c8ed77) Closes #17232
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/3.3.5/2016_06_04_01_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_06_04_01_world.sql b/sql/updates/world/3.3.5/2016_06_04_01_world.sql
new file mode 100644
index 00000000000..fb048449d40
--- /dev/null
+++ b/sql/updates/world/3.3.5/2016_06_04_01_world.sql
@@ -0,0 +1,12 @@
+DROP TABLE IF EXISTS `playercreateinfo_cast_spell`;
+CREATE TABLE IF NOT EXISTS `playercreateinfo_cast_spell` (
+ `raceMask` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `classMask` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `spell` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
+ `note` VARCHAR(255) DEFAULT NULL
+) ENGINE=MYISAM DEFAULT CHARSET=utf8;
+
+DELETE FROM `playercreateinfo_cast_spell` WHERE `spell` IN (48266, 2457);
+INSERT INTO `playercreateinfo_cast_spell` (`racemask`, `classmask`, `spell`, `note`) VALUES
+(0, 32, 48266, 'Death Knight - Blood Presence'),
+(0, 1, 2457, 'Warrior - Battle Stance');