求助给指定目标放技能的写法 求大佬指导哪里不对?
local hg = BeeUnitName("团队副本训练假人");if BeeTargetDeBuffTime("恐惧")<19 and hg
then
BeeRun("/cast 恐惧")
end
不放技能是啥原因?
local hg = BeeUnitName("target");
if BeeTargetDeBuffTime("恐惧")<19 and hg == "团队副本训练假人"
then
BeeRun("/cast 恐惧")
end
你试试,应该没问题。
BeeUnitName的参数必须为暴雪指定的预设字符串才行 zhudi23 发表于 2022-10-3 09:33 AM
local hg = BeeUnitName("target");
if BeeTargetDeBuffTime("恐惧")
谢谢大佬 刚才上线试了一下完全没问题
页:
[1]