mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Sources
* rewrote SetupSrcipt * implemented 'zone' parameter * implemented 'bossdrop' parameter * implemented 'dungeondifficulty' parameter * implemented item filter relying on zone information (dropsInX) * fixed world random drops showing a single loot source * extended Source column of spells to the same functionality as items ToDo: * apply new 'commondrop' parameter on loot listviews * gather difficuly versions of gameobjects and apply the same logic as for creatures * implement fake spawns so npcs can get linked to a zone
This commit is contained in:
@@ -2477,6 +2477,7 @@ CREATE TABLE `aowow_source` (
|
||||
`moreType` tinyint(4) unsigned DEFAULT NULL,
|
||||
`moreTypeId` mediumint(9) unsigned DEFAULT NULL,
|
||||
`moreZoneId` mediumint(9) unsigned DEFAULT NULL,
|
||||
`moreMask` mediumint(9) unsigned DEFAULT NULL,
|
||||
`src1` tinyint(1) unsigned DEFAULT NULL COMMENT 'Crafted',
|
||||
`src2` tinyint(3) unsigned DEFAULT NULL COMMENT 'Drop (npc / object / item) (modeMask)',
|
||||
`src3` tinyint(3) unsigned DEFAULT NULL COMMENT 'PvP (g_sources_pvp)',
|
||||
@@ -3185,7 +3186,7 @@ UNLOCK TABLES;
|
||||
|
||||
LOCK TABLES `aowow_dbversion` WRITE;
|
||||
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
|
||||
INSERT INTO `aowow_dbversion` VALUES (1682012751,0,NULL,NULL);
|
||||
INSERT INTO `aowow_dbversion` VALUES (1684620410,0,NULL,NULL);
|
||||
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2
setup/updates/1684620409_01.sql
Normal file
2
setup/updates/1684620409_01.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `aowow_source`
|
||||
ADD COLUMN `moreMask` mediumint(9) unsigned DEFAULT NULL AFTER `moreZoneId`;
|
||||
1
setup/updates/1684620409_02.sql
Normal file
1
setup/updates/1684620409_02.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' source');
|
||||
Reference in New Issue
Block a user