远离烦恼:分享剑网3一键查看瑰石掉落宏

发布时间:12-12-16 11:58 来源:官方 作者:chineste… 
[相关内容][跟帖评论]
[复制链接]

  script sv2=sv2 or nil

  local s1,s2="打开","关闭."

  local ms=function(str) OutputMessage("MSG_SYS","瑰石查看宏已"..str.."\n") end

  st_oit=function (i,p1,p2,bb,x,y) OutputItemTip(UI_OBJECT_ITEM_INFO,0,p1,p2,{x+200,y,1,1},bb) end

  if sv2 then

  sv2b=not sv2b

  if sv2b then ms(s1) else ms(s2) end

  else

  sv2=AuctionPanel.OnItemMouseEnter

  function AuctionPanel.OnItemMouseEnter()

  sv2()

  if sv2b and this.nItemID then

  local dt,n1,n2,n3=this:GetObject()

  local cx,cy=this:GetAbsPos()

  local nI =GetItemInfo(n2,n3)

  local dsc=Table_GetItemDesc(nI.nUiId)

  local ns,ne =string.find(dsc,"可额外掉落")

  if ns and ne then

  local m={x=cx+38,y=cy-12,szOption="", {szOption=nI.szName,fnMouseEnter=function(i) st_oit(i,n2,n3,false,cx,cy) end},{bDevide=true}}

  local szs = string.gsub(dsc, "this\.dwTabType\=(%d+) this.dwIndex=(%d+) ",

  function(nit,nid)

  local itm=GetItemInfo(nit,nid)

  table.insert(m,{szOption=itm.szName,fnMouseEnter=function(i) st_oit(i,nit,nid,false,cx,cy) end})

  end)

  HideTip()

  PopupMenu(m)

  end

  end

  end

  sv2b=true

  ms(s1)

  end

 

  更多剑网3资讯

  西湖伊人来 剑网3七秀精美cosplay图片欣赏

  网友分享剑网3一些生僻却比较实用的小技巧

  听说这是无极丝 剑网3最新330缝纫外观展示

  双心法的背后 剑网3明教镇派经脉解析专题

    【责任编辑:52PK】TAG:装备 副本

    更多更多精彩相关推荐

    发表评论

    相关推荐