Forráskód Böngészése

新手引导记录

cyzhao 5 hónapja
szülő
commit
abe0007d88

+ 17 - 1
Gameserver/App/configs/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-26 15:31:12
+ // 日期: 2024-12-31 17:04:22
 ////////////////////
 
 namespace loyalsoft;
@@ -1064,6 +1064,22 @@ class GameConfig {
         return self::get_hash_item('equip_power', "$rarity-$qual-$position");
     }
     /**
+    * 新手引导表
+    * @return \guide
+    */
+    public static function guide()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'guide');
+    }
+    /**
+    * @return \sm_guide guide item数据 
+    */
+    public static function guide_getItem($type, $stepId)
+    { 
+        return self::get_hash_item('guide', "$type-$stepId");
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

+ 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-31 14:17:52
+ // 日期: 2024-12-31 17:04:22
 ////////////////////
 
 /**
@@ -1062,6 +1062,22 @@ class GameConfig {
         return self::get_hash_item('equip_power', "$rarity-$qual-$position");
     }
     /**
+    * 新手引导表
+    * @return \guide
+    */
+    public static function guide()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'guide');
+    }
+    /**
+    * @return \sm_guide guide item数据 
+    */
+    public static function guide_getItem($type, $stepId)
+    { 
+        return self::get_hash_item('guide', "$type-$stepId");
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-31 14:19:49
+ // 日期: 2024-12-31 15:20:27
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-31 11:21:57
+ // 日期: 2024-12-31 16:21:57
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-31 11:21:57
+ // 日期: 2024-12-31 16:21:57
 ////////////////////
 
 

+ 73 - 0
Gameserver/App/model/Const/sm_guide.php

@@ -0,0 +1,73 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2024-12-31 16:36:04
+////////////////////
+
+
+/**
+ * Static Model guide 新手引导表
+ */
+class sm_guide
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 引导模块类型  
+    */
+    public $type;
+
+    /**
+    * @var Int32 步骤Id default(0) 
+    */
+    public $stepId;
+
+    /**
+    * @var String 按钮路径  
+    */
+    public $btnPath;
+
+    /**
+    * @var String 箭头坐标偏移  
+    */
+    public $arrOffsetPos;
+
+    /**
+    * @var String 提示坐标偏移  
+    */
+    public $tipsOffsetPos;
+
+    /**
+    * @var String 提示文字  
+    */
+    public $tips;
+
+    /**
+    * @var Single 箭头角度 default(0) 
+    */
+    public $arrAngle;
+
+    /**
+    * @var String 引导的参数  
+    */
+    public $guidParameter;
+
+    /**
+    * @var Int32 是否强制储存 意思是:跳过本次引导【回存的时候记得把本次引导的最后一步记录下来】  
+    *  1:强制存储  default(0) 
+    */
+    public $forceSave;
+
+    /**
+    * @var Single 延迟时间 default(0) 
+    */
+    public $delayTime;
+
+}
+

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-30 17:21:57
+ // 日期: 2024-12-31 15:21:57
 ////////////////////
 
 

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

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

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

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

+ 1 - 3
Gameserver/App/process/FightPower_Calculate.php

@@ -181,9 +181,7 @@ class FightPower_Calculate {
 //        
 //        var_dump('shanghaijianmian_xiaoguo_val----'.$mulEquipBasicProps_hp_val);
 //        
-//        
-        var_dump('------yyyyyyyyyyyyyy----------------'.$fightPower_bitHitParas);
-        var_dump('----------------------'.$fightPower);
+//               
         return round($fightPower,0);
     }