Sfoglia il codice sorgente

宠物类型103->105

cyzhao 1 mese fa
parent
commit
e4a9bb5cd8

+ 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-04-24 16:06:45
+ // 日期: 2025-04-28 16:43:02
 ////////////////////
 
 /**

+ 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-03-25 10:41:30
+ // 日期: 2025-04-28 16:45:49
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-04-24 11:52:05
+ // 日期: 2025-04-24 16:50:36
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-04-24 15:54:44
+ // 日期: 2025-04-28 10:18:16
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-04-24 15:54:44
+ // 日期: 2025-04-28 10:18:16
 ////////////////////
 
 

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

@@ -464,7 +464,7 @@ class PetProc {
         my_Assert(StlUtil::dictHasProperty(ctx()->store->items, $eggId), ErrCode::user_store_NoItem);
         $mo = GameConfig::item_getItem($eggId);
         my_Assert($mo != null, ErrCode::err_const_no);
-        my_Assert($mo->itemType == 103, ErrCode::user_store_NoItem);             
+        my_Assert($mo->itemType == 105, ErrCode::user_store_NoItem);             
         
         $ins_breed = new Ins_BreedEggSlot(ctx()->store()->breedEggLocation->$slotId);       
         my_Assert($ins_breed->eggId == 0 && $ins_breed->unlock == 1, ErrCode::user_store_NoBreedSlot);

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

@@ -1163,7 +1163,7 @@ class StoreProc {
     public static function AddItemInStore() {
         list($rwdStr) = req()->paras; //mask = 1:表示战斗中掉落
         $user = ctx();
-
+            
         $err = self::AddMultiItemInStore($rwdStr);
 
         my_Assert(ErrCode::ok == $err, $err);
@@ -1226,7 +1226,7 @@ class StoreProc {
                 case 602://灵蛇果
                 case 802://灵蛇贺岁券    
                 case 901:
-                case 103://宠物蛋    
+                case 105://宠物蛋    
                     self::PutItemsInStore($itemId, $num);
 //                    if ($itemMo->itemType == 100) {//图纸
 //                        self::checkEquipUpgradeTip();//废弃