-
Active Member
There is a way. [PQR] 3.3.5 Cpoworks Protection Warrior ([PQR] 3.3.5 Cpoworks Protection Warrior)
But the links don't work anymore. It even cancels the hs if you run low on rage mid swing. If you manage to find a dl link for it or another working script plz share it here or pm me.
-
Member
Hey there, I was trying to look for a decent Retribution Paladin script with the 2x T10 reset on Divine Storm procs. Does anyone have one ?
-
Member
is it possible to cast cc if enemy in arena used trinket?
-
Member
local myHealth = 100 * UnitHealth("player") / UnitHealthMax("player")
if myHealth < 10 then
return true
end
I want to add use Fel Healthstone when below 10% hp to this script but since its not a spell i dont know how to make it work. Any solutions?
Last edited by cyberhero; 10-04-2017 at 07:38 AM.
-
Member
i repeat, is there a script to check if enemy used trinket then cast spell?
Thanks.
-
Member
Originally Posted by
sangdogg
i repeat, is there a script to check if enemy used trinket then cast spell?
Thanks.
I think you need to set a frame that checks combat log and when someone in opposite team uses medallion/racial it fires, so you can cast a spell, but honestly, I don't see the point, I mean it's not PvE, PvP is totally different its not a rule that Trinket=CC, maybe it's not even necessary, maybe he has DR, maybe you are silenced, maybe he is out of range, maybe he is even immune...you need to write tons of conditions so I would rather leave this function to be honest.
I don't understand you guys asking some stuff like this, can't you really see the trinket from Gladius and cast manually a CC? It's not that hard..
-
Member
Is there a decent resto druid healing profile?
for dungeons and raids?
-
Member
Originally Posted by
sangdogg
i repeat, is there a script to check if enemy used trinket then cast spell?
Thanks.
local f = CreateFrame("Frame")
f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
f:SetScript("OnEvent", function(self, event, unit, spell)
if spell == "PvP Trinket"
and UnitIsEnemy("player", unit)
and GetSpellCooldown("Blind") == 0
then
CastSpellByName("Blind", unit)
end
end)
Though OnEvent script is rather poor choice, it would be better to track unit cooldowns then execute better script (almost) constantly.
-
Member
Originally Posted by
sangdogg
i repeat, is there a script to check if enemy used trinket then cast spell?
Thanks.
Trinket = CreateFrame("Frame", "Trinket", UIParent);
Trinket:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
Trinket:SetScript("OnEvent", function(self, event, arg1, arg2)
Spells3 = {"Every Man for Himself", "PvP Trinket"}
for x = 1,#Spells3 do
local args = {arg1, arg2}
if (arg1 == "target" and arg2 == Spells3[x]) then
CastSpellByName("Blind")
end
end
end)
-
Active Member
Hello! I say right away, English is not my main language.
Need help with the encoding of some spells.
First its Druid Lacerate - I want the PCR to use this spell to 5 stacks, and check the remaining time.
Code:
if UnitDebuffID("target", 48568, "player") == nil
and checkSpell(48568, "target")
and checkcount < 5
then return true end
Warlock:
Immolation Aura - check melee range and use it only on melle range.
Code:
if UnitBuffID("player", 47241)
and IsSpellInRange("54053", "target") == 1
then return true end
Shadow Cleave - same (check melee range and use it only on melle range.)
Code:
if UnitBuffID("player", 47241)
and IsSpellInRange("54053", "target") == 1
then return true end
Can someone help?
DarhangeR Rotations Discord → https://discord.gg/xBFKJc6QRr
-
Member
Code:
local lacerate_count = REPLACE(4, UnitAura("target",GetSpellInfo(48568), nil , "PLAYER")) or 0
if lacerate_count==5
and (REPLACE(7, UnitAura("target",GetSpellInfo(48568), nil , "PLAYER"))-GetTime() ) < 5 -- Expiration
then
return true
elseif lacerate_count == 0 then
return true
end
Swap REPLACE with
sele
ct
I'm unable to post actual word because ownedcore is blocking it? lol
For caster melee check just look at IsItemInRange function (you can also use libs like LibRangeCheck or at least check it for reference).
-
Post Thanks / Like - 1 Thanks
DarhangeR (1 members gave Thanks to CrazyCo for this useful post)
-
Member
Originally Posted by
AnimatedHF1
Is there a decent resto druid healing profile?
for dungeons and raids?
I am interested in this too.Can someone share something good for us. (Pve rdruid 10/25).
-
Active Member
Code:
Message: [string " function pqrFunc0() --Pause/the/rotation!..."]:47: attempt to concatenate a nil value
Time: 12/30/17 15:20:26
Count: 1
Stack: [string " function pqrFunc0() --Pause/the/rotation!..."]:47: in function `?'
[string "..."]:267: in function `PQR_NextAbility'
[string "..."]:161: in function `PQR_CastNext'
[string "..."]:150: in function `PQR_ExecuteBot'
[string "..."]:40: in function <[string "..."]:23>
Locals: (*temporary) = <function> defined =[C]:-1
(*temporary) = "/click "
(*temporary) = nil
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "attempt to concatenate a nil value"
Have Lua error sometimes, anybody know what do?
DarhangeR Rotations Discord → https://discord.gg/xBFKJc6QRr
-
Active Member
Originally Posted by
sharesa
I am interested in this too.Can someone share something good for us. (Pve rdruid 10/25).
I think its good profiles for you.
My own Druid 3.3.5a Profiles(Only for PvE) include:
- Resto Solo Profile;
- Resto 25-40 Player Profile;
- Feral Cat;
- Guardian Bear;
- Moonkin;
Virustotal → https://goo.gl/d1PT2V
Link for Download Mediafire → Druid 3.3.5a Profiles
Add Link in Mediafire (Help me dev, watch 15 sec add whitout addblock and antivirus) → Druid 3.3.5a Profiles (ADD)
If help press tnx and give rep
Last edited by DarhangeR; 12-30-2017 at 08:45 AM.
DarhangeR Rotations Discord → https://discord.gg/xBFKJc6QRr
-
Post Thanks / Like - 1 Thanks
gnomefocus (1 members gave Thanks to DarhangeR for this useful post)
-
Member
Originally Posted by
civayan
Code:
Message: [string " function pqrFunc0() --Pause/the/rotation!..."]:47: attempt to concatenate a nil value
Time: 12/30/17 15:20:26
Count: 1
Stack: [string " function pqrFunc0() --Pause/the/rotation!..."]:47: in function `?'
[string "..."]:267: in function `PQR_NextAbility'
[string "..."]:161: in function `PQR_CastNext'
[string "..."]:150: in function `PQR_ExecuteBot'
[string "..."]:40: in function <[string "..."]:23>
Locals: (*temporary) = <function> defined =[C]:-1
(*temporary) = "/click "
(*temporary) = nil
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "attempt to concatenate a nil value"
Have Lua error sometimes, anybody know what do?
At line 47 in somewhere in your PQR script its trying to do something like "player".. nil
Since PQR concatenates all abilities into single string its immensively annoying to debug.