Editing Luck Modifier
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | When a game is created, | + | 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%. The strategic templates, as well as the [[ladders]], use 16%. | |
==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, | + | 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. |
==Example== | ==Example== | ||
Line 12: | 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%, | + | 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. |
==Analysis== | ==Analysis== | ||
− | + | http://s3cdn.warlight.net/static/img/LuckGraphs.png | |
==Remainders== | ==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. | In the event that the calculations do not come out evenly, the [[rounding mode]] will be used to determine how the result is rounded. | ||
+ | |||
+ | ==Members== | ||
+ | |||
+ | WarLight 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== |