Browse Source

活动类型修改

cyzhao 11 giờ trước cách đây
mục cha
commit
f03e094188

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-06-20 09:21:28
+ // 日期: 2025-06-24 09:22:58
 ////////////////////
 
 /**

+ 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 
- // 日期: 2025-06-20 09:06:24
+ // 日期: 2025-06-23 10:06:30
 ////////////////////
 
 

+ 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 
- // 日期: 2025-06-20 09:06:24
+ // 日期: 2025-06-23 10:06:30
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-06-20 09:22:06
+ // 日期: 2025-06-24 09:26:01
 ////////////////////
 
 

+ 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 
- // 日期: 2025-06-20 09:11:38
+ // 日期: 2025-06-23 09:41:07
 ////////////////////
 
 

+ 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 
- // 日期: 2025-06-20 09:11:38
+ // 日期: 2025-06-23 09:41:07
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-06-11 15:14:34
+ // 日期: 2025-06-23 14:39:03
 ////////////////////
 
 

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

@@ -44,7 +44,7 @@ class sm_pet_egg
     public $perItemId;
 
     /**
-    * @var String 概率信息:稀有度,品阶,宠物类型,概率;  
+    * @var String 概率信息:稀有度,品阶,宠物类型,权重(总相加为分母);  
     */
     public $per;
 

+ 3 - 0
Gameserver/App/model/User/Enum_ActiveTaskType.php

@@ -7,6 +7,9 @@ namespace loyalsoft;
  */
 
 class Enum_ActiveTaskType extends Enum {
+    /**
+     * 7日狂欢
+     */
     const Day7 = 1;      
     const DailyTask = 2;          
     const WeekTask = 3;

+ 0 - 19
Gameserver/App/model/User/Enum_TaskCardStateType.php

@@ -34,22 +34,3 @@ class Enum_TaskCardStateType {
     const drawed = 4;
 
 }
-
-class Enum_TaskType {
-
-    /**
-     * 
-     */
-    const Day7_Sign = 1;
-    
-    /**
-     * 日常任务
-     */
-    const DailyTask = 2;
-
-    /**
-     * 周常任务
-     */
-    const WeekTask = 3;
-
-}

+ 1 - 1
Gameserver/App/process/ActiveProc.php

@@ -964,7 +964,7 @@ class ActiveProc {
     }
 
     /**
-     * 6119
+     * 6119 7日签到 宝箱一键领取
      * @return type
      */
     public static function Day7_AccumulateDrawreward_All() {

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

@@ -1026,9 +1026,9 @@ class StoreProc {
             case 2://替换
                 //满不满都高替低品阶  
                 my_Assert(StlUtil::dictHasProperty($gemSetSlotDic, $replaceUId), ErrCode::user_store_NoExistGemReplace);
-                $gUid = $gemSetSlotDic->$replaceUId;
-                $replace_ins_Gem = new Ins_Gem(ctx()->store->gemStore->$gUid); //这个$replaceUId是坑位的index id
-                my_Assert($replace_ins_Gem->mo()->qual < $ins_gem->mo()->qual, ErrCode::user_store_NoExistGemReplace);
+                //$gUid = $gemSetSlotDic->$replaceUId;
+                //$replace_ins_Gem = new Ins_Gem(ctx()->store->gemStore->$gUid); //这个$replaceUId是坑位的index id
+                //my_Assert($replace_ins_Gem->mo()->qual < $ins_gem->mo()->qual, ErrCode::user_store_NoExistGemReplace);
                 //$gemSetSlotDic->$replaceUId = $ins_gem;
                 $gemSetSlotDic->$replaceUId = $uid;
                 break;