I would really love to see a Ace Addon the does one simple thing:
To put on autoattack when you cast a offensive spell on a target.
DefendYourself! have this function and even though the 1.6 patch broke all automatic functions, I and my friends still have DY installed just for this function. It seemes kinda waste to have a large addon installed for just using a small function of it, but there are no other addon i found that provides this function.
Are there anyone of you guys that could write this function in a small addon?
I don't know. I had discussed what I was trying to do online long ago and no one seemed interested, so I kept the addon to myself. I don't entirely remember now what all it does, but the main things are:
It prevents me from using the F1-F5 keys to target myself or a group member when I'm in combat. This may sound silly, but I never have reason to change my targets. WoW queues spells when you cast them, so you can just select the target after queueing the spell. All I ever used to do was accidentally target myself or party members.
It provided a bindable assist button that "queued" assist like a spell. So I tap my assist button then select my target. No need to tailor macros per party. This is, of course, group-oriented. It wouldn't help if you were using a non-group member, say in a raid, as the main assist. But then I never did raids so this didn't bother me. :)
The auto-attack features it has are actually more complex than simply turning on auto-attack at the start of combat, but because of inconsistencies in the order in which events are fired, I could never get this working perfectly. What it would do is place you in auto-attack every time you switch to a hostile target once you are in combat. So if your target dies and you switch to a new one, you're back in auto-attack.
These additional auto-attack features aren't releasable because of the quirkiness and I don't have time right now to try yet again to make them work, but the auto-attack on casting a spell is pretty simple.
Yes, DY is cool, but the darn "DY_MoneyToggle()" function is triggered way way too much.
Runs this twice per OnUpdate:
if( lOriginal_GameTooltip_ClearMoney ) then
GameTooltip_ClearMoney = lOriginal_GameTooltip_ClearMoney;
lOriginal_GameTooltip_ClearMoney = nil;
lOriginal_GameTooltip_ClearMoney = GameTooltip_ClearMoney;
GameTooltip_ClearMoney = DY_GameTooltip_ClearMoney;