View unanswered posts | View active topics It is currently Tue May 13, 2025 7:16 am



Reply to topic  [ 7 posts ] 
 For the Equation people, attack needed.. 
Author Message
User avatar

Joined: Thu Jun 20, 2013 7:17 pm
Posts: 298
Reply with quote
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?

_________________
Image


Sat Oct 12, 2013 6:43 pm
Profile
User avatar

Joined: Wed Nov 16, 2011 1:42 am
Posts: 1148
Reply with quote
288000 to hit damage cap every time. without trinity cores auto evasion node

346000 with trinity cores and auto evasion node.

_________________
Image
Image


Sat Oct 12, 2013 11:57 pm
Profile
User avatar

Joined: Thu Jun 20, 2013 7:17 pm
Posts: 298
Reply with quote
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... :)

_________________
Image


Sun Oct 13, 2013 12:31 am
Profile
User avatar

Joined: Wed Nov 16, 2011 1:42 am
Posts: 1148
Reply with quote
Damage per shot = tanh( attack*(random(0.6 to 1.666)) / (defense * 5) ) * damagecap

_________________
Image
Image


Sun Oct 13, 2013 1:49 am
Profile
User avatar

Joined: Thu Jun 20, 2013 7:17 pm
Posts: 298
Reply with quote
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.

_________________
Image


Sun Oct 13, 2013 2:32 am
Profile

Joined: Sat Oct 08, 2011 10:08 am
Posts: 42
Reply with quote
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.


Sun Oct 13, 2013 2:39 am
Profile
User avatar

Joined: Mon Sep 05, 2011 9:16 am
Posts: 2737
Reply with quote
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

_________________
Image
Image


Sun Oct 13, 2013 3:03 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 56 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.