some bug fix (#2817)

* Scout won't be built when research "Scientific Theory". Fix the word "Can only build water units in coastal cities".

* Fix the bugs when you delete all maps close button disappears and you can't go to main menu.

* Basictests don't check that Scout can't upgrade.

* If the unit is obsolete it will remove from construction queue.
This commit is contained in:
lishaoxia1985
2020-07-17 03:22:47 +08:00
committed by GitHub
parent e74f7608d1
commit 59f6e10511
7 changed files with 11 additions and 9 deletions

View File

@ -25,6 +25,7 @@
"movement": 2,
"strength": 5,
"cost": 25,
"obsoleteTech": "Scientific Theory",
"uniques": ["Ignores terrain cost"],
"attackSound": "nonmetalhit"
},
@ -913,6 +914,7 @@
"strength": 34,
"cost": 225,
"requiredTech": "Military Science",
"obsoleteTech": "Combustion",
"requiredResource": "Horses",
"upgradesTo": "Landship",
"uniques": ["Can move after attacking","No defensive terrain bonus","Penalty vs City 33%" ],

View File

@ -25,6 +25,7 @@
"movement": 2,
"strength": 5,
"cost": 25,
"obsoleteTech": "Scientific Theory",
"uniques": ["Ignores terrain cost"],
"attackSound": "nonmetalhit"
},
@ -913,6 +914,7 @@
"strength": 34,
"cost": 225,
"requiredTech": "Military Science",
"obsoleteTech": "Combustion",
"requiredResource": "Horses",
"upgradesTo": "Landship",
"uniques": ["Can move after attacking","No defensive terrain bonus","Penalty vs City 33%" ],