Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Civ3-General-Archive > Combat math question
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Venger is offline Venger
King
Keeper of the Can-O'Whoopass
Jan 1970
time: 23:16
  Old Post 24-11-2001 10:46
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Combat math question Inflate your Upload Space

I'm using the combat spreadsheet found here on Apolyton to get numbers, but I'm missing something -

An 18 versus 2 unit, 3 HP each, according to this spreadsheet, gives the defender a 1% chance of winning.

But in order to win, the defender must win 3 rounds, at 10% chance of winning each. Shouldn't that mean the chance is actually .1^3, or .1% instead? This of course makes the chances of 3 hits in a row the same as 3 out of 5, which doesn't make logical sense, but I cannot find the function to factor that into the mix. Then again, should it matter how many rounds it is, three in a row or three out of 10?

What am I leaving out of the equation? Or is the spreadsheet wrong?

Venger

gamma is offline gamma
Chieftain

Nov 2001
time: 05:16
  Old Post 24-11-2001 12:23
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Call to Power 2

The defender has a 1/1000 chance of winning 3 times in a row. But it doesn't have to win 3 times in a row. It only has to win 3 times before the attacker does. There's a number of ways this can happen:

Defender wins 3 times in a row (WWW) - 1/1000
Defender record is LWWW - 1/1000 * 9/10 = 9/10000
Defender record is WLWW - 1/1000 * 9/10 = 9/10000
Defender record is WWLW - 1/1000 * 9/10 = 9/10000
Defender record is LLWWW - 1/1000 * 81/100 = 81/100000
Defender record is LWLWW - 1/1000 * 81/100 = 81/100000
Defender record is LWWLW - 1/1000 * 81/100 = 81/100000
Defender record is WLLWW - 1/1000 * 81/100 = 81/100000
Defender record is WLWLW - 1/1000 * 81/100 = 81/100000
Defender record is WWLLW - 1/1000 * 81/100 = 81/100000

Now add them up. 1/1000 + 27/10000 + 486/100000 = 856/100000 or about 0.85% chance of the defender winning. Does the sheet round to the nearest percent?

Xerxes314 is offline Xerxes314
Settler
New York, NY
Nov 2001
time: 05:16
  Old Post 24-11-2001 14:39 Visit Xerxes314's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Lose 30 kilos (of popups)

The chance of the defender winning is actually higher than that. Don't forget that the defender never has a bonus less than +10%.

Xerxes

TCO is offline TCO
Emperor
Richmond, VA
Jan 1970
time: 00:16
  Old Post 24-11-2001 20:58
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Avatar Enlargement: We've got the solution

1. I think the defender wins ties.

2. There's a good discussion on this in the Civ2strat forum. (Going through the math to determine these kinds of outcomes.)

gamma is offline gamma
Chieftain

Nov 2001
time: 05:16
  Old Post 26-11-2001 20:48
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

Xerxes314: You're right; I hadn't thought of that. Or rather, I had, but that 10% or more is a terrain bonus, which I assumed the spreadsheet wouldn't have figured into the "base" chance.

But maybe it did. If so, the defender has a 11/100 chance, instead of 10/100.

no losses - 1331/1000000
one loss - 89/100 * 1331/1000000 * 3
two losses - 89*89/10000 * 1331/1000000 * 6

That comes to (13310000 + 35537700 + 63257106)/10000000000 = 1.12104806 percent.

gamma is offline gamma
Chieftain

Nov 2001
time: 05:16
  Old Post 26-11-2001 20:52
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

I don't see how there could ever be a tie, since only one random value determines each round. The attacker's attack value and the defender's defense value are added together. A random floating-point value is generated between 0.0 and this sum. If that random value is greater than the defender's defense, the attacker wins that round; otherwise, the defender wins. A hit point is deducted from the losing side and the generator goes again until one side dies or retreats.

TCO is offline TCO
Emperor
Richmond, VA
Jan 1970
time: 00:16
  Old Post 26-11-2001 22:48
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Call to Power 2

In Civ2 you could have ties on individual rounds. If the mechanics are the same here, you could still have ties. I've actually lost a weak horse when attacking a diplomat because of this. (happens very rarely.) If you want details on how the ties occur go the Civ2Strat combat thread. (Essantially a large die is rolled and sometimes you get a result of having the die roll equal the defend value.)

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0364 seconds (87.84% PHP - 12.16% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net