GetSkillLv2 » 历史记录 » 版本 1
yangdefeng, 2023-08-17 10:51
1 | 1 | yangdefeng | h4. _*%{color:green}getSkillLv2%*_ |
---|---|---|---|
2 | |||
3 | 获取角色指定技能强化等级 |
||
4 | |||
5 | 标签:命令定义|getSkillLv2>getSkillLv2 |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |getSkillLv2 |技能名称 |返回变量 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1:技能名称 |
||
13 | |||
14 | * 参数2:返回变量 |
||
15 | |||
16 | |||
17 | *%{color:deepskyblue}特戒脚本示例:%* |
||
18 | |||
19 | bq. [<notextile>@</notextile>main] |
||
20 | #say |
||
21 | <看强化等级/<notextile>@</notextile>看强化等级>\ \ \ |
||
22 | <配置技能/<notextile>@</notextile>配置技能>\ \ \ |
||
23 | <配置技能/<notextile>@</notextile>删除技能> |
||
24 | - |
||
25 | - |
||
26 | [<notextile>@</notextile>看强化等级] |
||
27 | #act |
||
28 | *%{color:green}getSkillLv2%* 刺杀剑术 n$技能强化等级 |
||
29 | [[print]] 输出:<$str(n$技能强化等级)> |
||
30 | - |
||
31 | - |
||
32 | [<notextile>@</notextile>配置技能] |
||
33 | #if |
||
34 | #act |
||
35 | [[skillLevel]] 刺杀剑术 = 2 1 |
||
36 | - |
||
37 | - |
||
38 | [<notextile>@</notextile>删除技能] |
||
39 | #if |
||
40 | #act |
||
41 | [[delSkill]] 刺杀剑术 |