CheckMonMap » 历史记录 » 版本 2
yangdefeng, 2022-06-22 16:54
1 | 2 | yangdefeng | h4. _*%{color:green}checkMonMap%*_ |
---|---|---|---|
2 | 1 | machenhe | |
3 | 检测指定地图的全部怪物数量是否大于等于指定数目 |
||
4 | |||
5 | 标签:命令定义|checkMonMap |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | 2 | yangdefeng | |checkMonMap |地图编号 |数量 | |
10 | 1 | machenhe | |
11 | 说明: |
||
12 | 2 | yangdefeng | * 参数1: [[mapInfo|地图编号]] |
13 | 1 | machenhe | |
14 | 2 | yangdefeng | * 参数2: 数量 |
15 | 1 | machenhe | |
16 | 2 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
17 | 1 | machenhe | |
18 | bq. [<notextile>@</notextile>检测全图怪物数量] |
||
19 | #if |
||
20 | 2 | yangdefeng | *{color:green}checkMonMap* [[脚本变量|<$map>]] 100 |
21 | #act |
||
22 | [[sendMsg]] 6 【[[脚本变量|<$mapName>]]】怪物数量大于等于100 |
||
23 | 1 | machenhe | #elseact |
24 | 2 | yangdefeng | [[sendMsg]] 6 【[[脚本变量|<$mapName>]]】怪物数量小于100 |