瀏覽代碼

战力相关刷表

wanggangzero 5 月之前
父節點
當前提交
c9c0100414

+ 17 - 1
Gameserver/App/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-26 09:33:33
+ // 日期: 2024-12-26 15:31:12
 ////////////////////
 
 /**
@@ -1046,6 +1046,22 @@ class GameConfig {
         return self::initValue($a, 'glc2');
     }
     /**
+    * 战力公式: 装备系数表
+    * @return \equip_power
+    */
+    public static function equip_power()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'equip_power');
+    }
+    /**
+    * @return \sm_equip_power equip_power item数据 
+    */
+    public static function equip_power_getItem($rarity, $qual, $position)
+    { 
+        return self::get_hash_item('equip_power', "$rarity-$qual-$position");
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-24 18:05:44
+ // 日期: 2024-12-26 15:25:47
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-24 18:05:44
+ // 日期: 2024-12-26 15:25:47
 ////////////////////
 
 

+ 1 - 6
Gameserver/App/model/Const/sm_equip.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-25 14:35:56
+ // 日期: 2024-12-26 15:31:05
 ////////////////////
 
 
@@ -73,10 +73,5 @@ class sm_equip
     */
     public $suitId;
 
-    /**
-    * @var Int32 战斗力公式计算: 装备系数 default(1) 
-    */
-    public $mulFightPower;
-
 }
 

+ 42 - 0
Gameserver/App/model/Const/sm_equip_power.php

@@ -0,0 +1,42 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2024-12-26 15:18:38
+////////////////////
+
+
+/**
+ * Static Model equip_power 战力公式: 装备系数表
+ */
+class sm_equip_power
+{
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 装备稀有度:1:普通;2:S级  
+    */
+    public $rarity;
+
+    /**
+    * @var Int32 品阶: 白,绿,蓝,紫,紫+1,紫+2.....  
+    */
+    public $qual;
+
+    /**
+    * @var Int32 部位: 1 武器, 2 护甲, 3 项链, 4 腰带, 5 手套, 6 靴子  
+    */
+    public $position;
+
+    /**
+    * @var Single 装备战力系数  
+    */
+    public $power;
+
+}
+

+ 3 - 3
Gameserver/App/model/Const/sm_globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-23 14:35:56
+ // 日期: 2024-12-26 15:19:15
 ////////////////////
 
 
@@ -169,7 +169,7 @@ class sm_globalsettings
     public $tower_refreshCost;
 
     /**
-    * @var Int32 战斗力计算公式: 生命系数  
+    * @var Single 战斗力计算公式: 生命系数  
     */
     public $fightPower_MulHp;
 
@@ -324,7 +324,7 @@ class sm_globalsettings
     public $equipQual_NotDownGrading;
 
     /**
-    * @var Int32 战力公式: 攻击力系数  
+    * @var Single 战力公式: 攻击力系数  
     */
     public $fightPower_MulAtk;
 

+ 2 - 2
Gameserver/App/model/Const/sm_hero.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-20 11:05:55
+ // 日期: 2024-12-26 15:00:24
 ////////////////////
 
 
@@ -215,7 +215,7 @@ class sm_hero
     public $roleCard;
 
     /**
-    * @var Int32 战斗力计算公式: 角色系数 default(1) 
+    * @var Single 战斗力计算公式: 角色系数 default(1) 
     */
     public $mulFightPower;
 

+ 2 - 2
Gameserver/App/model/Const/sm_heroType_typeId.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-20 11:05:55
+ // 日期: 2024-12-26 15:00:24
 ////////////////////
 
 
@@ -215,7 +215,7 @@ class sm_heroType_typeId
     public $roleCard;
 
     /**
-    * @var Int32 战斗力计算公式: 角色系数 default(1) 
+    * @var Single 战斗力计算公式: 角色系数 default(1) 
     */
     public $mulFightPower;
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-18 16:29:46
+ // 日期: 2024-12-26 11:35:56
 ////////////////////