AfterCast

AfterCast

Created by Iriel - Last updated on January 05 2006
Download
Version Compatible Translations Patch Release Date
AfterCast 0.4-10900 (Current) English English 0 January 05 2006
  • Description
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)

For this example, if the spell succeeds then you'll smile, if it
fails, then you'll cry. If it is interrupted then nothing will happen.

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.
There is no dependency information for this file.
There is no change log for this file.
XML Syndication
Current: 0.4-10900

5403 downloads
(3 today)

Rate File

Comments

Post a comment

You must be registered and logged in to post a comment.

Username: Password:

Register

WoW Guru
Advertise on the MMO Guru Network!

Language
MMO Guru Network