You can remove all /useXX in the abilities and use the following.
This checks if the item has a "Use" and that it is available to use and that it is not a PvP Trinket (loss of control).
Code:local ItemSlot={10,13,14} for i=1,#ItemSlot do local ItemID=GetInventoryItemID("player",ItemSlot[i]) if GetItemSpell(ItemID) and GetItemCooldown(ItemID)==0 and GetItemSpell(ItemID)~="PvP Trinket"then UseItemByName(ItemID) end end
Do or Die
[PQR] Monk Mistweaver
Tried a number of profiles for my Blood DK and none seem to even use Pestilence, most spam blood boil -.- anyone know a good one for level 62 blood DK that does more than spam blood boil haha
That seems like a very close version to my item code I posted in the old PQRotation thread <>.<>
Code:function PQR_ItemCD() for i=1,#slot do local item = GetInventoryItemID("Player", slot[i]) local cd = GetItemCooldown(item) local use = GetItemSpell(item) if cd == 0 and use ~= nil then return true end end return false endIf that was a redefined version from what I made, the credit to it would be nice, but I did say to use it for whatever when I posted it in the older thread C.cCode:local slot = {10,13,14} if itemCD == true and BS ~= nil then for i=1,#slot do local item = GetInventoryItemID("player", slot[i]) UseItemByName(item) end end
If I wasn't working on a Warrior Leveling Rotation spin-off from my Druid Leveling HonorBuddy PQRotation profile, I would definitely be doing a Death Knight rotation. But remind you, it wouldn't be for tanking. It would be DPS Questing/DPS Instance/DPS Battleground (maybe on BG). Would be no tanking what so ever in the profile. Would just be to much work and a whole lot of coding for to much stuff lol.
Last edited by firepong; 08-01-2012 at 11:07 PM.
Do or Die
[PQR] Monk Mistweaver
To the offense we go.
@Cameron
Again, after I get my Warrior HonorBuddy profile ironed out and everything, I will possibly be working on a Death Knight profile, that will work through all level's. 55-85. Not sure when that will be though. I found out while making my druid HonorBuddy profile I had to level 2 druids to 85 to truly get all the bugs worked out. And even then, a error still seems to pop up from what my friend has been telling me. Something with the Bleed function (not my function, can't remember who made it. It is in the old PQR thread though) in my Data file I hear, even though it doesn't show up on my main 85 profile.
what's the best warrior arms pve profile atm?
..........
Last edited by cpowroks; 08-02-2012 at 04:52 PM.
Added a rota with scattershot @ focus, links in my sig
Spell ID: 20154 | Seal of Righteousness
^^ would change the number from ~= 1-3, first being Seal of Truth, second being seal of righteousness and third being Seal of Insight.Code:local Seal = GetShapeshiftForm("player") if Seal ~= 2 then return true end
Seal of Truth Spell ID: 31801 | Seal of Insight Spell ID: 20165
Last edited by Kinkeh; 08-02-2012 at 04:41 AM.
Read your post in the old thread.
http://www.ownedcore.com/forums/worl...ml#post2231290 ([BETA] PQRotation - an automated ability priority queue.)
You ask if you can use it, "will rep", then you claim you wrote the code.
I don't care who wrote, if you have something to make it better, lets collaborate.
Do or Die
[PQR] Monk Mistweaver