Rotation addon autocast.
I recently picked up AddOn Studio and I was wondering if I could make something like this, how to make something like this or is there something like this already created.
I would like an addon which could be as simple as a button or a macro that I could click repeatedly that would roll through my DPS rotation and skip abilities they are on cooldown.
For example, for an enhancement shaman:
Click 1 - Casts Windfury Weapon if it's not active
2 - Casts Flametongue Weapon if it's not active
3 - Casts Fire Shock if it's not on cool down or already active on target
4 - Casts Storm Strike if it's not on cooldown
5 - Casts Lava Lash if it's not on cooldown
6 - Casts Lightning Bolt if Maelstrom Weapon buff x5
7 - If Fire Shock is active (if PVP flagged cast frost shock; else cast earth shock)
8 - If I don't think of another spell I like in my rotation or if I find out that I'm a big dummy and am doing it wrong, start first cast.
I hope that made sense.
I also noticed that .lua files are much like Oblivion script which I am an amateur at, but grasp the basics of.
I'm not sure of the commands.
Also, without wanting to, but probably will read the EULA and what not, is this kind of thing allowed?
I'd really rather not be banned because I've had my account and have been active on and off since vanilla and I don't wanna start all over.
Hence why I'm trying to avoid bots.
I appreciate your guys' knowledge and look forward to hearing from you.
---------- Post added at 08:24 PM ---------- Previous post was at 07:54 PM ----------
I was reading more into it and the castspell function is protected by blizzard, but would or how would you have it enter "/cast Stormstrike" into the chat bar?
Or is there a way to check for the cooldown timer and if it's at zero then save the name of the spell and have it enter as "/cast 'name'"?
Blizzard has specifically limited .lua and macro scripting to avoid something like this.
1). You can use Lua Remover, or NA to do what your requesting.
2). you can use Addon; Ovale Spell Priority & NA
You can Do so much with what your requesting with NA and Ovale. You should look into that, cause it's already done. In fact, There's a nice Ovale script on NA for most classes already, so head on over there![COLOR="Silver"]
I appreciate the advise!
Originally Posted by ntsmarkv
I went ahead and looked up Ovale and it looks like perhaps something that could help a lot.
Now I may sound pretty dense here in a second, so you might want to prepare to face palm.
What is "NA"?
I've been trying to write this lua for a few days and I think I'm FINALLY making headway.
However, the current roadblock is the castspell function has been protected.
I noticed in addons like HealBot it does cast the spell once you click on the icon, so how would I input that?