Given the percentage, how to get the outcome?

Nobile Oplita

Chieftain
Joined
May 1, 2016
Messages
5
Hi, i don't know if this is the right section, but I think it was the most "appropriate".

What I am asking is if you know a way to get an outcome given a percentage (in Excel or any other way).

So, If I insert (for example) 63% to how to get WIN or LOSE, according to the percentage.


There is a 63% to get WIN and a 37% to get LOSE.
I tried to google, but I don't know what exactly research.
Thx for your help!
 
Thx, but I need some random factor. I mean, like CIV 3 even if i have 90% i could get LOSE. How to apply that random factor? Thx.
 
To be honest I do not really get what your aim is but you could work with "rand()" which creates a random number between 0 and 1.
 
To be honest I do not really get what your aim is but you could work with "rand()" which creates a random number between 0 and 1.
Basically how the civilization 3 combat works.

Attacker: 1 Atk, Defender: 2 Def

Attacker's ATK / (Attacker's ATK + Defender's DEF) = % of Attacker to win the fight.

-->

1 / (1+2) = 33%

Now, given the attacker's chance to win (33%) how can I get a really outcome?
Even if low, 33% can lead to "WIN". Basically, how can I run this "random" success/fail
rate?.

(my english is horrible, sorry)
 
Top Bottom