Originally Posted by nightcracker
@OP: Now you shouldn't rewrite the whole function, merely hooksecurefunc() it.
|
But I want to with a simple script alter how the time under buff buttons is shown. hooksecurefunc would add more CPU cycles than necessary, right? I mean it's better to replace than to append cycles.
Also I want to for example have the ability to change one argument that UnitAura returns (based on my preferences), it's much simple to do that rather than writing a whole new addon just to alter 1 small thing.
We need a "prehooksecurefunc" that alters functionality before the function is called or something, with the ability to skip running the original one.