Is it posible to cast to only cast renew at focus or tanks with the priest rotations ?
Is it posible to cast to only cast renew at focus or tanks with the priest rotations ?
Hey can anyone help. I can't DL any links to latest profiles
Sub Rogue rotation Help please.
What i am trying to do: Trying to have Backstab cast, which i got working just fine. Try to have the rotation skip backstab if the target is targeting me (obviously you cant backstab if your not behind the target)
My problem is: i have a working rotation that has backstab in it for combo points only gaining 1 combo point from hemo when the bleed effect is down it casts hemop instead of backstab. this works perfectly. Howerver when the target is facing me (i have aggro - or am soloing) it tries to spam backstab untill higher priority things come up, instead of going onto other lower priority things.
now Problem really is that when i try to set it to return false if target is targetting me i assume i get an endless loop as the entire rotation stops and buggs out.
So to show what i mean here is the working copy of the skill:
And The alterartion to allow it to return false if im targeted.Code:local backstabCP = GetComboPoints("player", "target") local aa = UnitBuffID("player", 51713) if backstabCP <= 4 and aa == nil then return true end
lCode:ocal backstabCP = GetComboPoints("player", "target") local aa = UnitBuffID("player", 51713) if UnitIsUnit("targettarget", "player") then return false end else if backstabCP <= 4 and aa == nil then return true end
Now i have tried bug testing by replacing "return false" in the arguement with { print("Backstab skipped") } arguement to see if it was firing at all. and sofar no luck getting it to even do the first part of the rotation, as soon as i modify the script and save it, start up the rotation it loops out and does none of the skills. simply rebooting or removing the script to make it the same asbefore results in the same contiuation of the loop untill i replace the entire xml file with a backup i made and restart the program.
Any thoughts?
Been working on it and gonna post a fully working (as much as it can) Spell Reflection code soon.
---------- Post added at 03:37 PM ---------- Previous post was at 03:33 PM ----------
Maybe it was just a typo, but did you try indenting that "return false" function at line 6 in the second code
indenting makes no difference in coding mate its just a housekeeping issue to keep things easier to read and has no overall effect that i know of ever, unless ofcourse lua magically needs indenting lol.
Add:
To your backstab ability, it should solve your problemCode:if PQR_NotBehindTarget() then return false else "your code here" end
---------- Post added at 10:33 PM ---------- Previous post was at 10:25 PM ----------
The return code for this is the actual classes:Code:UnitClassBase("unit") "unit" can be: player target focus pet ...(normal stuff)
-Paladin
-Druid
-Priest
-Mage
- etc, etc ...
TY GRB i will try this out as it has a better effect than the code i got to work myself.
Edit:Code:if UnitIsUnit("playertargettarget", "player") then return false end else if backstabCP <= 4 and aa == nil then return true end
Ok, so now neither are working for me.
Last edited by thrylas; 09-04-2011 at 05:19 PM.
Heres mine from the assasination profile.
This will start working if:Code:local CP = GetComboPoints("player", "target") local health = 100 * UnitHealth("target") / UnitHealthMax("target") if PQR_NotBehindTarget() then return false else if CP <= 4 and health <= 35 then return true end end
1-Your behind your target
2-Your target have less then 35% hp
If you dont care for target hp just remove from the code the "and health <= 35"
P.S - Your checking if shadowdance is not present in player. dunno why u want to check this, but ur backstab only gona work if shadowdance is not present.
Last edited by GRB; 09-04-2011 at 05:27 PM.
Dunno why but even if i use your code it freezes my entire rotation. Nothing casts like this at all (modified yours to remove the health cause its sub i want pure backstabs all the time.
Code:local CP = GetComboPoints("player", "target") if PQR_NotBehindTarget() then return false else if CP <= 4 then return true end end
Edit fixed a small typo and it seems to be working - thanks guys - will work out the other few little buggs i have then release the profile.
Last edited by thrylas; 09-04-2011 at 05:45 PM.
I would love if someone who knows one or two things about coding could throw together a frostDK kitingprofile, like for the turtles in firelands, I've only tried diesalls trashprofile but it doesnt use frost strike or throw death coils out at all like it should do when kiteing. Whats needed:
Lots of aoe!
Spam the ranged spells
DND (is best used manually though, as I heard its hard to implement automated)
just make a rotation putting icy touch howlingblast and deathcoil in it. thats pretty much all you can do - just make sure your deathcouil is set to only fire if you rp is higher than say 40 and it wont bugg out.
Edit fixed a small typo and it seems to be working - thanks guys - will work out the other few little buggs i have then release the profile.
Figured. =)
Thanks for the tips! Appreciate it! But how do I get deathcoil to only fire if my rp is higher than 40? Can I do all this in the rotation-editor? Please teach me if so ^^
Edit: Well I sorta think I got it now, tried my rotation and it didnt seem to slow the turtles notable, theres this spell that makes the target glow blue that Im missing I think. Got some more testing to do I guess![]()
Last edited by Ninjaderp; 09-04-2011 at 06:41 PM.
also having the same problem none of the download links are working. if you guys could either link the code or upload somewhere else it would be appreciated. thanks and awesome work![]()