Updated post above with new zip. New option included to Cure only curses that are found.
Currently if you try to click the macro twice quickly, it'll just try to cure the same detrimental twice (queued casting). There's really no way around this coding wise without making things extremely bloated. I figure in this case, queuing just won't be (easily) possible with this idea until something like LUA comes along. Otherwise spamming the button could screw up variables easily, whereas currently spamming is fine, but not gonna help curing things quicker. The code currently runs super quick, and I think it's pretty efficient. 5kb @ 17 lines of XML code.
For now I'm going to leave it as is, and should it be mostly bug free I'll include it in my next update to my full UI.
Last edited by Drumstix42 : 01-23-2011 at 05:26 AM.
|