Ah, thanks![]()
is it safe to use this hack if i only use it for pve?
@deadpanstiffy: Yeah, I didn't think about using that, but mainly, what I posted was just for Valma's own reference since GetSpellCooldown() is stupid sometimes.Wasn't ment to be appart of any actual coding.
Its never safe to use any hack or bot.
My bad. Should have been more specific.
Enhance and resto preferably, for both arena and bg's.
Enhance: Use ghostwolf to close distance. Interrupt/ground/hex/purge/tremor/cleanse.
Resto: Would be nice to see it interrupt/ground important spells. Use Earthshield effectively. Purge important buffs. Tremor. Cleanse important debuffs. Hex focus target, etc.
Anyone who's interested just send me a mail. We can work things out from there.
use Avery's latest one it pulls a bit higher than GRBs
Ok, thank you. Do you know if he has a svn ?
Download Avery.PVE.Ret.Profiles.rar @ UppIT
That's the link to Avery's latest profile
Would thing this is possible, but not sure
Anybody got an example code of checking to see if your focus has a buff.
Thinking that would be a nice way to have earth shield only cast on tank. Player would need to focus the tank, but have a check that basically says if focus does not have earth shield, then cast it.
That in my thought would keep it on the player you choose.
This is the current code I see for Resto Shaman using Earth Shield, but I have it out of rotation as it seems it would cast on any player
I would think first the line for friend would be changed instead of target that would be focus or something,Code:local friend = UnitIsFriend("player","target") local mytarget = 100 * UnitHealth("target") / UnitHealthMax("target") local ES = UnitBuffID("target", 974) if friend ~= nil and mytarget < 75 and ES == nil and IsMounted() == nil then return true end
then instead of checking health % just check to see if the buff is present
While personally I only aim to keep it on the tank, I currently do it with a macro.
Thanks
Last edited by abndrew82; 03-03-2012 at 10:16 AM.
Attachment 6420Not really a coder, but I think I understand what you are saying, this is just something I was thinking about.
But if I understand the first part is to check in the ability editor the drop down should be target (Which it currently is)
Then in the code, it would look more like this
So I think what would mainly need changed, is the red line there, as I would want it to be checking if they currently have the Earth Shield buff and not what their health is atCode:local friend = UnitIsFriend("player","focus") local mytarget = 100 * UnitHealth("target") / UnitHealthMax("target") local ES = UnitBuffID("focus", 974) if friend ~= nil and mytarget < 75 and ES == nil and IsMounted() == nil then return true end
Added a picture of what the ability editor looks like for the current earth shield usage.
I have it removed from the rotation part, as the way it is, it would cast ES on your targets anytime they are below a certain health, which is not really mana friendly or needed.
Last edited by abndrew82; 03-03-2012 at 10:48 AM.