Duel Board - Free multiplayer online games

Duel Board => Questions => Topic started by: Brian on March 20, 2005, 06:47:31 PM

Title: Question???
Post by: Brian on March 20, 2005, 06:47:31 PM
Hey,

I was wondering about something, about attacking creatures.

For example a Hover craft has an attack of 2.
The defence of a commander is 5

So i was told there is a 2/5 chance of the commander Dieing.

Now

A predator has an attack of 9
A commander has a defence of 8 (+3 from force armor)

So i think the chance of the commander dieing is 9/8

Which is over 100% of success, now why did the commander survive?
Title: Re: Question???
Post by: matlu on March 20, 2005, 06:56:30 PM
no no no, that's not how it works. The formula is following:

probability to kill = (STRENGTH - DEFENCE + 5) * 10%

(only STRENGTH of attacking monster, and DEFENCE of defending monster are taken into acount, nothing else)

So when strength equals to defence, the probablility is always 50%. For each strength point above oponent's defence you get +10% bonus. And vice versa, for each strength point below defence you get -10% handicap.


Title: Re: Question???
Post by: Brian on March 20, 2005, 07:33:45 PM
Hey,

Sorry i did not know about the forumla.

Thankyou for clearing out this question.
Title: Re: Question???
Post by: matlu on April 05, 2005, 06:59:28 PM
I changed combat system, and previously mentioned formula is no longer used! I believe that new formula is far better than previous.

To make the game more interesting, I will not disclose new formula  ;)
Title: Re: Question???
Post by: flamingdragon on April 06, 2005, 07:45:04 AM
u will tell us the new formula 8)
Title: Re: Question???
Post by: matlu on April 10, 2005, 10:23:32 PM
Ok. People wonder all the time "how could I be killed be probe!", etc. etc. so after all I decided to disclose combat system.

"random(0..9)" denotes random number in range 0..9

Two random numbers are generated, one is added to strength, second is added to defence

STR = strength + random(0..9)
DEF = defence + random(0..9)

attack succeeded if  STR >= DEF

thats all. It's better than previous system, but maybe now there is too big chance for monsters with low strength to kill monsters with high defence.

I really don't know. If anybody has some better idea, let me know.
Title: Re: Question???
Post by: zzboots on April 10, 2005, 10:30:06 PM
It sounds pretty good.  So a probe has a 1% chance of killing a bmech and a 3% chance of surviving a mech attack?  (I think I did the math right.)
Title: Re: Question???
Post by: ZAPTONE_Z on April 10, 2005, 10:37:19 PM
0-9 seems like a big interval

maybe shrink it down to 0-7?
Title: Re: Question???
Post by: zzboots on April 10, 2005, 10:52:45 PM
Quote from: ZAPTONE_Z on April 10, 2005, 10:37:19 PM
0-9 seems like a big interval

maybe shrink it down to 0-7?

That would make it impossible for probe to kill bmech.
Title: Re: Question???
Post by: ZAPTONE_Z on April 10, 2005, 11:13:11 PM
......and that's a problem because???
Title: Re: Question???
Post by: zzboots on April 10, 2005, 11:27:15 PM
Quote from: ZAPTONE_Z on April 10, 2005, 11:13:11 PM
......and that's a problem because???

Probes deserve their moment of glory too.

What about a system where an attacking monster's strength gives him so many chances.  So a strength of 6 = 6 chances.  Then the defending monster has so many chances as well.  Each chance either works or not.  Then if the number of successes for the attacking monster is greater than the successes of the defending monster. It dies.  I dunno if this system would work. Like a probe would have a 1/2^10 chance killing a bmech.
Title: Re: Question???
Post by: matlu on April 11, 2005, 12:00:14 AM
Quote from: zzboots on April 10, 2005, 11:27:15 PM
Probes deserve their moment of glory too.

What about a system where an attacking monster's strength gives him so many chances.  So a strength of 6 = 6 chances.  Then the defending monster has so many chances as well.  Each chance either works or not.  Then if the number of successes for the attacking monster is greater than the successes of the defending monster. It dies.  I dunno if this system would work. Like a probe would have a 1/2^10 chance killing a bmech.

This seems to be too complicated. You know, even such complicated system can be probably aproximated by some simplier function, because in the end it anyway just describes single number: probability to kill a monster (depending on strength and defence). So let's better find some function, with str and def as parameters, and probability as result.
Title: Re: Question???
Post by: zzboots on April 11, 2005, 12:50:38 AM
How about a random number between 1 and the monster's strength/defense level.  If the random number from the attacking monster is greater than the random number of the defensive monster, it dies.    If the number is the same, make it a coinflip between life and death, and if its lower monster lives.  Sorry im a bit out of it now and cant think all the probably through right now.