Battle table displays bonuses according to tile that unit will attack from, not the current tile it's on

This commit is contained in:
Yair Morgenstern
2023-04-08 21:34:55 +03:00
parent ca06d7e54a
commit cb20d91822
4 changed files with 48 additions and 35 deletions

View File

@ -30,12 +30,12 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro
- If you get a `../../docs/uniques.md (No such file or directory)` error that means you forgot to set the working directory!
- Select the Desktop configuration (or however you chose to name it) and click the green arrow button to run! Or you can use the next button -the green critter with six legs and two feelers - to start debugging.
- A few Android Studio settings that are recommended:
- Going to Settings > Version Control > Commit and turning off 'Before commit - perform code analysis'
- Settings > Editor > Code Style > Kotlin > Tabs and Indents > Continuation Indent: 4
- Going to Settings > Version Control > Commit and turning off 'Before commit - perform code analysis'
- Settings > Editor > Code Style > Kotlin > Tabs and Indents > Continuation Indent: 4
![image](https://user-images.githubusercontent.com/44038014/169315352-9ba0c4cf-307c-44d1-b3bc-2a58752c6854.png)
- Settings > Editor > General > On Save > Uncheck Remove trailing spaces on: [...] to prevent it from removing necessary trailing whitespace in template.properties for translation files
- Settings > Editor > General > On Save > Uncheck Remove trailing spaces on: [...] to prevent it from removing necessary trailing whitespace in template.properties for translation files
![image](https://user-images.githubusercontent.com/44038014/169316243-07e36b8e-4c9e-44c4-941c-47e634c68b4c.png)
- If you download mods, right-click the `android/assets/mods` folder , "Mark directory as" > Excluded, to [disable indexing on mods](https://www.jetbrains.com/help/idea/indexing.html#exclude) for performance
Unciv uses Gradle to specify dependencies and how to run. In the background, the Gradle gnomes will be off fetching the packages (a one-time effort) and, once that's done, will build the project!
Unciv uses Gradle 7.5 and the Android Gradle Plugin 7.3.1. Can check in File > Project Structure > Project