|
@@ -2209,16 +2209,16 @@ func (this *RoleActivity) SuperChargeUnlockCheck(unlockType serverproto.UnlockCh
|
|
|
case serverproto.UnlockChargeType_UChargeType_PetShopCost: //宠物商店 分解石消耗数量
|
|
case serverproto.UnlockChargeType_UChargeType_PetShopCost: //宠物商店 分解石消耗数量
|
|
|
curVal = oldValue
|
|
curVal = oldValue
|
|
|
case serverproto.UnlockChargeType_UChargeType_DailyGift: //每日礼包弹窗
|
|
case serverproto.UnlockChargeType_UChargeType_DailyGift: //每日礼包弹窗
|
|
|
- util.ErrorF("uid=%v dailyGift id=%v", this.role.GetUUid(), cfgData.Id)
|
|
|
|
|
|
|
+ util.ErrorF("uid=%v dailyGift id=%v val:%v level:%v", this.role.GetUUid(), cfgData.Id, val, this.role.GetRoleLevel())
|
|
|
if this.role.GetRoleLevel() >= val {
|
|
if this.role.GetRoleLevel() >= val {
|
|
|
//是否需要根据累计充值来触发
|
|
//是否需要根据累计充值来触发
|
|
|
- if cfgData.Recharge > 0 {
|
|
|
|
|
- rechargeTap := this.role.GetTotalRechargeTap()
|
|
|
|
|
- if rechargeTap <= 0 || rechargeTap != cfgData.Recharge {
|
|
|
|
|
- continue
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ //if cfgData.Recharge > 0 {
|
|
|
|
|
+ // rechargeTap := this.role.GetTotalRechargeTap()
|
|
|
|
|
+ // if rechargeTap <= 0 || rechargeTap != cfgData.Recharge {
|
|
|
|
|
+ // continue
|
|
|
|
|
+ // }
|
|
|
|
|
+ //}
|
|
|
|
|
+ //util.ErrorF("uid=%v dailyGift id=%v", this.role.GetUUid(), cfgData.Id)
|
|
|
//解锁特定超值礼包
|
|
//解锁特定超值礼包
|
|
|
unlockData := &serverproto.ActivitiesUnlockRechargeData{
|
|
unlockData := &serverproto.ActivitiesUnlockRechargeData{
|
|
|
ActivitiesId: cfgData.Id,
|
|
ActivitiesId: cfgData.Id,
|