Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

MOBAFire's first Mini Guide Contest of Season 14 is here! Create or update guides for the 30 featured champions and compete for up to $200 in prizes! 🏆
's Forum Avatar

DPS calculator

Creator: Fireup6 March 2, 2012 10:54pm
Fireup6
<Member>
Fireup6's Forum Avatar
Posts:
39
Joined:
Aug 12th, 2011
Permalink | Quote | PM | +Rep March 2, 2012 10:54pm | Report
So a long while ago i made a thread here in the theory crafting section about the relationship between attack damage and attack speed, and how they should be bought to achieve maximum damage per second.

Unfortunately, it really wasn't very useful at all. Firstly, the relationship was done through gold. Average cost of AD versus the average cost of attack speed. These numbers were hard to come up with, and could change rather dramatically if you added or subtracted a single item. On top of this, evaluating different stats on a point-by-point basis is rather useless since items don't really work that way. And you will end up having to figure out the best combination of gold divided amongst AS and AD, and then find an item build that closely matches that. And we havn't even began talking about CrC, CrD, fArP, %ArP and so on. What a mess.

Clearly the correct way to do this it to use the things we control as variables. Namely items, masteries, and runes. Then calculate all possible combinations to figure out which one is best. So here it is:

It's produced some interesting results. (BC+GB) is better than a (LW+any item) combination for all armor <170. Stacking IE's is pretty good, Blood thirster isn't that great.

For items, it makes a few assumptions:
1) BT has 85 AD (25 stacks)
2) BC can only give 30ArP (2 stacks) (necessary or BC is just OP everywhere)
3) GB gives 50% AS on melee champs, 25% AS on ranged champs.
4) Takes all unique properties into account

Current item list:
Agility Cloak
BF Sword
Recursive Bow
Zeal
InfinityEdge
BlackCleaver
Bloodthirster
Brutelizer
Ghostblade
LastWhisper
PhantomDancer

Can calculate maximum possible DPS build (default option), best DPS/Gold build, or highest DPS with limited gold.

DPS function:
Quoted:
DPS = (attack * multiplier + (attack * critdamage * critchance * multiplier)) * (100 / (100 + final_armor)) * speed


If you find something wrong in that, let me know.

It won't be released, at least not now. Besides that I'll do calculations for whoever wants something crunched, or has some questions.
________________________________________________________________
EDIT: Released for public use.

http://www.mediafire.com/?5g21ho7ej8gd6xx
Lugignaf
<Veteran>
Lugignaf's Forum Avatar
Show more awards
Posts:
10968
Joined:
Feb 8th, 2011
Permalink | Quote | PM | +Rep March 2, 2012 11:55pm | Report
I'm curious. Does it at least attempt to factor in crits?
Sig courtesy of GrandmasterD. Go get your own sig from them. :D
Searz
<Ancient Member>
Searz's Forum Avatar
Show more awards
Posts:
13418
Joined:
Jun 6th, 2010
Permalink | Quote | PM | +Rep March 3, 2012 1:01am | Report
What is "multiplier"?

I use:
(AD*Critdamage*%Critchance/100+AD*(1-%Critchance/100))*Base AS*(AS per level+Item AS)*100/(100+(Armor-ArP)*(1-%ArP/100))

That includes all stats possible.
"I sexually Identify as an Attack Helicopter. Ever since I was a boy I dreamed of soaring over the oilfields dropping hot sticky loads on disgusting foreigners. People say to me that a person being a helicopter is Impossible and I’m ****ing ******ed but I don’t care, I’m beautiful. I’m having a plastic surgeon install rotary blades, 30 mm cannons and AMG-114 Hellfire missiles on my body. From now on I want you guys to call me “Apache” and respect my right to kill from above and kill needlessly. If you can’t accept me you’re a heliphobe and need to check your vehicle privilege. Thank you for being so understanding." - Guuse

