ChangePKPoint » 历史记录 » 版本 1
machenhe, 2022-04-29 17:12
1 | 1 | machenhe | _*%{color:green}changePKPoint%*_ |
---|---|---|---|
2 | |||
3 | 改变角色PK值 |
||
4 | |||
5 | 标签:命令定义|changePKPoint |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |changePKPoint |操作符 |数值 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1:操作符(+、-、=) |
||
13 | ** =:使用等号为清零PK值 |
||
14 | |||
15 | * 参数2:数值或变量 |
||
16 | |||
17 | *注意*: |
||
18 | * PK点数变量:<$PKPOINT> |
||
19 | * PK值最小为0 |
||
20 | |||
21 | *%{color:deepskyblue}特戒引擎脚本示例:%*: |
||
22 | |||
23 | bq. [<notextile>@</notextile>test1] |
||
24 | #ACT |
||
25 | *%{color:green}changePKPoint%* = 0 |
||
26 | [[sendmsg]] 6 PK点数:<$PKPOINT> |
||
27 | |||
28 | bq. [<notextile>@</notextile>test2] |
||
29 | #ACT |
||
30 | [[mov]] p2 10 |
||
31 | changePKPoint + p2 |
||
32 | sendmsg 6 PK点数:<$PKPOINT> |
||
33 | |||
34 | bq. [<notextile>@</notextile>test3] |
||
35 | #ACT |
||
36 | changePKPoint - 5 |
||
37 | sendmsg 6 PK点数:<$PKPOINT> |