This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Macro Help (4Spell, Modifier:ctrl)
Post Reply
Return to board index
Post by
Flashieme
So this is what I came up with so far and it's not totally working as intended.. but it's a start:
#showtooltip
/cast Prayer of Mending; Prayer of Mending; Shadow Word: Death; Shadow Word: Pain; Renew; Renew
Now let me tell you what I aim for;
Notarget = Renew
Target Help = Renew
Self Target Help = Renew
Target Harm = Shadow Word: Pain
Target Harm = Shadow Word: Death
Target Help = Prayer of Mending
Self Target Help = Prayer of Mending
Post by
53090
This post was from a user who has deleted their account.
Post by
Flashieme
I'm getting somewhere... :) and made it a lot easier for myself
thx btw for your contribution. It really looks simple if you put it that way ^^ but I really wanna try it my own way :)
here's what I got so far (and working):
/cast Flash Heal; Renew; Renew
This is the healing part of the macro.. now I gotta implement the dmg part :)
Post by
Flashieme
Fixed it =)
#showtooltip
/cast Flash Heal; Renew; Mind Blast; Shadow Word: Pain; Renew
Uber Leet Haxxor /flex
Post by
Corveroth
Notarget = Renew
Target Help = Renew
Self Target Help = Renew
Target Harm = Shadow Word: Pain
Target Harm = Shadow Word: Death
Target Help = Prayer of Mending
Self Target Help = Prayer of Mending
First three: If targeting a friendly target (including yourself) or nothing, cast Renew (in the last case, this just queues the spell and puts it on the cursor).
/cast Renew
If the target is unfriendly, Shadow Word: Pain instead.
/cast Shadow Word: Pain; Renew
Note that I'm adding to the front. That's because these next conditions are more specific and *must* come first. Consider the following code:
/cast SpellA; SpellB
That macro will always cast SpellA because the (non-existent) conditions for it are always treated as true. Were it the other way around, if will first "try to cast" SpellB (check for the modifier key), and then resort to SpellA if that fails.
So, adding on your last three conditions:
/cast Shadow Word: Death; Prayer of Mending; Shadow Word: Pain; Renew
Edit: Breaking down the macro you posted above:
/cast Flash Heal; Renew; Mind Blast; Shadow Word: Pain; Renew
if holding ctrl and alt then
Cast Flash Heal on myself
elseif holding ctrl and my target is friendly then
Cast Flash Heal on my target
elseif holding alt (but not ctrl) then
Cast Renew on myself
elseif my target is friendly then
Cast Renew on my target
elseif holding ctrl and my target is unfriendly then
Cast Mind Blast on my target
elseif my target is unfriendly then
Cast Shadow Word: Pain on my target
else
Cast Renew on my target
end
Is that what you were looking for? Quite a bit different than your original post.
Post by
pelf
Isn't that redundant?
Post by
91244
This post was from a user who has deleted their account.
Post by
Flashieme
well I've got it to work now .. should be in a post above.. I know it's not perfect ;P but it works how I want it to work...
#showtooltip
/cast Flash Heal; Renew; Mind Blast; Shadow Word: Pain; Renew
as you said..
there's a noharm... help double-icity in it .. I'll fix it.. as for now it works fine
Keys 1 to 4 are filled with about 16 spells in 4 macros now ^^
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.