mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 22:59:12 +07:00
d75541e5b4
* -Consolidated unit kill bonus uniques. Syntax is "Earn []% of [] opponent's [] as [] for kills" for both units and nations. Ex. "Earn [10]% of [military] opponent's [Cost] as [Gold] for kills" or "Earn [100]% of [Barbarians] opponent's [Strength] as [Culture] for kills" Only Culture and Gold are supported as rewards now, but it can be expanded later. The pictish warrior unit in G&K gets 50% of opponent's strength as faith, so we can have the function edited to allow for faith when we get to that point. Only Strength or Cost is supported as what the reward amount is based on. -Policies.json and Nations.json were changed to fit the new syntax. The old syntax still works for mods for now. -matchesCategory MapUnit function can now check if the unit is a barbarian * -Compatibility for depecrated unit kill bonus uniques done more efficiently and counted only once (since prior to this PR, it was also counted only once) * -Changed it to "Barbarian" instead of "Barbarians", added "Barbarian" to template.properties * space after translation template |
||
---|---|---|
.. | ||
assets | ||
Images | ||
ImagesToNotAddToGame | ||
res | ||
src/com/unciv/app | ||
AndroidManifest.xml | ||
build.gradle.kts | ||
gradle.properties | ||
ic_launcher-web.png | ||
proguard-rules.pro | ||
project.properties |