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;