Very great, keep the good job !
Very great, keep the good job !
I missed out on Oondasta today, so if someone wants to test this out and ensure it works that would be great!
PHP Code:
--Implement PQR_resumeAttack.. this is used to prevent
--abilities lower in the rotation from being cast.
if PQR_resumeAttack == nil then
PQR_resumeAttack = 0
elseif PQR_resumeAttack > GetTime() then
return true
else
PQR_resumeAttack = 0
end
-- Oondasta Stopcasting Handling
if UnitExists("target") then
local tarID == tonumber(UnitGUID("target"):sub(6,10), 16)
if npcID == 69161 then --Oondasta
local pRoar = GetSpellInfo(137457)
local bossCasting,_,_,_,_,castEnd = UnitCastingInfo(bossCheck)
if (bossCasting and bossCasting == pRoar) then
if (castEnd/1000) - GetTime() < 2 then
SpellStopCasting()
PQR_resumeAttack = (castEnd/1000) + 0.2
return true
end
end
end
end
Last edited by snowhawk; 03-10-2013 at 03:04 AM.
How do I set a custom key?
EG. Hold F2 will cast Premeditation then Slice and Dice on target
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
Good question, maybe take a look at the lua code for Vuhdo? lol
Former PQR Developer
It is possible to use custom keys ( sort of ), back in the days Onyxia ?! Forgot his name lol, he made some real nice Shaman profiles and he had the custom key ability in his rotations. I am trying for a while to get my hands on one of his old profiles to see how he did it and use it myself but the old download links are not working anymore. He basically created macros from within the rotations and when you pressed a custom key one of the macros was queued as top priority and executed then.
it's event handlers..... u just need to create a frame and track the key presses....
http://www.wowwiki.com/UIHANDLER_OnKeyDown
I think Vuhdo does something similar but only has 2 macros and they dont make any since lol:
VuhDoDCShieldNam
VuhDoDCShieldDatN[x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x]Ar›x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x]
P[x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x]1PM[x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x][x]
I have and im still learning LUA and it would be like trying to find a needle in a haystack for me to try to find that, just yesterday i spent 1h looking for where the slash commands were so i could use the vuhdo hide function in a addon im modifying but had no luck. lol
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
I am starting to remember partially how he did it, he was creating macros which you could use then as normal macros aka with any keybind you want. The macro was setting a cvar like PQR_HealingRain=1 or something like that and then he was checking for the cvars and executing a spell if there was a match. Was awesome, I wonder why noone else ever used this in his profiles since it is making it so much more interactive.
I would "kill" for his old profile to figure out how he did it to use it for myself![]()
The SVN we use has lots of old profiles from 4.3 onyas is in there.
Please if someone helped you donate rep to them.