Unciv/core/src/com/unciv
itanasi 1fd65b9ffa
Ranged capture (#5975)
* Initial attempt

* Allow Ranged to move into unguarded Civilian Unit

* Comment for clarity

* Fix unit test so that it doesn't segfault and checks you can't move into military units

* Unify that all units can move on to (and through) unguarded civilians that you are at war with
Add TileInfo.getUnguardedCivilian() to quickly respond if there is an unguarded Civilian on the tile
Something is bugged in movement code

* Fix MapUnit.moveThroughTile() so that it doesn't segfault by fixing getUnguardedCivilian()

* captureCivilianUnit() call is now redundant in postBattleMoveToAttackedTile() since canMoveTo() will now return true and capture will happen during the moveToTile() call

Co-authored-by: temurakami <spellman23@gmail.com>
2022-01-24 12:28:46 +02:00
..
logic Ranged capture (#5975) 2022-01-24 12:28:46 +02:00
models Typed some uniques, added more examples for parameters in unique documentation (#6020) 2022-01-24 11:03:40 +02:00
ui Converted stat list to stat tree (#6022) 2022-01-24 11:04:12 +02:00
Constants.kt Fix uneven fonts, unify font sizes. (#6014) 2022-01-23 17:14:27 +00:00
CrashHandlingStage.kt New crash handler screen Part 2: Threads, runnables, more informative reports. (#5810) 2022-01-09 11:33:45 +02:00
CrashScreen.kt Fix uneven fonts, unify font sizes. (#6014) 2022-01-23 17:14:27 +00:00
JsonParser.kt Managed to load first mini mod, needs some work before this can work for users 2019-12-31 17:49:07 +02:00
MainMenuScreen.kt New crash handler screen Part 2: Threads, runnables, more informative reports. (#5810) 2022-01-09 11:33:45 +02:00
UncivGame.kt New crash handler screen Part 2: Threads, runnables, more informative reports. (#5810) 2022-01-09 11:33:45 +02:00
UncivGameParameters.kt New crash handler screen Part 2: Threads, runnables, more informative reports. (#5810) 2022-01-09 11:33:45 +02:00