"uh, I identify as counterstrike and I find this globally offensive" - ???
Fireup6
<Member>
Fireup6's Forum Avatar
Posts:
39
Joined:
Aug 12th, 2011
Permalink | Quote | PM | +Rep March 3, 2012 2:13am | Report
Lugignaf wrote:

I'm curious. Does it at least attempt to factor in crits?


Yes, of course. It factors in every stat you see there. Crit chance, crit damage, flat pen, % pen, stacks, and uniques, and combinations of all of those from items, champ stats, champ scaling, masteries, and runes.

Searz wrote:

What is "multiplier"?

I use:
(AD*Critdamage*%Critchance/100+AD*(1-%Critchance/100))*Base AS*(AS per level+Item AS)*100/(100+(Armor-ArP)*(1-%ArP/100))

That includes all stats possible.


Searz! I actually created this tool after you brought up the idea many months ago. Got bored one week and made it.

Multiplier is stuff like the 1.5% extra damage mastery. It usually stays at either 1 or 1.015. Executioner mastery can bump it up by .06. And so on. You can completely cut it out and assume its 1.

Quoted:

DPS = (attack + (attack * critdamage * critchance )) * (100 / (100 + final_armor)) * speed


I assume your equation is for graphing, and has calculations for everything in it. My equation is copied right out of the source code, so speed and final_armor are calculated before hand.

I'm not sure about some grouping in your equation, but lets compare.
Armor: 100
AD:100
AS:1.1
fArP: 0
%ArP: 0
CrC: 0
CrD: 1 (100%, the base amount)

I get 55 DPS. And with 15% CrC i get 63.25. What do you get?

EDIT: I can't seem to make sense of your equation. I recognize all of it besides the part where you calculate the crits. Mainly this part: (AD*Critdamage*%Critchance/100+AD*(1-%Critchance/100)).

I see it like this: (AD*CrD*(CrC%/100))+(AD*(1- %CrC/100))

The way i see it is that if %CritChance is 100, then the entire right side is 0?

EDIT: Nevermind, i figured it out. My Crit Damage starts at 1 (100% extra damage), which is the default (200% crit). Yours starts at 2. Because of this the right side can be 0. So the equations seem to be identical.
Searz
<Ancient Member>
Searz's Forum Avatar
Show more awards
Posts:
13418
Joined:
Jun 6th, 2010
Permalink | Quote | PM | +Rep March 3, 2012 10:03am | Report
Ah, I thought so. I don't include any masteries in my graphs tho, so there's no need for a multiplier there.

Good luck with this thing! :)
"I'm ebolakin. You can refer to me as Ebola-Chan." - Vurtax

"I also am Otherkin. Whenever autumn rolls around I can feel my kin-type slowly taking over my body. You must know, I identify as pumpkin. I can control it pretty good most of the time, but when September ends, I just cant hold it in anymore. Whenever Im outside I see my brothers and sisters being chopped into soup, coffee, donuts, cake, drinks, bread - ppl even cut human faces into their skin, making a mockery out of their noble appearance. When I see things like that I cant control my pumpkin urges anymore. My natural instincts kick in. I then sit down motionless, while getting bright orange." - Morgana L
NinjaGinge
<Editor>
NinjaGinge's Forum Avatar
Posts:
1000
Joined:
May 28th, 2011
Permalink | Quote | PM | +Rep March 3, 2012 10:13am | Report
Fireup6 wrote:

It won't be released, at least not now.

ahhhhhhhhhh ***** kill.

Fantastic work though ^___^
Thanks goes to JEFFY40HANDS for a gorgeous Karma sig
Hey, you should help me on acquiring Medieval Twitch!! :D
http://signup.leagueoflegends.com/?ref=507f1031d2ab3250817727
Fireup6
<Member>
Fireup6's Forum Avatar
Posts:
39
Joined:
Aug 12th, 2011
Permalink | Quote | PM | +Rep March 20, 2012 12:16pm | Report
Released for public use.

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide