Galaxy Legion Forum
http://galaxylegion.com/forum/

For the Equation people, attack needed..
http://galaxylegion.com/forum/viewtopic.php?f=4&t=38356
Page 1 of 1

Author:  Chade [ Sat Oct 12, 2013 6:43 pm ]
Post subject:  For the Equation people, attack needed..

So I looked over the wiki, and skimmed through the forums and either its not there, or I'm just blind and missing it, but I am looking for a formula to give me the attackers min attack needed to hit for damage cap each hit based on a targets defense. so basically if player A has a damage cap of 500 and a defense of 10k, how much attack would Player B have to have to guarantee that they hit player A for their damage cap damage every hit?

Author:  Fireblade [ Sat Oct 12, 2013 11:57 pm ]
Post subject:  Re: For the Equation people, attack needed..

288000 to hit damage cap every time. without trinity cores auto evasion node

346000 with trinity cores and auto evasion node.

Author:  Chade [ Sun Oct 13, 2013 12:31 am ]
Post subject:  Re: For the Equation people, attack needed..

Ok, but whats the formula based on damage cap & defense to arrive at those numbers?

for examples:

player A, dmg cap of 1k, 20k defense, equation to figure out player b's min attack to hit for full cap

player A, dmg cap of 2k, 35k defense, etc, etc... :)

Author:  Fireblade [ Sun Oct 13, 2013 1:49 am ]
Post subject:  Re: For the Equation people, attack needed..

Damage per shot = tanh( attack*(random(0.6 to 1.666)) / (defense * 5) ) * damagecap

Author:  Chade [ Sun Oct 13, 2013 2:32 am ]
Post subject:  Re: For the Equation people, attack needed..

Ok, i saw that equation, but that's not quite what I am looking for (at least I dont think)... my understanding is thats how you would calculate how much damage per shot you would do against someone, yes?

I want a equation to figure out what the min attack would be needed to ensure always hitting for cap, for example lets say my damage cap is 1500, and I have a defense of 18k, i'm looking for an equation to figure out what the min attack rating that someone who attacked me would need to hit me for max damage every hit.

Author:  Nedrahl [ Sun Oct 13, 2013 2:39 am ]
Post subject:  Re: For the Equation people, attack needed..

Not an equation but a rule of thumb: If your attack is 22x their defense you will be hitting for damage cap almost all of the time.

Author:  Wolfy Minion [ Sun Oct 13, 2013 3:03 am ]
Post subject:  Re: For the Equation people, attack needed..

Fireblade225 wrote:
Damage per shot = tanh( attack*(random(0.6 to 1.666)) / (defense * 5) ) * damagecap


It is this formula you just have to solve it and make a few assumptions.
First that Damage per shot = damage cap
Second that is it the lowest possible outome so

damage cap= tanh( attack*0.6 / (defense * 5) ) * damagecap
divide both sides by damagecap gives

1= tanh( attack*0.6 / (defense * 5) )

tanh^-1(1) = undefined. So what you need is a number it can reach that the game would round up to the next integer up, damage cap-0.5. Then just rearrange in terms of attack.

attack = (defense*5*tanh^-1((damage cap-0.5)/damage cap))/0.6

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/