|
@@ -180,6 +180,12 @@ namespace GFGGame
|
|
int day = (int)obj.data;
|
|
int day = (int)obj.data;
|
|
bool result = false;
|
|
bool result = false;
|
|
if (day > _day) return;
|
|
if (day > _day) return;
|
|
|
|
+ bool isGot = MathHelper.isBitSet(GameGlobal.myNumericComponent.GetAsInt(NumericType.SignDay), day);
|
|
|
|
+ if (isGot)
|
|
|
|
+ {
|
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("已领取");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if (day < _day)
|
|
if (day < _day)
|
|
{
|
|
{
|
|
int[] cost = GlobalCfgArray.globalCfg.dailySignConsumeArr[0];
|
|
int[] cost = GlobalCfgArray.globalCfg.dailySignConsumeArr[0];
|