Resolved #3081 - fixed bug in air interception

This commit is contained in:
Yair Morgenstern 2020-09-06 20:05:36 +03:00
parent f2ddda0a6f
commit 588aa7a177
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ package com.unciv.build
object BuildConfig { object BuildConfig {
const val kotlinVersion = "1.3.71" const val kotlinVersion = "1.3.71"
const val appName = "Unciv" const val appName = "Unciv"
const val appCodeNumber = 470 const val appCodeNumber = 471
const val appVersion = "3.10.7" const val appVersion = "3.10.7-patch1"
const val gdxVersion = "1.9.10" const val gdxVersion = "1.9.10"
const val roboVMVersion = "2.3.1" const val roboVMVersion = "2.3.1"

View File

@ -646,7 +646,7 @@ class MapUnit {
} }
fun interceptChance():Int{ fun interceptChance():Int{
return getMatchingUniques("[100]% chance to intercept air attacks").sumBy { it.params[0].toInt() } return getMatchingUniques("[]% chance to intercept air attacks").sumBy { it.params[0].toInt() }
} }
fun isTransportTypeOf(mapUnit: MapUnit): Boolean { fun isTransportTypeOf(mapUnit: MapUnit): Boolean {