// 工具: EZScript II v2.337
// 畫面: 1024*768 視窗化
// 遊戲: 征途online
// 功能: A.自動補HP和MP B.選擇撿物
// 鍵盤: 1鍵:喝紅藥水, 2鍵:喝藍藥水, `鍵:撿物品.
//===預設資料===HP要躲過組對畫面===MP不用===
//HP90% Color[XY2Pos[30, 7]] = 4877683 | MP90% Color[XY2Pos[52, 7]] = 6455691
//HP80% Color[XY2Pos[22, 10]] = 3823971 | MP80% Color[XY2Pos[59, 10]] = 8093051
//HP70% Color[XY2Pos[15, 16]] = 1646625 | MP70% Color[XY2Pos[67, 16]] = 8620428
//HP60% Color[XY2Pos[11, 20]] = 1057833 | MP60% Color[XY2Pos[70, 20]] = 8157820
//HP50% Color[XY2Pos[7, 37]] = 4869450 | MP50% Color[XY2Pos[77, 37]] = 5988707
//HP40% Color[XY2Pos[11, 57]] = 7040363 | MP40% Color[XY2Pos[74, 56]] = 598305
//HP30% Color[XY2Pos[15, 63]] = 8157820 | MP30% Color[XY2Pos[65, 65]] = 3291442
//HP20% Color[XY2Pos[22, 69]] = 8093051 | MP20% Color[XY2Pos[58, 69]] = 5396834
//HP10% Color[XY2Pos[30, 73]] = 8618371 | MP10% Color[XY2Pos[51, 73]] = 7041395
Var1 = 1 //範圍 0,1 ;0:不撿,1:撿
Start:
If Color[XY2Pos[7, 37]] = 4869450 //HP低於50%喝紅藥水
KeyPress(49) //鍵盤位置 1鍵
End If
If Color[XY2Pos[65, 65]] = 3291442 //MP低於30%喝藍藥水
KeyPress(50) //鍵盤位置 2鍵
End If
If Var1 = 1
KeyPress(192) //撿物品,鍵盤 `鍵
End If
Jump Start |