Originally Posted by v6o
As you change target nothing happens to the auras because the unit is still "target". You will need to force an update but you need to remember that you will have to do it from secure code.
|
Well how do i force an update? With SecureAuraHeader_Update()? That doesn't work infight, probably because my Event-Handler is not secure code. But how do you react to events in a secure environment? I also tried force an update with "header:SetAttribute("unit", header:GetAttribute("unit"))", because SecureAuraHeader_OnAttributeChange updates the header everytime an attribute is changed, which should be secure code since it's frome blizzard, but that didn't work.