Core/Spells: refactor spell_enchant_proc_data table

- Renamed fields to mimic those in spell_proc
- Added Enchant proc attributes for controlling specific enchant features

Ref #7789

(cherrypicked from f609e7a08b)
This commit is contained in:
ariel-
2017-02-22 00:11:49 -03:00
committed by Shauren
parent 5f70be050f
commit 420f2e8ec2
4 changed files with 55 additions and 14 deletions

View File

@@ -0,0 +1,6 @@
ALTER TABLE `spell_enchant_proc_data`
CHANGE `entry` `EnchantID` int(10) UNSIGNED NOT NULL,
CHANGE `customChance` `Chance` float DEFAULT '0' NOT NULL,
CHANGE `PPMChance` `ProcsPerMinute` float DEFAULT '0' NOT NULL,
CHANGE `procEx` `HitMask` int(10) UNSIGNED DEFAULT '0' NOT NULL,
ADD COLUMN `AttributesMask` int(10) UNSIGNED DEFAULT '0' NOT NULL AFTER `HitMask`;