فهرست منبع

Merge branch 'dev' of http://ylsjtt.game7000.com:3000/YLSJ/jzhj2024server into dev

王刚 11 ماه پیش
والد
کامیت
4ef794452c
1فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 6 2
      Gameserver/App/process/FightProc.php

+ 6 - 2
Gameserver/App/process/FightProc.php

@@ -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();