mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 14:57:58 +07:00
Great General typed uniques and improved moddability (#6818)
* Great General UniqueTyped and improved moddability - draft * Great General UniqueTyped and improved moddability - reviews * Great General UniqueTyped and improved moddability - no reason not to cache another * Integration with JackRainy's solution * Integration with JackRainy's solution - part 2 * Revert of maxGreatGeneralBonusRadius logic * Minor refactoring * Code review: minor refactoring * Keep the warning for the modders about the obsolete unique * Code review: Better wording for the unique Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
This commit is contained in:
@ -458,7 +458,7 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
Applicable to: Global
|
||||
|
||||
??? example "Great General provides double combat bonus"
|
||||
Applicable to: Global
|
||||
Applicable to: Global, Unit
|
||||
|
||||
??? example "Receive a tech boost when scientific buildings/wonders are built in capital"
|
||||
Applicable to: Global
|
||||
@ -998,6 +998,11 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Unit
|
||||
|
||||
??? example "[relativeAmount]% Strength bonus for [mapUnitFilter] units in [amount] tiles"
|
||||
Example: "[+20]% Strength bonus for [Wounded] units in [3] tiles"
|
||||
|
||||
Applicable to: Unit
|
||||
|
||||
??? example "May found a religion"
|
||||
Applicable to: Unit
|
||||
|
||||
@ -1214,9 +1219,6 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
|
||||
|
||||
Applicable to: Unit
|
||||
|
||||
??? example "Bonus for units in 2 tile radius 15%"
|
||||
Applicable to: Unit
|
||||
|
||||
??? example "Can speed up construction of a building"
|
||||
Applicable to: Unit
|
||||
|
||||
|
Reference in New Issue
Block a user