PDA

View Full Version : how to set marco to cast spell on yourself?


lowchia
12-04-2007, 01:17 PM
Hi

I am a newbie in Marco...can anyone teach me how to cast spell on yourself?

Currently i am using

/cast shield
/cast player


I try to use "/cast doudou" doudou is my in game nick but still does not work.

Once i am in a party...even if i used this marco...i may cast shield onto other ppl liao.

valleg
12-04-2007, 01:29 PM
/cast [target=player] Power Word: Shield
would cast the priest shield on yourself.

JaedxRapture
12-04-2007, 06:05 PM
I believe you can also add things like "button:1" and "modifier:ctrl" to change how the spell acts to different commands.

For instance:
/cast [button:2,nomodifier,target=player] Power Word: Shield -- Will cast on yourself when you right-click
/cast [button:1,modifier:ctrl,target=focus] Power World: Shield -- Will cast on your focus when you ctrl-clickw
/cast [button:1,nomodifier] Power Word: Shield -- Will cast normal (if friendly target is targetted, it will cast on them; will go to mouse otherwise)

I'm not completely sure about the syntax, but from what I understand, that's the basics of it. Check WoWWiki.com for more info.

Edit: [WoWWiki Macro Page] (http://www.wowwiki.com/HOWTO:_Make_a_Macro) <-- Linkness!

I suggest using right-click selfcast commands because it's easier that way. Maybe you could set it up to cast on a certain player of your party depending on button use (mix modifiers and buttons) but I'm sure you'd probably prefer not to, as that can get confusing and sloppy.

If you always want to have the tank ready for a heal, target the tank and type "/focus". He will now become your "focus" and you can create a macro specifically to cast on him with "target=focus" (included in example above).

poppadan
12-04-2007, 06:08 PM
Can someone show a macro that would cast all the buffs on you. ie: inner fire, touch of weakness, power word: fortitude, shadow protection, shadow form

thats what im looking for. similar topic .. there all on myself. looking for a single click for 5 spells.

JaedxRapture
12-04-2007, 06:10 PM
Can someone show a macro that would cast all the buffs on you. ie: inner fire, touch of weakness, power word: fortitude, shadow protection, shadow form

thats what im looking for. similar topic .. there all on myself. looking for a single click for 5 spells.

Cannot cast multiple spells with one macro. Evenif your intentions are good, that is "limited botting."

Go to that link I provided above if you want some info on how to do some other cool tricks with macros..

poppadan
12-04-2007, 06:13 PM
wow.. thats about the only macro i would use :( rats

Dark Matter
12-04-2007, 06:37 PM
The problem with casting all those on yourself (which you can do) is that they are all on different timers.

What's the point of wasting mana to cast inner fire every fight when it last 10 minutes or 20 whacks whichever come quickest? And PWF lasts 30 minutes - whereas ToW has to be cast for every fight where you think you are going to get hit, but it's a waste of mana in fights against casters.

You'd cast every buff, then sitdown for 30 secs to drink, by which time PWS would have expired and you'd have to recast - with your macro you'd recast everything and have to sit down and drink again!

Madness.

DM

valleg
12-04-2007, 06:40 PM
I'm sorry I misread a bit.

----------------------------

@lowchia

You can use the way JaedxRapture showed; with different clicks or I think you could use
/cast [help] Power Word: Shield; [target=player] Power Word: Shield
You'd have to try it out though. It should cast shield on your target friendly player and shield on yourself if you don't have a target or it's a enemy.

You could even work in [target=targettarget, help] in there for ToT (Target of Target) if you wanted to.

----------------------------

@poppadan

There's no way a macro can track which buff is active but it is possible to make one that will cast all buffs on yourself in sequence.

/castsequence [target=player] reset=5 ShortestSpellDurationName, ShortSpellDurationName, MediumSpellDurationName, LongSpellDurationName, LongestSpellDurationName

reset=5 means it will reset the macro to the first spell unless you click the button again within 5 sec. That way you could just click it again after 5 sec to rebuff the spells with the shortest duration and not having to go through all the spells to do so. You might want to up it to maybe 15 instead if you want to be able to drink a little inbetween.

Still, listen a to what Dark Matter said. You could be wasting more mana with a macro than you would casting them by yourself or with an addon.

There are two addons I know of that will track and cast buffs and they are SmartBuff-- awfully bloated if you only want to do it on yourself-- and CorkFu (FuBar_CorkFu)