@mentality
On your shadow priest profile, how are you handling the rotation in the standard profile for heroic spine? Does your rotation change at all? I can't seem to find it in the code, although I have known to be blind.
This example show about i was talking before
This can be avoid. Done a CastNoSpam funciton and minimal firemage rotation to test it:Code:Another action in progress Another action in progress Another action in progress
1. When spell i launch a half second delay is addCode:function CastNoSpam(SpellID,Target) local endtime = select(6,UnitCastingInfo("player")) if endtime then endtime = endtime/1000 - 0.5 else local start, duration = GetSpellCooldown(SpellID) endtime = start + duration - 0.2 end if GetTime() > endtime and ( not delay or GetTime() - delay > 0.5 ) then local spellname = GetSpellInfo(SpellID) CastSpellByName(spellname,Target) delay = GetTime() end end if IsSpellOverlayed(11366) then CastNoSpam(11366) end if not UnitDebuffID("target",44457,"PLAYER") then CastNoSpam(44457) end if not PQR_IsMoving(1) then CastNoSpam(133) end CastNoSpam(2948)
2. Next we check when current cast finish or when GCD is ready again in case we using instant cast spell
3. 0.5 seconds before cast end ( 0.2 in case instant spell ) we launch next spell once to cue in game.
The code lack some spell checks and also need to handle spells out of GCD, but this show PQR can be used without error spam.
[ Sheuron PQR Profiles Pack ] https://goo.gl/lfAMC
If you like this piece of code feel free to invite me a beer making a donation.
My paypal account: [email protected]
Last edited by crystal_tech; 04-23-2012 at 04:13 PM.
Please if someone helped you donate rep to them.
Even better code then the previous bit
Code:if UnitPower("player") > 40 then CastSpellByName("!jab", Target) end
updated resto shaman profile to try and keep Ancestral Vigor on tanks, download from .sig or update in pqr
Shaman resto and elemental profiles for PQRotation can be downloaded from here - https://db.tt/g2pIFrBc
Tradeskill profile (Jewelcrafting and disenchant) download here - https://db.tt/aPpOTKJH
@Xelper or whoever can help me
Whenever someone casts, the auto interrupt seems to to lag WoW bad, and sometimes it doesn't even interrupt. I'm currently using Kaolla's interrupt list with 65% cast time til kick. Can you help me out?
Hello onya, i have try your new code for tracking the ancestral vigor buff on tank and modified it to only check my "focus" target but its not working and im stuck maybe you can help me here is my code:
when my buff are less then 6 secondes left pqr dont refresh the riptide ?Code:local cdriptide = PQR_SpellAvailable(61295) --rt & ancestral vigor on focus if cdriptide and mana >= 2202 and UnitExists("focus") and (member[lowest].health >= 45 ) then local _,_,_,_,_,_,av = UnitBuffID("focus", 105284) local _,_,_,_,_,_,rt = UnitBuffID("focus", 61295) if av == nil then av = 0 end if rt == nil then rt = 0 end if isvalidhealtarget("focus") and av < 6 and rt < 6 then SilentCast(61295,"focus") return true end end
(name, rank, icon, count, debuffType, duration, expirationTime)
ah good point, i should be checking that someone else doesn't need a big heal before wasting a GCD refreshing on a tank, and i should also be checking the focus.
so try this.
Code:local _,lcd = GetSpellCooldown(61295) if lcd == 0 and IsUsableSpell(61295) then if (member[lowest].health > ghwhealth ) then if UnitExists("focus") then local _,_,_,_,_,_,ah = UnitBuffID("focus") local _,_,_,_,_,_,rt = UnitBuffID("focus") if isvalidhealtarget("focus") and ah < 6 and rt < 6 then SilentCast(61295,"focus") return true end else for k,v in ipairs(tanks) do local _,_,_,_,_,_,ah = UnitBuffID(member[v].name, 105284) local _,_,_,_,_,_,rt = UnitBuffID(member[v].name, 61295) if ah == nil then ah = 0 end if rt == nil then rt = 0 end if isvalidhealtarget(member[v].name) and ah < 6 and rt < 6 then SilentCast(61295,member[v].name) return true end end end end if rttarget == nil then rttarget = 0 end if member[rttarget].health < rthealth then if isvalidhealtarget(member[rttarget].name) then SilentCast(61295,member[rttarget].name) return true end end end
Shaman resto and elemental profiles for PQRotation can be downloaded from here - https://db.tt/g2pIFrBc
Tradeskill profile (Jewelcrafting and disenchant) download here - https://db.tt/aPpOTKJH
Oh yeah i'm thinking that i could code in a way to save a bunch of players in your raid to a custom group by selecting them and then hittting a keybind, and then being able to switch between healing everyone in the raid and just these players. so you could set it to the tanks, or just your party or something for that hard mode boss where you do that. would people find this useful? i don't do hardmode stuff i'm pretty casual, and i can prettty much /follow afk and top the meters in lfr
Shaman resto and elemental profiles for PQRotation can be downloaded from here - https://db.tt/g2pIFrBc
Tradeskill profile (Jewelcrafting and disenchant) download here - https://db.tt/aPpOTKJH