Combat Basics

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
 
   
 
   
 
Defenders also get an opportunity to kill attacking armies. Each defending army has a 70% chance at killing one of the attacking armies.
 
Defenders also get an opportunity to kill attacking armies. Each defending army has a 70% chance at killing one of the attacking armies.
 
  
 
Generally, you always want to have overwhelming numbers in every battle you participate in. Clearly, however, this isn't always possible, so you must pick and choose your fights to make the most effective use of your armies.
 
Generally, you always want to have overwhelming numbers in every battle you participate in. Clearly, however, this isn't always possible, so you must pick and choose your fights to make the most effective use of your armies.
 
   
 
   
==Animation Example==
+
==Examples==
 +
 
 +
===Animation Example===
  
 
In the animation shown in the upper-right right, 7 armies is shown attacking a territory defended by 4 armies.  Note the left territory had 8 armies to start with, but it can only attack with 7 since one army must remain on all territories.
 
In the animation shown in the upper-right right, 7 armies is shown attacking a territory defended by 4 armies.  Note the left territory had 8 armies to start with, but it can only attack with 7 since one army must remain on all territories.
Line 24: Line 25:
 
In this case, the attackers killed 4 and the defenders killed 3.  Since all of the defending armies died, the territory is captured by the attacker.  7 armies were attacking, and 3 were killed by the defenders, leaving 4 to occupy the newly captured territory.
 
In this case, the attackers killed 4 and the defenders killed 3.  Since all of the defending armies died, the territory is captured by the attacker.  7 armies were attacking, and 3 were killed by the defenders, leaving 4 to occupy the newly captured territory.
  
==Successful attack example==
+
===Successful attack example===
 +
 
 
Let's say that 15 armies attack a territory that has 6 armies.
 
Let's say that 15 armies attack a territory that has 6 armies.
 
The attacking 15 armies could have killed between 0 and 15, but on average they will kill 9 (60% of 15). Let's say they kill 9 armies.
 
The attacking 15 armies could have killed between 0 and 15, but on average they will kill 9 (60% of 15). Let's say they kill 9 armies.
Line 30: Line 32:
 
5 of the attacking armies die and all 6 of the defending armies die. Since all the defenders died, the remaining 10 attacking armies take control of the defending territory.
 
5 of the attacking armies die and all 6 of the defending armies die. Since all the defenders died, the remaining 10 attacking armies take control of the defending territory.
  
==Failed attack example==
+
===Failed attack example===
 +
 
 
Let's say that 25 armies attack a territory that has 20 armies.
 
Let's say that 25 armies attack a territory that has 20 armies.
 
The attacking 25 armies could have killed between 0 and 25, but on average they will kill 15 (60% of 25). Let's say they kill 15 armies.
 
The attacking 25 armies could have killed between 0 and 25, but on average they will kill 15 (60% of 25). Let's say they kill 15 armies.
Line 36: Line 39:
 
15 of the attacking armies die and 15 of the defending armies die. Since 5 defenders lived, the territory is not captured. The remaining 10 attacking armies retreat back to their territory of origin.
 
15 of the attacking armies die and 15 of the defending armies die. Since 5 defenders lived, the territory is not captured. The remaining 10 attacking armies retreat back to their territory of origin.
  
==Note==
+
==Analyze Graphs==
The calculations on this page assume that the game's luck modifier is set to 100%. To see how the [[Luck Modifier|luck modifier]] changes the calculations, see the [[Luck Modifier|Luck Modifier Page]]. Also, the [[offense and defense kill rates]] can be overridden by game creators, so check the settings on your game to be sure.
+
 
 +
Within the game, WarLight supplies [[Analyze Graphs]]. These provide an easy way to understand the odds of any attack succeeding without needing to understand all of the math presented on this page.
 +
 
 +
==Analysis==
 +
 
 +
