Skip to content

Instantly share code, notes, and snippets.

@aaroncox
Last active December 12, 2015 00:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaroncox/4687596 to your computer and use it in GitHub Desktop.
Save aaroncox/4687596 to your computer and use it in GitHub Desktop.
D3 Math Question

The goal here is to determine if the +Damage from the new Rubies are applied BEFORE or AFTER the '+% Damage' attribute of the weapon are applied.

Scenario #1 does the math and applies the Ruby's +Damage bonus BEFORE the +% Damage attribute, where as Scenario #2 applies the Ruby's +Damage AFTER the +% Damage attribute has already been applied.

Example Weapon

http://d3up.com/i/4463229

  • 429.28 - 971.72 Damage
  • 1.40 Attacks per Second
  • +283-635 Poison Damage
  • +38% Damage

Numbers

  • Minimum Base Damage = 106
  • Maximum Base Damage = 244
  • Minimum +Poison Damage = 283
  • Maximum +Poison Damage = 635
  • Bonus +% Damage = 38% (1.38 of value)

Without the Gem

  • Minimum Damage = (106 * 1.38) + 283 = 429.28
  • Maximum Damage = (244 * 1.38) + 635 = 971.72

Scenario #1 - Before +% Damage w/ +120 Min/Max Gem

  • Minimum Damage = ((106 + 120) * 1.38) + 283 = 594.88
  • Maximum Damage = ((244 + 120) * 1.38) + 635 = 1137.32
  • New Damage Range = 594.88 - 1137.32
  • Actual Gain = +165.6 Min/Max

Scenario #2 - After +% Damage w/ +120 Min/Max Gem

  • Minimum Damage = (106 * 1.38) + 120 + 283 = 549.28
  • Maximum Damage = (244 * 1.38) + 120 + 635 = 1091.72
  • New Damage Range = 594.88 - 1137.32
  • Actual Gain = +120 Min/Max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment