Attacking & Defending

From The Utopian Encyclopedia
Revision as of 15:03, 12 December 2018 by Avenger (talk | contribs) (Raw Offense)
Jump to: navigation, search

Military Efficiency

Base Military Efficiency

Base Military Efficiency = ( 60 + 40 * ( Effective Wage Rate / 100 ) 0.25 ) * Gangbang Protection * Science Bonus  
  • Rounded to one decimal point, it should return the most accurate values. Effective Wage Rate lies between 50 to 200.
  • While wages can be changed instantly, the effective wage rate used for base military efficiency changes slowly per tick. The formula for change in effective wage rate is:
Change in Effective Wage Rate =  0.05 * (Wage Rate Paid - Effective Wage Rate)
  • If wages were not fully paid in the previous tick, Wage Rate Paid will be set at 50 regardless of the amount of wages actually paid.
Condition Modifier
Gangbang Protection Varies, see GBP

Offensive Military Efficiency

OME = (Base Military Efficiency + Training Ground Bonus + Honor Bonus) * Fanaticism Bonus * Personality Bonus * Onslaught Ritual

Defensive Military Efficiency

DME = (Base Military Efficiency + Forts Bonus) * Minor Protection * Greater Protection * Fanaticism * Plague * Barrier Ritual

Attacking

Raw Offense

Raw Off = Soldiers + (Offensive Specs * Offspec value) + (Elites * Elite Attack value) + (Horses * 2) + [(Mercs + Prisoners) * 3]

Modified Offense

Mod Off = Raw Offense * (OME + General Bonus) * Race Bonus
Condition Modifier
OME check your Military Advisor
General Bonus +3% per additional general over 1

Attack Times

Attack Time = Base Attack Time * Race Bonus * Personality Bonus * Barracks Bonus * Quick Feet * Attack Type * War * NW Mod * Godspeed Ritual
  • Note: War attack speed phases in to a maximum of -25% after 12 hours of war have passed
  • There is a networth value adjustment for attack times. This adjustment compares your networth to the networth of the province you are planning to attack. If these are close to each other the base attack times as given below are used. If the networth differs, then the base attack time is multiplied, so your attack time is longer. This does not affect intra-KD attacks or in war.

Base Attack Time

The base attack time is 16 hours. This is the value all calculations are based upon.

Location Intra KD Different KD
Attack Time 14.4 16

Minimum Offense to Win

Random factor is +-3.5% for offense and defense. Off/def ratio needed to win is 0.97. Thus in the worst case (-3.5% offense, +3.5% defense) the borderline winning situation is:

Condition to Win = (Mod Off * 0.965) / (Mod Def * 1.035) ≥ 0.97

Which simplifies to:

Mod Off = Mod Def * 0.97 * 1.035 / 0.965
Mod Off = Mod Def * 1.040362694

Therefore, to guarantee a win, you must send a Mod Off that is ~4.04% greater than the defenders Mod Def.

On Conquest attacks, the minimum offense to win is 51% of the opponents defense.

Defending

Raw Defense = (Defense Specs * Def Spec Points) + (Elites at Home * Elite's Defense) + (Soldiers * Def Points Sold * Aggression) + Townwatch
Mod Defense = MAX ( Raw Defense * Defensive Military Efficiency , Land )
Modifier Type Active Otherwise
Def Spec Points 6 (7 for Elf) 6
Elite Defense Variable
Aggression 0 (1 for Halfling) 1
Town Watch Peasants / 4 0


Minimum Defense

  • All land is protected by a minimum of 1 defense per acre. That is, if you should send every single elite and general out, and release your defense specialists, an opponent would still need to send 1 offence point per acre to conduct a successful attack against you.


Attack Gains

 Gains = Target Resource * Attack Type * RPNW * RKNW * GBP * Guard Stations * Race * Relations * Attack time modifier * Anonymity * Expropriation Ritual * Siege Science


Province Networth Factor

 Relative Province Networth (rpnw) = Targets Networth / Self Networth
 
 Province Networth Factor = DEPEND ( rpnw ) :
                                     rpnw < 0.567   = 0
                             0.567 < rpnw < 0.9     = 3 * rpnw - 1.7
                             0.9   < rpnw < 1.1     = 1
                             1.1   < rpnw < 1.6     = -2 * rpnw + 3.2
                                     rpnw > 1.6     = 0

Kingdom Networth Factor

As of Age 75, RKNW is based on the average province size of the Kingdom - to be a more accurate representation of the Kingdom strength.

Attack time adjustment factor

Attack time adjustment (with reduced time):

 Attack time adjustment factor = 1 - 1.5 (Hours reduced / base attack time)

Attack Type

Traditional March

Base gains are 12% and Traditional March gains are capped at 20% of your or opponent's land, whichever is smaller.

Ambush

Will return 50% of the acres stolen.

Plunder

Base gains are 50% gold, 60% food and 60% runes. Max gains is 1.35x base (67.5% gold, 81% runes/food).

Learn

Steals a portion of target's allocated books (base ~5%) plus a portion of the target's unallocated books (base ~30%). During war, Learn reduces the effectiveness of target science. Troop losses on Learn defense will be reduced by 50%

Raze

Destroys a portion of the targets land. In war this attack only destroys buildings

Conquest

Base gains are 6.8% land for a full hit, gains are decreased in proportion to the relative offense sent vs. targets defence.

Massacre

Base gains are 9.5% peasants, 8.5% thieves and 5% wizards


Military Losses

Base military losses are 7% on offense, 5% on defense.

Modifier Type Effect
Attack: Learn Defensive Kills -50%
Race: Orc Offensive Kills +15%
Race: Orc All Military Casualties +10%
Personality: Undead All Military Casualties -30%
War All Military Casualties -25% (after 24 hours)
Ritual: Onslaught Offensive Kills +15%
Ritual: Godspeed Offensive Military Casualties -15%
Building: Hospitals All Military Casualties Varies
Spell: Pitfalls Defensive Military Casualties +25%
Spell: Bloodlust Offensive Kills +10%
Spell: Bloodlust All Military Casualties +15%
Spell: Wrathful Smite Enemy's Military Casualties Unknown
Op: Bribe Generals Defensive Military Casualties 20% chance for +15%
Emerald Dragon All Military Casualties +20%