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:
Machiavelli
2010-03-18 22:56:48 +01:00
parent ef57a96cce
commit 35a7f4849e
6 changed files with 76 additions and 97 deletions

View File

@@ -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`
--