Luck Modifier: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
Grzechooo (talk | contribs)
No edit summary
m Reverted edits by 172.104.25.20 (talk) to last revision by Fizzer
 
(34 intermediate revisions by 14 users not shown)
Line 1: Line 1:
When a game is created, members have the option to control how much that luck will affect the game. They can pick an amount from 0% to 100%.  The default is 75%.
When a game is created, players have the option to control how much luck will affect the game. They can pick an amount from 0% to 100%.  The default is 0%.
 
Note: Selecting [[Weighted Random]] instead of [[Straight Round]] also affects the number of armies needed to take a territory.


==Details==
==Details==
To understand the details of how the luck percentage affects combat, it is assumed you first understand the [[combat basics]].
To understand the details of how the luck percentage affects combat, it is assumed you first understand the [[combat basics]].


When an attack happens, WarLight calculates the "expected" number of armies that should get killed, assuming an average roll. The attack is also randomed as normal and these two numbers are interpolated based on the luck percentage.
When an attack happens, Warzone calculates the "expected" number of armies that should get killed, assuming an average roll. The attack is also randomized as normal and these two numbers are interpolated based on the luck percentage.


==Example==
==Example==
Line 10: Line 12:
If a player attacks with 100 armies, it is expected that it will kill 60 of the defending armies, but let's assume the random number generator determined that only 54 would get killed.
If a player attacks with 100 armies, it is expected that it will kill 60 of the defending armies, but let's assume the random number generator determined that only 54 would get killed.
   
   
In a game with a luck percentage of 100%, WarLight will simply use the 54. However, in a game where the luck percentage had been reduced to 50%, WarLight would take the average of these numbers and would use 57 instead. If the luck percentage were 0%, WarLight would simply ignore the random and use the 60 every single time.
In a game with a luck percentage of 100%, Warzone will simply use the 54. However, in a game where the luck percentage had been reduced to 50%, Warzone would take the average of these numbers and would use 57 instead. If the luck percentage were 0%, Warzone would simply ignore the random and use the 60 every single time.


==Analysis==
==Analysis==


http://blog.warlight.net/Images/LuckGraphs.png
https://d32kaghj56y4ei.cloudfront.net/static/img/LuckGraphs.png


==Remainders==
==Remainders==


In the event that the calculations do not come out evenly, the remainders will be randomed. For example, if the formula determines that 12.8 armies should be killed, there is a 80% chance that the result will be rounded up to 13 and a 20% chance that the result will be rounded down to 12. For this reason, luck can never be totally removed from WarLight, but since it's only one army it's not too significant.
In the event that the calculations do not come out evenly, the [[rounding mode]] will be used to determine how the result is rounded.
 
Randoming remainders is important to WarLight since it prevents players from exploiting the system. If results were rounded instead, it would make micromanagement of your armies very beneficial which reduces the overall fun of the game. For example, it would be a waste to attack with 4 armies since it would have the same effect as attacking with 3 except it puts an additional army of yours at risk and takes that army away from other benefit. By randoming remainders, this makes every army beneficial and removes the need to micromanage.
 
==Members==
 
WarLight [[Membership|members]] may use any luck percentage in the games they create, however games created by non-members always have a 75% luck percentage unless they use a [[built-in template]]. [http://warlight.net/Membership.aspx Learn more about membership].


==See Also==
==See Also==
Line 30: Line 26:
* [[Analyze Graphs]]
* [[Analyze Graphs]]
* [[Attack Luck]]
* [[Attack Luck]]
* [[Rounding mode]]


[[Category:Game Settings]]
[[Category:Game Settings]]

Latest revision as of 02:17, 25 April 2019

When a game is created, players have the option to control how much luck will affect the game. They can pick an amount from 0% to 100%. The default is 0%.

Note: Selecting Weighted Random instead of Straight Round also affects the number of armies needed to take a territory.

Details

To understand the details of how the luck percentage affects combat, it is assumed you first understand the combat basics.

When an attack happens, Warzone calculates the "expected" number of armies that should get killed, assuming an average roll. The attack is also randomized as normal and these two numbers are interpolated based on the luck percentage.

Example

If a player attacks with 100 armies, it is expected that it will kill 60 of the defending armies, but let's assume the random number generator determined that only 54 would get killed.

In a game with a luck percentage of 100%, Warzone will simply use the 54. However, in a game where the luck percentage had been reduced to 50%, Warzone would take the average of these numbers and would use 57 instead. If the luck percentage were 0%, Warzone would simply ignore the random and use the 60 every single time.

Analysis

LuckGraphs.png

Remainders

In the event that the calculations do not come out evenly, the rounding mode will be used to determine how the result is rounded.

See Also