Release 1.2.7

- Support the 3 new skills from 2.4.2
- Support Wither
- Add Save As button
This commit is contained in:
Openarl
2016-11-19 00:06:40 +10:00
parent 0f6a25ac6a
commit c8d7d1a30b
12 changed files with 405 additions and 59 deletions

View File

@@ -79,7 +79,7 @@ Effective DPS: Curses and enemy properties (such as resistances and status condi
}, },
{ label = "Aura and Buff Skills", flag = "buffs", textSize = 12, { format = "{output:BuffList}" }, },
{ label = "Combat Buffs", flag = "combat", textSize = 12, { format = "{output:CombatList}" }, },
{ label = "Curse Skills", flag = "effective", textSize = 12, { format = "{output:CurseList}" }, },
{ label = "Curses and Debuffs", flag = "effective", textSize = 12, { format = "{output:CurseList}" }, },
}, function(section)
wipeTable(section.controls.mainSocketGroup.list)
for i, socketGroup in pairs(self.build.skillsTab.socketGroupList) do

View File

@@ -324,7 +324,7 @@ function ImportTabClass:ImportItem(itemData, sockets)
ConPrintf("Unrecognised base in imported item: %s", item.baseName)
end
else
item.name = itemLib.sanitiseItemText(itemData.name)
item.name = itemLib.sanitiseItemText(itemData.typeLine)
for baseName, baseData in pairs(data.itemBases) do
if item.name:find(baseName, 1, true) then
item.baseName = baseName

View File

@@ -377,7 +377,7 @@ function ItemsTabClass:AddItemTooltip(item, slot, dbMode)
main:AddTooltipSeparator(10)
-- Special fields for database items
if dbMode and (item.variantList or item.league or item.unreleased) then
if dbMode then
if item.variantList then
if #item.variantList == 1 then
main:AddTooltipLine(16, "^xFFFF30Variant: "..item.variantList[1])
@@ -535,7 +535,7 @@ function ItemsTabClass:AddItemTooltip(item, slot, dbMode)
local output = calcFunc(slot.slotName, item ~= selItem and item)
local header
if item == selItem then
header = "^7Removing this item will give you:"
header = "^7Removing this item from "..slot.label.." will give you:"
else
header = string.format("^7Equipping this item in %s%s will give you:", slot.label, selItem and " (replacing "..data.colorCodes[selItem.rarity]..selItem.name.."^7)" or "")
end