本帖最后由 joylau 于 2022-5-18 09:21 PM 编辑
[Lua] 纯文本查看 复制代码 alt键暴风雪
if IsLeftAltKeyDown() and BeeIsRun("/cast 暴风雪","nogoal") and BeePlayerBuffTime("暴风雪")==-1 then
CastSpellByName(tostring(GetSpellInfo("暴风雪"),nil))
if SpellIsTargeting() then
CameraOrSelectOrMoveStart()
CameraOrSelectOrMoveStop()
end
return
end
if BeeUnitCastSpellName("player")=="暴风雪" then
return
end
技能自行修改,另外有人问写出的脚本施放过程会打断,那是因为你没加BeeUnitCastSpellName("player")=="暴风雪"这个判定,加个自我读条的判定和return即可.
|