ClearLinkItem » 历史记录 » 版本 1
tejie, 2024-07-03 15:34
| 1 | 1 | tejie | h4. _*{color:green}clearLinkItem*_ |
|---|---|---|---|
| 2 | |||
| 3 | 清空指定的操作道具 |
||
| 4 | |||
| 5 | 标签:命令定义|clearLinkItem>clearLinkItem |
||
| 6 | |||
| 7 | 相关命令 |
||
| 8 | |[[linkBagItem]]|背包操作道具指定| |
||
| 9 | |[[linkPickUpItem]]|拾取操作道具指定| |
||
| 10 | |[[linkGiveItem]]|给予操作道具指定| |
||
| 11 | |||
| 12 | *格式:* |
||
| 13 | |命令名| |
||
| 14 | |clearLinkItem| |
||
| 15 | |||
| 16 | - |
||
| 17 | - |
||
| 18 | |||
| 19 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 20 | |||
| 21 | bq. *qf触发器* |
||
| 22 | 被使用道具的stdMode值=31 |
||
| 23 | 被使用道具的Anicount=9527 |
||
| 24 | 被使用道具的shape=51 |
||
| 25 | 被使用道具为可堆叠,且背包中有多个。 |
||
| 26 | <notextile></notextile> |
||
| 27 | [@stdModeFunc9527] |
||
| 28 | #if |
||
| 29 | %{color:lightGrey};50%几率删除1个使用的道具% |
||
| 30 | [[random]] 2 |
||
| 31 | #act |
||
| 32 | [[linkBagItem]] <$useItemMakeIndex> |
||
| 33 | [[delLinkItem]] 1 |
||
| 34 | *{color:green}clearLinkItem* |
||
| 35 | [[print]] 本次删除当前使用物品<$useItemName>1个 |
||
| 36 | #elseAct |
||
| 37 | [[print]] 本次不删除当前使用物品<$useItemName> |