Jump to content

Conversion: Difference between revisions

From OpenDominion
Jomutta (talk | contribs)
ODWikiBot (talk | contribs)
Update conversion formula from Round 50 source
 
Line 1: Line 1:
'''Conversion''' is an ability of some [[Undead]] and [[Lycanthrope]] units, whereby enemy peasants are converted into your units when you successfully [[invade]] a target.
'''Conversion''' is an invasion mechanic that lets specific units or spells convert enemy peasants or units on successful invasions.


== Formula ==
== Standard Unit Conversion ==


Conversions are based on the target's DP. Over-sending will not grant higher conversions.  If multiple units have a conversion ability, conversions are calculated based on highest conversion rate first.  
Standard unit conversion is based on the units sent and the target's defensive power. Oversending beyond the units needed to break the target does not increase standard conversions.


  UnitsNeededToBreakDP * ConversionRate * LandRatio<sup>2</sup>
<code>UnitsCounted = min(UnitsSent, ceil(TargetDP / (UnitOP * OffensiveModifier)))</code>


where LandRatio is  
<code>Conversions = floor(UnitsCounted * ConversionRate * ConversionMultiplier * RangeModifier)</code>
  TargetLand / AttackerLand
 
At 75% range and above, RangeModifier is 1. Below 75% range, RangeModifier is:
 
<code>1.25 * LandRatio^2</code>
 
LandRatio is capped at 1. Conversion-rate spells and perks can modify ConversionMultiplier. Some spells and unit perks use special conversion or upgrade paths rather than this standard unit-conversion formula.
 
When multiple standard conversion unit types are sent, target DP is reduced after each unit type is counted, so later conversion types only count against remaining target DP.
 
== See Also ==
* [[Invading]]
* [[Military]]

Latest revision as of 22:11, 1 July 2026

Conversion is an invasion mechanic that lets specific units or spells convert enemy peasants or units on successful invasions.

Standard Unit Conversion[edit]

Standard unit conversion is based on the units sent and the target's defensive power. Oversending beyond the units needed to break the target does not increase standard conversions.

UnitsCounted = min(UnitsSent, ceil(TargetDP / (UnitOP * OffensiveModifier)))

Conversions = floor(UnitsCounted * ConversionRate * ConversionMultiplier * RangeModifier)

At 75% range and above, RangeModifier is 1. Below 75% range, RangeModifier is:

1.25 * LandRatio^2

LandRatio is capped at 1. Conversion-rate spells and perks can modify ConversionMultiplier. Some spells and unit perks use special conversion or upgrade paths rather than this standard unit-conversion formula.

When multiple standard conversion unit types are sent, target DP is reduced after each unit type is counted, so later conversion types only count against remaining target DP.

See Also[edit]