|
|
|
@ -1338,6 +1338,7 @@ CREATE TABLE `quests` (
|
|
|
|
|
`hp` int(11) NOT NULL,
|
|
|
|
|
`mp` int(11) NOT NULL,
|
|
|
|
|
`ortid` int(11) DEFAULT '13',
|
|
|
|
|
`std` INT NOT NULL DEFAULT 0,
|
|
|
|
|
PRIMARY KEY (`charid`),
|
|
|
|
|
KEY `fk_quests_ortid` (`ortid`),
|
|
|
|
|
CONSTRAINT `fk_quests_charid` FOREIGN KEY (`charid`) REFERENCES `chars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
|
|
@ -1345,6 +1346,21 @@ CREATE TABLE `quests` (
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `test_ag`.`quest_stats` (
|
|
|
|
|
`monster` INT NOT NULL,
|
|
|
|
|
`zeit` INT NOT NULL,
|
|
|
|
|
`anzahl` INT NOT NULL DEFAULT 1,
|
|
|
|
|
`status` TINYINT NOT NULL,
|
|
|
|
|
PRIMARY KEY (`monster`, `zeit`, `status`));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `test_ag`.`quest_item_stats` (
|
|
|
|
|
`id` INT NOT NULL,
|
|
|
|
|
`monster` INT NOT NULL,
|
|
|
|
|
`anzahl` INT NOT NULL DEFAULT 1,
|
|
|
|
|
PRIMARY KEY (`id`, `monster`));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `rassen`
|
|
|
|
|
--
|
|
|
|
|