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