<$dropItemName> » 历史记录 » 版本 1
yangdefeng, 2022-06-16 15:07
| 1 | 1 | yangdefeng | h3. <$dropItemName> |
|---|---|---|---|
| 2 | |||
| 3 | 杀死怪物时,触发QF脚本,检测人物数据后,决定是否爆出物品. |
||
| 4 | |||
| 5 | *1 怪物掉落配置触发器名称* |
||
| 6 | |||
| 7 | 举例 |
||
| 8 | ..\Mir200\Envir\MonItems\黑野猪教主.txt |
||
| 9 | 文件内容: |
||
| 10 | |||
| 11 | bq. 1/2 比奇传送石 |
||
| 12 | 1/100 屠龙|<notextile>@</notextile>稀有装备检测 |
||
| 13 | 1/100 嗜魂法杖|<notextile>@</notextile>稀有装备检测 |
||
| 14 | 1/100 命运之刃|<notextile>@</notextile>稀有装备检测 |
||
| 15 | #CHILD 1/1 RANDOM |
||
| 16 | ( |
||
| 17 | 1/1 天尊头盔|@稀有装备检测 |
||
| 18 | 1/1 天尊项链 |
||
| 19 | 1/1 天尊手镯 |
||
| 20 | 1/1 天尊戒指 |
||
| 21 | ) |
||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | *2 QFunction-0.txt配置对应触发器* |
||
| 26 | |||
| 27 | 举例 |
||
| 28 | |||
| 29 | bq. [<notextile>@</notextile>稀有装备检测] |
||
| 30 | #or |
||
| 31 | equal <$dropItemName> 屠龙 |
||
| 32 | equal <$dropItemName> 嗜魂法杖 |
||
| 33 | equal <$dropItemName> 命运之刃 |
||
| 34 | equal <$dropItemName> 天尊头盔 |
||
| 35 | #act |
||
| 36 | goto <notextile>@</notextile>允许掉落检测 |
||
| 37 | %{color:lightGrey};% |
||
| 38 | [@允许掉落检测] |
||
| 39 | #if |
||
| 40 | small <$allRecharge> 10000 |
||
| 41 | #act |
||
| 42 | %{color:lightGrey};充值小于1W,设置不允许爆出物品% |
||
| 43 | espAllowDrop 0 |
||
| 44 | #elseAct |
||
| 45 | %{color:lightGrey};充值大于1W,设置允许爆出物品% |
||
| 46 | espAllowDrop 1 |