FellowSlave » 历史记录 » 版本 1
chenjun, 2022-05-26 10:50
1 | 1 | chenjun | _*%{color:green}fellowSlave%*_ |
---|---|---|---|
2 | |||
3 | 检测指定角色的等级是否满足条件 |
||
4 | |||
5 | 标签:命令定义|fellowSlave |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 |参数3 | |
||
9 | |fellowSlave|角色名称 |操作符(>,<,=) |等级 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1:角色名称 |
||
13 | |||
14 | * 参数2:操作符(>,<,=) |
||
15 | ** >:大于相应数值 |
||
16 | ** <:小于相应数值 |
||
17 | ** =:等于相应数值 |
||
18 | |||
19 | * 参数3:等级 |
||
20 | |||
21 | |||
22 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
23 | |||
24 | bq. [<notextile>@</notextile>检测等级] |
||
25 | #if |
||
26 | checkPoseLevel player > 80 |
||
27 | #act |
||
28 | SendMsg 6 该角色等级大于80 |
||
29 | |||
30 | bq. #if |
||
31 | checkPoseLevel player = 80 |
||
32 | #act |
||
33 | SendMsg 6 该角色等级等于80 |
||
34 | |||
35 | bq. #if |
||
36 | checkPoseLevel player < 80 |
||
37 | #act |
||
38 | SendMsg 6 该角色等级小于80 |