can anybody help am on the pvp holy pally setup trying to add loh, health stone and rebuke. I copyed health stone from bubba's dk one does nothing tho
can anybody help am on the pvp holy pally setup trying to add loh, health stone and rebuke. I copyed health stone from bubba's dk one does nothing tho
Last edited by woppo; 12-29-2011 at 11:50 AM.
For Lay on Hands. Give this a try (Not been able to test)
For Healthstone. You could try this too.Code:-- Cast LoH if a players HP drops to 7% -- <Ability> <Name>Lay on Hands</Name> <Default>false</Default> <SpellID>633</SpellID> <Actions></Actions> <Lua> if PQR_CustomTargetHP &lt; 7 then return true end </Lua> <RecastDelay>100</RecastDelay> <Target>Custom</Target> <CancelChannel>False</CancelChannel> </Ability>
Im sure there is a better way of doing it. But not able to test anything ATMCode:-- Use Healthstone if im at 20% HP -- <Ability> <Name>Heathstone</Name> <Default>false</Default> <SpellID></SpellID> <Actions>/use Healthstone</Actions> <Lua> local myHealth = 100 * UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) if myHealth &lt; 20 then return true end </Lua> <RecastDelay>100</RecastDelay> <Target>Custom</Target> <CancelChannel>False</CancelChannel> </Ability>
Last edited by Lofty; 12-29-2011 at 12:17 PM.
Message: [string "..."] line 131:
attempt to index field 'priorityTable' (a nil value)
Debug:
(tail call): ?
[C]: ?
[string "..."]:131: PQR_ExecuteBot()
[string "..."]:40:
[string "..."]:23
Got this when i try to use it on WoW 3.3.5, using xelpel ret paladin profile. Anyone can help me?
My profile will not work on 3.3.5. I simply provided the offsets so that people who really wanted to could create their own profiles.
TY. I am new at this. i will search and try to find how to find spellid and will glady start doing some 3.3.5 profile for paladin and warlock.
PS. Found addon to help me in that. Hope i can make some profiles to share with you.
Thank you all for all the help
Last edited by Seixalito; 12-29-2011 at 05:18 PM.
Hi Guys,
here is part of Ash's druid healing profile for lifebloom:
does anyone know what to add so it'll cast on player with: Defence stance(warriors) - Righteus Defence (paladins) - Bear Form (Druid) - Blood Pressance (DK)?local CastOn = "focus"
local Name,_,_,Stacks,_,_,Duration = UnitBuffID(CastOn, 33763)
-- Set target to heal, defa/focuults to focus, player if none found
-- Also allows for casting on custom target when in tree of life
if UnitAura("player", 33891) and
UnitExists(PQR_CustomTarget) and
Name ~= nil and
Stacks == 3 and
Duration - GetTime() > 3
then
CastOn = PQR_CustomTarget
end
-- Basic exists, not dead, is friendly, in range and not LoS checks
if spellCheck(33763, CastOn) == 1
then
-- Get the LB stacks/duration
local _,_,_,Stacks,_,_,Duration = UnitBuffID(CastOn, 33763)
-- Check player is not holding right shift to let it bloom
if IsRightAltKeyDown() == nil then
-- Check LB stack doesn't exist, is less than 3 or is about to expire
if Stacks == nil or
( Stacks ~= nil and Stacks < 3 ) or
( Stacks ~= nil and Duration - GetTime() <= 3 )
then
-- Cast it!
PQR_CustomTarget = CastOn
return true
end
end
end
is this possbile?
It's possible, but it'd be very clunky to do it since you'd need to loop the raid looking for buffs everytime the script is run. I'll show you how to do it if you really must, but I honestly don't know why you'd want to do it that way since even if you just target a mob it'll auto-focus the current tank on it by default otherwise you can set a focus target manually.
As for the problem you posted a page or so back about Swiftmend not being used, I'm totally aware of that issue and it will be fixed in a release tomorrow once I'm done testing a few other things included in it![]()
how can i get this to work ?
Code:function CheckMagic(unitid) local i = 1 local buff,_,_,count,bufftype,duration = UnitDebuff(unitid, i) while buff do if bufftype == "Magic" or bufftype == "Poison" or bufftype == "Disease" then return true end i = i + 1; buff,_,_,count,bufftype,duration = UnitDebuff(unitid, i) end end PQR_CustomTarget = "player" local group = "party" local members = GetNumPartyMembers() if GetNumRaidMembers() > 0 then group = "raid" members = GetNumRaidMembers() end for i = 1, members, 1 do local member = group..tostring(i) if UnitInRange(member) and UnitIsDeadOrGhost(member) == nil and PQR_IsOutOfSight(member) == false then if CheckMagic(member) then PQR_CustomTarget = member end end end local buff = { 49203, 19386, 3355, 44572, 118, 82691,31661,853,20066,10326,605,64044,8122,9484,15487,6789,5782,5484,6358,30283,24259,31117,18498,33395,122,83302,55080} for i,v in ipairs(buff) do if UnitDebuffID(PQR_CustomTarget,v) then hbuff = 1 end end if hbuff and CheckMagic(PQR_CustomTarget) and UnitDebuffID(PQR_CustomTarget,30108) == nil then return true end
In HB the code to do this for DnD came from the singular layout. it will drop the dnd on the target location
StyxWoW.Me is a library that HB calls to for behaviors I am wanting to know how to get PQR to drop a DnD on the target location without using a mouseover if it is possible.Code:Spell.CastOnGround("Death and Decay", ret => StyxWoW.Me.CurrentTarget.Location
Can someone help me figure out why these abilities work flawlessly in the Paladin Holy profiles but in the Dragonfire ret event based one they do not? I am not sure if there is a code built in that I do not see for the auras but I would like them to work for this profile as well.
Concentration Aura
Crusader AuraCode:local Aura = GetShapeshiftForm("player") if Aura ~= 3 and IsMounted() == nil then return true end
Of course I would like to add a couple other auras to use but I can do that on my own.Code:local Aura = GetShapeshiftForm("player") if Aura ~= 5 and IsMounted() then return true end
Been playing around with bu_ba_911's Holy paladin profile.
I found it draining mana far too much, and some very important spells where missing.
CHANGELOG v1
Download: http://dl.dropbox.com/u/11791741/Holy10man.zipCode:1) Added in Xelper's Ultraxion's Hour of Twilight / Fading light code 2) Added OHSHIT button (Lay on Hands) 3) Added the use of Healthstone 4) Changed some health percents for healing spells 5) Changed mana regen abilities for better mana usage 6) Added Light of Dawn (Does not check for range, so make sure you are correctly positioned) 7) Fixed Cleanse (I think) 8) Will be much better on mana usage now
Let me know if you would like to see any changes / anything added.
Profile updates, package includes:
Mage (Frost PvP, Fire PvE, Arcane PvE)
Priest (Holy PvE, Discipline PvP)
Hunter (MM PvE)
Warrior (Protection PvE, Fury PvE)
Rogue (Combat PvE, Subtlely PvP)
Death Knight (Frost PvP)
xeron301211PQRProfiles.zip
- All PvE profiles include code to autoclick extra button on Ultraxion fight
- Some fixes here and there
- Most code was rewritten, maybe new bugs are introduced
All filenames are changed since last release, delete old profiles starting with xrn*.* before copy this ones.
Hi Lofty,
Thanks for the great updates, apparently there are some problems working with all versions of PQR, mainly 1.1 and 1.1.1
It says the xml is not well formatted and doesn't appear in abilities page, I'm still trying to find out what's wrong though, It'll take me some time.
Just thought that I'd highlight you about it first.
Regards![]()
Does it say anything else with the error.
Strange tho as i tested it in our raid last night, and the only change before uploading it was done today by spacing out the coding to make it neater/easyer to read/edit.
While changing the formating i probably made a typo somewhere. Ill try and find it now