瀏覽代碼

去掉英雄的初始言灵

gwang 4 年之前
父節點
當前提交
aec17d9f0c

+ 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-10-22 15:53:31
+ // 日期: 2020-10-23 09:31:55
 ////////////////////
 
 /**

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-10-21 18:29:19
+ // 日期: 2020-10-23 09:04:33
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-10-22 15:06:44
+ // 日期: 2020-10-22 20:49:50
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-10-22 11:04:43
+ // 日期: 2020-10-22 19:50:41
 ////////////////////
 
 

+ 6 - 1
Gameserver/Amfphp/model/Const/sm_item_base.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-10-22 15:21:27
+ // 日期: 2020-10-23 09:21:55
 ////////////////////
 
 
@@ -39,6 +39,11 @@ class sm_item_base
     */
     public $res;
 
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $pfbRes;
+
     /**
     * @var String 物品描述 default(物品描述) 
     */

+ 8 - 8
Gameserver/Amfphp/model/User/UserGameHeroModel.php

@@ -58,17 +58,17 @@ class UserGameHeroModel extends Object_ext {
         $hids = GameConfig::primordial_data()->User_Heros;                      # 设置初始英雄
         my_Assert(null != $hids, ErrCode::err_const_no);
         foreach ($hids as $heroModelId_yanlingid) {
-            list( $heroModelId, $yanlingId) = explode('_', $heroModelId_yanlingid);
+            list($heroModelId, $yanlingId) = explode('_', $heroModelId_yanlingid);
             $uid = HeroProc::CreateNewGameHeroUID($this->collectHeros, $this->recordMaxUID);
             $this->recordMaxUID = $uid;
             $hero = HeroProc::getGameHeroModelInstance($heroModelId, $uid);
-            // 初始化言灵
-            $yanlingMo = GameConfig::item_yanling_getItem($yanlingId);
-            my_Assert(null != $yanlingMo, ErrCode::err_const_no);
-            $yl_uid = StoreProc::PutYanLingInStore($yanlingMo->typeId, req());
-            req()->userInfo->game->store->yanling->$yl_uid->herouid = $uid;
-            $position = $yanlingMo->position;
-            $hero->yanling->$position = array("itemuid" => $yl_uid);            # 装备位置
+//            // 初始化言灵
+//            $yanlingMo = GameConfig::item_yanling_getItem($yanlingId);
+//            my_Assert(null != $yanlingMo, ErrCode::err_const_no);
+//            $yl_uid = StoreProc::PutYanLingInStore($yanlingMo->typeId, req());
+//            req()->userInfo->game->store->yanling->$yl_uid->herouid = $uid;
+//            $position = $yanlingMo->position;
+//            $hero->yanling->$position = array("itemuid" => $yl_uid);            # 装备位置
 
             $this->collectHeros->$uid = $hero;
             $this->displayHeroUID = $uid;

+ 7 - 4
Gameserver/nbproject/private/private.xml

@@ -12,17 +12,20 @@
     </editor-bookmarks>
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
         <group>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/util/HttpUtil.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/StoreModel.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/config.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/service_call/pay/official/config.official.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/index.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/base/ErrCode.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/StoreProc.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/base/OpeCode.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/ShopProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/StoreProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/globals.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/TaskProc.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/UserGameModel.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/UserProc.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/UserGameHeroModel.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/util/HttpUtil.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/ShopProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/service_call/pay/official/login.php</file>
         </group>
     </open-files>
 </project-private>