feat(Core\Player): Added createplayerinfo_cast_spell support cast spell for some class spells (#9448)

This commit is contained in:
acidmanifesto
2021-12-03 22:33:21 +01:00
committed by GitHub
parent 2789d5b877
commit 1500453f59
6 changed files with 81 additions and 69 deletions

View File

@@ -0,0 +1,14 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1638401383244389098');
DROP TABLE IF EXISTS `playercreateinfo_cast_spell`;
CREATE TABLE IF NOT EXISTS `playercreateinfo_cast_spell` (
`raceMask` INT UNSIGNED NOT NULL DEFAULT '0',
`classMask` INT UNSIGNED NOT NULL DEFAULT '0',
`spell` MEDIUMINT UNSIGNED NOT NULL DEFAULT '0',
`note` VARCHAR(255) DEFAULT NULL
) ENGINE=MYISAM DEFAULT CHARSET=utf8mb4;
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');