2018년 7월 5일 목요일

유물력 잡템 자동판매 매크로

Artifact power & Grey items

예시
Script
/run local p,N,c,n=0 for b=0,4 do for s=1,GetContainerNumSlots(b) do n=GetContainerItemLink(b,s) if n and string.find(n,"9d9d9d") then N={GetItemInfo(n)} c=GetItemCount(n) p=p+(N[11]*c)UseContainerItem(b,s) print(n) end end end print(GetCoinText(p))



참고(유물력이 회색템으로 인식되지 않았을 때)
/run for b=0,4 do for s=1,GetContainerNumSlots(b)do local K,D=GetContainerItemLink(b,s),GetContainerItemID(b,s);if K and MerchantFrame:IsShown()then if IsArtifactPowerItem(D)or string.find(K,"9d9d9d")then UseContainerItem(b,s)print(K)end;end;end;end

Addon : https://www.curseforge.com/wow/addons/artifactpowerseller

댓글 없음:

댓글 쓰기