Jump to content

Possible attack formula


Sorry

Recommended Posts

Hi

 

 

 

I have been thinking about the hit or miss chance and I made something in excel what might be the attack formula for the first 10 attack and defence levels compared, well here it is.

 

 

 

1 2 3 4 5 6 7 8 9 10

 

1 50 75 83,33333333 87,5 90 91,66666667 92,85714286 93,75 94,44444444 95

 

2 25 50 66,66666667 75 80 83,33333333 85,71428571 87,5 88,88888889 90

 

3 16,66666667 33,33333333 50 62,5 70 75 78,57142857 81,25 83,33333333 85

 

4 12,5 25 37,5 50 60 66,66666667 71,42857143 75 77,77777778 80

 

5 10 20 30 40 50 58,33333333 64,28571429 68,75 72,22222222 75

 

6 8,333333333 16,66666667 25 33,33333333 41,66666667 50 57,14285714 62,5 66,66666667 70

 

7 7,142857143 14,28571429 21,42857143 28,57142857 35,71428571 42,85714286 50 56,25 61,11111111 65

 

8 6,25 12,5 18,75 25 31,25 37,5 43,75 50 55,55555556 60

 

9 5,555555556 11,11111111 16,66666667 22,22222222 27,77777778 33,33333333 38,88888889 44,44444444 50 55

 

10 5 10 15 20 25 30 35 40 45 50

 

 

 

This means that the hit ratio of 2 attack aginst 1 defence is equal to that of 20 attack versus 10 defence, or 200:100

 

It would be a rather simple formula but might come close to the real one.

 

 

 

Any thoughts about this are greatly appreciated.

 

 

 

Edit: it looks rather vague here because the distance between the numbers is different here.

conplaatje3vl9.png
Link to comment
Share on other sites

Yea I know its a ltitle vague, but to the left vertically, are the attack levels and at the top horizontally are the defence levels, the numbers between are the percentage chance of hitting

 

 

 

the formula is this:

 

 

 

If the attacker's attack is lower then the defenders defendse then you have to do this: attackers attack / defenders defence * 50%

 

 

 

But If the attacker's attack is higher then the defenders defendse then you have to do this, 100% - (defenders defence / attackers attack * 50%)

 

 

 

Hope its more clear now

conplaatje3vl9.png
Link to comment
Share on other sites

Well from that I gathered you have found some ratio related link between your attack lvl and your opponents defence level that produces likelyhood of hitting

 

 

 

But your table of numbers and waffly explaination left muhc to imagniation of what this ratio is, I would like to see it explained better as it is a possiblity of trueness since truely 'random' occurances via coding is quite complex it may be based upon some sort of ratio

 

 

 

But then again it may not, sounds like something that would be interesting to discuss if u explained it better

Plv6Dz6.jpg

Operation Gold Sparkles :: Chompy Kills ::  Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA Rewards

Dragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue

Link to comment
Share on other sites

Yes I think there is a link between attacker's attack vs defenders defence and hit ratio, else attack and defence would be useless stats.

 

 

 

It would be more clear if I could make tabels here, because this isnt really informative.

conplaatje3vl9.png
Link to comment
Share on other sites

I don;t really think theres a link, atleast not a direct one

 

 

 

Attack - higher lvl higher cahnce of hitting

 

Defence - high lvl higher chance of not being hit

 

 

 

Personally i don;t think ratio between different npcs etc would effect hits ibn a certain way, I would think they more sort of cancel out

 

 

 

eg 10 attack vs 5 defence would cancel out to 5 attack against 0 defence

 

eg2 5 attack vs 10 defence would cancel to 0 attack vs 5 defence

 

eg3 10 attack vs 10 defence cancels to 0 attack vs 0 defence

 

 

 

then say 1 defence or attack lvl gave 1% more probablity to their purposeful outcome, the canceling out would create the overall probablity for the battle

 

 

 

so to use my examples again

 

10% increase on probablity on hitting vs 5% increase on probablity of avoiding hit

 

There fore the 5% defence, knocks out 5% attack creating the 5% - 0% of my above example

 

 

 

 

 

With this version higher lvls would achieve better as they would still have increase left after canceling out their opponent and if people are even match (aka lvl 10 attack vs lvl 10 def) it would come purely down to hp and item bonuses

Plv6Dz6.jpg

Operation Gold Sparkles :: Chompy Kills ::  Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA Rewards

Dragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.