行为
GameDiamond » 历史记录 » 修订 1
修订 1/3
| 下一页 »
machenhe, 2022-05-09 15:00
gameDiamond
修改角色的gameDiamond数量
标签:命令定义|gameDiamond
格式命令名 | 参数1 | 参数2 |
gameDiamond | 操作符(+,-,=) | 数目 |
- 参数1
操作符(+,-,=)- +:增加相应数值
- -:减小相应数值
- =:赋值相应数值
- 参数2
数量
脚本示例:
[@gameDiamond1]
#act
gameDiamond + 10
sendmsg 6 数量:<$gameDiamond>
[@gameDiamond2]
#act
gameDiamond - 10
sendmsg 6 数量:<$gameDiamond>
[@gameDiamond3]
#act
gameDiamond = 50
sendmsg 6 数量:<$gameDiamond>