RecalcMonAbility » 历史记录 » 版本 1
tejie, 2024-07-16 09:48
1 | 1 | tejie | h4. _*{color:green}recalcMonAbility*_ |
---|---|---|---|
2 | |||
3 | 刷新[[changeMonAbility]]命令重置过的怪物属性。 |
||
4 | |||
5 | 标签:命令定义|recalcMonAbility>recalcMonAbility |
||
6 | |||
7 | *格式:* |
||
8 | |命令名|参数1|参数2|参数3|参数4|参数5| |
||
9 | |recalcMonAbility|地图编号|怪物名|X坐标|Y坐标|范围| |
||
10 | |||
11 | *说明:* |
||
12 | |参数1|地图编号 |
||
13 | self代表当前地图| |
||
14 | |参数2|怪物名 |
||
15 | *代表任意怪物| |
||
16 | |参数3|X坐标| |
||
17 | |参数4|Y坐标| |
||
18 | |参数5|范围| |
||
19 | |||
20 | |||
21 | - |
||
22 | - |
||
23 | |||
24 | h4. *{color:deepskyblue}特戒引擎脚本示例:* |
||
25 | |||
26 | bq. [@示例] |
||
27 | #if |
||
28 | #act |
||
29 | [[changeMonAbility]] self * 0 = 500 0 <$x> <$y> 10 |
||
30 | [[changeMonAbility]] self * 1 = 10000 0 <$x> <$y> 10 |
||
31 | <notextile></notextile> |
||
32 | [[changeMonAbility]] self * 30 + 20 |
||
33 | [[print]] 设定选中怪物血量上限+10000,20秒 |
||
34 | <notextile></notextile> |
||
35 | *{color:green}recalcMonAbility* self * <$x> <$y> 10 |
||
36 | [[print]] 刷新选中怪物血量上限+10000,20秒 |