《剑网3》:藏剑宏分享 对目标的目标使用探梅
该宏只对目标为npc的时候使用有效,是我针对输出的时候给t探梅做的。未加判断,所以对玩家施放时请勿用此宏专业玩家网站为您提供专业的游戏攻略和网游技术。
/script function st(dwid)
local scene = (station.lookup("lowest/scene/scene_main"))
local ttype = nil
if isplayer(dwid) then
ttype = target.player
else
ttype = target.npc
end
this = {}
local bldown = scene.bldown
local brdown = scene.brdown
this.bldown = true
this.brdown = false
this.dwobjtype = ttype
this.dwobjid = dwid
this.bdowntime = gettickcount() + 1000
local x, y = cursor.getpos(false)
this.x = x
this.y = y
scenesettarget()
scene.bldown = bldown
scene.brdown = brdown
if bldown and not brdown then
scene.onscenelbuttondown()
elseif not bldown and brdown then
scene.onscenerbuttondown()
end
end
/script tty,tid = getclientplayer().gettarget() pt,pid=getnpc(tid).gettarget() st(tid)
/cast 探梅
/script st(tid)