aboutsummaryrefslogtreecommitdiff
path: root/sql/base
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-12-23 08:33:13 -0500
committerSubv <s.v.h21@hotmail.com>2012-12-23 08:33:13 -0500
commit3869bb7b3a96751b463ecec2d9ac663b792a0703 (patch)
tree330d7e96fa4021f6301d488d64ac6eed717172ab /sql/base
parentd40cbe0113329de96723e8fe015651c919760a15 (diff)
parent143340b38c857b2cc50ee9f8577abf9248b6317a (diff)
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/game/Entities/Item/Item.cpp src/server/game/Entities/Player/Player.cpp src/server/game/Entities/Player/Player.h
Diffstat (limited to 'sql/base')
-rw-r--r--sql/base/characters_database.sql35
1 files changed, 35 insertions, 0 deletions
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index 9cfdb993ef6..165ae3aff78 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -2183,6 +2183,41 @@ LOCK TABLES `item_instance` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `item_loot_items`
+--
+
+DROP TABLE IF EXISTS `item_loot_items`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `item_loot_items` (
+ `container_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
+ `item_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'loot item entry (item_instance.itemEntry)',
+ `item_count` int(10) NOT NULL DEFAULT '0' COMMENT 'stack size',
+ `follow_rules` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'follow loot rules',
+ `ffa` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'free-for-all',
+ `blocked` tinyint(1) NOT NULL DEFAULT '0',
+ `counted` tinyint(1) NOT NULL DEFAULT '0',
+ `under_threshold` tinyint(1) NOT NULL DEFAULT '0',
+ `needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop',
+ `rnd_prop` int(10) NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled',
+ `rnd_suffix` int(10) NOT NULL DEFAULT '0' COMMENT 'random suffix added when originally rolled'
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `item_loot_money`
+--
+
+DROP TABLE IF EXISTS `item_loot_money`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `item_loot_money` (
+ `container_id` int(10) NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
+ `money` int(10) NOT NULL DEFAULT '0' COMMENT 'money loot (in copper)'
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
-- Table structure for table `item_refund_instance`
--