Vladesch
Warlord
I often win at low odds.
When Im trying to soften up a mob with a skeleton so my adept can get the kill.
When Im trying to soften up a mob with a skeleton so my adept can get the kill.
For your tests I would recommend samples of identical units on each side and the same odds rather than just bunches of different units. You're probably tracking results in a game but it would be cool to see:
1. 100 swordsmen attacking 100 warriors with both in grasslands.
2. 100 swordsmen attacking 100 warriors on a hill (do terrain bonuses mess with the odds?).
Cool analysis, Im very interested.
Keep in mind that combat odds are an estimation. The game approximates your chance of winning, but it isnt like it just roles those odds to determine the combat. The real combat is a whole series of attacks and defenses, with modifiers and bonuses adjusting the odds in different ways. So it may not be exact, but it should be pretty close in large samples.
For your tests I would recommend samples of identical units on each side and the same odds rather than just bunches of different units. You're probably tracking results in a game but it would be cool to see:
1. 100 swordsmen attacking 100 warriors with both in grasslands.
2. 100 swordsmen attacking 100 warriors on a hill (do terrain bonuses mess with the odds?).
3. 100 swordmen attacking 100 warriors with dance of blades (do first strikes mess with the odds?).
That kind of testing may help us if there a significant descrepancy is shown.
I'm not too convinced with the tests goin on, as most of them seem to be tests of base, non-upgraded units against eachother. I think alot of the "possible" problems have to do with all of the promotions a unit might recieve. It seems your heavily promoted units, or else heavily promoted targets/enemies are the ones where combats don't always seem to fit the percentages, and the computer units always seem to have a ton of promotions.
I will agree that you definately remember the combats you lose, but I'm totally fine with losing every once in a while with a 95%+ odd. But at the same time, it seems like when you have odds in the 70%'s, it's almost like a grand victory to actually win one. Seems like you get that 74% odd battle that you can't avoid starting, and if you win, it calls for a celebration as it's so rare. But again, I think my problems relate to heavily upgraded units, I would hope Civ4 would be able to calculate a simple Str5 unit vs a Str7 unit with no buffs.
All in all though, this is a problem that can be dealt with (if it really is a problem), you just don't do combats below 80%, and you don't do combats with hero or favored units under 96%. The current FFH mod is amazing, and all of the work done with recent patches and up and coming patches sound great, so this "possible problem" could take a back seat for all I care. Whatever free time you guys have to devote to working on the mod I'm sure could be put to better use for the time being, as said, there are ways to deal with this.
I know much has been written about Combat Odds in Civ4/FFH. Many of us can remember that version in which the combat odds were really whacky.
Well, it seemed like in the latest version I was losing quite a few battles in which I was favored by what I would call overwhelming combat odds - 90% or greater. My definition.
Of course, you always tend to remember those losses and sometimes lose track of the many combat victories you are piling up.
Anyway, as a retiree, I have plenty of time on my hands, so I decided to run a small sample test during my current game. I charted 100 battles where I had combat odds of 90% or greater.
Care to guess how many of those battles I won?
How about 84?
Included in the 100 were 37 battles where the odds were 99.9%. A sure thing, right? I lost three of those.
It was a small sample size and I'm not sure you can conclude anything from the test. Honestly, I thought I would have more than 16 losses in the 100 battles. It just seemed like I was losing more battles when I was heavily favored to win in my games.
One thing I have noted is that if you win quite a few battles when the odds are high, you can bet your string will end, even with the high odds. I guess that makes sense. But, it is really annoying to win a few battles and then lose that veteran unit when the odds are 98.6% to win.
Of course, the flip side of this is how many battles you win when the odds are heavily against you. I find you win very few of those, perhaps less than even the low odds would indicate. But, really, I think most of us would avoid battles, especially with good units, when the combat odds are low. It does seem, though, that you often, and I mean often, lose the 60-70% battles a lot more than you win as the odds would indicate.
Anyway, maybe my next test will be to run a sample of battles where the odds are 10% or less and see how many I would win.
For the statistician purists out there, I apologize if my simple test and analysis offends you - just wanted to see if there was any kind of pattern with all those 90+% battles I was losing.![]()
Okay, so here's the monkey wrench:
These aren't huge samples, but are very... telling.
First take 28 Wraiths pitted vs 28 Iron Golems.
IG's are strength 10,and immune to death.
Wraiths are Strength 6 + 3 death.
Combat odds show Wraiths having about 4% chance of victory. They win 3 times out of 28. So we are about right there. Odds computed showed a strength 10 vs a strength 6 unit (Makes sense, they are immune to death).
Second, however, we have 43 Spectres vs 43 Wood Golems.
The spectres have death affinity, and 3 sources of Death, so show as have 6 Strength (3 + 3 Death)
Wood Golems are strength 6 and have immunity to death.
Combat odds show Spectres with .9% (!) to win against the Golems. IT shows a strength 6 Golem vs a strength 3 Spectre. This still looks right because the golems are immune to the death damage.
HOWEVER. When we fight these 43 combats, the spectres win 29 of 43 combats. Further more, checking the combat log shows them as strength 6 vs the golems. (Whereas the combat log for the wraiths showed them as strength 6 as well, which meant the death damage wasn't calculated).
Conclusion: I suspect that the effects which check for immunity in the combat code, trigger BEFORE the effects which check for affinity. So units with immunity are immune to only built in effects, not those based by affinity.
I have replicable proof that first strikes are not always handled correctly when calculating combat odds.
Edit the XML so that warriors (strength 3) have 500 first strikes.
Use World Builder to create warriors and a Margalards (strength 22 orangutan , no special abilities) on adjacent grassland
The combat odds will display as <0.1%, but out of 100 attempts I won every one of them.
This is an extreme example, but it was designed to demonstrate a discrepancy in the way combat odds are calculated when first strikes are involved.
Could you guys go a bit further with the massive First Strike tests please?
Set the warrior to 1 Strength, and his opponent to 100. See if you still always win with 500 First strikes.
If you do (yikes!) try it at a Warrior Strength of 0. Hopefully you lose then. If so, go back to Warrior Strength of 1, and start reducing the number of first strikes, see how close to 20 you can get.
My fear is that a First Strike might be an automatic hit, rather than a "you can't hit me if I lose" like it is supposed to be. Cause realistically in 500 hits it should be pretty hard for a 3 strength warrior to succeed at the 18 or so that he needs against a 18 strength opponent so consistently
Set the warrior to 1 Strength, and his opponent to 100. See if you still always win with 500 First strikes.
If you do (yikes!) try it at a Warrior Strength of 0. Hopefully you lose then. If so, go back to Warrior Strength of 1, and start reducing the number of first strikes, see how close to 20 you can get.
My fear is that a First Strike might be an automatic hit, rather than a "you can't hit me if I lose" like it is supposed to be. Cause realistically in 500 hits it should be pretty hard for a 3 strength warrior to succeed at the 18 or so that he needs against a 18 strength opponent so consistently
the only problem with +-5% deviation is when a unit like a hero has 94% chance to win, when it is really 89% is almost double the chance for the hero to be lost
with 45-55% it actually isn't that significant
of course, heros on the attack are the ones that matter most to people so go figure...