@fluxlfux:Fixed, should automatically target an enemy and clear your current target if:Code:local myTable = { "Twilight Assault Drake", "Twilight Assassin", "Raider's Training Dummy", "Arm Tentacle", "Wing Tentacle", "Mutated Corruption", "Mana Void", "Elementium Bolt", "Burning Tendons", "Warmaster Blackhorn", "Goriona" } for i=1,#myTable do if not UnitExists("target") then RunMacroText("/tar "..myTable[i]) else if IsSpellInRange(GetSpellInfo(8092), "target") == 1 and not UnitIsDeadOrGhost("target") and UnitCanAttack("player","target") and not PQR_IsOutOfSight("target", 1) then return true else RunMacroText("/cleartarget") end end end
- You walk out of a 40 yard range
- Target is dead
- You can't attack the target anymore
Last edited by Kinky; 03-15-2012 at 12:05 PM. Reason: update
mhh its not working he cast no profile i have this up on my list
Xelper and Valma (and Mentally so I don't get yelled at, might as well throw in Blinded too and bu_ba while i'm at it) thanks for all the quick bug fixes you've done. I'll get on and test out Valma's warlock rotation. I'd rep all you guys but it won't let me
PQR v2.0.5 - Download Here
Okay I lied, one last update. I had an idea that would simplify patch days for everyone so we aren't pestered for the latest offsets 100 times.
-New "Download Offsets" button. This button will appear on the Process Select form if no recognized copies of WoW are active.
Last edited by Xelper; 03-15-2012 at 01:11 PM.
@ Xelper yery nice
maybe the same for the profile?^^
@Xelper, may I PM you with some questions about the Data folder/LUA file imports?
Now you do agree with the fact I was right,didn't you? (:
No offence,just trying to keep you in good mood
BTW buba,I whined a bit and it took effect not only on my rep as you can see :P Mentally's,your's and other profile writers started to grow up really fast Seems like noone wants us to drop our projects :P
Last edited by Valma; 03-15-2012 at 03:14 PM.
MEDVED+VODKA+BALALAYKA
mhh i dont no some things i do wrong its not worked for me, i have testet in orgrimmar on dummys but he cast nothing
@fluxlfux: Go back a page, to my last reply, I updated the code there. It works perfectly for me, so it should for you as well.
@Bu_ba_911: I have absolutely no idea.
now its to 50% work he target the dummy but casting nothing
its to strange for me^^