GiveInsItem » 历史记录 » 版本 1
yangdefeng, 2022-05-10 16:52
1 | 1 | yangdefeng | _*%{color:green}giveInsItem%*_ |
---|---|---|---|
2 | |||
3 | 返回指定唯一id装备到背包 |
||
4 | |||
5 | 标签:命令定义|giveInsItem |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 | |
||
9 | |giveInsItem |装备唯一id | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1: 装备唯一id |
||
13 | |||
14 | * 此命令使用前提 |
||
15 | 开启以下配置, |
||
16 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
17 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
18 | |配置项 |canCtrlDrop=1 | |
||
19 | |\2.在以下触发器中可获得doDrop的3个参数 | |
||
20 | |\2. [[[@scatterBagItems<notextile>]</notextile>|[@scatterBagItems<notextile>]</notextile>]]| |
||
21 | |\2. [[[@scatterBagItems<notextile>]</notextile>|[@scatterBagItems<notextile>]</notextile>]]| |
||
22 | |||
23 | |||
24 | - |
||
25 | - |
||
26 | |||
27 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
28 | |||
29 | *使用前提* |
||
30 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
31 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
32 | |配置项 |canCtrlDrop=1 | |
||
33 | |||
34 | - |
||
35 | - |
||
36 | |||
37 | |||
38 | %{color:deepPink}以下为QFunction-0.txt中的触发块% |
||
39 | 文件路径 |
||
40 | ..\Mir200\Envir\Market_Def\QFunction-0.txt |
||
41 | |||
42 | bq. %{color:lightGrey};--脚本控制身上物品掉落% |
||
43 | [@dropUseItems] |
||
44 | #if |
||
45 | %{color:lightGrey};--配置掉落再返回的条件% |
||
46 | #act |
||
47 | %{color:lightGrey};--此处为掉落再返回的逻辑% |
||
48 | goto <notextile>@返回道具</notextile> |
||
49 | #elseAct |
||
50 | ;--执行掉落处理 |
||
51 | [[doDrop]] s0 s1 s2 |
||
52 | |
||
53 | [<notextile>@返回道具</notextile>] |
||
54 | #if |
||
55 | %{color:lightGrey};--背包没满% |
||
56 | #act |
||
57 | *{color:green}giveInsItem* s1 |
||
58 | #elseAct |
||
59 | [[sendEmails]] 保险掉落返还 保险掉落返还 s1, |