Browse Source

学院bug

cyzhao 4 years ago
parent
commit
e3997dcb21

+ 1 - 1
Gameserver/Amfphp/configs/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-03 16:50:22
+ // 日期: 2021-06-04 11:22:29
 ////////////////////
 namespace loyalsoft;
 /**

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-03 16:50:22
+ // 日期: 2021-06-04 11:22:29
 ////////////////////
 
 /**

+ 41 - 1
Gameserver/Amfphp/model/Const/sm_weaponextra_level.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-03 16:49:34
+ // 日期: 2021-06-04 11:12:13
 ////////////////////
 
 
@@ -68,41 +68,81 @@ class sm_weaponextra_level
     */
     public $hp;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $hpRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $nengliangzhi;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $nengliangzhiRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $wuligongji;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $wuligongjiRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $fangyuhujia;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $fangyuhujiaRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $fashuqiangdu;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $fashuqiangduRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $mofakangxing;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $mofakangxingRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $gongjisudu;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $gongjisuduRate;
+
     /**
     * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
     */
     public $baoji;
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $baojiRate;
+
     /**
     * @var String 用途未知!!请到数据库中添加字段注释。  
     */

+ 1 - 1
Gameserver/Amfphp/process/CollegeProc.php

@@ -89,7 +89,7 @@ class CollegeProc {
         $collegeInfo = $req->userInfo->game->college;
         $dic = GameConfig::college_getItem($collegeInfo->collegeId);
         $tag = true;
-        $cList = explode(',', $newCollegeDic->cList);
+        $cList = explode(',', $dic->cList);
         foreach ($cList as $cId) {
             if (!in_array($cId, $collegeInfo->comCourseList)) {
                 $tag = false;

+ 2 - 1
Gameserver/Amfphp/process/StoreProc.php

@@ -534,7 +534,8 @@ class StoreProc {
             req()->userInfo->game->privateState->currentId = 1;
         }
         $cid = req()->userInfo->game->privateState->currentId++;
-        $equip = ObjectInit();
+        //$equip = ObjectInit();
+        $equip = new Ins_Weapon();       
         $equip->typeId = $itemId;
         req()->userInfo->game->store->equipment->$cid = $equip;
         return $cid;