Changeset 85 for trunk/sql/world.sql

Show
Ignore:
Timestamp:
11/19/08 13:32:53 (17 years ago)
Author:
yumileroy
Message:

[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 20 in the disable_mask, to disable for creatures, set 21. The comment field is optional. Original patch provided by Craker.

Original author: w12x
Date: 2008-10-21 03:58:38-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sql/world.sql

    r45 r85  
    29482948 
    29492949-- 
     2950-- Table structure for table `spell_disabled` 
     2951-- 
     2952 
     2953DROP TABLE IF EXISTS `spell_disabled`; 
     2954CREATE TABLE `spell_disabled` ( 
     2955  `entry` int(11) unsigned NOT NULL default '0' COMMENT 'Spell entry', 
     2956  `disable_mask` int(8) unsigned NOT NULL default '0', 
     2957  `comment` varchar(64) NOT NULL default '', 
     2958  PRIMARY KEY  (`entry`) 
     2959) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Disabled Spell System'; 
     2960 
     2961-- 
     2962-- Dumping data for table `spell_disabled` 
     2963-- 
     2964 
     2965LOCK TABLES `spell_disabled` WRITE; 
     2966/*!40000 ALTER TABLE `spell_disabled` DISABLE KEYS */; 
     2967/*!40000 ALTER TABLE `spell_disabled` ENABLE KEYS */; 
     2968UNLOCK TABLES; 
     2969 
     2970-- 
    29502971-- Table structure for table `spell_elixir` 
    29512972--