Browse Source

修改默认武器

gwang 4 years ago
parent
commit
529075ec87

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-08 09:54:47
+ // 日期: 2021-02-08 18:03:54
 ////////////////////
 
 /**

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-14 13:39:14
+ // 日期: 2021-02-08 10:28:01
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-29 16:47:03
+ // 日期: 2021-02-08 14:47:32
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-30 17:32:38
+ // 日期: 2021-02-08 17:06:10
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-31 11:14:34
+ // 日期: 2021-02-08 15:33:25
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-30 17:03:06
+ // 日期: 2021-02-08 15:30:27
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-04 15:28:46
+ // 日期: 2021-02-08 17:25:39
 ////////////////////
 
 

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-05 15:31:35
+ // 日期: 2021-02-08 17:28:24
 ////////////////////
 
 

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

@@ -858,7 +858,7 @@ class HeroProc {
         //  取可用武器中第一个初始化 -- 策划要求初始英雄要带有武器 -- 王刚 2020年1月
         $wp = null;
         $arr = (array) GameConfig::item_weapon();
-        krsort($arr);                                                            // todo: 排序不正常
+        ksort($arr);                                                            // todo: 排序不正常
         foreach ($arr as $id => $mo) {
 //            isEditor() and $mo = new \sm_item_weapon();
             if ($mo->hero_id == $hero->typeId) {