瀏覽代碼

配置冲突手动修改

cyzhao 4 年之前
父節點
當前提交
baa1576bdf

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

@@ -3,9 +3,10 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2021-05-26 15:00:33
+ // 日期: 2021-06-01 17:38:58
 ////////////////////
 ////////////////////
 namespace loyalsoft;
 namespace loyalsoft;
+
 /**
 /**
  * 常量配置数据 
  * 常量配置数据 
  */
  */
@@ -118,6 +119,22 @@ class GameConfig {
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
     }
     }
     /**
     /**
+    * 武器等级
+    * @return \weapon_levelexp
+    */
+    public static function weapon_levelexp()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'weapon_levelexp');
+    }
+    /**
+    * @return \sm_weapon_levelexp weapon_levelexp item数据 
+    */
+    public static function weapon_levelexp_getItem($itemid)
+    { 
+        return self::get_hash_item('weapon_levelexp', $itemid);
+    }
+    /**
     * [废弃]
     * [废弃]
     * @return \item
     * @return \item
     */
     */
@@ -150,6 +167,22 @@ class GameConfig {
         return self::get_hash_item('itemlevel', $itemid);
         return self::get_hash_item('itemlevel', $itemid);
     }
     }
     /**
     /**
+    * 武器突破
+    * @return \weaponextra_level
+    */
+    public static function weaponextra_level()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'weaponextra_level');
+    }
+    /**
+    * @return \sm_weaponextra_level weaponextra_level item数据 
+    */
+    public static function weaponextra_level_getItem($itemid)
+    { 
+        return self::get_hash_item('weaponextra_level', $itemid);
+    }
+    /**
     * 英雄的升级——每级成长消耗经验需求表
     * 英雄的升级——每级成长消耗经验需求表
     * @return \hero_levelexp
     * @return \hero_levelexp
     */
     */
@@ -1368,6 +1401,22 @@ class GameConfig {
         return self::get_hash_item('drop', $itemid);
         return self::get_hash_item('drop', $itemid);
     }
     }
     /**
     /**
+    * 
+    * @return \item_stones_type
+    */
+    public static function item_stones_type()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'item_stones_type');
+    }
+    /**
+    * @return \sm_item_stones_type item_stones_type itemArray 
+    */
+    public static function item_stones_type_getItemArray($key)
+    { 
+        return self::get_hash_item('item_stones_type', $key);
+    }
+    /**
     * 当前版本(时间戳)
     * 当前版本(时间戳)
     * @return \ver
     * @return \ver
     */
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2021-05-27 20:51:44
+ // 日期: 2021-06-01 17:38:58
 ////////////////////
 ////////////////////
 
 
 /**
 /**
@@ -118,6 +118,22 @@ class GameConfig {
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
     }
     }
     /**
     /**
+    * 武器等级
+    * @return \weapon_levelexp
+    */
+    public static function weapon_levelexp()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'weapon_levelexp');
+    }
+    /**
+    * @return \sm_weapon_levelexp weapon_levelexp item数据 
+    */
+    public static function weapon_levelexp_getItem($itemid)
+    { 
+        return self::get_hash_item('weapon_levelexp', $itemid);
+    }
+    /**
     * [废弃]
     * [废弃]
     * @return \item
     * @return \item
     */
     */
@@ -150,6 +166,22 @@ class GameConfig {
         return self::get_hash_item('itemlevel', $itemid);
         return self::get_hash_item('itemlevel', $itemid);
     }
     }
     /**
     /**
+    * 武器突破
+    * @return \weaponextra_level
+    */
+    public static function weaponextra_level()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'weaponextra_level');
+    }
+    /**
+    * @return \sm_weaponextra_level weaponextra_level item数据 
+    */
+    public static function weaponextra_level_getItem($itemid)
+    { 
+        return self::get_hash_item('weaponextra_level', $itemid);
+    }
+    /**
     * 英雄的升级——每级成长消耗经验需求表
     * 英雄的升级——每级成长消耗经验需求表
     * @return \hero_levelexp
     * @return \hero_levelexp
     */
     */
@@ -1368,6 +1400,22 @@ class GameConfig {
         return self::get_hash_item('drop', $itemid);
         return self::get_hash_item('drop', $itemid);
     }
     }
     /**
     /**
+    * 
+    * @return \item_stones_type
+    */
+    public static function item_stones_type()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'item_stones_type');
+    }
+    /**
+    * @return \sm_item_stones_type item_stones_type itemArray 
+    */
+    public static function item_stones_type_getItemArray($key)
+    { 
+        return self::get_hash_item('item_stones_type', $key);
+    }
+    /**
     * 当前版本(时间戳)
     * 当前版本(时间戳)
     * @return \ver
     * @return \ver
     */
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2021-05-25 17:27:13
+ // 日期: 2021-06-01 16:11:40
 ////////////////////
 ////////////////////
 
 
 
 
@@ -18,6 +18,11 @@ class sm_item_stones
     */
     */
     public $typeId;
     public $typeId;
 
 
