diff --git a/hwe/a_emperior.php b/hwe/a_emperior.php
index 2d7ea874..7d5ec491 100644
--- a/hwe/a_emperior.php
+++ b/hwe/a_emperior.php
@@ -98,11 +98,21 @@ foreach($emperiors as $emperior){
=$emperior['l12name']?> |
승 상 |
=$emperior['l11name']?> |
- 위 장 군 |
+ 표 기 장 군 |
=$emperior['l10name']?> |
사 공 |
=$emperior['l9name']?> |
+
+ | 거 기 장 군 |
+ =$emperior['l8name']?> |
+ 태 위 |
+ =$emperior['l7name']?> |
+ 위 장 군 |
+ =$emperior['l6name']?> |
+ 사 도 |
+ =$emperior['l5name']?> |
+
diff --git a/hwe/a_hallOfFame.php b/hwe/a_hallOfFame.php
index 42f7bc13..633f7632 100644
--- a/hwe/a_hallOfFame.php
+++ b/hwe/a_hallOfFame.php
@@ -26,6 +26,8 @@ $scenarioList = (function(){
return $scenarioList;
})();
+
+
if($scenarioIdx !== null || key_exists($scenarioIdx, $scenarioList)){
$searchScenarioName = $scenarioList[$seasonIdx][$scenarioIdx]['name'];
$searchFilter = $db->sqleval('season = %i AND scenario = %i', $seasonIdx, $scenarioIdx);
diff --git a/hwe/d_setting/UniqueConst.orig.php b/hwe/d_setting/UniqueConst.orig.php
index 29dd6dbe..6627a649 100644
--- a/hwe/d_setting/UniqueConst.orig.php
+++ b/hwe/d_setting/UniqueConst.orig.php
@@ -4,6 +4,7 @@ namespace sammo;
class UniqueConst{
public static $serverID = '_tK_serverID_';
public static $serverName = '_tK_serverName_';
+ public static $seasonIdx = '_tK_seasonIdx_';
private function __construct(){}
diff --git a/hwe/func.php b/hwe/func.php
index 2d79dda0..fc8ec6d2 100644
--- a/hwe/func.php
+++ b/hwe/func.php
@@ -654,7 +654,24 @@ function generalInfo($no) {
$lbonus = "";
}
- $troopName = getTroopName($general['troop'])??'-';
+ if($general['troop'] == 0){
+ $troopInfo = '-';
+ }
+ else{
+ $troopCity = $db->queryFirstField('SELECT city FROM general WHERE no=%i', $general['troop']);
+ $troopTurn = $db->queryFirstField('SELECT `action` FROM general_turn WHERE general_id = %i AND turn_idx = 0', $general['troop']);
+ $troopInfo = $db->queryFirstField('SELECT name FROM troop WHERE troop_leader = %i', $general['troop']);
+
+ $troopInfo = $troop['name'];
+
+ if($troopTurn == 'che_집합'){
+ $troopInfo = "{$troopInfo}";
+ }
+ else if($troopCity != $general['city']){
+ $troopCityName = CityConst::byID($troopCity)->name;
+ $troopInfo = "{$troopInfo}({$troopCityName})";
+ }
+ }
$level = getLevel($general['level'], $nation['level']);
if($general['level'] == 2) {
@@ -796,7 +813,7 @@ function generalInfo($no) {
| 부대 |
- {$troopName} |
+ {$troopInfo} |
벌점 |
".getConnect($general['connect'])." {$general['connect']}({$general['con']}) |
diff --git a/hwe/func_template.php b/hwe/func_template.php
index 3306dfaf..a31de307 100644
--- a/hwe/func_template.php
+++ b/hwe/func_template.php
@@ -43,7 +43,7 @@ foreach(range(1, GameConst::$maxChiefTurn - 1) as $turnIdx){
$turnText = join("\n", $turnList);
return "
-