Thread: math logic bomb
View Single Post
09-08-12, 02:33 PM   #13
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,332
Originally Posted by myrroddin View Post
I was wondering about that back when I started this project. Given that in Pandaria, I am seeing values of +/-1000 right now, I would suggest that is the limit; however, the values spike even higher during Innervate, ShadowFiend, potions, etc, and might go the opposite way if a mob drains mana. This needs to be future-proofed. Any suggestions on safe upper and lower limits?
If you want a static limit, I'd say the entire mana pool as a base since you can never lose or gain more than the entire pool at a time. Otherwise, you could try to keep track of a peak value and adjust accordingly to that.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote