Combat Basics: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
m Reverted edits by 172.104.25.20 (talk) to last revision by Fizzer
 
(30 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<table align="right">
<div style="float:right">
<tr><td>
https://d32kaghj56y4ei.cloudfront.net/static/img/CombatBasicsAnimation.gif
http://gae.warlight.net/Content/CombatBasicsAnimation.gif
</div>
 
This animation is also available on [http://www.youtube.com/watch?v=oetKMO8-gWk YouTube]
</td></tr>
</table>
   
   
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.
The '''attack system''' is very simple. Each army that attacks has a 60% chance at killing one defending army. If all of 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.
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 twice as many armies as 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.
Defenders also get an opportunity to kill attacking armies. Each defending army has a 70% chance at killing one of the attacking armies. The defender's kill roll does not impact whether or not the territory is captured.
 


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==


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.
===Animation Example===
 
In the animation shown in the upper-right right, 7 armies are 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.
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.
In this case, the attackers killed 4 and the defenders killed 3 (represented by the four checkmarks on the left and the three checkmarks on the right).  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.
 
===Another 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.
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.
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.
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.
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.
 
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 also 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.
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, Warzone supplies a tool called [[Analyze Graphs]]. These provide an easy way to determine the odds of attacks succeeding without needing to understand all of the math and logic presented on this page, and is a timesaving convenience for those that do.
 
==Analysis of battles==
 
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:
 
https://d32kaghj56y4ei.cloudfront.net/static/img/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.  The standard deviation is approximately 4.3465 armies.  The number killed will thus be between 55 and 65 armies 75% of the time.
 
==Settings that affect the attack system==
 
===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 randomness affects the game.  To see how this changes the calculations, see the [[Luck Modifier]].


==Analyze==
===Rounding Mode===
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:
As a sub-setting of the luck modifier, [[rounding mode]] also affects luck in the game, and as a result, the attack system.


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 changed by game creators.  Therefore, for multi-player games, 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]]

Latest revision as of 02:17, 25 April 2019

CombatBasicsAnimation.gif

The attack system is very simple. Each army that attacks has a 60% chance at killing one defending army. If all of 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 twice as many armies as 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. The defender's kill roll does not impact whether or not the territory is captured.

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.

Examples

Animation Example

In the animation shown in the upper-right right, 7 armies are 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 (represented by the four checkmarks on the left and the three checkmarks on the right). 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.

Another 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 also 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, Warzone supplies a tool called Analyze Graphs. These provide an easy way to determine the odds of attacks succeeding without needing to understand all of the math and logic presented on this page, and is a timesaving convenience for those that do.

Analysis of battles

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. The standard deviation is approximately 4.3465 armies. The number killed will thus be between 55 and 65 armies 75% of the time.

Settings that affect the attack system

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 randomness affects the game. To see how this changes the calculations, see the Luck Modifier.

Rounding Mode

As a sub-setting of the luck modifier, rounding mode also affects luck in the game, and as a result, the attack system.

Overridden kill rates

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

See Also