如何判断正在施法,
如何判断正在施法,不执行脚本 使用BeeUnitCastSpellName(Unit)函数,Unit可以为任何目标,自己就填"player",目标就填"target"脚本示例:
判断自己正在释放暴风雪,停止脚本,以防打断施法.
if BeeUnitCastSpellName("player")=="暴风雪" then
BeeRun("/stopcasting") ------------使用暴雪宏停止动作命令
return
end
判断目标正在释放法术暴风雪,对此目标释放脚踢
if BeeUnitCastSpellName("target")=="暴风雪" then
BeeRun("脚踢","target")
return
end joylau 发表于 2021-10-30 08:14 PM
使用BeeUnitCastSpellName(Unit)函数,Unit可以为任何目标,自己就填"player",目标就填"target"
脚本示例:
...
谢谢大佬,我去试试看
谢谢大佬,我去试试看
页:
[1]