Someone should make a sub rogue PvE rotation. That would be sweet.
Someone should make a sub rogue PvE rotation. That would be sweet.
@sheuron: I'll add a function to check if the unit was out of LoS in the last second.
It will work like follows probably, the unit will likely be a name check... so multiple mobs with the same name could return true in that 1 second period.
(NOTE THIS DOES NOT WORK IN THE CURRENT RELEASE VERSION)
I am also going to be adding a "Custom" target option... I think you may have suggested it, but I could be wrong. You will be able to specify the unit you wish to attack via Lua code before returning true.Code:if PQR_OutOfLOS("unit") then return false end
PQR_Target = "party1"
return true
ok was trying this with the resto druid lifebloom and is kinda working.
local mytarget = 100 * UnitHealth("focus") / UnitHealthMax("focus")
local _,_,_,LB,_,_,LBt = UnitBuffID("focus", 33763)
if mytarget < 99 and LB == nil then CastSpellByID(33763,focus) end
if mytarget < 99 and LB < 3 then CastSpellByID(33763,focus) end
if mytarget < 99 and LBt - GetTime() < 4 then CastSpellByID(33763,focus) end
Last edited by Luciferozzy; 09-14-2011 at 08:14 AM.
Is this possible?
ause i cant get it to work
vtf = UnitDebuffID("party1", 34914)
if vtf ~= nil
then CastSpellByID(527,"party1")
end
I was wondering if theres a way to cast hunter's mark Every time you switch targets.? Or like be able to cast it as soon as you enter combat. So basically Hunter's mark + Serpent Sting everytime Except on mobs with less health then you. Cuz right now its just doing serpent sting unless your out of combat so if your close enough where you can assist the tank in dps it will only cast serpent sting and bypass Hunter's mark. =./
i have taken the liberty of using the newest profile (14.9) from sheuron/Xeron(thanks to his amazing skill) to do a disc pvp profile.
i'm far away from being a LUA expert, i just copy and paste and do little tweaks.
what it does:
it heals :>
it dispells ccs/stun/root effects (ignores trashbuffs, dispell cc/stun/root effect with UA or VT only when you and your target are over 90%)
it purges your enemy (only relevant buffs like pwd:s, innervate aso)
it dmg's your enemy
feel free to improve it and +rep Sheuron
discpvp.rar
I can't remember if I made the change to Necrotic Strike before or after I released that latest DK Update. However regardless I did make a change to it at some point and it seems you don't have the updated one.
LUA Code:
This will only cast necrotic strike when the debuff isn't already on the target, and it will also only cast it when the person is above 50% health. That way when he gets under 50% health you have that extra rune for obliterate to just rape face. Edit that health thing however you want (the health > 50) depending on your play style.Code:local NS = UnitDebuffID("target", 73975) local thealth = 100 * UnitHealth("target") / UnitHealthMax("target") if NS == nil then if thealth > 50 then return true end end
Next thing i have in mind is to do profiles designed to track enemy players on arena without need to focus them. An example, If none player got (arena1, arena2, etc..) on target cast cc or interrupt on him
i would love to see it. i tried this but it did not work. ;/
Code:Name,_,_,_,_,_,_,_,_ = UnitCastingInfo("target","focus","arena1","arena2","arena3") if Name == ("Fear") and GetSpellCooldown(23920) == 0 or Name == ("Hex") and GetSpellCooldown(23920) == 0 or Name == ("Polymorph") and GetSpellCooldown(23920) == 0 or Name == ("Cyclone") and GetSpellCooldown(23920) == 0 or Name == ("Lava Burst") and GetSpellCooldown(23920) == 0 or Name == ("Chaos Bolt") and GetSpellCooldown(23920) == 0 then if UnitPower("player") >= 15 and UnitIsUnit("targettarget", "player") then return true end end
Any idea how to stop it from using my trinket (moonwell chalice) on the Warlock Demo: Single Target rotation?
Thanks!