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