Reserving.
Also, hooray!![]()
Reserving.
Also, hooray!![]()
Hey guys,
can someone tell me how to code energy regen calculation ? Something like energy time to max > 5 s ...
Thanks for the help
Last edited by kickmydog; 12-05-2012 at 10:57 PM.
https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/422388-kickmydog-bm-mm-sv-hunter-profiles.html#post2793017
if EnemyExists and PlayerCombat then
if UnitBuffID("player", 13159) or UnitBuffID("player", 511then
CastSpellByName(tostring(GetSpellInfo(13165)))
end
if not EnemyExists and PlayerCombat then
if UnitBuffID("player", 13165) or UnitBuffID("player", 109260) then
CastSpellByName(tostring(GetSpellInfo(511))
end
end
I failed!!! need some help would also like to be able to cast AoP if in group or raid.
Any and all help is greatly appreciated,
wow is that my old code? one sec
update:
What i'm using for hawk/cheetah/pack now:
PHP Code:
--Code By Crystal_tech
--If running without mount and out of combat and not dead then cast Aspect of the Cheetah
--Change stanceNum to 3 if you want pack however i dont recommend it due to tanks getting dazed
--stanceNum to 2 for Cheetah
local stanceNum = 2
if not PlayerCombat
and not IsMounted()
and PQR_IsMoving(3)
and UnitIsDead("player") == false
then
if GetShapeshiftForm() ~= stanceNum then
CastShapeshiftForm(stanceNum)
return true
end
end
--if not dead and not in combat but on a mount or not dead and not moving and not in combat or in combat then Cast Iron/Hawk
local stanceHawk = 1
if UnitIsDead("player") == false then
if (not PlayerCombat and IsMounted())
or (not PQR_IsMoving(2) and not PlayerCombat)
or PlayerCombat
then
if GetShapeshiftForm() == stanceNum then
CastShapeshiftForm(stanceHawk)
return true
end
end
end
--End Code By Crystal_tech
Last edited by crystal_tech; 12-06-2012 at 12:24 AM.
Please if someone helped you donate rep to them.
I'm looking for a mage AOE rotation capable of taking down alot of mobs at one time (Solo), any help would be much appreciated.
Last edited by predator1981; 12-06-2012 at 12:18 AM.
i'd look at novas data file and bubbas mistweaver code to see how you can use tables and index buff checks and such to clean that up in short
this is rough but should get you going
local cleanseDebuff = { spellid1, spellid2, spellid3, etc}
local members = { party1, party2, party3, party4, etc}
for i= 40, #members do
if UnitDebuffID(members, cleanseDebuff) then
PQR_CustomTarget = members
CastSpellByID(4987, PQR_CustomTarget)
end
end
like i said this is only to get you going the right direction and you'll need to change it up. but i hope this helps.
in his mistweaver its under --init-- and detox
Last edited by crystal_tech; 12-06-2012 at 12:48 AM.
Please if someone helped you donate rep to them.
Thank you very much crystal, I wasn't sure how members worked, I can release some better stuff now.
Update, follows new elitist jerks/simcraft numbers.
https://dl.dropbox.com/u/44039495/PALADIN.rar
Hotr is now 2+ mobs
changed the 3rd/4th toggle, to prioritize hotr over exo/wrath, currently stronger at 5+ mobs for the 3rd toggle and 6+ mobs for the 4th toggle, if they last 15 seconds.
judgment will be prioritized over crusader(not hotr) if the target is < 20% or you have wrath up
fixed bug with judgment and range check mobs
Can I fix mass exo with IsUsableSpell Xelper?
re-post of all profiles.
https://dl.dropbox.com/u/44039495/PQR.rar
edit:
I am having massive problems with double jeopardy and mass exorcism. I have been trying for 2 months now to figure this out and I really don't know what to do.
paying for a solution to both abilities.
My current code for judgment, double jeopardy is included, it sometimes works, sometimes it doesn't.
Just having the mass exorcism glyph locks up the rotation.PHP Code:
if UnitBuffID("player", 84963) == nil or UnitBuffID("player", 84963) and select(7, UnitBuffID( "player", 84963)) - GetTime() < 2.5 then
if UnitPower("player", 9) >= 3 then
return false
end
elseif PQR_SpellAvailable(879) or PQR_SpellAvailable(24275) or UnitBuffID("player", 87138) then
return false
elseif single == false and PQR_SpellAvailable(35395) and ((100 * UnitHealth("target") / UnitHealthMax("target")) > 20 or UnitBuffID("player", 31884) == nil) then
return false
end
if GetShapeshiftForm() ~= 0 then hasSeal = true else hasSeal = false end
if switchedTargets == nil then switchedTargets = false end
if hasSeal and UnitPower("player", 9) < 5 then
if UnitExists("focus") and switchedTargets == false then
CastSpellByName(GetSpellInfo(20271), "focus")
switchedTargets = true
elseif UnitExists("target") and switchedTargets == true then
CastSpellByName(GetSpellInfo(20271), "target")
switchedTargets = false
elseif not UnitExists("focus") or UnitExists("focus") then -- the default if there is no focus, had range check here, but it kept locking up on bosses.
if UnitExists("target") then
CastSpellByName(GetSpellInfo(20271), "target")
end
end
end
Last edited by averykey; 12-06-2012 at 02:42 AM.
My Svn - https://subversion.assembla.com/svn/averykeys-svn/
Hey Nova team!
In regards to your affliction profile I still use it at 90 however...
Just wanted to let you know I modified your unstable affliction code to use fel flame as a refresh as opposed to recasting unstable affliction each time. Shaved some time off refreshing as you get to refresh both corruption and UA with 1 gcd instead of 2+cast time on UA. Other than that though great profile and have done some wonders with it :P
pm me for the change though I'm a noob and you can probably figure it out faster than the 4 hours it took me to stumble through lua snippets.
Aleksonfire
Does anyone else get the problem where the PQR client just stops responding and doesn't want to work, so you have to redownload the entire thing?
Question: is it possible to make a frame in which I can monitor several variables behaviour as in updating them upon each rotation execution. I need to monitor 8-9 variables all time to see their values and it's impossible to do so in chat![]()
Supporter of Frozen.
Just made my 1st profile, its has prospect, Disenchant, Mill, and auto turn in Bundle of Groceries for Ironpaw Token’s. let me know what you guys thing!
I will make it so you can download and update it through PQR but 1st I will need some1 to let me know how to make that work =D.
If you have any questions, bugs, or suggestions let me know. =D
Does "code" differently to WoW U.S. version and E.U.? I'm playing in the States.
What I am trying to do is to cast Hawk if i'm fighting, then cast Pack or Cheetah, when done fighting and running back to my Kills that are at a distance.
Thanks for the help Crystal.
added note I'm a Tauren Hunter, I see this is for a Druid.
Last edited by NicodemusAtNIMH; 12-06-2012 at 06:26 AM.