+    /**
+    * @var Int32 类型 default(0) 
+    */
+    public $type;
+
     /**
     /**
     * @var String 元素, 0 代表无属性,  金 1, 木 2, 水 3, 火 4, 土 5. default(0) 
     * @var String 元素, 0 代表无属性,  金 1, 木 2, 水 3, 火 4, 土 5. default(0) 
     */
     */

+ 62 - 0
Gameserver/Amfphp/model/Const/sm_item_stones_type.php

@@ -0,0 +1,62 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-06-01 16:11:40
+////////////////////
+
+
+/**
+ * Static Model item_stones_type 
+ */
+class sm_item_stones_type
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 查询用的ID  
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 类型 default(0) 
+    */
+    public $type;
+
+    /**
+    * @var String 元素, 0 代表无属性,  金 1, 木 2, 水 3, 火 4, 土 5. default(0) 
+    */
+    public $element;
+
+    /**
+    * @var Int32 基础经验/成长 default(0) 
+    */
+    public $baseExp;
+
+    /**
+    * @var Int32 额外经验/成长 default(0) 
+    */
+    public $extraExp;
+
+    /**
+    * @var Int32 成功率 default(100) 
+    */
+    public $successRate;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $costGold;
+
+    /**
+    * @var DateTime 上次修改 default(CURRENT_TIMESTAMP) 
+    */
+    public $lastupdate;
+
+}
+

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2021-05-26 10:22:26
+ // 日期: 2021-06-01 14:40:20
 ////////////////////
 ////////////////////
 
 
 
 
@@ -23,6 +23,11 @@ class sm_item_weapon
     */
     */
     public $hero_id;
     public $hero_id;
 
 
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $weaponType;
+
     /**
     /**
     * @var Int32 武器初始星级  
     * @var Int32 武器初始星级  
     */
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2021-05-26 14:49:43
+ // 日期: 2021-05-28 14:00:13
 ////////////////////
 ////////////////////
 
 
 
 

+ 32 - 0
Gameserver/Amfphp/model/Const/sm_weapon_levelexp.php

@@ -0,0 +1,32 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-06-01 15:58:44
+////////////////////
+
+
+/**
+ * Static Model weapon_levelexp 武器等级
+ */
+class sm_weapon_levelexp
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 当前等级  
+    */
+    public $level;
+
+    /**
+    * @var Int32 达到当前等级所需经验 default(100) 
+    */
+    public $needExp;
+
+}
+

+ 72 - 0
Gameserver/Amfphp/model/Const/sm_weaponextra_level.php

@@ -0,0 +1,72 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-06-01 16:04:25
+////////////////////
+
+
+/**
+ * Static Model weaponextra_level 武器突破
+ */
+class sm_weaponextra_level
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 英雄ID  
+    */
+    public $weaponId;
+
+    /**
+    * @var Int32 碎片ID  
+    */
+    public $segID;
+
+    /**
+    * @var Int32 升阶所需碎片数量  
+    */
+    public $segNum;
+
+    /**
+    * @var Int32 星级 default(0) 
+    */
+    public $starLv;
+
+    /**
+    * @var Int32 当前星级下的等级限制 default(0) 
+    */
+    public $starlimitLv;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $promoteLv;
+
+    /**
+    * @var Int32 玩家等级限制 default(0) 
+    */
+    public $userlvLimit;
+
+    /**
+    * @var String 消耗道具  
+    */
+    public $costItems;
+
+    /**
+    * @var Int32 消耗的金币 default(0) 
+    */
+    public $gold;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $etc;
+
+}
+

+ 18 - 0
Gameserver/Amfphp/model/User/Ins_Weapon.php

@@ -12,6 +12,24 @@ class Ins_Weapon extends Object_ext {
 //put your code here
 //put your code here
     public $typeId;
     public $typeId;
     public $herouid;
     public $herouid;
+    
+    /**
+     * 星级 突破的时候会长星
+     * @var type
+     */
+    public $starLevel = 0;
+    
+    /**
+     * 等级
+     * @var type
+     */
+    public $level=1;
+    
+    /**
+     * 
+     * @var type
+     */
+    public $exp=0;
 
 
     public function __construct($arg = null) {
     public function __construct($arg = null) {
         parent::__construct($arg);
         parent::__construct($arg);

+ 1 - 0
Gameserver/Amfphp/process/HeroProc.php

@@ -200,6 +200,7 @@ class HeroProc {
                 GameConfig::hero_getItem($upHero->typeId)->name, $upHero->grade);
                 GameConfig::hero_getItem($upHero->typeId)->name, $upHero->grade);
         self::CalcUserFightPower(req()->zoneid, req()->uid, req()->userInfo->game); # 跟新战力统计
         self::CalcUserFightPower(req()->zoneid, req()->uid, req()->userInfo->game); # 跟新战力统计
         TaskProc::OnHeroGradeUp($upHero->typeId, $upHero->grade);
         TaskProc::OnHeroGradeUp($upHero->typeId, $upHero->grade);
+        //StoreProc::addSegmentIntoStore($store, $segmentId, $num);
 //        var_dump($user->task->taskListDaily);
 //        var_dump($user->task->taskListDaily);
         return $resp;
         return $resp;
     }
     }