Originally Posted by Lesteryoung
I'm not sure what you mean by "moving it above". I understand hook and local.
|
Cut your AbbreviateLargeNumbers function and paste it above your "TextStatusBar_UpdateTextStringWithValues" hook and put the word "local" in front of the function. It has to be written before the hook because you're calling the function from it, if you make it local and leave it after the hook it's going to use the original AbbreviateLargeNumbers instead of yours.
To hide the heal predictions you can probably do something like this after you comment out or delete your current hook.
Lua Code:
hooksecurefunc('CompactUnitFrame_UpdateHealPrediction', function(frame)
frame.myHealPrediction:Hide()
frame.otherHealPrediction:Hide()
end)