mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
[svn] Implement a new table (spell_disabled) to allow disabling some spells for players and / or creatures. To disable a spell for a players and pets, set 2^0 in the disable_mask, to disable for creatures, set 2^1. The comment field is optional. Original patch provided by Craker.
--HG-- branch : trunk
This commit is contained in:
7
sql/updates/90_world.sql
Normal file
7
sql/updates/90_world.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
DROP TABLE IF EXISTS `spell_disabled`;
|
||||
CREATE TABLE `spell_disabled` (
|
||||
`entry` int(11) unsigned NOT NULL default '0' COMMENT 'Spell entry',
|
||||
`disable_mask` int(8) unsigned NOT NULL default '0',
|
||||
`comment` varchar(64) NOT NULL default '',
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Disabled Spell System';
|
||||
Reference in New Issue
Block a user