17,101
edits
(Fix various special attack related parts) |
(_getAltSpellCostText: Fix table insert) |
||
Line 320: | Line 320: | ||
local item = Items.getItemByID(itemCost.id) | local item = Items.getItemByID(itemCost.id) | ||
if item ~= nil then | if item ~= nil then | ||
table.insert(Icons.Icon({item.name, type='item', qty=itemCost.quantity})) | table.insert(costText, Icons.Icon({item.name, type='item', qty=itemCost.quantity})) | ||
end | end | ||
end | end |