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

(cherry picked from commit f609e7a08b)
This commit is contained in:
ariel-
2017-02-22 00:11:49 -03:00
committed by funjoker
parent 5e57ad6fa8
commit b8d1bab8de
4 changed files with 51 additions and 18 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`;