Help Retooling function for WoW 2.0
With WoW 2.0 and The Burning Crusade just around the corner, I thought it time that I try to see if it's possible to rewrite functions that I've been using for the better part of the last few 1.x patches. First, some background: as a warlock, I've sought ways to streamline the DoT, DD rinse and repeat routine. I wrote a base macro that would cast DoTs in sequence as the key is pressed/clicked repeatedly. Then I thought of taking much of the boiler plate code out of the macros and incorporating them into a function library AddOn that I can then call from within WoW.
When I found DoTimer, I modified my functions to use DoT_IsPSpell()-one of DoTimer's built-in functions-to manage which DoT/spell is cast per keypress/mouseclick (My original functions used For to cycle through each spell). One of the functions I currently use in my macros is as follows: Code:
function afflictChain(cName,nName) Code:
/script afflictChain("Curse of Shadow","Shadow Bolt"); With WoW 2.0, the new /cast, /castsequence and other slash commands promises to duplicate much of this functionality, like so: Code:
/castsequence reset=combat/target Unstable Affliction,Curse of Agony,Corruption,Siphon Life,Immolate,Incinerate |
CastSpellByName() or anything like it is no longer available to macros, so you'll have to use /castsequence. It would be really nice if you could nest macro calls from within /castsequence (e.g. 'cast' a macro by name), but I don't think that works.
|
All times are GMT -6. The time now is 05:19 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI