From ae3688577de7268612a1e071aa67d52aca77ed33 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 20 Apr 2019 02:54:24 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 3 ++- hwe/sql/schema.sql | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hwe/func_process.php b/hwe/func_process.php index c1eb0de8..770da377 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -187,7 +187,8 @@ function setLeadershipBonus(&$general, $nationLevel){ } function CriticalScoreEx(string $type):float { - if($type == 'success'){ + if ($type == 'success') { return Util::randRange(2.2, 3.0); + } } diff --git a/hwe/sql/schema.sql b/hwe/sql/schema.sql index 636712b1..f1df9a08 100644 --- a/hwe/sql/schema.sql +++ b/hwe/sql/schema.sql @@ -207,6 +207,9 @@ CREATE TABLE `nation_turn` ( PRIMARY KEY (`id`), UNIQUE INDEX `nation` (`nation_id`, `level`, `turn_idx`), INDEX `action` (`action`, `turn_idx`, `nation_id`, `level`) +) +ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; + ##회의실 CREATE TABLE `board` ( `no` INT(11) NOT NULL AUTO_INCREMENT, @@ -638,4 +641,4 @@ CREATE TABLE IF NOT EXISTS `storage` ( UNIQUE INDEX `key` (`namespace`, `key`) ) COLLATE='utf8mb4_general_ci' -ENGINE=MyISAM \ No newline at end of file +ENGINE=MyISAM;