Sfoglia il codice sorgente

fixed: 新手引导结束时,将特殊言灵替换为普通言灵的操作,清除掉.

gwang 4 anni fa
parent
commit
2d4d9b7e16

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-11-19 21:52:30
+ // 日期: 2020-11-20 12:01:37
 ////////////////////
 
 /**

+ 7 - 7
Gameserver/Amfphp/process/UserProc.php

@@ -172,13 +172,13 @@ class UserProc {
         }
         my_Assert($guideIndex >= $NewbieGuide->guideStep, ErrCode::user_settutorialscompletedfail_err);
         if ($guideIndex == 1) {
-            $huid = 10001;                                                      # 初始英雄
-            $pos = 1;
-            $newYanlingTypeId = 4020001;                                        # 普通上官雀
-
-            $hero = $user->heros->collectHeros->$huid;
-            $oldYanlingUId = $hero->yanling->$pos->itemuid;
-            $user->store->yanling->$oldYanlingUId->typeId = $newYanlingTypeId;  # 直接修改类型变为普通言灵
+//            $huid = 10001;                                                      # 初始英雄
+//            $pos = 1;
+//            $newYanlingTypeId = 4020001;                                        # 普通上官雀
+//
+//            $hero = $user->heros->collectHeros->$huid;
+//            $oldYanlingUId = $hero->yanling->$pos->itemuid;
+//            $user->store->yanling->$oldYanlingUId->typeId = $newYanlingTypeId;  # 直接修改类型变为普通言灵
 //              $info= json_decode( '{"1":4011101,"2":4011201,"3":4011301}');
         }
         $NewbieGuide->guideStep = $guideIndex;