Show Flask Slot for UniqueDB Comparisons (#8871)
This commit is contained in:
@@ -1262,6 +1262,8 @@ function ItemClass:GetPrimarySlot()
|
||||
return "Ring 1"
|
||||
elseif self.type == "Flask" then
|
||||
return "Flask 1"
|
||||
elseif self.type == "Tincture" then
|
||||
return "Flask 1"
|
||||
else
|
||||
return self.type
|
||||
end
|
||||
|
||||
@@ -26,7 +26,7 @@ local ItemDBClass = newClass("ItemDBControl", "ListControl", function(self, anch
|
||||
self.leaguesAndTypesLoaded = false
|
||||
self.leagueList = { "Any league", "No league" }
|
||||
self.typeList = { "Any type", "Armour", "Jewellery", "One Handed Melee", "Two Handed Melee" }
|
||||
self.slotList = { "Any slot", "Weapon 1", "Weapon 2", "Helmet", "Body Armour", "Gloves", "Boots", "Amulet", "Ring", "Belt", "Jewel" }
|
||||
self.slotList = { "Any slot", "Weapon 1", "Weapon 2", "Helmet", "Body Armour", "Gloves", "Boots", "Amulet", "Ring", "Belt", "Jewel", "Flask" }
|
||||
local baseY = dbType == "RARE" and -22 or -62
|
||||
self.controls.slot = new("DropDownControl", {"BOTTOMLEFT",self,"TOPLEFT"}, {0, baseY, 179, 18}, self.slotList, function(index, value)
|
||||
self.listBuildFlag = true
|
||||
|
||||
Reference in New Issue
Block a user