# Diablo 3 Barbarian Mace vs Sword Calculation for Weapon Master passive [Math] [closed]

i need some help choosing my weapons in Diablo3 as a Barbarian.

Im trying to solve it mathematically and not just try-by-try or in Excel with long tables so maybe someone with more experience in using programs like Maple or Mathematica (Wolfram Alpha, yeah.. but it kinda didnt cut it) can help out. Probably i just need some help on some math syntax for any good math program to solve my problem with a plotted graph.

As a barbarian, the passive trait "Weapon master" offers either +15% Damage on swords and daggers or +10% critical hit chance on maces and axes.

So my average damage on a mace is something like this:

``````Mace: Damage+Damage*(CritChance%/100+0.1)*CritDamage%/100
``````

My average damage on a sword is something like this:

``````Sword: Damage*1.15+Damage*1.15*(CritChance%/100)*CritDamage%/100
``````

We assume that Damage is 1 for both weapons.

``````"Mace" 1+1*(CritChance%/100+0.1)*(CritDamage%/100)
"Sword" 1.15+1.15*(CritChance%/100)*(CritDamage%/100)

CritChance=x CritDamage=y
``````

A mace would do more damage per hit for "Mace/Sword">1 and for values <1 the sword does more damage.

``````(1+1*(x/100+0.1)*(y/100))/(1.15+1.15*(x/100)*(y/100))>=1
``````

We can safely limit "CritChance" to >=5<=60(the total max on gear was between 50 and 60 somewhere with perfect rolls, lets just limit to 60 because of skills - it also avoids the problem that x/100+0.1 for 100% critchance would reach 1,1 which of course does not make sense - a general solution to this would be welcome nontheless (maybe using x1 and x2 with different assumed limits?) and CritDamage to >=50<=650.

``````Assumptions:
x and y are rational and positive.
x>=5<=60
y>=5<=650
(1+1*(x/100+0.1)*(y/100))/(1.15+1.15*(x/100)*(y/100))>=1
``````

Can someone point me to the correct Maple/Mathematica syntax for making this a nice plot?

I want to see the answer to "For which range of critchance and critdamage does 10% critchance deal more damage than 15% damage?" in a plot. Ofc, damage, critrate and critdamage that are inserted are the same, only the result differs because of the modifiers in the formula.

Any help is really appreciated. Thanks in advance.

-

## closed as off topic by agent86Jul 7 '12 at 0:15

Questions on Arqade are expected to relate to gaming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This seems like a question for mathematica.stackexchange.com considering as you already have your equation – Joe the Person Jul 6 '12 at 23:53
do i have to repost it there or is it possible to move it for a moderator? i posted it in the diablo3 context well because its diablo3-related but yeah, mathematica section might fit better. – kenshin- Jul 7 '12 at 0:13
A moderator will probably "migrate" it – Joe the Person Jul 7 '12 at 0:13
You might want to make a new post there, where you eliminate all the game-specific details and just focus on your core question - how do I graph this equation using <program>? If I migrate this, they'll probably end up closing or downvoting it due to the fact that you've got a lot of game-specific detail in here, which is probably somewhat tangential to your real question. – agent86 Jul 7 '12 at 0:14