|
@@ -177,7 +177,7 @@ namespace GFGGame
|
|
|
int lockValue = shopCfg.lockValue;
|
|
|
if (shopCfg.menu1 == ConstStoreTabId.STORE_ARENA && shopCfg.menu2 != ConstStoreSubId.STORE_ARENA_ITEM)
|
|
|
{
|
|
|
- bool isDown = ArenaDataManager.Instance.SeasonId - GlobalCfgArray.globalCfg.seasonReduce >= 0;
|
|
|
+ bool isDown = ArenaDataManager.Instance.SeasonId - GlobalCfgArray.globalCfg.seasonReduce > 0;
|
|
|
lockValue = isDown ? Math.Max(1, shopCfg.lockValue - GlobalCfgArray.globalCfg.rankReduce) : shopCfg.lockValue;
|
|
|
}
|
|
|
return ArenaDataManager.Instance.Grade >= lockValue;
|
|
@@ -210,7 +210,7 @@ namespace GFGGame
|
|
|
int lockValue = shopCfg.lockValue;
|
|
|
if (shopCfg.menu1 == ConstStoreTabId.STORE_ARENA && shopCfg.menu2 != ConstStoreSubId.STORE_ARENA_ITEM)
|
|
|
{
|
|
|
- bool isDown = ArenaDataManager.Instance.SeasonId - GlobalCfgArray.globalCfg.seasonReduce >= 0;
|
|
|
+ bool isDown = ArenaDataManager.Instance.SeasonId - GlobalCfgArray.globalCfg.seasonReduce > 0;
|
|
|
lockValue = isDown ? Math.Max(1, shopCfg.lockValue - GlobalCfgArray.globalCfg.rankReduce) : shopCfg.lockValue;
|
|
|
}
|
|
|
ArenaRankCfg arenaRankCfg = ArenaRankCfgArray.Instance.GetCfg(lockValue);
|