From 588aa7a177fd66e0d124799b9b9cae1f0c357274 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sun, 6 Sep 2020 20:05:36 +0300 Subject: [PATCH] Resolved #3081 - fixed bug in air interception --- buildSrc/src/main/kotlin/BuildConfig.kt | 4 ++-- core/src/com/unciv/logic/map/MapUnit.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/kotlin/BuildConfig.kt b/buildSrc/src/main/kotlin/BuildConfig.kt index 7c415de3..173a021d 100644 --- a/buildSrc/src/main/kotlin/BuildConfig.kt +++ b/buildSrc/src/main/kotlin/BuildConfig.kt @@ -3,8 +3,8 @@ package com.unciv.build object BuildConfig { const val kotlinVersion = "1.3.71" const val appName = "Unciv" - const val appCodeNumber = 470 - const val appVersion = "3.10.7" + const val appCodeNumber = 471 + const val appVersion = "3.10.7-patch1" const val gdxVersion = "1.9.10" const val roboVMVersion = "2.3.1" diff --git a/core/src/com/unciv/logic/map/MapUnit.kt b/core/src/com/unciv/logic/map/MapUnit.kt index 4a3537b6..d60d1bbd 100644 --- a/core/src/com/unciv/logic/map/MapUnit.kt +++ b/core/src/com/unciv/logic/map/MapUnit.kt @@ -646,7 +646,7 @@ class MapUnit { } 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 {