CheckHpPerEX » 历史记录 » 版本 1
machenhe, 2022-04-29 17:20
1 | 1 | machenhe | _*%{color:green}checkHpPerEX%*_ |
---|---|---|---|
2 | |||
3 | 检测百分比血量 |
||
4 | |||
5 | 标签:命令定义|checkHpPerEX |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |checkHpPerEX |操作符 |血量 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1:操作符(>,<,=) |
||
13 | |||
14 | * 参数2:血量值 |
||
15 | |||
16 | *%{color:deepskyblue}特戒引擎脚本示例:%*: |
||
17 | |||
18 | bq. [<notextile>@</notextile>检测百分比血量] |
||
19 | #if |
||
20 | *%{color:green}checkHpPerEX%* > 50 |
||
21 | #act |
||
22 | [[sendmsg]] 6 血量大于百分之50 |
||
23 | |||
24 | bq. #if |
||
25 | checkHpPerEX = 50 |
||
26 | #act |
||
27 | sendmsg 6 血量等于百分之50 |
||
28 | |||
29 | bq. #if |
||
30 | checkHpPerEX < 50 |
||
31 | #act |
||
32 | sendmsg 6 血量小于百分之50 |