mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Store alternate currency spent on an item by Item ExtendedCost entry instead of honorPts/arenaPts/items seperately. Thanks to Opterman for the idea.
--HG-- branch : trunk
This commit is contained in:
@@ -1616,6 +1616,22 @@ LOCK TABLES `item_instance` WRITE;
|
||||
/*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `item_refund_instance`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `item_refund_instance`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `item_refund_instance` (
|
||||
`item_guid` int(11) unsigned NOT NULL COMMENT 'Item GUID',
|
||||
`player_guid` int(11) unsigned NOT NULL COMMENT 'Player GUID',
|
||||
`paidMoney` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`paidExtendedCost` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`item_guid`,`player_guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item Refund System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `item_text`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user