mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
Resolved #3081 - fixed bug in air interception
This commit is contained in:
parent
f2ddda0a6f
commit
588aa7a177
@ -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"
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user