• IS THIS SITE UGLY? Click "RG3" at the very bottom-left of this page to change it. To dismiss this notice, click the X --->
Resource icon

Utility Buff 6.6

Download now: Join us with Level 2 access
or earn your way in with RedCents.
Other Authors
Grogan
Server Type
Emu
Nov 21st update... corrects for a self buff spell issue.

This is a small macro that goes down your spell list looking for buffs to cast on raid/group/target or you.

This was origanally written for use on EzServer, but since then has been tested and slight changes made for use on most other servers.

Documentation to follow in next post.

On to the file.

Peace

- - - Updated - - -

buffv6.png


If you find any problems with it please reply here. Additionally, if you enjoy and/or have suggestions please reply here also.

I really appreciate all feedback, and love suggestions, so please feel free to let me know your thoughts.

(Note: English is not my first language, so if my write up is a little confusing and thoughts are disconnected, I apologize in advance, it's a little difficult for me to translate my Southern drawl (dialect) in to readable English)

What it does.

In Brief: runs down the character's spell list looking for buffs to cast on characters.
It checks for self buffs, single and group buffs. It checks to see if the target already has the buff on them and it still has over half the DEFAULT duration left on it and if cast now it will last longer than 5 minutes.

EzServer only: If you have a Shield of Ages, it clicks it.

If you have a Pet it will target and hail your pet, then tell it to Arm itself.
EzServer only: If you have a Pet and a Harness of soul Gem in your secondary it will click it
If you have a pet and two bandolier settings, Melee and Pet, it will swap them out and put the pet one up and try to use the secondary item, then switch back to Melee

If you have a spell list saved by the name of Zbuffs it will load that spell list before casting any buffs then it will attempt to load Zattack once it is finished buffing *changable in the files, instructions both in the macro and below in this post.

Will check to see if the character running the macro is in a Raid, if so it will cast on everyone in the raid. If not in a raid it will check to see if the character running the macro is in a group, if so it will cast on everyone in the group. If not in a Raid or Group it will cast all of the buffs on itself.
It will verify before going down the spell list that the current target (raid, group, pet, or specified character) is within 100 of it.

You can pass 2 variables to it. 1: a target's name, and / or, a recast duration.
The recast duration is there to try and speed up the buffing process. Take Rune of Denial III for example, it has a recast time of 30 seconds. If you cast that on a raid of 18 characters it going to take a Minimum of 9 minutes to cast all the buffs. I personally cast RoDIII on the tanks right before I pull, so I do not want to cast it when Re-buffing, but I do want to cast it at Initial buffing.


Example.

When I first log in and form up my Raid, or I just wiped and getting back in order I will do a.

/bcaa //macro buffv6 30

This will tell all characters (yes even the warriors, we will get to that in a minute) to buff everyone with anything that takes 30 seconds or less to recast. But if everything has been going well and an hour has passed by and I just want to refresh all the buffs that have faded, or about to fade I will do a

/bcaa //macro buffv6

This will have everyone cast any buff that has a recast time of 5 seconds or less, skipping over say RoDIII.
Or say, Warizzle wants me to buff him because he does not have an Enchanter or Druid, I will do a

/bcaa //macro buffv5 warizzle 30

and it will have all my characters cast all spells with a recast of 30 seconds or less on warizzle directly.
Or say, Warizzle is playing with me, but he is not in my raid for whatever reason, and he does not need / want RoDIII I would just

/bcaa //macro buffv6 warizzle

-----------------------------------
Settings you can change easily
-----------------------------------
There is no real reason for most people to edit the file at all, but I have made it so that you can, and I have attempted to make it as easy as possible to just change the few things that most people would find that they needed a little bit different then my defaults.

These are documented inside the macro file near the top.

Change spell list. This is a 1 for yes or 0 for no.
Having it set to 1 and not having the spell list to load does not effect the macro that much, it will just attempt to load the new one and not find it and continue one.

bufflist Zbuffs
attacklist Zattack

the Zbuffs and Zattack are your 2 spell lists. You can change them to whatever you wish, It loads the bufflist before attempting to do any buffing at all.
It loads attacklist at the very end of the macro.

minbuffduration 5

This is the default minimum duration of buffs to cast in minutes. If a beneficial spell has a duration of 5 minutes or more it will attempt to cast. Please be aware that if you change this to a low number some very short duration buffs will be cast.

----------------------------------------------------------------
Detail workings
----------------------------------------------------------------

When the macro is ran, it is first going to check and see if you told it to cast a single character, if you changed the default recast time, or both.

If you have a pet it then hails the pet and tells it to arm itself.
If changespelllist is still 1, then it loads your buff list
If you have a Shield of the Ages on your back, it clicks it.
It goes down the spell list and casts all self only buffs.
Checks if you specified to buff a single character, if so do it and skip the next three lines.
If you did not specify a specific character and in a raid, go down the raid list starting with the 1st member. Skipping the next 2 lines.
If you did not specify a specific character and not in a raid and in a group, go down the group list starting with the 1st member. Skipping the next line.
If you did not specify a specific character and not in a raid and not in a group, buff myself.

Once it knows whom to buff, it does the following checks.
Is the target within 100 of me?
if so, then it does the following checks for each spell in the spell list starting with spell 1.
Is it a beneficial spell?
Is it a single target or group spell?
Is the recast time less than the recast time specified?
Is this buff already on the target? and if it is does it have less than half of the default spell duration (before any extend is put on it)

If all of those are meet, then it waits for the spell to ready for casting, once ready it casts the spell.
It then moves on to the next spell on the list.

Once all of the spells on that character?s spell list have been checked/cast, it then moves on to the next character in the group or raid, or stops if you specified a character or if not in a raid or group.

Once all the characters have been cast on, it then checks if you have want to change spell lists, if so it loads the spell list.

It then checks your inventory for Harnessed soul gem, if it finds one in your bags, it attempts to activate the Pet bandolier, then use the secondary item (off hand) then activate the Melee bandolier. If you already have this item in your off hand and do not have the pet and melee bandoliers it will just use the item.

If the macro took longer than 60 seconds to run, it will report back in either /rsay, /gsay or /say which ever is the case, and state how long it took to run.

macro ends.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


As I said, I hope this is helpful for ya.

If you try it out, if you use it or not, please post back here and share your thoughts, good, bad or ugly. I would enjoy hearing them.
All suggestions will be explored, not saying I will make the changes, just explore them.


Peace.

Author
Bogreaper
Downloads
11
Views
53
First release
Last update
Rating
0.00 star(s) 0 ratings
Top