Procházet zdrojové kódy

宝石加gem限制

cyzhao před 10 měsíci
rodič
revize
518c23ebca

+ 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-07-25 17:31:33
+ // 日期: 2024-07-30 17:48:35
 ////////////////////
 
 /**

+ 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-07-03 16:37:44
+ // 日期: 2024-07-25 15:05:48
 ////////////////////
 
 

+ 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-07-03 16:37:44
+ // 日期: 2024-07-25 15:05:48
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-06-07 18:24:30
+ // 日期: 2024-07-25 16:35:48
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 14:49:00
+ // 日期: 2024-07-25 15:36:41
 ////////////////////
 
 
@@ -155,16 +155,6 @@ class sm_gate
     */
     public $sweepNum;
 
-    /**
-    * @var String 【废弃2024.7.23】挑战模式里奖励的描述信息  
-    */
-    public $layerPriceDesc;
-
-    /**
-    * @var String 【废弃2024.7.23】挑战模式里说明描述信息  
-    */
-    public $layerRuleDesc;
-
     /**
     * @var String 主线挑战: 难度1-词条列表(逗号分隔)  
     */

+ 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-07-24 14:49:00
+ // 日期: 2024-07-25 15:36:41
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 09:35:47
+ // 日期: 2024-07-25 14:35:48
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 09:35:47
+ // 日期: 2024-07-25 14:35:48
 ////////////////////
 
 

+ 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 
- // 日期: 2024-07-24 15:04:18
+ // 日期: 2024-07-25 09:25:44
 ////////////////////
 
 

+ 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-07-24 15:28:42
+ // 日期: 2024-07-25 15:35:14
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 14:05:47
+ // 日期: 2024-07-25 15:05:48
 ////////////////////
 
 

+ 6 - 1
Gameserver/App/model/Const/sm_waveItem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 17:05:48
+ // 日期: 2024-07-25 17:05:48
 ////////////////////
 
 
@@ -99,5 +99,10 @@ class sm_waveItem
     */
     public $warning;
 
+    /**
+    * @var Single 刷怪位置偏移,默认值为3.0 default(3) 
+    */
+    public $bornOffset;
+
 }
 

+ 6 - 1
Gameserver/App/model/Const/sm_waves.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-24 17:05:48
+ // 日期: 2024-07-25 17:05:48
 ////////////////////
 
 
@@ -99,5 +99,10 @@ class sm_waves
     */
     public $warning;
 
+    /**
+    * @var Single 刷怪位置偏移,默认值为3.0 default(3) 
+    */
+    public $bornOffset;
+
 }
 

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

@@ -86,7 +86,7 @@ class StoreProc {
         foreach ($dic as $id => $pMo) {
             if ($pMo->positions != null && $pMo->qual != null) {
                 $list = explode(',', $pMo->positions);
-                if ($pMo->id != $gem->predicateId && $pMo->qual == $gem->mo()->qual && in_array($gem->mo()->position, $list)) {
+                if ($pMo->id != $gem->predicateId && $pMo->qual == $gem->mo()->qual && in_array($gem->mo()->position, $list) && $pMo->attachTarget == "gem") {
                     $pList[] = $pMo->id;
                 }
             }