Im not sure what ive done or doing wrong but ive set it up for shadow priest activate it but it dosnt cast anything. ive used the profile that was posted on prev page.
Im not sure what ive done or doing wrong but ive set it up for shadow priest activate it but it dosnt cast anything. ive used the profile that was posted on prev page.
what triggers the conserve phase? target hp at 20% or some other %? if so try nesting a if then to check health and compare it to hasEvo check.
Righty. What version are you using? With the latest version, it should be working perfectly as I'm using it right now.
Just remember that it won't start casting anything unless you're actually in combat, so to get yourself into combat on say a training dummy just cast Mind Flay or Shadow Word: Pain to get into the rotation.
I recommend starting with Mind Flay if you really can start out first before getting yourself into combat, the next best thing would be on the pull to let it do it all itself.
@AdamZZ: My bad! But I believe the code should work. Just edit my mistake. <3
@n1bl3r:
Ah yes, my bad. I've been playing a mage before, just not in Cataclysm. Was asked if I wanted to change into a Priest instead.
Optimally, I would split it all up into a few own "skills", like this:
"Evocation - Conserve" at the top
"Arcane Missiles - Conserve" under Evocation
"Arcane Blast - Conserve" under Arcane Missiles
Evocation: - Quick check for Evocation, using it at the top.
Arcane Missiles: - Checks if we've got the Arcane Missiles buff and casts if we do.Code:local ESstart, ESduration = GetSpellCooldown(12051) local EScd = (ESstart + ESduration - GetTime()) if EScd < 3 then return true end
Arcane Blast: - AB, checks if Evocation is coming off cooldown and never goes above 3 stacks before restarting the entire rotation again.Code:local AM = UnitBuffID("player", 5134) if AM ~= nil then return true end
For Arcane Blast, alternatively, you could try adding these lines for extra utility if you want to cast between 2 and 4 stacks every time;Code:local _,_,_,AB = GetBuffID("player", 30451) local ESstart, ESduration = GetSpellCooldown(12051) local EScd = (ESstart + ESduration - GetTime()) if EScd > 3 then if AB ~= nil then if AB >= 3 then return false end return true end end
Not really sure if WoW has math.random implemented though, but it's worth a shot I guess!
Code:local RandomStacks = math.random(2,4) local _,_,_,AB = GetBuffID("player", 30451) local ESstart, ESduration = GetSpellCooldown(12051) local EScd = (ESstart + ESduration - GetTime()) if EScd > 3 then if AB ~= nil then if AB >= RandomStacks then return false end return true end end
If some people could try:PQR105.zip And let me know how it works before I release it on the main page that would be great. 1) 4 Rotations Total - with custom hotkeys for all 4 + Interrupt Mode. 2) Custom Sounds (I know not all of the sounds actually play a sound, that list was just exported from WoW) 3) Hotkeys will not send if you are typing in chat ingame (or editing RealID Status, or some other edit box)The official version I release tomorrow will include the ability to select a target for an ability. EDIT: I have no idea why MMowned isn't formatting my post properly.. its removing all "new lines"
Last edited by Xelper; 07-17-2011 at 12:12 AM.
yea had that problem with a post earlier.
I tried PQR105 for a while now and it seems to work just fine, I changed sounds and hot-keys and tortured the dummy. No problems at all.
Vanish + Garrote also works now most of the time, I think when it doesn't work it is because of not having enough energy and the rotation is not waiting long enough to get the energy needed for Garrote, I will try if that is the problem and will add a check to Vanish so that Vanish is only used when there is enough spare energy to use Garrote direct after.
Version 1.0.5 works great, tried the hotkeys and they seem to work without any problems.
I am also done with my Feral Cat rotation now, gonna do a dungeon for last minute testing and after that it should be released!
Version 1.0.5 is working like a charm for me as well.
Really like the fact that we've got editable hotkeys now for the rotations
Crystal my friend, the warlock rotations and abilitys work super now, no issues at all.......doin 15-20k dps in 341 item lvl gear as a destro in HC's
So thank you so much for all the work.
PS. Xelper this bot is the best one i have ever tried, you made Wow fun again.
Last edited by paveley; 07-17-2011 at 09:30 AM.
I wonder, does anyone know if there's some magical function to check for threat levels? For instance, using Fade when you've got more than 94% threat on cooldown or something like that.
for threat i found this: API UnitDetailedThreatSituation - WoWWiki - Your guide to the World of Warcraft
so for a spell to use on too much threat should be
should work but it needs testing.Code:local _,_,threatpct,_,_ = UnitDetailedThreatSituation("player", "target") if threatpct >= 94 then return true end
---------- Post added at 10:45 AM ---------- Previous post was at 10:31 AM ----------
I figured that I would share this api page as well for checks in peps code. good for making sure you if you need to cast a spell if you need a extact amount or above using combo points/soul shards/ruins/etc
API UnitPower - WoWWiki - Your guide to the World of Warcraft checks the power.
PowerType - WoWWiki - Your guide to the World of Warcraft tell you what number to enter for above.
Last edited by crystal_tech; 07-17-2011 at 10:38 AM.
Where can i get some information on this, like, to edit the skills, i was thinkin in put a Tranquilizing Shot in a pvp rotation for my hunter, so i need to put something that they can check if the target has a dispelable magic effect. Any clues on this? thanks in advice, nice program!
@Xelper: Worked like a charm! I'll have a look at those two pages as well.