Hi, great work on this!
BUT if you could make a option between an ispressed or the activate function... this would be great. Cause i bound the keys to my mouse and i always have to deactivate them before i can make a heroic leap or something.
Delay for All Interrupt? from > till
I really dont understand much about LUA so maybe someone could help me.
For warriors:
In the standard ARMS PVP profile, the program applies hamstring when there is no slowdebuff, but it is possible to say, reapply when hamstring or an equal 50% slow effekt <0,5sec. Dont apply when the target is stunned and the stun is >0,5sec and there is no snare or root effect. dont applie on root effect >0.5sec
the second thing is, only use colossus smash when the colossus smash debuff isnt active! else its a dps loss
use victory rush when your health is below 90% or your rage <15
For Warlocks:
Cast on move ! Not only the felbolt. All dots which can be applied while moving for the primary target and the focus target and after that the felbolt. For PVP we need this and on your primary target should always be the curse of shadow buff and on your focustarget if its in range there should be Tongues or the -10% regen debuff.
sorry for my english, i hope you could understand me.
I noticed an incredibly useful feature while looking through the code you uploaded Crystal_Tech. This bot would allow aspecting twisting for movement fights. For example Steady/Cobra Shot could be set to always cast while aspect of the fox is up. While Arcane, Chimera, Kill Command, Multi-shot any other instant could be set to cast aspect of the hawk. This would enable the building of a separate but equally useful "movement" rotations for hunters.
So "Movement Steady Shot" for example would have /cast !Aspect Of The Fox
This will increase the selection of focus building shots, but i think will give greater flexibility for hunters to pick a rotation depending on the fight.
Been working on a profile for assassination rogues and so far this is what i got:
1. It casts rupture if its down or less than 2 seconds left, using however many combo points you have.
2. It casts slice and dice if its down or less than 2 seconds left, using however many combo points you have.
3. It casts envenom with at least 4 combo points and 4 stacks of deadly poison on target.
4. It casts eviscerate with at least 4 combo points.
5. It uses mutilate to build combo points.
You have to use vanish(and garrote) and vendetta on your own.
Whats left?
Making it backstab when target is bellow 35% health(and therefor making it not cast mutilate).
Making it garrote when stealthed and behind target.
Making envenom not clip the envenom buff(unless energy is about to cap)
ROGUE_Abilities
ROGUE_RotationsCode:<?xml version="1.0" encoding="utf-8" ?><ROGUE><Ability><Name>SnD</Name><Default>false</Default><SpellID>5171</SpellID><Actions></Actions><Lua>local sliceanddice, _, _, _, _, _, sliceanddicetimer = UnitBuffID(&quot;player&quot;, 5171) if sliceanddice ~= nil then if sliceanddicetimer - GetTime() &lt; 2 then return true end else return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Eviscerate</Name><Default>false</Default><SpellID>2098</SpellID><Actions></Actions><Lua>local eviscerateCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) if eviscerateCP &gt;= 4 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Mutilate</Name><Default>false</Default><SpellID>1329</SpellID><Actions>/startattack</Actions><Lua>local mutilateCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) if mutilateCP &lt;= 4 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Recuperate</Name><Default>false</Default><SpellID>73651</SpellID><Actions></Actions><Lua>local _,_,_,recuperate = UnitBuffID(&quot;player&quot;, 73651) local recuperateCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local health = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100 if recuperate ~= nil then return false else if recuperateCP &gt;= 3 then return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Rupture</Name><Default>false</Default><SpellID>1943</SpellID><Actions></Actions><Lua>local rupture, _, _, _, _, _, rupturetimer = UnitDebuffID(&quot;target&quot;, 1943, &quot;PLAYER&quot;) local ruptureCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) if rupture ~= nil then if ruptureCP &gt;= 1 then if rupturetimer - GetTime() &lt; 2 then return true end end else if ruptureCP &gt;= 1 then return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Envenom</Name><Default>false</Default><SpellID>32645</SpellID><Actions>/startattack</Actions><Lua>local EnvenomCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local _,_,_,EnvenomDP = UnitDebuff(&quot;target&quot;, &quot;Deadly Poison&quot;) local EnvenomBuff = UnitBuff(&quot;player&quot;, &quot;Envenom&quot;) if EnvenomCP &gt;= 4 then if EnvenomDP &gt;= 4 then return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability></ROGUE>
Any help and suggestions are greatly appriciated.Code:<?xml version="1.0" encoding="utf-8" ?><ROGUE><Rotation><RotationName>Assassination</RotationName><RotationDefault>false</RotationDefault><RotationList>Rupture|SnD|Envenom|Eviscerate|Mutilate</RotationList></Rotation></ROGUE>
Crystal_Tech,
Very minor suggestion for an improvement in the BM ability Fervor. currently I believe it checks player focus, but not the pet focus. Since it gives 50 focus to both the player and pet might i suggest that it checks both before using the ability. This is very tiny and I'm not sure it is worth the hassle but I thought it was something I should point out.
Xelper,
I have been having some real issues with the bot. I have been using Crystal_Tech's abilities and code slightly modified to include Aspect dancing. However, when I press the hot key to switch from one rotation to the next the following happens:
1. Chat box reports rotation change.
2. No change in the rotation actually occurs.
I try it over and over, no matter the rotation selected it seems to stay fixed on the previous rotation. Only a full restart of the bot enables a rotation switch, at which point if i try to change rotation again it gets stuck again.
Code:<?xml version="1.0" encoding="utf-8" ?><HUNTER><Ability><Name>BM: Intimidation</Name><Default>false</Default><SpellID>24394</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>All: Hunter&apos;s Mark</Name><Default>false</Default><SpellID>1130</SpellID><Actions></Actions><Lua>local hmDebuff = UnitAura(&quot;target&quot;, &quot;Hunter&apos;s Mark&quot;, nil, &quot;PLAYER|HARMFUL&quot;) if hmDebuff == nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Aimed Shot</Name><Default>false</Default><SpellID>19434</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>llocal hasFire = UnitBuffID(&quot;player&quot;, &quot;82926&quot;) local myFocus = UnitPower(&quot;player&quot;) local unitHp = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;) if hasFire ~= nil then return true end if unitHp &gt;= 90 and myFocus &gt;= 70 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Bestial Wrath</Name><Default>false</Default><SpellID>19574</SpellID><Actions>/cast Rabid|/cast Call of the Wild|/use 13|/use 14|/cast Blood Fury</Actions><Lua>local _, _, _, FrenzyCount = UnitBuff(&quot;pet&quot;, &quot;Frenzy Effect&quot;) if FrenzyCount == 5 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Arcane Shot</Name><Default>false</Default><SpellID>3044</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>local duration = GetSpellCooldown(&quot;Chimera Shot&quot;) local myFocus = UnitPower(&quot;player&quot;) if duration &gt;= 5 and myFocus &gt;= 66 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Chimera Shot</Name><Default>false</Default><SpellID>53209</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Steady Shot - Stationary</Name><Default>false</Default><SpellID>56641</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>All: Kill Shot</Name><Default>false</Default><SpellID>53351</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>local unithealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;) if unithealth &lt;= 20 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Steady Shot - Moving</Name><Default>false</Default><SpellID>56641</SpellID><Actions>/cast !Aspect of the Fox|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>SV: Arcane Shot</Name><Default>false</Default><SpellID>3044</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>local sLnL, _, _, countLnL = UnitBuff(&quot;player&quot;, &quot;Lock and Load&quot;) local _, _, _, esCost = GetSpellInfo(53301) local esStart, esDuration, esEnabled = GetSpellCooldown(53301) local esCooldown = (esStart + esDuration - GetTime()) local baStart, baDuration, baEnabled = GetSpellCooldown(3674) local baCooldown = (baStart + baDuration - GetTime()) local _, _, _, asCost = GetSpellInfo(3044) if sLnL ~= nil then if countLnL == 1 then return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>All: Kill Command</Name><Default>false</Default><SpellID>34026</SpellID><Actions>/cast !Aspect of the Hawk</Actions><Lua>if GetUnitName(&quot;pettarget&quot;) ~= nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Rapid Fire</Name><Default>false</Default><SpellID>3045</SpellID><Actions>/cast Call of the Wild|/cast Blood Fury</Actions><Lua>local hasTbw = UnitBuff(&quot;player&quot;, &quot;34471&quot;) if hasTbw == nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Cobra Shot - Stationary</Name><Default>false</Default><SpellID>77767</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Readiness</Name><Default>false</Default><SpellID>23989</SpellID><Actions></Actions><Lua>--Don&apos;t use Readiness if Rapid Fire is coming off CD within the next 30 sec. local start, duration, enabled = GetSpellCooldown(&quot;Rapid Fire&quot;); local rapidfireCD = (start + duration - GetTime()) if rapidfireCD &gt;= 30 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>PVP: Concussive Shot</Name><Default>false</Default><SpellID>5116</SpellID><Actions></Actions><Lua>local hmDebuff = UnitAura(&quot;target&quot;, &quot;Frost Trap Aura&quot;, nil, &quot;PLAYER|HARMFUL&quot;) if hmDebuff == nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>PVP: Ice Trap</Name><Default>false</Default><SpellID>13809</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>SV: Cobra Shot - Stationary</Name><Default>false</Default><SpellID>77767</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>local _, _, _, EScost = GetSpellInfo(53301) if UnitPower(&quot;player&quot;) &lt; EScost then return true else local ESstart, ESduration, ESenabled = GetSpellCooldown(53301); local EScooldown = (ESstart + ESduration - GetTime()) if EScooldown &lt; 0.7 then return false else return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>SV: Black Arrow</Name><Default>false</Default><SpellID>3674</SpellID><Actions></Actions><Lua>local _, _, _, esCost = GetSpellInfo(53301) local esStart, esDuration, esEnabled = GetSpellCooldown(53301) local esCooldown = (esStart + esDuration - GetTime()) local _, _, _, baCost = GetSpellInfo(3674) if UnitPower(&quot;player&quot;) &gt; (baCost + esCost) - (esCooldown * 6) then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>All: Tranquilizing Shot</Name><Default>false</Default><SpellID>19801</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Fervor</Name><Default>false</Default><SpellID>82726</SpellID><Actions></Actions><Lua>local myFocus = UnitPower(&quot;player&quot;) / UnitPowerMax(&quot;player&quot;) * 100 if myFocus &lt;= 45 then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>All: Multi-Shot</Name><Default>false</Default><SpellID>2643</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>All: Serpent Sting</Name><Default>false</Default><SpellID>1978</SpellID><Actions>/cast !Auto Shot</Actions><Lua>local ssDebuff = UnitAura(&quot;target&quot;, &quot;Serpent Sting&quot;, nil, &quot;PLAYER|HARMFUL&quot;) if ssDebuff == nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Arcane Shot</Name><Default>false</Default><SpellID>3044</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>local _, _, _, KCcost = GetSpellInfo(34026) local _, _, _, ArScost = GetSpellInfo(3044) local totalCost = (KCcost + ArScost) if UnitPower(&quot;player&quot;) &gt;= totalCost then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Cobra Shot - Moving</Name><Default>false</Default><SpellID>77767</SpellID><Actions>/cast !Aspect of the Fox|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>SV: Cobra Shot - Moving</Name><Default>false</Default><SpellID>77767</SpellID><Actions>/cast !Aspect of the Fox|/cast !Auto Shot</Actions><Lua>local _, _, _, EScost = GetSpellInfo(53301) if UnitPower(&quot;player&quot;) &lt; EScost then return true else local ESstart, ESduration, ESenabled = GetSpellCooldown(53301); local EScooldown = (ESstart + ESduration - GetTime()) if EScooldown &lt; 0.7 then return false else return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>BM: Focus Fire</Name><Default>false</Default><SpellID>82692</SpellID><Actions></Actions><Lua>local _, _, _, FrenzyCount = UnitBuff(&quot;pet&quot;, &quot;Frenzy Effect&quot;) local hasTbw = UnitAura(&quot;player&quot;, &quot;The Beast Within&quot;) if FrenzyCount ~= nil then if FrenzyCount == 5 and hasTbw == nil then return true end end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>SV: Explosive Shot</Name><Default>false</Default><SpellID>53301</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Rapid Fire</Name><Default>false</Default><SpellID>3045</SpellID><Actions>/cast Call of the Wild|/cast Blood Fury|/cast !Auto Shot</Actions><Lua>local rfBuff = UnitBuffID(&quot;player&quot;, 3045) --rapid fire is not currently up. if rfBuff == nil then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MM: Aimed Shot (Burn)</Name><Default>false</Default><SpellID>19434</SpellID><Actions>/cast !Aspect of the Hawk|/cast !Auto Shot</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability></HUNTER>
Last edited by kickmydog; 08-06-2011 at 05:48 PM.
Hi guys, i need help for a spell maybe you can make it work.
here my code:
bloodlust/heroism
I want cast the shaman elemental totem (id 2894) only when i have the bloodlust/heroism buff, already done so much try with lua code (unitbuffid,unitaura) but im stuck.Code:local _, _, _, Bloodlust = UnitBuff("player", "Bloodlust") local _, _, _, timewarp = UnitBuff("player", "Time Warp") if Bloodlust == nil or timewarp == nil then -- bloodlust is not active. return false else if Bloodlust >= 1 or timewarp >= 1 then -- bloodlust is active. return true end![]()
Here is an Assassination Rogue PVE, working on a PVP in there as well also contains the combat rotations, still need to finalize the shiv on enrage and the deadly throw on runners.
enjoy.
Abilities
Code:<?xml version="1.0" encoding="utf-8" ?><ROGUE><Ability><Name>Sinister Strike</Name><Default>false</Default><SpellID>1752</SpellID><Actions></Actions><Lua>local sinisterstrikeCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) if sinisterstrikeCP &lt;= 3 then return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>SnD</Name><Default>false</Default><SpellID>5171</SpellID><Actions></Actions><Lua>local sliceanddice, _, _, _, _, _, sliceanddicetimer = UnitBuffID(&quot;player&quot;, 5171) if sliceanddice ~= nil then if sliceanddicetimer - GetTime() &lt; 2 then return true end else return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Eviscerate</Name><Default>false</Default><SpellID>2098</SpellID><Actions></Actions><Lua>local eviscerateCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) if eviscerateCP == 5 then return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Revealing Strike</Name><Default>false</Default><SpellID>84617</SpellID><Actions></Actions><Lua>local revealingstrike, _, _, _, _, _, revealingstriketimer = UnitDebuffID(&quot;target&quot;, 84617) if revealingstrike ~= nil then if revealingstrike - GetTime() &gt; 1 then return true end else return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Recuperate</Name><Default>false</Default><SpellID>73651</SpellID><Actions></Actions><Lua>local _,_,_,recuperate = UnitBuffID(&quot;player&quot;, 73651) local recuperateCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local health = UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) * 100 if recuperate ~= nil then return false else if health &lt; 95 then if recuperateCP &gt;= 2 then return true end end end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>WOTF</Name><Default>false</Default><SpellID>7744</SpellID><Actions></Actions><Lua>local fear, _, _, _, _, _, feartimer = UnitDebuffID(&quot;player&quot;, 5782) local willoftheforsakencooldown = (willoftheforsakenstart + willoftheforsakenduration - GetTime()) if willoftheforsakencooldown &gt; 0 then return false else if fear ~= nil then if fear - GetTime() &gt; 1 then return true end else return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Rupture</Name><Default>false</Default><SpellID>1943</SpellID><Actions></Actions><Lua>local rupture, _, _, _, _, _, rupturetimer = UnitDebuffID(&quot;target&quot;, 1943, &quot;PLAYER&quot;) local ruptureCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) if rupture ~= nil then if ruptureCP &gt;= 4 then if rupturetimer - GetTime() &lt; 1 then return true end end else return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Mutilate</Name><Default>false</Default><SpellID>1329</SpellID><Actions></Actions><Lua>local mutilateCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local mutilatehealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;) if mutilateCP &lt;= 3 then if mutilatehealth &gt;= 35 then return true end end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Backstab</Name><Default>false</Default><SpellID>53</SpellID><Actions></Actions><Lua>local backstabCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local backstabhealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;) if backstabCP &lt;= 4 then if backstabhealth &lt;= 35 then return true end end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Envenom mutilate</Name><Default>false</Default><SpellID>32645</SpellID><Actions></Actions><Lua>local envenomCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local envenomhealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;) if envenomCP &gt;= 4 then if envenomhealth &gt;= 35 then return true end end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Envenom backstab</Name><Default>false</Default><SpellID>32645</SpellID><Actions></Actions><Lua>local envenomCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local envenomhealth = 100 * UnitHealth(&quot;target&quot;) / UnitHealthMax(&quot;target&quot;) if envenomCP &gt;= 5 then if envenomhealth &lt;= 35 then return true end end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Shiv</Name><Default>false</Default><SpellID>5938</SpellID><Actions></Actions><Lua>bDS = UnitBuffID(&quot;target&quot;, 8599) --Enrage if bDS ~= nil then return true end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>Deadly Throw</Name><Default>false</Default><SpellID>26679</SpellID><Actions></Actions><Lua>local deadlythrowCP = GetComboPoints(&quot;player&quot;, &quot;target&quot;) local inRange = 0 if deadlythrowCP &lt;= 5 then inRange = IsSpellInRange(&quot;Deadly Throw&quot;, &quot;target&quot;) return true end end</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>cold blood</Name><Default>false</Default><SpellID>14177</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability><Ability><Name>vendetta</Name><Default>false</Default><SpellID>79140</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><SelfCast>False</SelfCast></Ability></ROGUE>
Rotation
Code:<?xml version="1.0" encoding="utf-8" ?><ROGUE><Rotation><RotationName>Combat PVE</RotationName><RotationDefault>false</RotationDefault><RotationList>Shiv|SnD|Eviscerate|Sinister Strike|Revealing Strike</RotationList></Rotation><Rotation><RotationName>Assassination PVE</RotationName><RotationDefault>false</RotationDefault><RotationList>cold blood|vendetta|SnD|Rupture|Mutilate|Backstab|Envenom mutilate|Envenom backstab</RotationList></Rotation><Rotation><RotationName>assassination PVP</RotationName><RotationDefault>false</RotationDefault><RotationList>Deadly Throw|Shiv|Recuperate|SnD|Rupture|Mutilate|Backstab|Envenom mutilate|Envenom backstab|WOTF</RotationList></Rotation><Rotation><RotationName>test</RotationName><RotationDefault>false</RotationDefault><RotationList>Deadly Throw</RotationList></Rotation></ROGUE>
---------- Post added at 07:07 PM ---------- Previous post was at 07:06 PM ----------
this mutilates above 35% and backstabs below 35%![]()
Last edited by snapple38; 08-06-2011 at 06:19 PM.
nah there was a bug with the code. My fault. Here's the working code. retested and approved lol.
Warlocks Fear
Code:local hasFear = UnitDebuff("target", "Fear") local inRange = 0 local unit = "target" if UnitExists(unit) and UnitIsVisible(unit) then inRange = IsSpellInRange("Fear", unit) end if inRange== 1 then if hasFear == nil then return true end end
---------- Post added at 09:09 PM ---------- Previous post was at 09:03 PM ----------
easy fix is to remove fel flame from the rotation or move it down the list in the rotation.
---------- Post added at 09:12 PM ---------- Previous post was at 09:09 PM ----------
hmm so readd a SS and CS only do the if PQR_IsMoving(1) then cast. that would be great to get to fox. but to get to hawk? oh add /cast !aspect of the hawk to the marcos for each shot. I see. Let me toy with it.
---------- Post added at 09:18 PM ---------- Previous post was at 09:12 PM ----------
Try this, but know that it will try to cast it every time its off cd.
sorry for the long post. I've gone back thru this forum and collected the rotations.Code:local _, _, _, Bloodlust = UnitBuff("player", "Bloodlust") local _, _, _, timewarp = UnitBuff("player", "Time Warp") if Bloodlust ~= nil or timewarp ~= nil then -- bloodlust is active. return true end
this is the link to them: Attachment 4482
Last edited by crystal_tech; 08-06-2011 at 09:54 PM.
[QUOTE=crystal_tech;2113109]
Try this, but know that it will try to cast it every time its off cd.
this code work thanks crystal (the elemental totem is cast correctly during bloodlust)Code:local _, _, _, Bloodlust = UnitBuff("player", "Bloodlust") local _, _, _, timewarp = UnitBuff("player", "Time Warp") if Bloodlust ~= nil or timewarp ~= nil then -- bloodlust is active. return true end
---------- Post added at 10:08 PM ---------- Previous post was at 10:05 PM ----------
here a better code for searing totem, spell is not cast if you have a elemental totem
earth shield spell on focus target (tank) for shaman resto:Code:local hasSearing = GetTotemTimeLeft(1) local Es,Ed,Ee = GetSpellCooldown(2894) if hasSearing == 0 then return true else if hasSearing < 3 then return true else if Ee == 0 or hasSearing == 1 then -- totem elem is active. return false end end end
make sure to choose focus when you create this spell and id 974Code:local _,_,_,ls = UnitBuffID("player", 974) if ls < 2 then return true else return false end
Last edited by taker; 08-06-2011 at 10:12 PM.
I do not work profile hunter BM, MM, paladin all works fine, but on ohotneke that does not want, + when you start falling FPS
Client WoW (ruRu) Russian
Hi everyone,
Have anyone made any update for Warrior PvE/PvP Arms,PvE/PvP Fury?
Cause i see your big discussions about other classes and i thought that maybe Warrior rotations could be even better a little bit?=)
Also,have any one made a rotation for Frost/Blood DK?
how do i add necrotic strike to the already existing 4.2 frost dk?