GameDiamond » 历史记录 » 版本 3
yangdefeng, 2022-05-17 17:06
1 | 1 | machenhe | _*%{color:green}gameDiamond%*_ |
---|---|---|---|
2 | |||
3 | 3 | yangdefeng | 修改角色的<$gameDiamond>变量值 |
4 | 1 | machenhe | |
5 | 标签:命令定义|gameDiamond |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |gameDiamond |操作符(+,-,=) |数目 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1 |
||
13 | 操作符(+,-,=) |
||
14 | ** +:增加相应数值 |
||
15 | ** -:减小相应数值 |
||
16 | ** =:赋值相应数值 |
||
17 | |||
18 | * 参数2 |
||
19 | 数量 |
||
20 | |||
21 | *%{color:deepskyblue}脚本示例:%* |
||
22 | |||
23 | bq. [<notextile>@</notextile>gameDiamond1] |
||
24 | #act |
||
25 | gameDiamond + 10 |
||
26 | sendmsg 6 数量:<$gameDiamond> |
||
27 | |||
28 | bq. [<notextile>@</notextile>gameDiamond2] |
||
29 | #act |
||
30 | gameDiamond - 10 |
||
31 | sendmsg 6 数量:<$gameDiamond> |
||
32 | |||
33 | bq. [<notextile>@</notextile>gameDiamond3] |
||
34 | #act |
||
35 | gameDiamond = 50 |
||
36 | sendmsg 6 数量:<$gameDiamond> |