Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » Public Discussion

Reply
 
LinkBack Thread Tools
Old 11/10/06, 11:28 AM   #46
Ignayshus
Piston Honda
 
Human Priest
 
Bleeding Hollow
Originally Posted by Kaacee
Originally Posted by Ignayshus
In addition all my spells are bound to land on the Target or the TargetTarget depending on the nature of the spell and whether or not the Target is Friendly. So casting Flash Heal will result in casting it on the Target if it's friendly or on the TargetTarget if hostile. Similarly Mind Blast will cast on the Target if hostile or the TargetTarget if friendly.
How did you do that? Lots of macros?
Yes. I used to use Groupbuttons or DUF to do this, I can't remember which, but before I took a break from WoW I got into writing narrowly defined scripts and macros.

I can't give you my script bc my priest account is currently inactive, nor can I test this at work, however this should work. Just replace Flash Heal with whatever healing spell you prefer. It should cast on target if friendly, if not, on targettarget if friendly and if all else fails on you.

/script local C,s,U,t,T,p,S=CastSpellByName,"Flash Heal",UnitIsFriend,"target","targettarget","player",SpellTargetUnit if U(p,t) then C(s) S(t) else if U(p,T) then C(s) S(T) else C(s,1) end end


And this should work for damage spells.

/script local C,s,t,T,S=CastSpellByName,"Mind Blast","target","targettarget",SpellTargetUnit if UnitIsFriend("player",t) then C(s) S(T) else C(s) S(t) end

Edit: Now just put the macro on the hotbar where you normally have that spell, and bind it to a hotkey and you're good to go. You have to do one for Greater Heal, Heal, Renew, etc...

It will actually be much easier to do in TBC:
/cast [help] Flash Heal; [harm, target=targettarget] Flash Heal

The last digit of Pi is delicious.

Offline
Reply With Quote
Old 11/10/06, 12:40 PM   #47
 Shalas
Bald Bull
 
Shalas's Avatar
 
Tauren Druid
 
Mal'Ganis
Originally Posted by Malan
Negative ghost rider. A radius is a distance from a center point. That is NOT what I asked about. Tab Target looks through a 45 degree arc. My question was if there is a way to reduce that to something like a 30 degree arc so that it only searches targets in front of you.
Did you actually try it? While the cvar may be misnamed, that's exactly what it does.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » Public Discussion

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tab targeting and pets. sulliwan User Interface and AddOns 2 08/31/10 1:36 AM
Targeting Macro Maligne User Interface and AddOns 3 03/12/07 10:55 PM
Precise mob targeting Savos Public Discussion 57 01/13/07 3:35 AM
Cheapest WoW gold with fast delivery!!!! FABFA The Dung Heap 4 01/04/07 10:09 PM