Misc/Fixup

* Conditions: loot rows initially have no 'id'
 * fixed building talent string for hunter pets (different talents can occupy the same row/col spot)
 * added keys loot cols on creature table
 * fixed trying to show itemset type for itemsets without type
 * fixed waypoint calculation when moving entity between floors
This commit is contained in:
Sarjuuk
2024-06-02 20:47:01 +02:00
parent efab0bad32
commit f861886fdf
6 changed files with 14 additions and 6 deletions

View File

@@ -556,7 +556,10 @@ CREATE TABLE `aowow_creature` (
KEY `idx_name` (`name_loc0`),
KEY `difficultyEntry1` (`difficultyEntry1`),
KEY `difficultyEntry2` (`difficultyEntry2`),
KEY `difficultyEntry3` (`difficultyEntry3`)
KEY `difficultyEntry3` (`difficultyEntry3`),
KEY `idx_loot` (`lootId`),
KEY `idx_pickpocketloot` (`pickpocketLootId`),
KEY `idx_skinloot` (`skinLootId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -3225,7 +3228,7 @@ UNLOCK TABLES;
LOCK TABLES `aowow_dbversion` WRITE;
/*!40000 ALTER TABLE `aowow_dbversion` DISABLE KEYS */;
INSERT INTO `aowow_dbversion` VALUES (1717076299,0,NULL,NULL);
INSERT INTO `aowow_dbversion` VALUES (1717354215,0,NULL,NULL);
/*!40000 ALTER TABLE `aowow_dbversion` ENABLE KEYS */;
UNLOCK TABLES;

View File

@@ -0,0 +1,4 @@
ALTER TABLE aowow_creature
ADD KEY `idx_loot` (`lootId`),
ADD KEY `idx_pickpocketloot` (`pickpocketLootId`),
ADD KEY `idx_skinloot` (`skinLootId`);