오타 수정

This commit is contained in:
2019-04-20 02:54:24 +09:00
parent b8daf9882b
commit ae3688577d
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -187,7 +187,8 @@ function setLeadershipBonus(&$general, $nationLevel){
} }
function CriticalScoreEx(string $type):float { function CriticalScoreEx(string $type):float {
if($type == 'success'){ if ($type == 'success') {
return Util::randRange(2.2, 3.0); return Util::randRange(2.2, 3.0);
}
} }
+4 -1
View File
@@ -207,6 +207,9 @@ CREATE TABLE `nation_turn` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE INDEX `nation` (`nation_id`, `level`, `turn_idx`), UNIQUE INDEX `nation` (`nation_id`, `level`, `turn_idx`),
INDEX `action` (`action`, `turn_idx`, `nation_id`, `level`) INDEX `action` (`action`, `turn_idx`, `nation_id`, `level`)
)
ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
## ##
CREATE TABLE `board` ( CREATE TABLE `board` (
`no` INT(11) NOT NULL AUTO_INCREMENT, `no` INT(11) NOT NULL AUTO_INCREMENT,
@@ -638,4 +641,4 @@ CREATE TABLE IF NOT EXISTS `storage` (
UNIQUE INDEX `key` (`namespace`, `key`) UNIQUE INDEX `key` (`namespace`, `key`)
) )
COLLATE='utf8mb4_general_ci' COLLATE='utf8mb4_general_ci'
ENGINE=MyISAM ENGINE=MyISAM;