View Single Post
Unread 05-29-13, 01:53 PM   #14
ravagernl
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,156
Originally Posted by Mirroar View Post
I did a bit of spreadsheet magic to approximate the spellpower values you were using into an exponential function - https://docs.google.com/spreadsheet/...2hwaFBwUEVmLXc

So you could do something like this instead of using your spellpower table:
Lua Code:
  1. local exp, mult = 1.00936754973658, 68.6945347210951
  2. local spellpower = mult * (exp ^ iLvl)
The error should be pretty small (a max of 4 points of spellpower with the given values, so < 0.1%) and you have the added benefits of it working for item levels not in your table.
Maybe something was added/substracted to the base of the exponentiation or afterwards? Does blue ever respond to these type of questions?

[offtopic]Mirroar, when can we expect a TopFit update for 5.3 please [/offtopic]
ravagernl is offline