LinkPickUpItem » 历史记录 » 版本 1
tejie, 2024-07-03 16:20
1 | 1 | tejie | h4. _*{color:green}linkPickUpItem*_ |
---|---|---|---|
2 | |||
3 | 指定拾取中要操作的道具 |
||
4 | |||
5 | 标签:命令定义|linkPickUpItem>linkPickUpItem |
||
6 | |||
7 | |||
8 | *格式:* |
||
9 | |命令名| |
||
10 | |linkPickUpItem| |
||
11 | |||
12 | |||
13 | - |
||
14 | - |
||
15 | |||
16 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
17 | |||
18 | bq. *qf触发器* |
||
19 | <notextile></notextile> |
||
20 | [@pickUpItem9527] |
||
21 | #if |
||
22 | #act |
||
23 | [[print]] <$pickDropItemName>,<$pickDropItemMakeIndex> |
||
24 | [[getItemFieldValue]] <$pickDropItemName> stdMode N0 |
||
25 | <notextile></notextile> |
||
26 | #if |
||
27 | %{color:lightGrey};--如果拾取的是武器,改变物品名称颜色,星星数+1% |
||
28 | equal N0 5 |
||
29 | #act |
||
30 | *{color:green}linkPickUpItem* |
||
31 | [[print]] 物品<$curItemName>,物品唯一id<$curItemMakeIndex> |
||
32 | [[changeItemNameColor]] -1 222 |
||
33 | [[changeItemUpgradeCount]] -1 + 1 |
||
34 | [[updateItem]] -1 |
||
35 | [[clearLinkItem]] |