mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Tooltips/Items
* skipping an error, when handling heirloom-armor with scaled level on external tooltips the tooltip will now be displayed but without the armor-class changing at level 40 * prevent assigning arbitrary randomEnchantments to items (e.g. Warglaive of Azzinoth of the Whale)
This commit is contained in:
@@ -1378,7 +1378,8 @@ $WH.g_setTooltipLevel = function(tooltip, level) {
|
||||
}
|
||||
|
||||
// Always keep the base armor type
|
||||
return prefix + g_itemset_types[_];
|
||||
return $WH.isset('g_itemset_types') ? prefix + g_itemset_types[_] : _all; // sarjuuk: LANG is not available if the tooltip is included externaly
|
||||
// return prefix + g_itemset_types[_];
|
||||
});
|
||||
|
||||
// Update min-max damage
|
||||
|
||||
Reference in New Issue
Block a user