This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
What's wrong with my macro
Post Reply
Return to board index
Post by
Cloud8690
#showtooltip Icebound Fortitude
/aftercast /y Icebound Fortitude Up!
/aftercast /in 12 /y Icebound Fortitude Down!
/cast Icebound Fortitude
/aftercast /y Icebound Fortitude Up! doesn't work.
/aftercast /in 12 /y Icebound Fortitude Down! does work.
What's wrong with it?
Post by
Wildhorn
Do you have in first place the addons required to use /aftercast and /in?
Post by
Cloud8690
I have the aftercast addon enabled.
Post by
Cloud8690
Anyone got a little wisdom?
Post by
127599
This post was from a user who has deleted their account.
Post by
Cloud8690
#showtooltip Icebound Fortitude
/cast Icebound Fortitude
/aftercast /y Icebound Fortitude Up!
/aftercast /in 12 /y Icebound Fortitude Down!
Try?
Now none of it works. Answers that aren't guesses would be nice.
Post by
462750
This post was from a user who has deleted their account.
Post by
Cloud8690
Because if the spell fails to go off, or I spam click it to make sure it does go off, then it'll yell what's in the macro 1534513 times.
Post by
Wildhorn
Try
#showtooltip Icebound Fortitude
/aftercast /in 0 /y Icebound Fortitude Up!
/aftercast /in 12 /y Icebound Fortitude Down!
/cast Icebound Fortitude
or
#showtooltip
/cast Icebound Fortitude
/aftercast /in 0 /y Icebound Fortitude Up!
/aftercast /in 12 /y Icebound Fortitude Down!
Post by
Cloud8690
Try
#showtooltip Icebound Fortitude
/aftercast /in 0 /y Icebound Fortitude Up!
/aftercast /in 12 /y Icebound Fortitude Down!
/cast Icebound Fortitude
Spell goes off, and the "Fortitude Down!" part works, however the first part doesn't.
#showtooltip
/cast Icebound Fortitude
/aftercast /in 0 /y Icebound Fortitude Up!
/aftercast /in 12 /y Icebound Fortitude Down!
Spell goes off, but nothing else works.
Post by
HighFive
I'll join the guessfest and say that the second /ac overwrites the first.
Post by
pelf
Yeah, HF is right. AfterCast will only allow you to assign one action to each condition. The conditions are
+done
,
+fail
,
+interrupt
,
+start
. If no condition is specified,
+done
is implied. It's in the info on how to use AfterCast.
Post by
RedwoodElf
So you would have to write it as:
#showtooltip Icebound Fortitude
/aftercaststart /y Icebound Fortitude Up!
/aftercastdone /in 12 /y Icebound Fortitude Down!
/cast Icebound Fortitude
Post by
pelf
Well, no. Also, some of those do and don't work depending on the type of spell, but if you did want to try to use start and done -- which may or may not work for instants -- it would be like this:
#showtooltip
/aftercast +start /y Icebound Fortitude Up!
/aftercast +done /in 12 /y Icebound Fortitude Down!
/cast Icebound Fortitude
Post by
RedwoodElf
I would think start and done would work...they would just fire at the same time for an instant.
Post by
Cloud8690
Well, no. Also, some of those do and don't work depending on the type of spell, but if you did want to try to use start and done -- which may or may not work for instants -- it would be like this:
#showtooltip
/aftercast +start /y Icebound Fortitude Up!
/aftercast +done /in 12 /y Icebound Fortitude Down!
/cast Icebound Fortitude
This worked :] Thanks.
I tried playing around with the conditionals for AC but they didn't want to work for me.
Post by
pelf
I would think start and done would work...they would just fire at the same time for an instant.
Yeah, logically. There are some shortcomings of AfterCast, though, as it was written several iterations of the event model back and hasn't really been overhauled. I looked at it and realized that starting my addon-writing career with something low-level and generic like that would probably make my eyes bleed.
Post by
RedwoodElf
Technically, instants actually DO have a casting time, it's just very short. You find this out when you are in an area with a lot of lag...you'll hit an instant spell and your character will go into "casting" stance until lag catches up.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.