Hwnd = Plugin.Window.Find(0, "魔兽世界")
//设置换视角标志1=刚切换视角 0否
//UserVar Flag1 = 0
Rem 开始
//按Tab寻找目标
Call Plugin.Bkgnd.KeyPress(Hwnd, 9)
Delay 1000
//抓到头像判断颜色
IfColor 320,69,"009400",0 Then
//抓取到怪后进入打怪子过程
Call KillObject()
Else
//没找到怪偏转视角
Call TurnView()
End If
Goto 开始
//打怪
Sub KillObject()
Rem 打怪循环
//能两不足
IfColor 112, 78, "2D59B2", 0 Then
//优先使用技能7 急速射击
Call Plugin.Bkgnd.KeyPress(Hwnd, 55)
//优先使用技能8 群兽奔腾
Call Plugin.Bkgnd.KeyPress(Hwnd, 56)
//优先使用技能9 夺命乌鸦
Call Plugin.Bkgnd.KeyPress(Hwnd, 57)
//优先使用技能6 杀戮射击
Call Plugin.Bkgnd.KeyPress(Hwnd, 54)
//优先使用技能R 飞刃
Call Plugin.Bkgnd.KeyPress(Hwnd, 82)
//优先使用技能2 爆炸射击
Call Plugin.Bkgnd.KeyPress(Hwnd,