aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorRat <none@none>2010-04-09 10:47:11 +0200
committerRat <none@none>2010-04-09 10:47:11 +0200
commitcbbe587817f9d635338c1efc309418a9a6575d76 (patch)
treeab4db09b5c7fe4491fd6f6542c45a8c0ef9a18bb /sql
parent1f46c1150d8d04d5d3e72f27c475062cc320d545 (diff)
*added code for loading Spelldifficulty.dbc + Custom Spelldifficulty from Database
*added spell searcher based on creature's map difficulty, usage is optional and only for scipts for now *added new table spelldifficulty_dbc --HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/7815_world_spelldifficulty_dbc.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/7815_world_spelldifficulty_dbc.sql b/sql/updates/7815_world_spelldifficulty_dbc.sql
new file mode 100644
index 00000000000..2c91beaefbb
--- /dev/null
+++ b/sql/updates/7815_world_spelldifficulty_dbc.sql
@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `spelldifficulty_dbc`;
+CREATE TABLE `spelldifficulty_dbc` (
+ `id` int(11) unsigned NOT NULL DEFAULT '0',
+ `spellid0` int(11) unsigned NOT NULL DEFAULT '0',
+ `spellid1` int(11) unsigned NOT NULL DEFAULT '0',
+ `spellid2` int(11) unsigned NOT NULL DEFAULT '0',
+ `spellid3` int(11) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;