|
@@ -501,7 +501,7 @@ class ActiveProc {
|
|
|
switch ($subFunType) {
|
|
|
case Enum_SubFunType::ActivePoint_BattlePass:
|
|
|
$point =ctx()->privateState->battlePass_taskPoint;
|
|
|
- my_Assert($point > $typeId, ErrCode::active_pointNotEnough);
|
|
|
+ my_Assert($point >= $typeId, ErrCode::active_pointNotEnough);
|
|
|
|
|
|
if(ctx()->privateState->battlePass_activePoint_cost_ts > 0 && now() < ctx()->privateState->battlePass_activePoint_cost_ts + 30*24*60*60){
|
|
|
$isHasBuy_high = true;
|
|
@@ -509,7 +509,7 @@ class ActiveProc {
|
|
|
|
|
|
break;
|
|
|
case Enum_SubFunType::Tili_BattleBass:
|
|
|
- my_Assert(ctx()->privateData()->battlePass_tili > $typeId, ErrCode::active_costTiliNotEnough);
|
|
|
+ my_Assert(ctx()->privateData()->battlePass_tili >= $typeId, ErrCode::active_costTiliNotEnough);
|
|
|
if(ctx()->privateState->battlePass_tili_cost_ts > 0 && now() < ctx()->privateState->battlePass_tili_cost_ts + 30*24*60*60){
|
|
|
$isHasBuy_high = true;
|
|
|
}
|