Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Ara: History Untold Wiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Modding
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
Purge
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Attributes & Modifiers == Buffs have the "Attributes" attribute in their definition that defines a condition for the buff to apply, for example:<syntaxhighlight> .Attributes = @"ATTR(AtrCityStatCheck(ReligionImprovementCount, '>=', 1.0))ATTR" </syntaxhighlight>The above code would allow the buff to trigger (based on the TargetType and Scope values) only when the City has at least one Religion Improvement. For multiple conditions, see this example from one of the Republic Government Policies:<syntaxhighlight> .Attributes = @"ATTR(AtrImprovementDomainCheck(Culture) or AtrImprovementDomainCheck(Government) or AtrImprovementDomainCheck(Science))ATTR" </syntaxhighlight>This buff checks for improvements of Culture, Government, or Science domains. This particular buff (at time of writing) has a TargetType of BuffTargetType.Improvement and a Scope of BuffScope.All, targeting all Improvements you have or are building. For the actual effect, we look at the Modifiers attribute. For example:<syntaxhighlight> .Modifiers = @"MODS(ModMul(Strength, 0.25))MODS" </syntaxhighlight>This modifier will add a 25% multiplier to unit strength. Multipliers are additive, so this is adding 25% to the total bonus multiplier, not directly multiplying by 25%, which would be a reduction in strength instead. Negative values are allowed where you'd expect them. (You probably can't reduce the turn count...) An aside: This syntax is also similar to that used for the Condition attribute on events, e.g. .Condition = "AtrActGoalWonCheck(goal_SpecificTriumphLibraryofCelsus)". The table below lists all currently possible variables for use in conditions or modifiers, provided by one of the developers, with Description and Notes for wiki users to add: {| class="wikitable" |+ !Name !Description !Notes |- |Invalid | | |- |Act | |Spotted in Adviser Wisdom like so: AtrNationStatCheck(Act, '<', 2.0) |- |Era | |Spotted in NarrativeEvents like so: AtrNationStatCheck(Era, '=', 5.0) |- |Population |Growth | |- |PopulationTier | |Spotted in Buffs0 like so: AtrCityStatCheck(PopulationTier, '<=', 4.0) |- |PopulationTierCap |Housing | |- |BonusPrestigeOnComplete | |e.g. Museum |- |PrestigeOnKill | | |- |TotalIncomingMoney | | |- |Item | | |- |Happiness | | |- |Education | | |- |Health | | |- |Prosperity | | |- |Wealth | | |- |Aesthetics |Security | |- |MinHappiness | | |- |MinEducation | | |- |MinHealth | | |- |MinProsperity | | |- |MinWealth | | |- |MinAesthetics |Security | |- |ParagonSpawnChance | | |- |ArtistPickChance | | |- |EngineerPickChance | | |- |StrategistPickChance | | |- |BusinessmanPickChance | |Entrepeneur? |- |MusicianPickChance | | |- |ProphetPickChance | | |- |ActivistPickChance | | |- |ScientistPickChance | | |- |WriterPickChance | | |- |ExplorerPickChance | | |- |BuildRate | | |- |HarvestRate | | |- |CraftRate | | |- |MasterpieceCreateRate | | |- |Production | | |- |Maintenance | | |- |TaxIncome | | |- |IncomeRate | | |- |GoldenAgeProgress | | |- |GoldenAgeDuration | | |- |GoldenAgeBonusPrestigeRate | | |- |RegionCount | | |- |CityCount | | |- |ReligionFollowerCount | | |- |ReligionSpreadStrength | | |- |ReligionSpreadDistance | | |- |ForeignReligionInfluence | | |- |ResearchAgreementResearch | | |- |ResearchCost | | |- |PopulationTierResearch | | |- |TotalIncomingResearch | | |- |MerchantCount | | |- |TradeAgreementCount | | |- |AllianceCount | | |- |ParagonCount | | |- |IsFortified | |Condition is checked as = 1.0 |- |TradeMoney | | |- |Relationship | | |- |BaseRelationship | | |- |TribeRelationship | | |- |BaseTribeRelationship | | |- |BaseTribeNotHostileFlag | |Add +1.0 to make tribes non hostile |- |ArmyCapLand | | |- |ArmyCapAir | | |- |ArmyCapSea | | |- |CityCap | | |- |BonusExpOnTrained | | |- |BonusExpOnCombat | | |- |LevelUpStrength | | |- |Level | | |- |FormationBonus | | |- |Strength | | |- |TerrainStrengthMod |Modifier to Strength based on terrain | |- |SiegeDamage |Damage to Cities | |- |PillageDamage |Damage to improvements | |- |Defense | | |- |Speed |Movement points | |- |HomeCity | | |- |WorkerGain | | |- |BonusWorkersOnFoundCity | | |- |CannotCounterFlag | | |- |MaintenanceFlag | | |- |SightRange | | |- |ActionRange | | |- |WarWeariness | | |- |InflictWarWeariness | | |- |InflictWarWearinessOnKill | | |- |RecoverWarWearinessOnKill | | |- |BonusExpOnKill | | |- |PreventPillageFlag | | |- |BirthRate | | |- |DeathRate | | |- |ImmigrationRate | | |- |EmmigrationRate | | |- |HealRate | | |- |StartBonusHealth | | |- |SiegeDefense | | |- |FoodFertility | | |- |WoodFertility | | |- |StoneFertility | | |- |CoinFertility | | |- |Pollution | | |- |WarDeclarePrestigeCost | | |- |EventsGiven | | |- |ExtraLocalFood | | |- |IsOpenTerrainFlag | | |- |IsRoughTerrainFlag | | |- |RoadType | | |- |MilitaryImprovementCount | | |- |CommerceImprovementCount | | |- |GovernmentImprovementCount | | |- |ReligionImprovementCount | | |- |CultureImprovementCount | | |- |ScienceImprovementCount | | |- |IndustryImprovementCount | | |- |DistinctMilitaryImprovementCount | | |- |DistinctCommerceImprovementCount | | |- |DistinctGovernmentImprovementCount | | |- |DistinctReligionImprovementCount | | |- |DistinctCultureImprovementCount | | |- |DistinctScienceImprovementCount | | |- |DistinctIndustryImprovementCount | | |- |ArtistParagonCount | | |- |EngineerParagonCount | | |- |StrategistParagonCount | | |- |BusinessmanParagonCount | | |- |MusicianParagonCount | | |- |ProphetParagonCount | | |- |ActivistParagonCount | | |- |ScientistParagonCount | | |- |WriterParagonCount | | |- |ExplorerParagonCount | | |- |CityCountDiff | | |- |TurnsSinceLastParagonCompletedEvent | | |- |TurnsSinceLastMasterpieceCompletedEvent | | |- |TurnsSinceWarEvent | | |- |TurnsSinceSkirmishWarEvent | | |- |TurnsSinceRetaliationWarEvent | | |- |TurnsSinceDefenderWarEvent | | |- |TurnsSinceAttackerWarEvent | | |- |TurnsSinceLastWarVictoryEvent | | |- |TurnsSinceLastWarEndedEvent | | |- |TurnsSinceLastCombatEvent | | |- |TurnsSinceEnteredAllianceEvent | | |- |TurnsSinceEnteredResearchAgreementEvent | | |- |TurnsSinceTechnologyUnlockedEvent | | |- |InWarFlag | | |- |InAttackerWarFlag | | |- |InDefenderWarFlag | | |- |InRetaliationWarFlag | | |- |InSkirmishFlag | | |- |InWarWithAnyoneFlag | | |- |RegionDistanceToFriendlyArmy | | |- |CoastalRegionCount | | |- |GoldenAgeRemainingTurns | | |- |PositiveModifiers | | |- |NegativeModifiers | | |- |IsCapitalFlag | | |- |IsCityCenterFlag | | |- |IsOwnedFlag | | |- |TriumphFlag | | |- |AdjacentToImpassibleFlag | | |- |AdjacentToRiverFlag | | |- |CoastalLandFlag | | |- |HasRiverFlag | | |- |ReligionDominantFlag | | |- |ReligionFoundedFlag | | |- |CurrentTurn | | |- |PrestigeTier | | |- |UnlockedGovernmentCount | | |- |UnassignedExpertCount | | |- |OpenExpertSlotCount | | |- |UnassignedParagonCount | | |- |OpenParagonSlotCount | | |- |IsAtPopulationTierCapFlag | | |- |IsGrowthStagnantFlag | | |- |IsStarvingFlag | | |- |HasOpenBordersFlag | | |- |HasTradeAgreementFlag | | |- |HasResearchAgreementFlag | | |- |HasAllianceFlag | | |- |WarlikeScore | | |- |PeacefulScore | | |- |IsAtMaxCityCapFlag | | |- |IsCityCenterDefendedFlag | | |- |UnitsInReserveCount | | |- |LandArmyCount | | |- |SeaArmyCount | | |- |AirArmyCount | | |- |HasMetFlag | | |- |UnassignedMerchantCount | | |- |MilitaryStrength | | |- |MilitaryRatio | | |- |UnslottedMasterpieceCount | | |- |ReligionFollowersConvertedThisTurnCount | | |- |PercentForcesHealth | | |- |IdleCraftersCount | | |- |AvailableFlag | | |}
Summary:
Please note that all contributions to Ara: History Untold Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
Cancel
Editing help
(opens in new window)
Toggle limited content width