cyzhao 6 місяців тому
батько
коміт
97570dbe98

+ 1 - 1
Gameserver/App/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-28 09:12:24
+ // 日期: 2024-11-28 11:34:36
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/App/model/Const/sm_activeTask.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-28 09:05:31
+ // 日期: 2024-11-28 10:47:12
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activeTask_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-28 09:05:31
+ // 日期: 2024-11-28 10:47:12
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_evolve.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-09 15:05:52
+ // 日期: 2024-11-28 10:05:54
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-26 14:56:34
+ // 日期: 2024-11-28 09:32:10
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gate_unlock.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-26 14:56:34
+ // 日期: 2024-11-28 09:32:10
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_plots.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-10 15:05:50
+ // 日期: 2024-11-28 11:13:24
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_predicate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-25 15:34:48
+ // 日期: 2024-11-28 10:30:42
 ////////////////////
 
 

+ 3 - 3
Gameserver/App/process/ShopProc.php

@@ -293,13 +293,13 @@ class ShopProc {
             }
         }
 
-        if ($mo->type == 1) {
+        if ($mo->type == 3) {
             if ($buyNum == 0) {
                 $buyNum = 1;
                 my_Assert(now() - ctx()->privateState->lastFreeGetTs_ShopBoxCommon_equip >= $mo->freeDownTs * 24 * 60 * 60, ErrCode::user_shop_FreeNumLimit);
                 ctx()->privateState->lastFreeGetTs_ShopBoxCommon_equip = now();
             }
-        } else if ($mo->type == 2) {
+        } else if ($mo->type == 4) {
             if ($buyNum == 0) {
                 $buyNum = 1;
                 my_Assert(now() - ctx()->privateState->lastFreeGetTs_ShopBoxBright_equip >= $mo->freeDownTs * 24 * 60 * 60, ErrCode::user_shop_FreeNumLimit);
@@ -329,7 +329,7 @@ class ShopProc {
         for ($i = 0; $i < $buyNum; $i++) {
             mt_srand((double) microtime() * 1000000);
             $buyCount = 0;
-            if ($mo->type == 1) {
+            if ($mo->type == 3) {
                 ctx()->privateState->buyNum_ShopBoxCommon_equip += 1;
                 $buyCount = ctx()->privateState->buyNum_ShopBoxCommon_equip;
             } else {