self.Power.frequentUpdates = true for pets
When I try adding self.Power.frequentUpdates = true for unit == "pet" I get a Lua error.
Screenshot: http://img2.abload.de/img/wowscrnsho...09_213av4p.jpg Am I doing something wrong? Pets are allowed to use frequentupdates or not? |
Its a bug haste forgot during the new event system.
|
Quote:
If it is: Could you do a dump on the parent of the power frame? or tell me what layout this is on so I can test myself. Also it's really better to post possible bug issues on my portal. I always go through them before I start looking it posts. In this case there isn't enough information to do a fix, but if it had then I would have to do an extra minor version "just" for this. Quote:
|
Quote:
Code:
local OnPowerUpdate |
That code is still valid for the new system.
|
I will post the code on the Bug Report Portal.
Edit haste's tip was correct. I was using self.Power = CreateFrame("StatusBar", nil, self.Health), after I changed that to self.Power = CreateFrame("StatusBar", nil, self) it worked. |
I have experienced the exact same issue, but for all my powerframes - I already posted it in "oUF - Layout discussion": http://www.wowinterface.com/forums/s...=18363&page=50
I suppose referencing the powerbar to the frame itself insted of the healthbar might do the trick for me too - will check later today. Thanks. However, why isn't it possible to parent the healthbar-frame to the powerbar one? |
Quote:
It's possible to solve this in a different manner now, but I haven't seen a reason to change it. Except for the two cases you have here. |
Well, tried it and everything is working perfectly now - Thanks...
|
All times are GMT -6. The time now is 09:32 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI