|
@@ -70,8 +70,12 @@ class FightProc {
|
|
|
$costTili = glc()->sweep_cost_tili;
|
|
|
$curTili = ctx()->baseInfo->CurTili();
|
|
|
my_Assert($curTili >= $costTili, ErrCode::notenough_tili);
|
|
|
- $max = glc()->sweepMaxNum;
|
|
|
- my_Assert(ctx()->gates->fightSweepNum < $max, ErrCode::gate_SweepMaxNum_limit);
|
|
|
+
|
|
|
+ if(ctx()->privateState->honourCardShop_ts == 0){
|
|
|
+ $max = glc()->sweepMaxNum;
|
|
|
+ my_Assert(ctx()->gates->fightSweepNum < $max, ErrCode::gate_SweepMaxNum_limit);
|
|
|
+ }
|
|
|
+
|
|
|
ctx()->gates->fightSweepNum += 1;
|
|
|
ctx()->baseInfo->Consume_tili($costTili);
|
|
|
$prizeArr = array();
|