心愿抽奖,消耗物品bug

back_recharge
duhui 2021-05-28 18:02:50 +08:00
parent 0c8b8e5f71
commit f2e84cceac
1 changed files with 1 additions and 1 deletions

View File

@ -1551,7 +1551,7 @@ public class ActivityLogic implements IEventHandler{
// 消费抽取
if (drop == null){
// 十连抽还是单抽消耗物品获取
int[][] item = type == 1?setting.getCostItemMul():setting.getCostItemSingle();
int[][] item = type == 1?setting.getCostItemSingle():setting.getCostItemMul();
// 验证道具消耗
int[][] cost = new int[][]{{item[0][0],item[0][1]}};
boolean itemCost = ItemUtil.itemCost(user, cost, BIReason.CHOICE_DRAW_CARD, 0);