diff --git a/core/src/com/unciv/models/ruleset/unique/UniqueType.kt b/core/src/com/unciv/models/ruleset/unique/UniqueType.kt index 1db9791508..d8406dfa95 100644 --- a/core/src/com/unciv/models/ruleset/unique/UniqueType.kt +++ b/core/src/com/unciv/models/ruleset/unique/UniqueType.kt @@ -624,7 +624,8 @@ enum class UniqueType( NoFeatureRemovalNeeded("Does not need removal of [tileFilter]", UniqueTarget.Improvement), RemovesFeaturesIfBuilt("Removes removable features when built", UniqueTarget.Improvement), - DefensiveBonus("Gives a defensive bonus of [relativeAmount]%", UniqueTarget.Improvement), + DefensiveBonus("Gives a defensive bonus of [relativeAmount]%", UniqueTarget.Improvement, + docDescription = "Does not accept unit-based conditionals"), ImprovementMaintenance("Costs [amount] [stat] per turn when in your territory", UniqueTarget.Improvement), // Roads ImprovementAllMaintenance("Costs [amount] [stat] per turn", UniqueTarget.Improvement), // Roads DamagesAdjacentEnemyUnits("Adjacent enemy units ending their turn take [amount] damage", UniqueTarget.Improvement), diff --git a/docs/Modders/uniques.md b/docs/Modders/uniques.md index 17a5514b8d..354ac8ae7b 100644 --- a/docs/Modders/uniques.md +++ b/docs/Modders/uniques.md @@ -2451,6 +2451,7 @@ If your mod renames Coast or Lakes, do not use this with one of these as paramet Applicable to: Improvement ??? example "Gives a defensive bonus of [relativeAmount]%" + Does not accept unit-based conditionals Example: "Gives a defensive bonus of [+20]%" Applicable to: Improvement