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