aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorGigi1237 <luigi.sciolla@gmail.com>2015-08-22 20:29:17 +0200
committerShauren <shauren.trinity@gmail.com>2016-04-11 18:22:09 +0200
commitc19172cad9a3302b7f5c8d5ca1d96de9a7311847 (patch)
tree674d46c12b63b15a726909093f082aaa58128f7b /sql/updates
parent116c8070769b32b67400b4506a2e5b999764185a (diff)
Core/Blackmarket: Implemented black market
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/characters/2016_04_11_01_characters.sql9
-rw-r--r--sql/updates/world/2016_04_11_02_world.sql12
2 files changed, 21 insertions, 0 deletions
diff --git a/sql/updates/characters/2016_04_11_01_characters.sql b/sql/updates/characters/2016_04_11_01_characters.sql
new file mode 100644
index 00000000000..bdc6532b1e2
--- /dev/null
+++ b/sql/updates/characters/2016_04_11_01_characters.sql
@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `blackmarket_auctions`;
+CREATE TABLE `blackmarket_auctions` (
+ `marketId` int(10) NOT NULL DEFAULT '0',
+ `currentBid` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `time` int(10) NOT NULL DEFAULT '0',
+ `numBids` int(10) NOT NULL DEFAULT '0',
+ `bidder` bigint(20) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`marketId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
diff --git a/sql/updates/world/2016_04_11_02_world.sql b/sql/updates/world/2016_04_11_02_world.sql
new file mode 100644
index 00000000000..2c362b80564
--- /dev/null
+++ b/sql/updates/world/2016_04_11_02_world.sql
@@ -0,0 +1,12 @@
+DROP TABLE IF EXISTS `blackmarket_template`;
+CREATE TABLE `blackmarket_template` (
+ `marketId` int(10) NOT NULL DEFAULT '0',
+ `sellerNpc` mediumint(8) NOT NULL DEFAULT '0',
+ `itemEntry` mediumint(8) unsigned NOT NULL DEFAULT '0',
+ `quantity` int(10) NOT NULL DEFAULT '1',
+ `minBid` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `duration` int(10) NOT NULL DEFAULT '0',
+ `chance` float NOT NULL DEFAULT '0',
+ `bonusListIDs` text,
+ PRIMARY KEY (`marketId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;