Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get myth and soldiery count
#7
You can iterate througt the currency inventory and get it :

local inv= Inventory("type=FFXIV.INVENTORYTYPE.INV_CURRENCY ")
if ( inv ) then
local i,item= next(inv)
while (i~=nil and item~=nil) do
d("itemid: ".. tostring(item.id).. " ItemName: "..item.name.." ItemCount: "..item.count.." ItemSlot: "...item.slot)
local i,item= next(inv,i)
end
end

But it might also works with this :

-- 26 is the soldiery itemId, 28 is for the poetics
local soldiery= Inventory:Get(26)
if(item ~= nil) then
d("soldiery count: "..item.count)
end
Reply
 


Messages In This Thread
Get myth and soldiery count - by earisu - 06-26-2014, 09:58 AM
RE: Get myth and soldiery count - by 5minqq - 06-26-2014, 12:36 PM
RE: Get myth and soldiery count - by earisu - 06-26-2014, 03:05 PM
RE: Get myth and soldiery count - by 5minqq - 06-26-2014, 04:32 PM
RE: Get myth and soldiery count - by earisu - 06-26-2014, 05:19 PM
RE: Get myth and soldiery count - by earisu - 01-07-2015, 08:05 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products