From 46a94b78160cf90b6b71728461439016a1fffdd5 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Tue, 10 May 2022 03:31:48 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=AA=85=EC=9E=A5=20=EC=9D=BC=EB=9E=8C?= =?UTF-8?q?=EC=97=90=20=EC=9C=A0=EC=82=B0=20=EC=86=8C=EB=AA=A8=EB=9F=89,?= =?UTF-8?q?=20=ED=9A=8D=EB=93=9D=EB=9F=89=20=ED=91=9C=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_bestGeneral.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/hwe/a_bestGeneral.php b/hwe/a_bestGeneral.php index 09087fa6..bc2d5e47 100644 --- a/hwe/a_bestGeneral.php +++ b/hwe/a_bestGeneral.php @@ -2,6 +2,8 @@ namespace sammo; +use sammo\Enums\RankColumn; + include "lib.php"; include "func.php"; @@ -203,6 +205,32 @@ $templates = new \League\Plates\Engine(__DIR__ . '/templates'); } return $v; }], + ["유 산 소 모 량", "int", function ($v) use ($gameStor) { + $v['value'] = $v[RankColumn::inherit_point_spent->value]; + if ($gameStor->isunited) { + return $v; + } + $v['nationName'] = '???'; + $v['pictureFullPath'] = GetImageURL(0) . "/default.jpg"; + $v['name'] = '???'; + $v['ownerName'] = null; + $v['bgColor'] = GameConst::$basecolor4; + $v['fgColor'] = newColor($v['bgColor']); + return $v; + }], + ["유 산 획 득 량", "int", function ($v) use ($gameStor) { + $v['value'] = $v[RankColumn::inherit_point_earned->value]; + if ($gameStor->isunited) { + return $v; + } + $v['nationName'] = '???'; + $v['pictureFullPath'] = GetImageURL(0) . "/default.jpg"; + $v['name'] = '???'; + $v['ownerName'] = null; + $v['bgColor'] = GameConst::$basecolor4; + $v['fgColor'] = newColor($v['bgColor']); + return $v; + }], ]; $generals = [];