|
@@ -202,16 +202,16 @@ namespace GFGGame
|
|
|
isGet = GameGlobal.myNumericComponent.GetAsInt(NumericType.LeagueWelfareDay) == 1;
|
|
|
break;
|
|
|
case LeagueWelfareType.Week:
|
|
|
- isBuy = GetNumeriValue(LeagueNumericType.LeagueWelfareWeek) == 1;
|
|
|
+ isBuy = GetNumeriValue(LeagueNumericType.LeagueWelfareWeekLeftTimes) > 0;
|
|
|
isGet = GameGlobal.myNumericComponent.GetAsInt(NumericType.LeagueWelfareWeek) == 1;
|
|
|
break;
|
|
|
case LeagueWelfareType.SuperWeek:
|
|
|
isBuy = GetNumeriValue(LeagueNumericType.LeagueWelfareSuperWeek) == 1;
|
|
|
- isGet = GameGlobal.myNumericComponent.GetAsInt(NumericType.LeagueWelfareSuperWeek) == 1;
|
|
|
+ isGet = GameGlobal.myNumericComponent.GetAsInt(NumericType.LeagueWelfareSuperDay) == 1;
|
|
|
break;
|
|
|
case LeagueWelfareType.SuperDay:
|
|
|
- isBuy = GetNumeriValue(LeagueNumericType.LeagueWelfareSuperDay) == 1;
|
|
|
- isGet = GameGlobal.myNumericComponent.GetAsInt(NumericType.LeagueWelfareSuperDay) == 1;
|
|
|
+ isBuy = GetNumeriValue(LeagueNumericType.LeagueWelfareSuperLeftTimes) > 0;
|
|
|
+ isGet = GameGlobal.myNumericComponent.GetAsInt(NumericType.LeagueWelfareSuperWeek) == 1;
|
|
|
break;
|
|
|
}
|
|
|
// ET.Log.Debug("isBuy:" + isBuy);
|