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:
Sarjuuk
2015-08-04 19:02:23 +02:00
parent ef686c9c57
commit 320ad252d1
4 changed files with 32 additions and 9 deletions

View File

@@ -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