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