Category: Iriel's Castle
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
2.01-30200
Date:
08-18-2009 05:31 PM
Size:
7.10 Kb
Downloads:
1,054
Favorites:
22
MD5:
AfterCast (Fan's Update)
--------------------------------------------------------
This is an update version of Iriel's AfterCast. I fixed the
events to make it work with 3.2 again. To save valuable
space in macros, I also added an additional /ac command.
Original version 1.1-20000 of this Addon can be found here:
http://www.wowinterface.com/downloads/info4167-AfterCast.html

Original description below:
--------------------------------------------------------
AfterCast - Perform action after a cast
--------------------------------------------------------
This is a fairly simple addon for performing actions based on the success or failure of a cast. Usage is as follows

/aftercast /smile
/aftercast +fail /cry
/cast Frostbolt(Rank 2)

If the spell succeeds then you'll smile, if it fails, then you'll cry. If it is interrupted then nothing will happen. You can also use the shorter command,

/ac +start /p Casting Resurrection...
/ac +done /p Resurrection Done!
/cast Resurrection

Events you can use are:

+done At the end of successful casting (Default if no event given)
+fail If the spell fails
+interrupt If the spell is interrupted
+start When spell starts casting (Fires before done for instant spells)

Aftercasts apply to the next spell which occurs, and then is reset, you can set up one of each event before each cast.

These functions can also be gotten at via lua functions:

AfterCast(doneAction, failAction);
Shortcut to set up the 2 most common actions, either can be nil.

AfterCastOn(event, action)
Set up a specific action (use without the +, so "done", "fail", etc)

AfterCastReason([clearFlag])
Return the stop reason ("done"/"interrupt"/"fail") for the last cast (nil if none have stopped since the last clear).. if clearFlag is present and true then resets status after return.
  Change Log - AfterCast (Fan's Update)
V2.01 - UNIT_SPELLCAST_SENT should no longer occurr as unexpected event in Sent.
  Optional Files - AfterCast (Fan's Update)
Sorry, there are currently no optional files available.
  Archived Versions - AfterCast (Fan's Update)
File Name
Version
Size
Author
Date
2.0-30200
7kB
Hammersbald
08-14-2009 04:03 AM
  Comments - AfterCast (Fan's Update)
Post A Reply Comment Options
Old 11-06-2009, 03:01 PM  
Bifidus
A Kobold Labourer

Forum posts: 0
File comments: 35
Uploads: 3
Hi.

I got a bug with iceblock (a mage cast).
When i use it in a macro, the /ac +done /s blabla part of the macro will say "blabla" two times. One time after iceblock is done, and one other for the next action (even if it's not a cast).
If a replace iceblock with another cast, everything is fine.
So... what's the problem with iceblock ? ^^

Thank you in advance for any answer.
Bifidus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-03-2009, 12:15 PM  
Rofel
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Red face +crit

Would It be possible for Aftercast to recognize when a Crit occurs?

I was on my Boomkin in Arathi Basin and I noticed myself saying Boom everytime my Starfire critted lol. So I remembered /Aftercast
Rofel is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-22-2009, 06:15 PM  
optikuz
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
[23:07] AfterCast: Unexpected event UNIT_SPELLCAST_INTERRUPTED in ChannelCast

Got it while interrupting my own spell to cast another one I think.
optikuz is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-16-2009, 11:06 AM  
Syngian
A Kobold Labourer

Forum posts: 0
File comments: 53
Uploads: 0
Quote:
Originally posted by ckramme
I sometimes get this
Code:
AfterCast: Unexpected event UNIT_SPELLCAST_SENT in Sent
in the chat. Screenshot
If I am on tournament mounts it fires all the time.
I also get this message, most typically on my boomkin, I've also received the message "AfterCast: Unexpected event UNIT_SPELLCAST_DELAYED in Sent".

Thanks btw for continuing this project!
Syngian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-14-2009, 12:26 PM  
ckramme
A Cyclonian

Forum posts: 43
File comments: 65
Uploads: 0
I sometimes get this
Code:
AfterCast: Unexpected event UNIT_SPELLCAST_SENT in Sent
in the chat. Screenshot
If I am on tournament mounts it fires all the time.

Last edited by ckramme : 08-14-2009 at 05:11 PM.
ckramme is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-14-2009, 09:02 AM  
JMHammer
A Defias Bandit
Interface Author - Click to view interfaces

Forum posts: 3
File comments: 331
Uploads: 1
Thank you for taking on this project.
JMHammer is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.