diff options
| author | Shauren <shauren.trinity@gmail.com> | 2015-02-17 01:01:44 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2015-02-17 01:01:44 +0100 |
| commit | 56186319bdd41dd26b6cc14f84e6e41eef5d953b (patch) | |
| tree | 7b531cdf71b59170f9fa65120c09935ce51f3307 /sql/updates/characters | |
| parent | 7829412416c9709991fd686030ab77908c27922b (diff) | |
Core/Spells: Cooldown updates
* Refactored cooldown handling to separate class shared by creatures and players
* Updated and enabled cooldown packets
* Implemented creature school lockouts
* Implemented spell charges
* Fixed AuraUpdate structure
* Fixed aura flag AFLAG_NOCASTER handling
* Implemented spell charge related auras
Diffstat (limited to 'sql/updates/characters')
| -rw-r--r-- | sql/updates/characters/2015_02_17_00_characters.sql | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sql/updates/characters/2015_02_17_00_characters.sql b/sql/updates/characters/2015_02_17_00_characters.sql new file mode 100644 index 00000000000..ebf539c9a40 --- /dev/null +++ b/sql/updates/characters/2015_02_17_00_characters.sql @@ -0,0 +1,28 @@ +-- +-- Table structure for table `character_spell_charges` +-- + +DROP TABLE IF EXISTS `character_spell_charges`; +CREATE TABLE `character_spell_charges` ( + `guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', + `categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCategory.dbc Identifier', + `rechargeStart` int(10) unsigned NOT NULL DEFAULT '0', + `rechargeEnd` int(10) unsigned NOT NULL DEFAULT '0', + KEY `idx_guid` (`guid`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- +-- Table structure for table `pet_spell_charges` +-- + +DROP TABLE IF EXISTS `pet_spell_charges`; +CREATE TABLE `pet_spell_charges` ( + `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', + `categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCategory.dbc Identifier', + `rechargeStart` int(10) unsigned NOT NULL DEFAULT '0', + `rechargeEnd` int(10) unsigned NOT NULL DEFAULT '0', + KEY `idx_guid` (`guid`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +ALTER TABLE `character_spell_cooldown` CHANGE `spell` `spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier'; +ALTER TABLE `pet_spell_cooldown` CHANGE `spell` `spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier'; |
