PgCheckMpPer » 历史记录 » 版本 1
machenhe, 2022-04-29 17:25
| 1 | 1 | machenhe | _*%{color:green}pgCheckMpPer%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 检测角色魔法值是否满足条件 |
||
| 4 | |||
| 5 | 标签:命令定义|pgCheckMpPer |
||
| 6 | |||
| 7 | *格式* |
||
| 8 | |命令名 |参数1 |参数2 |参数3 | |
||
| 9 | |pgCheckMpPer |操作符 |比例值 |分母基数 | |
||
| 10 | |||
| 11 | 说明: |
||
| 12 | * 参数1:操作符(>,<,=) |
||
| 13 | |||
| 14 | * 参数2:比例值 |
||
| 15 | |||
| 16 | * 参数3:分母基数 |
||
| 17 | ** 空:默认为百分比 |
||
| 18 | |||
| 19 | *%{color:deepskyblue}特戒引擎脚本示例:%*: |
||
| 20 | |||
| 21 | bq. [<notextile>@</notextile>PG检测蓝量] |
||
| 22 | #if |
||
| 23 | _*%{color:green}pgCheckMpPer%*_ > 800 1000 |
||
| 24 | #act |
||
| 25 | [[sendmsg]] 6 蓝量大于千分之800 |
||
| 26 | |||
| 27 | bq. #if |
||
| 28 | pgCheckMpPer = 80 |
||
| 29 | #act |
||
| 30 | sendmsg 6 蓝量等于百分之80 |
||
| 31 | |||
| 32 | bq. #if |
||
| 33 | pgCheckMpPer < 8000 10000 |
||
| 34 | #act |
||
| 35 | sendmsg 6 蓝量小于万分之8000 |