好比我想让玩家花费10个钻石和100金币兑换10个绿宝石,如何才能做到...求大佬指教
Austin李 发表于 2022-8-10 22:07
https://www.mcbbs.net/thread-1262198-1-1.html
参考这个帖子的回答
他这是只用物品兑换的,我不仅需要物品,还需要金币
本帖最后由 2454130863 于 2022-8-11 00:04 编辑
建议楼主参考
复制代码
当然这些类型可以被叠加:
- PriceType: AND
- Price:
- PriceType1: ITEM
- Price1: diamond
- PriceType2: OR
- Price2:
- PriceType1: MONEY
- Price1: 1000
- PriceType2: POINTS
- Price2: 50
所以在例子中现在玩家需要支付一个钻石和1000金币或50点数
(看不懂再开这个帖子看详细的)
[WIKI][CY] BossShopPro - 配置-高级选项|Advanced Options
https://www.mcbbs.net/thread-831117-1-1.html
帖子末尾有配置和例子
建议楼主参考
- DifferentPriceTypesOR:
- MenuItem:
- - type:DIAMOND
- - amount:5
- - name:&95钻石
- - 'lore1:&e购买 %reward%,售价 %price%.'
- RewardType: ITEM
- Reward:
- - - type:DIAMOND
- - amount:5
- PriceType: OR
- Price:
- PriceType1: MONEY
- Price1: 50.0
- PriceType2: POINTS
- Price2: 10
- Message: '&e你购买了%reward%! 余额: &c%left%'
- InventoryLocation: 0
当然这些类型可以被叠加:
- PriceType: AND
- Price:
- PriceType1: ITEM
- Price1: diamond
- PriceType2: OR
- Price2:
- PriceType1: MONEY
- Price1: 1000
- PriceType2: POINTS
- Price2: 50
所以在例子中现在玩家需要支付一个钻石和1000金币或50点数
(看不懂再开这个帖子看详细的)
[WIKI][CY] BossShopPro - 配置-高级选项|Advanced Options
https://www.mcbbs.net/thread-831117-1-1.html
帖子末尾有配置和例子