ChangeItemUpgradeCount » 历史记录 » 版本 2
yangdefeng, 2022-06-27 17:13
1 | 2 | yangdefeng | h4. _*%{color:green}changeItemUpgradeCount%*_ |
---|---|---|---|
2 | |||
3 | 1 | yangdefeng | 设定指定装备位装备的星星数量 |
4 | 2 | yangdefeng | 单件装备可升星266次 |
5 | 1 | yangdefeng | |
6 | 2 | yangdefeng | 关于星星在装备tips上的显示 |
7 | 当前出现的空星小于10颗,下次升星会出现一颗空星 |
||
8 | 当前出现10颗空星时,下次升星会出现一颗实星加一颗空星 |
||
9 | |||
10 | 1 | yangdefeng | 标签:命令定义|changeItemUpgradeCount |
11 | |||
12 | *格式* |
||
13 | |命令名 |参数1 |参数2 |参数3 | |
||
14 | |changeItemUpgradeCount |装备位id |操作符 |操作值 | |
||
15 | |||
16 | *说明* |
||
17 | * 参数1: 装备位id |
||
18 | ** 0-16 指定id装备位中的道具 |
||
19 | 参见 *[[装备位置|装备位id说明]]* |
||
20 | ** -1 |
||
21 | 当前打开的自定义道具栏中的道具 |
||
22 | 当前拾取道具 |
||
23 | |||
24 | * 参数2: 操作符(+ - =) |
||
25 | |||
26 | * 参数3: 操作值(整数) |
||
27 | |||
28 | - |
||
29 | - |
||
30 | |||
31 | 2 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
32 | 1 | yangdefeng | |
33 | bq. [<notextile>@</notextile>main] |
||
34 | #say |
||
35 | 2 | yangdefeng | <衣服加星/<notextile>@</notextile>衣服星数(1)>\ \ |
36 | <衣服减星/<notextile>@</notextile>衣服星数(2)>\ \ |
||
37 | <取衣服星数/<notextile>@</notextile>衣服星数(3)>\ \ |
||
38 | 1 | yangdefeng | |
39 | 2 | yangdefeng | <查看衣服tips/<notextile>@</notextile>查看>\ \ |
40 | 1 | yangdefeng | |
41 | [<notextile>@</notextile>衣服星数] |
||
42 | #if |
||
43 | [[equal]] [[装备位置|<$dress>]] |
||
44 | #act |
||
45 | [[sendMsg]] 6 未穿戴衣服,穿上再试试 |
||
46 | break |
||
47 | |
||
48 | #if |
||
49 | equal <$scriptParam1> 1 |
||
50 | #act |
||
51 | *%{color:green}changeItemUpgradeCount%* 0 = 1 |
||
52 | sendMsg 6 衣服星数设定为--1 |
||
53 | |
||
54 | #if |
||
55 | equal <$scriptParam1> 2 |
||
56 | #act |
||
57 | changeItemUpgradeCount 0 = 0 |
||
58 | sendMsg 6 衣服星数设定为--0 |
||
59 | |
||
60 | #if |
||
61 | equal <$scriptParam1> 3 |
||
62 | #act |
||
63 | [[getItemStarNum]] 0 s0 |
||
64 | sendMsg 6 取回衣服星数为--<$str(s0)> |
||
65 | |
||
66 | [<notextile>@</notextile>查看] |
||
67 | #act |
||
68 | openSysUi 1 0 |