cyzhao пре 10 месеци
родитељ
комит
a1c746f24b

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-19 17:37:02
+ // 日期: 2024-07-22 15:27:06
 ////////////////////
 
 /**

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-19 17:35:47
+ // 日期: 2024-07-19 18:05:47
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-19 17:05:47
+ // 日期: 2024-07-19 18:05:47
 ////////////////////
 
 

+ 1 - 1
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-07-19 17:05:47
+ // 日期: 2024-07-19 18:05:47
 ////////////////////
 
 

+ 13 - 2
Gameserver/App/model/Const/sm_item.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-07-19 14:35:47
+ // 日期: 2024-07-22 14:04:44
 ////////////////////
 
 
@@ -34,7 +34,18 @@ class sm_item
     public $desc;
 
     /**
-    * @var Int32 物品归类 100:图纸; 701:关卡礼包里的图纸随机礼盒 default(0) 
+    * @var Int32 物品归类:1.金币
+    *  2.元宝
+    *  3.体力
+    *  4.经验
+    *  5.活跃点数
+    *  100.图纸
+    *  103.钥匙道具
+    *  201.技能宝石
+    *  301.洗练石
+    *  401.启灵石
+    *  501.角色碎片
+    *  701. 随机礼盒 default(0) 
     */
     public $itemType;
 

+ 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-07-16 10:29:34
+ // 日期: 2024-07-22 11:04:09
 ////////////////////
 
 

+ 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-07-19 16:29:18
+ // 日期: 2024-07-22 14:40:31
 ////////////////////
 
 

+ 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-07-19 16:29:18
+ // 日期: 2024-07-22 14:40:31
 ////////////////////
 
 

+ 3 - 2
Gameserver/App/process/FightProc.php

@@ -269,8 +269,7 @@ class FightProc {
                 Err(ErrCode::tower_timeNo);
             }
             ctx()->gates()->TowerGateInfo()->TodayChanNum--;                    # 增加次数
-        } else {                                                                # 主线剧情           
-            ctx()->gates->GateList->$gateId->fightNum += 1;
+        } else {                                                                # 主线剧情                       
             my_Assert(ctx()->base()->Consume_tili($mo->cost_tili), ErrCode::notenough_tili);
         }           
         UserProc::updateUserInfo();
@@ -589,6 +588,8 @@ class FightProc {
             }
         }
 
+        ctx()->gates->GateList->$gateId->fightNum += 1;
+        
         TaskProc::OnFightNumMainGate();
         TaskProc::OnKillCommonNumMonster($killMonsterNum);
         TaskProc::OnKillleaderNumMonster($killBossNum);