项目

一般

简介

GameDiamond » 历史记录 » 修订 2

修订 1 (machenhe, 2022-05-09 15:00) → 修订 2/3 (yangdefeng, 2022-05-17 16:30)

_*%{color:green}gameDiamond%*_ 

 修改角色的<$gameDiamond>数量 修改角色的gameDiamond数量 

 标签:命令定义|gameDiamond 

 *格式* 
 |命令名 			 |参数1 			 |参数2 		 | 
 |gameDiamond 		 |操作符(+,-,=) 	 |数目 		 | 

 说明: 
 * 参数1 
 操作符(+,-,=) 
 ** +:增加相应数值 
 ** -:减小相应数值 
 ** =:赋值相应数值 

 * 参数2 
 数量 

 *%{color:deepskyblue}脚本示例:%* 

 bq. [<notextile>@</notextile>gameDiamond1] 
 #act 
 gameDiamond + 10 
 sendmsg 6 数量:<$gameDiamond> 

 bq. [<notextile>@</notextile>gameDiamond2] 
 #act 
 gameDiamond - 10 
 sendmsg 6 数量:<$gameDiamond> 

 bq. [<notextile>@</notextile>gameDiamond3] 
 #act 
 gameDiamond = 50 
 sendmsg 6 数量:<$gameDiamond>