Luck Factor: 9/27/2010 19:44:57 
Duke
Level 5
Report

I'm in a game with luck set to 20%. I attacked a neutral 1 with 2 and lost.
The result says I had 1.20 luck. How is that possible with 20% luck setting? 1.2 x .2 = .24. So the worst result I should be able to get with a 20% luck factor is 1.2  .24 or .96. I would have needed to fall to .49 (or below) to fail to kill the one army and take the territory.
Or am I missing something?
As it happens failing to take that 1 neutral resulted in me missing a +62 army bonus the next turn.

Luck Factor: 9/27/2010 21:54:52 
Fizzer
Level 58
Warzone Creator
Report

.96 will get rounded up to 1 96% of the time. 4% of the time, it will be rounded down to 0.

Luck Factor: 9/28/2010 01:36:28 
Duke
Level 5
Report

So there are effectively two rolls then. The first to establish the percentage odds and then a percentile roll to deal with the remainder.
In my scenerio the first roll could bring any result between .96 and 1.44. Then the second roll would take whatever the remainder is and apply that chance out of a hundred. To end up with 0 I had to fall between .96 and .99 on the first roll (a 4 out of 48 chance given the range of numbers between .96 and 1.44, or roughly 6%) and then, assuming the worst result of .96 exactly, I would need to roll 14 out of 100 on the second roll, a 4% chance. So the combined chances are somewhere between .06% and .24%. So I'd fail that attack an average of .15% of the time or 1 in 667 times.
That makes sense I guess. thanks for the answer.

Luck Factor: 9/28/2010 02:45:45 
Fizzer
Level 58
Warzone Creator
Report

Yep! Check out the help page under "Luck Modifier" for a full explanation.

Luck Factor: 9/28/2010 17:12:34 
Duke
Level 5
Report

BTW: That first 6% should've been 8%.
To be 100% sure you win any attack/defense you just have to exceed the remainder. Hence the default luck setting should be 15%. Of course, I'll always take 0% too.
To kill 1, an attack with 2 would be 1.2  so if luck is 15% or less (.18), you'll never fail. An attack with 1 would fail 88% of the time (because of the replacement factor  if attacking a stack, you'd fail 40% the time).
To kill 2, an attack with 4 would be 2.4  so if luck is 15% or less (.36), you'll never fail. An attack with 3 would fail 20% of the time.
To kill 3, an attack with 6 would be 3.6  so if luck is 15% or less (.54), you'll never fail. An attack with 5 would fail 7.5% (I think).
To kill 5, an attack with 9 would be 5.4  so if luck is 7% or less (.378), you'll never fail. An attack with 8 would fail 20% of the time.
etc. etc.
Which is why we need more tournament and FFA games with lower luck factors!!

Luck Factor: 9/29/2010 19:55:38 
The Impaller
Level 9
Report

.06 and .24 are the chances? I just want to clarify this is correct, because I've now failed 2 attackers on 1 defender twice in the same 20% luck game, and I have likewise failed this attack a few other times recently.
I want to make sure that something didn't get altered or whatever, because that seems to be an absurdly high number of times to fail an attack that has a .06.24% chance of happening.

Luck Factor: 9/30/2010 00:43:49 
Duke
Level 5
Report

my math was slightly off  it's .08% to .24% or an average of .16% or 1 in every 625 attacks.

Luck Factor: 9/30/2010 00:46:48 
Duke
Level 5
Report

I just played a game with luck at 0% where I lost 6 of my first 10 attacks of 3 on 2. The odds were a straight 80% on each attack and I lost 6 out of 10 times or 3 times the expected rate. Unlikely yes, but not out of the realm of possibility.
I'm sure I notice more when the luck is off the expected result against my favor a lot more.

Luck Factor: 9/30/2010 13:49:02 
Duke
Level 5
Report

Since there's only 1 army to kill it's irrelevant whether you would kill 2.
There's no additional factor to apply once you arrive at .2075% odds.
Let me try and make it clearer (this is with a 20% luck factor):
Roughly 8% odds that you end up with 96, 97, 98 or 99 (out of range between 96 and 144, that's 4 out of 48 or 8.3%) (if it's 100 or above, congrats you killed the 1 defender).
Then between 1% and 4% odds that you end up rolling a 1, 2, 3 or 4.
Therefore the range of possibilities where you fail is between (8.3% x 1%) and (8.3% x 4%) or (.083%) and (.332%).
The average of those two possibilities is .2075%.
Divide 100 by .2075 and you end up with 1 in 481.
Impaller  For it to happen twice in one game to you is unlikely, unless you've made hundreds of 2x1 attacks.
[I initially thought the odds on the first roll were 6% so the odds dropped when I changed that 8%, they dropped slightly again when I used exact numbers instead of rounding]

