Setup/RandPropPoints

* refer to correct dbc file to get item level scaling for random enchantments
This commit is contained in:
Sarjuuk
2020-12-29 12:50:03 +01:00
parent 2eaed47ba4
commit c65bd88867
3 changed files with 4 additions and 2 deletions

View File

@@ -3138,7 +3138,7 @@ UNLOCK TABLES;
LOCK TABLES `aowow_dbversion` WRITE;
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
INSERT INTO `aowow_dbversion` VALUES (1608244865,0,NULL,NULL);
INSERT INTO `aowow_dbversion` VALUES (1609244310,0,NULL,NULL);
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
UNLOCK TABLES;

View File

@@ -12,7 +12,7 @@ SqlGen::register(new class extends SetupScript
use TrDBCcopy;
protected $command = 'itemrandomproppoints';
protected $dbcSourceFiles = ['itemrandomproperties'];
protected $dbcSourceFiles = ['randproppoints'];
});
?>

View File

@@ -0,0 +1,2 @@
DROP TABLE aowow_itemrandomproppoints;
UPDATE aowow_dbversion SET `sql` = CONCAT(IFNULL(`sql`, ''), ' itemrandomproppoints');