set soul fire and immolate to 300ms seems to do fine. will post demo and aff for ya
set soul fire and immolate to 300ms seems to do fine. will post demo and aff for ya
Last edited by crystal_tech; 07-10-2011 at 09:16 PM.
Don't working with other locales clients, because in your xml's buffs reads by their names (not spellIDs).
For example: tried with my fury war, and he's not use raging blow and slam at all, BUT uses all other abilities.
PS sorry for bad english
I'm working on a elemental shaman rotation, but I'm kind of stuck at trying to make Earth Shock work. It's supposed to be cast only when Lightning Shield has 7 or more stacks, but I have no idea how to make it cast when a buff reaches a certain number of stacks. I don't really have any LUA coding experience, so any help will be appreciated.
Is there some way to transfer rotations from one release to the next? I am having to set up my Pally's rotations everytime. I tried copying the xml files from one release to the new one but that didn't work. Also, when I switch to my lock and open PQR all of my pally's spells are still listed and when I build my lock's rotation they are just added into the list with my pally's spells. Is this intended?
Working like a charm for my Pally and no more crashes!!! You the man!!!!
Just tried to download the latest version but I get an Invalid or Deleted file error. Looking forward to see the Affliction rotation, I tried today to make one myself but was only half successfull.
okay heres my aff rotation its a wall of text to warn you
note: it had single target, aoe for greater than 2 mobs, aoe for two mobs (need to set focus for off target), and interrupt using felhunter pet.
Aff Lock Single
------------------
Curse of the Elements(1490) (not sure if this would benefit as a Aff lock) - cast if target is boss lvl & needs debuff and does not have 'Earth and Moon(60433)' | 'Ebon Plaguebringer Rank 2(51160;7282)' | 'Fire Breath(34889)' | 'Lightning Breath(24844)' | 'Master Poisoner(9306)'; recast at 1.5 sec remaining
Life Tap(1454) - cast only when player's mana is less than or equal to 20% and Hp is greater than or equal to 80%
Fel Flame(77799) - cast only when moving; cast only if player has 'fel spark(89937)' buff
Demon Soul(77801) (use trinkets with this) - cast if target is boss lvl and hp greater than or equal to 90%; cast when player has a 'Bloodlust(2825)' | 'Heroism(32182)' | 'Time Warp(80353)' | 'Ancient hysteria(90355)' buff
Drain Soul(1120) - cast only when target hp is less than 25% & 'Haunt(48181)' is on cd
Shadow Bolt(686) (opener)- cast boss lvl with greater than 95% hp & needs debuff 'Shadow and Flame(17801)'; player has buff 'Shadow Trance(17941)'
Haunt(48181) - cast if target needs debuff
Bane of Doom(603) - cast if target needs debuff & is boss lvl; if target has 'Bane of doom(603)' cast 'Bane of Agony(980)' instead; recast when debuff has 1.5 sec left
Corruption(172) - cast if target needs debuff; recast when debuff has 1.5sec left
Unstable affiction(30108) - cast if target needs debuff; recast when debuff has 2 sec left; stop casting if target hp is less than 25%
Shadow Bolt(686) - Cast if all above are true; do not cast if target hp is less than 25%
Aff Lock AOE More than 2 Mobs
-----------------------------
Life Tap(1454) - cast only when player's mana is less than or equal to 20% and Hp is greater than or equal to 80%
Fel Flame(77799) - cast only when moving; cast only if player has 'fel spark(89937)' buff
soulburn(74434) - cast at start of Aoe pull and soul shards is greater than or equal to 2 (i like to conserve shards)
seed of corruption(27243) - cast if player has buff 'soulburn(74434)'; cast until stopped
Aff Lock AOE 2 Mobs
------------------------------
note: set your focus to the off target and need to be glyphed
Curse of the Elements(1490) (once again not sure if this helps aff locks) - cast if target is boss lvl & needs debuff and does not have 'Earth and Moon(60433)' | 'Ebon Plaguebringer Rank 2(51160;7282)' | 'Fire Breath(34889)' | 'Lightning Breath(24844)' | 'Master Poisoner(9306'; recast at 1.5 sec remaining
Life Tap(1454) - cast only when player's mana is less than or equal to 20% and Hp is greater than or equal to 80%
Fel Flame(77799) - cast only if player has 'fel spark(89937)' buff
Demon Soul(77801) (use trinkets with this) - cast if target is boss lvl and hp greater than or equal to 90%; cast when player has a 'Bloodlust(2825)' | 'Heroism(32182)' | 'Time Warp(80353)' | 'Ancient hysteria(90355)' buff
soul swap(86213) - cast if target has 'Bane of Doom(603)' | "Bane of Agony(980)' & 'Corruption(172)' & 'Unstable affiction(30108)'
soul swap:exhale(86213) - cast on focus
Shadow Bolt(686) (opener)- cast only once on boss lvl with greater than 95% hp & needs debuff 'Shadow and Flame(17801)'
Haunt(48181) - cast if target needs debuff
Bane of Doom(603) - cast if target needs debuff & is boss lvl; if target has 'Bane of doom(603)' cast 'Bane of Agony(980)' instead; recast when debuff has 1.5 sec left
Corruption(172) - cast if target needs debuff; recast when debuff has 1.5sec left
Unstable affiction(30108) - cast if target needs debuff; recast when debuff has 2 sec left; stop casting if target hp is less than 25%
Drain Soul(1120) - cast only when target hp is less than 25% & 'Haunt(48181)' is on cd
Aff Lock interrupt
-------------------------------------
felhunter:spell lock(19647)- cast to interrupt
some spells are copied from the destro rotation others have been tweaked
on destro side i've set the delay to 3000 ms on soul fire. also to get myself into combat when needed I cast a fel flame at the target.
demo to come and followups to tweaks i've made. just need xelpers coding skills
sorry if this double posts or triple posts (mmowned servers are very busy it seems)
Last edited by crystal_tech; 07-13-2011 at 04:38 PM.
links dead, pls re up! love this btw, nice work
mmowned seems to working again....
---------- Post added at 10:16 PM ---------- Previous post was at 09:30 PM ----------
ok heres my demo rotation single target
Curse of the Elements(1490) - cast if target is boss lvl & needs debuff and does not have 'Earth and Moon(60433)' | 'Ebon Plaguebringer Rank 2(51160;7282)' | 'Fire Breath(34889)' | 'Lightning Breath(24844)' | 'Master Poisoner(9306)'; recast at 1.5 sec remaining
Life Tap(1454) - cast only when player's mana is less than or equal to 20% and Hp is greater than or equal to 80%
Fel Flame(77799) - cast only when moving; cast only if player has 'fel spark(89937)' buff
Soul Fire(6353) - cast when player has 'Decimation(63158)' buff
Incinerate(29722) - cast when player has 'Molten Core(47247)' Buff
Metamorphosis(59672) - cast when off CD; cast when player has a 'Bloodlust(2825)' | 'Heroism(32182)' | 'Time Warp(80353)' | 'Ancient hysteria(90355)' buff
Demon Soul(77801) (use trinkets with this) - cast if target is boss lvl & hp greater than or equal to 95%; cast when player has a 'Bloodlust(2825)' | 'Heroism(32182)' | 'Time Warp(80353)' | 'Ancient hysteria(90355)' buff; cast when player has 'Metamorphosis(59672)' buff
Immolate(348) - cast if target needs 'immolate(348)' debuff; recast when debuff has 3 sec left
Hand of Gul'dan(71521) - cast if player needs 'Hand of Gul'dan(71521)' buff; recast at 12 sec
Bane of Doom(603) - cast if target needs debuff & is boss lvl; if target has 'Bane of doom(603)' cast 'Bane of Agony(980)' instead; recast when debuff has 1.5 sec left
Corruption(172) - cast if target needs debuff; recast when debuff has 1.5sec left
Shadow Bolt(686) - Cast if all above are true
that should do it. heres hoping xelper can get it coded for us locks to test.
Copying an XML from the old folder to the new folder should be sufficient, I copy them all the time when I am doing testing. Ill probably write an updater app eventually to make things easier.
I also fixed the PQR1008.zip link. I deleted it this morning and uploaded a new version with non-localized buff checks for the warrior defaults... Unfortunately Mmowned was down all day so I couldn't fix the link. I'll help out with the stack check in the morning, I have done it before but I do not have access to my code or WOW at the moment.
EDIT: Woah, apparently using Taptatalk on iPad to edit a post is a bad idea, it screwed up the format of the main post. Link is now fixed, again.
Last edited by Xelper; 07-11-2011 at 11:21 PM.
just got 1008 and getting this with buggrabber
42x <string>:"...":71: attempt to compare nil with number
<string>:"...":99: in function `PQR_CastNext'
<string>:"...":163: in function `ExecuteBot'
<string>:"...":6: in function <[string "..."]:2>
Did you have 1007 loaded ingame before you switched to 1008? If so then either go to character select then log back in or reload your UI then start it again.
EDIT: Just verified, if (during the same session) you have used 1007 ingame then you download and use 1008 without either relogging or reloading your UI you will get those error messages.
Last edited by Xelper; 07-11-2011 at 11:45 PM.
ok quit wow, deleted all but profiles, redownloaded, installed keeping old profiles, started wow, started program, hit the hot key and bam got this:
1x <string>:"PQR_SetupTable() function pqrFunc0() --we want to cast if the ...":50: unexpected symbol near '>'
edit.. found the bug. was trying to setup if target was => 84 and it didn't like the '>'
---------- Post added at 12:11 AM ---------- Previous post was at 12:01 AM ----------
on a raider's training dummy that returns -1 for lvl the destro just casts soul fire until you get the buff improved soul fire. is this where it needs changed?
Right, if you are seeing an error in "PQR_SetupTable() function pqrFunc0()............" it is because of a syntax error in your Lua. I recommend making a rotation with just 1 ability in it so you can test. I wonder how difficult it would be to make a Lua syntax checker for the ability editor, I'll look into it.
In your case, with the => thing it sounds like the problem was that you didn't use >= (flip it around).
http://www.lua.org/pil/3.2.html
What is wrong with the Improved Soul Fire buff, exactly?
Last edited by Xelper; 07-12-2011 at 08:34 AM.
When the maintenence in the US ends I will test it on my ret paladin. IF it works as well as my rotation (>) I'll rep ya ^_^
The way you would normally do it in WoW would be like this:
local LightningShield,_,_,LightningShieldCount = UnitBuff("player", "Lightning Shield")
But since I have included the UnitBuffID() function which is identical to UnitBuff but simply accepts a spell ID, use this:
Ability: Earth Shock
SpellID: 8042
Lua:
(You must first check if a non-nil value was returned (meaning you have the buff up) or WoW will throw "Cannot compare number to nil" Lua errors. )Code:local _,_,_,LightningShieldCount = UnitBuffID("player", 324) if LightningShieldCount ~= nil then if LightningShieldCount >= 7 then return true end end
Last edited by Xelper; 07-12-2011 at 08:54 AM.