View Single Post
05/04/14, 10:14 AM   #6
stjobe
 
stjobe's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 60
Originally Posted by GetBackYouPansy View Post
Oh I see what you mean, that does seem trickier

What's your requirement - why do you need the immunity to reloadi? Is that something you'd expect people to do? I wonder if there might be another way to achieve what you need.
It's because of the way the API returns buffed stat values, especially long-term buffs like food or drink buffs; they need to persist through zoning, /reloadui, or logging in/out - but the API sees them as just another buff to your stat, no different than e.g. donning armour with higher armour value, so there's no way for me to differentiate this "new" base value from the actual base-value and show the stat as buffed.

Anyway, I think I solved the issue in another way (by storing the base stat values in a SavedVar)

Huge thanks for jolting me out of my mindset!
  Reply With Quote