SetRecMoneyRate » 历史记录 » 版本 1
machenhe, 2022-05-10 17:48
1 | 1 | machenhe | _*%{color:green}setRecMoneyRate%*_ |
---|---|---|---|
2 | |||
3 | 装备回收针对不同货币类型,设置回收时获得货币的倍率 |
||
4 | |||
5 | 回收物品和单价根据GM编辑工具配置的recycleitem.txt执行 |
||
6 | |||
7 | 标签:命令定义|setRecMoneyRate |
||
8 | |||
9 | *格式* |
||
10 | |命令名 |参数1 |参数2 | |
||
11 | |setRecMoneyRate |货币类型id |回收获得倍率 | |
||
12 | |||
13 | 说明: |
||
14 | * 参数1 |
||
15 | 货币类型id |
||
16 | |货币 |id | |
||
17 | |$GAMEGLORY |12 | |
||
18 | |$GAMEPOINT |2 | |
||
19 | |$GAMEGOLD |0 | |
||
20 | |$GAMEGIRD |104 | |
||
21 | |$CREDITPOINT |7 | |
||
22 | |$GAMEDIAMOND |3 | |
||
23 | |$GOLDCOUNT |1 | |
||
24 | |$B_GAMEGLORY |13 | |
||
25 | |$B_GAMEPOINT |16 | |
||
26 | |$B_GAMEGOLD |17 | |
||
27 | |$B_GAMEGOLD |18 | |
||
28 | |$B_CREDITPOINT |19 | |
||
29 | |$B_GAMEDIAMOND |14 | |
||
30 | |$B_GOLDCOUNT |15 | |
||
31 | |||
32 | * 参数2 |
||
33 | 回收货币倍率 |
||
34 | |||
35 | *%{color:deepskyblue}脚本示例:%* |
||
36 | |||
37 | bq. [<notextile>@</notextile>GameGold回收倍率] |
||
38 | #ACT |
||
39 | setRecMoneyRate 0 0.8 |
||
40 | sendMsg 6 GameGold回收倍率0.8倍 |
||
41 | |||
42 | bq. [<notextile>@</notextile>GamePoint回收倍率] |
||
43 | #ACT |
||
44 | setRecMoneyRate 2 0.5 |
||
45 | sendMsg 6 GamePoint回收倍率0.5倍 |
||
46 | |||
47 | bq. [<notextile>@</notextile>GameGird回收倍率] |
||
48 | #ACT |
||
49 | setRecMoneyRate 104 2 |
||
50 | sendMsg 6 GameGird回收倍率2倍 |
||
51 | |||
52 | recycleItem.txt中设置的回收道具及单价: |
||
53 | 回收测试1 芙蓉石 1 0 2000 0 |
||
54 | 回收测试1 百病消 1 2 100 0 |
||
55 | 回收测试1 麻布 1 104 500 0 |
||
56 | |||
57 | 回收结果: |
||
58 | 百病消:回收单价100 GamePoint,倍率0.5,回收数量10,获得500 |
||
59 | |||
60 | 芙蓉石:单价2000 GameGold,倍率0.8,回收数量5,获得8000 |
||
61 | |||
62 | 麻布:单价500 GameGird,倍率2,回收数量100,获得100000 |