Luck Factor: 10/1/2010 08:32:48 
The Impaller
Level 9
Report

I made about 10 2x1 attacks that game, if that.
http://warlight.net/App.aspx?GameID=1085788 Turn 5 and 10. Cost me a potentially crucial bonus on turn 5.
Anyway, the reason I even bothered to mention it is because this has been happening to me very frequently lately. I had it happen to me 3 times in a 2 day stretch a few weeks back. I really don't recall this ever happening prior to a month or so ago, and it's happened at least 67 times in the last month. Perhaps I was just really lucky earlier on and have been really unlucky lately, or perhaps I never really paid attention to it earlier and now I do, but I wanted to make sure something hadn't changed that I wasn't aware of.
Also, perhaps the base for strategic games can be made to 15% or less luck to remove this from ever happening? I know you like Warlight to have some bit of variance (I don't disagree, necessarily), but this very small amount of luck that almost never comes up but is devastating when it doesn't seem to offer anything positive. Also, could it at least be changed so that it doesn't list the attack as 100% likely to succeed using the analyze tool? If there is any chance of failure, then there isn't a 100% chance to succeed.

Luck Factor: 10/4/2010 20:41:34 
Duke
Level 5
Report

I am also experiencing whacky luck probability. I've been tracking all my 3x2 attacks for the last 5 games and am between 50% and 60% successful. I should be 80% successful (luck is set to between 020%). That's a sample of only around 50 attacks, but a big deviation from the expected result.

Luck Factor: 10/7/2010 10:53:53 
The Impaller
Level 9
Report

I think 3x2 is 72% or something similar on 20% luck, but close to 80% on 0% luck.

Luck Factor: 10/7/2010 18:33:04 
Duke
Level 5
Report

I guess I understand that point Imp.
3x.6 = 1.8, 1.8x.2 = .36, range = 1.442.16, the median is still 1.8, but you're point is that you disregard the range above 2.0 as immaterial to the result?
odds result of 1st roll is between 1.44 and 1.99 = 55/72 or 76.3% (odds you'll have a remainder roll). Then the median result in the range between .44 and .99 is .715 (odds you'll kill 2 on remainder roll). We know the result has to be higher than 71.5% because 23.7% of the time you don't even have a remainder roll.
Therefore overall odds that you'll kill 2 instead of 1 would then be 100(76.3*.285) = 78.25%.
I think, or am I getting that wrong?

Luck Factor: 10/10/2010 05:37:42 
Pinkbladder
Level 55
Report

youre experiencing problems with the fact that it is extremely hard to program a random number generator that is "random"

Luck Factor: 8/8/2011 14:44:39 
mosquitero_retired
Level 40
Report

I think the more or less incomplete Help about this leads to all the misunderstandings.

Luck Factor: 8/9/2011 02:26:41 
Mian
Level 54
Report

On WL wiki, I'd be very happy to find full info about calculation, luck, luck modifier and a fair share of examples on a dedicated page. To be honest, Fizzer, the help page about luck may be too light, and doesn't help me thouroughly although I do maths and stochastics on a regular basis.

Luck Factor: 8/9/2011 07:27:06 
[中国阳朔] V
Level 12
Report

I use the "Analyze" button a lot lately (found on the popup when you attack a territory). It shows you what the success percentage is when you attack and you can adjust the number of defenders for different scenarios.
I think this is quite useful as I don't want to use a seperate calculator and it shows you with how many you should attack to get it 100% sure.
In addition you can also use it to see how many defenders you need to not lose the territory, but that is a bit more advanced maybe.

Luck Factor: 8/9/2011 15:02:18 
Mian
Level 54
Report

Anyway, I don't mind using pure algebra and I'd like to have all tools I need to proceed this way ^^
By the way I never use the analyze tool. Maybe I should, but still, I find it just boring and I'd even strongly recommend having it away from the game, at least in rated games. Just like in, for say, poker, you don't have a calculator to tell you how far you are from winning : it would badly hurt the ability you have to ponder what depends on you and what not, and that may be precisely what makes it so thrilling (well I'm not a poker fan, but I guess it's a pretty convenient example).

Luck Factor: 8/9/2011 16:45:50 
mosquitero_retired
Level 40
Report

Thanks for the hint at the Analyze tool. It is interesting to see the probabilities of success for attacking neutrals in a 75% luck game.

Post a reply to this thread
Before posting, please proofread to ensure your post uses proper grammar and is free of spelling mistakes or typos.

