forked from sMythicalBird/ZenlessZoneZero-Auto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tactics.example.yaml
54 lines (52 loc) · 1.93 KB
/
tactics.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 冲刺蓄力攻击
- key: "w"
type: "down"
delay: 0 # 执行完毕后不进行延迟
# 按键盘按键shift长按
- key: "shift" # 按键
type: "down" # 按下
# 等待0.5s
- delay: 0.5 # 等待时间
# 鼠标左键按下
- key: "left" # 按键
type: "down" # 按下
duration: 0.5 # 按住时间
# 松开w
- key: "w"
type: "up"
delay: 0
# 松开shift
- key: "shift"
type: "up"
delay: 0.05
# 鼠标左键攻击5次,每次按住0.2s,间隔0.1s
- key: "left" # 按键 left为鼠标左键,right为鼠标右键,middle为鼠标中键
type: "press" # 按住 press为按住, down为按下, up为松开
duration: 0.025 # 按住时间 duration为按住时间,press时有效
delay: 0.1 # 本次操作执行完毕后延迟时间 默认为0.1
repeat: 5 # 本次操作重复次数
# 闪避
- key: "shift"
type: "press"
delay: 0.05
# 键盘按键e按住0.5s,如果未设置 delay 默认为0.1,如果未设置 clicks 默认为1
- key: "e" # 按键
type: "press" # 按住
duration: 0.3 # 按住时间
# 鼠标左键攻击5次,每次按住0.2s,间隔0.1s
- key: "left" # 按键 left为鼠标左键,right为鼠标右键,middle为鼠标中键
type: "press" # 按住 press为按住, down为按下, up为松开
duration: 0.025 # 按住时间 duration为按住时间,press时有效
delay: 0.1 # 本次操作执行完毕后延迟时间 默认为0.1
repeat: 5 # 本次操作重复次数
# 闪避
- key: "shift"
type: "press"
delay: 0.05
# 键盘按键e按住0.5s,如果未设置 delay 默认为0.1,如果未设置 clicks 默认为1
- key: "e" # 按键
type: "press" # 按住
duration: 0.3 # 按住时间
# 按键盘按键space
- key: "space" # 按键
type: "press" # 点击