Calculating how many armies will be killed can be done with the [http://en.wikipedia.org/wiki/Binomial_probability binomial probability] formula.  If we run this formula on 100 attacking armies, we get a bell curve like this:
 +
 
 +
http://blog.warlight.net/Images/BinomialDistribution.png
 +
 
 +
We can see that the most likely number of armies that will be killed by 100 attacking armies is 60, which will happen about 8% of the time.  75% of the time, the rolls will fall between 55 and 65 armies.
  
==Analyze==
+
==Luck Modifier==
Within the game, WarLight supplies an Analyze function. This function can be accessed when attacks/transfers are defined (Phase 2 of a turn) by pressing the Analyze button of the Attacks/Transfers - pop-up window and shows how probable it is for an attack to succeed. This function takes the luck modifier into account.
+
  
For example, in a game with following settings:
+
The calculations on this page assume that the game's [[luck modifier]] is set to 100%.  Most games use a lower value, which reduces the amount that luck affects the game.  To see how the this changes the calculations, see the [[Luck Modifier|Luck Modifier Page]].
  
75% luck / 60% attack kill rate / 70% defense kill rate (default settings)
+
==Overridden kill rates==
  
* attack with '''3''' troops on a neutral with 2 troops succeeds with '''69%''' probability
+
The default [[offense and defense kill rates]] are 60% and 70%, but these can be overridden by game creators.  Therefore, it's a good idea to check the settings on your game to be sure.
* attack with '''4''' troops on a neutral with 2 troops succeeds with '''88%''' probability
+
* attack with '''5''' troops on a neutral with 2 troops succeeds with '''95%''' probability
+
* you need at least '''8''' troops to attack a neutral to get a '''100%''' probability of success
+
  
 
==See Also==
 
==See Also==
 
* [[Luck Modifier]]
 
* [[Luck Modifier]]
 
* [[Offense and defense kill rates]]
 
* [[Offense and defense kill rates]]
 +
* [[Analyze Graphs]]
  
 
[[Category:Gameplay]]
 
[[Category:Gameplay]]

Revision as of 17:14, 23 August 2011

CombatBasicsAnimation.gif

This animation is also available on YouTube

The attack system is very simple. Each army that attacks has a 60% chance at killing one defending army. If all the defending armies are killed, the territory is captured and all the attacking armies move to occupy the destination territory.

For example, if you attack with 10, you will kill, on average, 6 armies. This is why you generally want to attack with at least double the number of armies the defender has.

Defenders also get an opportunity to kill attacking armies. Each defending army has a 70% chance at killing one of the attacking armies.

Generally, you always want to have overwhelming numbers in every battle you participate in. Clearly, however, this isn't always possible, so you must pick and choose your fights to make the most effective use of your armies.

Contents

Examples

Animation Example

In the animation shown in the upper-right right, 7 armies is shown attacking a territory defended by 4 armies. Note the left territory had 8 armies to start with, but it can only attack with 7 since one army must remain on all territories.

Each of the 7 attacking armies has a 60% chance at killing one defending army. Each of the 4 defending armies has a 70% chance at killing one of the attacking armies.

In this case, the attackers killed 4 and the defenders killed 3. Since all of the defending armies died, the territory is captured by the attacker. 7 armies were attacking, and 3 were killed by the defenders, leaving 4 to occupy the newly captured territory.

Successful attack example

Let's say that 15 armies attack a territory that has 6 armies. The attacking 15 armies could have killed between 0 and 15, but on average they will kill 9 (60% of 15). Let's say they kill 9 armies. The defenders could kill between 0 and 6 of the attacking 15 armies, but on average they will kill 4 or 5 (70% of 6). Let's say they kill 5 armies. 5 of the attacking armies die and all 6 of the defending armies die. Since all the defenders died, the remaining 10 attacking armies take control of the defending territory.

Failed attack example

Let's say that 25 armies attack a territory that has 20 armies. The attacking 25 armies could have killed between 0 and 25, but on average they will kill 15 (60% of 25). Let's say they kill 15 armies. The defenders could kill between 0 and 20 of the attacking 25 armies, but on average they will kill 14 (70% of 20). Let's say they kill 15 armies. 15 of the attacking armies die and 15 of the defending armies die. Since 5 defenders lived, the territory is not captured. The remaining 10 attacking armies retreat back to their territory of origin.

Analyze Graphs

Within the game, WarLight supplies Analyze Graphs. These provide an easy way to understand the odds of any attack succeeding without needing to understand all of the math presented on this page.

Analysis

Calculating how many armies will be killed can be done with the binomial probability formula. If we run this formula on 100 attacking armies, we get a bell curve like this:

BinomialDistribution.png

We can see that the most likely number of armies that will be killed by 100 attacking armies is 60, which will happen about 8% of the time. 75% of the time, the rolls will fall between 55 and 65 armies.

Luck Modifier

The calculations on this page assume that the game's luck modifier is set to 100%. Most games use a lower value, which reduces the amount that luck affects the game. To see how the this changes the calculations, see the Luck Modifier Page.

Overridden kill rates

The default offense and defense kill rates are 60% and 70%, but these can be overridden by game creators. Therefore, it's a good idea to check the settings on your game to be sure.

See Also

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox