|
@@ -172,13 +172,14 @@ namespace GameLogic.Player
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ int index = 0;
|
|
|
|
|
|
for (int i = 0; i < count; i++)
|
|
|
{
|
|
|
isBoadi2 = false;
|
|
|
|
|
|
//十连保底1 每10次十连必出这个池子
|
|
|
- if (summonData.baodiCount1 >= 10)
|
|
|
+ if (summonData.baodiCount1 >= 9)
|
|
|
{
|
|
|
List<ItemInfo> addItem = DropManager.Instance.DropItem(openBoxConfig.reward1);
|
|
|
PlayerManager.Instance.BagController.AddItem(addItem);
|
|
@@ -218,10 +219,11 @@ namespace GameLogic.Player
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- addItem2 = DropManager.Instance.DropItem(openBoxConfig.reward[i]);
|
|
|
+ addItem2 = DropManager.Instance.DropItem(openBoxConfig.reward[index]);
|
|
|
PlayerManager.Instance.BagController.AddItem(addItem2);
|
|
|
allIitem.AddRange(addItem2);
|
|
|
summonData.baodiCount1++;
|
|
|
+ index++;
|
|
|
}
|
|
|
|
|
|
|