Womble 9 Posted February 11, 2014 Share Posted February 11, 2014 Is there a way to use Tricks at all? There's nothing Subtlety specific to it, just standard tricks of the trade on a focus target or a written target. Thought there'd be a condition for it but I can't seem to find anything. Link to comment Share on other sites More sharing options...
Networkz 58 Posted February 11, 2014 Share Posted February 11, 2014 If you want to use Tricks of the Trade you will have to make a fight Class Profile That uses tricks of trade as a buff, try making a Flight Class, Test it out, See if it works, Add that Spell to a currently Produced Rogue Profile = ) Just have to put it in the right rotation But buffs are quite simple, Im not sure if you can create a timer for it / When to cast it.. Your Gunna make sure you use it once your Teammate has his Said Cd's and His Burn Ready. Link to comment Share on other sites More sharing options...
Womble 9 Posted February 11, 2014 Author Share Posted February 11, 2014 Hey. Got a profile just not sure how to have it cast tricks as a buff to an assigned target. :( Link to comment Share on other sites More sharing options...
Networkz 58 Posted February 12, 2014 Share Posted February 12, 2014 I will try and make just a profile to buff tricks and ill let you know :) trying to make a PvP profile ?Sent from my HTC One X using Tapatalk Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 The problem is not Tricks of the Trades. The problem is to find the right target. Do you want TotT of the tank ? Or on another rogue? (without Glyphe TotT) and than maybe mutualy? And if there are more tanks in the raid: Which tank should get TotT? The Boss-tank or the Adds-tank? And if they both tank the boss (spotting), how do the script select the right tank ? Or just on a Healer ? *fg* Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 Have it on 'focus' target, so you can set that yourself since most people will or should know the right target dependant on fight etc. That would be great. Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 Focus target work, if you use your macro and if you have selected the focus before, but the challange is to select the TotT-target by script. A solution could be (simple to code) if not pvp then if target == worldboss (all bosses with skulls are worldbosses) then if targettarget != me then cast TotT on targettarget. end else if targettarget == tank then cast TotT on targettarget end end else find a member that is not a healer: cast TotD on member end This should work and will give the Tank the aggro in the most cases. in PvP you will get the first nonHealer. But... is TotT against Tanks really useful at the moment ? They didn't have a aggro problem and rogue are also most aggro-free (a vanish would help, if not). And 15% more damage for a single person in a 25 raid for 6 sec every 30 sec are less then 0,12 % for the raid. 15/(30/6) = 3% for a single person 3 / 25 ... 0,12% for the raid. and this only, if we dont have the TotT Glyphe. bzw. is TotT stackable? Means, if a tank has already TotT from another rogue is our TotT helpful ? And at last: Did someone ever heared that a tank said :" Where is my TotT ?" Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 No TotT isn't stackable sadly. There's no need to tricks tanks anymore given all the threat boosts and so on. Needing tricks as a tank now really comes down to the tank not playing properly and seems impossible to loose threat outside of the pull as well nowadays. Best target for tricks is a DPS, more specifically a rogue because they benefit the most since tricks doesn't stack with most DPS abilities of other classes, i.e. Recklessness etc. I'll try that code now only changing 'targettarget' to 'focus' and see if it works in LFR. But the code you listed could be useful to have as a second macro for tanks. Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 Tried luascript condition on the ability 'Tricks of the Trade': - if target == worldboss then if focus != me then cast Tricks of the Trade on focus. end else if focus == tank then cast Tricks of the Trade on focus end end I set return value research to '1' and return value var to 'ret'. Doesn't seem to work. Would a focus only version not be something along the lines of if target == worldboss then cast Tricks of the Trade on focus. end end Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 Sorry, i didnt post a lua-script, it was only an example/idea. I make the real code. and will post it, if it is ready. Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 Thought something was wrong haha. Okay. I understand the end, ifs, else parts of the code no problem just not the actual way the code is wrote. Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 This is the PvE code (without PvP) . untestet. just a proof of concept. Tank will be the target if UnitExists("target") and not UnitIsFriend("player", "target") then local idTotT=57934 local spellname=GetSpellInfo(idTotT) if (UnitClassification("target")=="worldboss")) then if not (UnitIsUnit("targettarget","player")) then if (IsSpellInRange(spellname, "targettarget")==1)then TargetUnit("targettarget") CastSpellByName(spellname) TargetUnit("playertarget") end end else if (UnitGroupRolesAssigned("targettarget")=="TANK") then if (IsSpellInRange(spellname, "targettarget")==1)then TargetUnit("targettarget") CastSpellByName(spellname) TargetUnit("playertarget") end end end end Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 Excellent, I will test that later when I have access to the game. What would be a tricks to 'focus' target version? Since this is the one I'll probably use. Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 And here is a very simple solution that use the focus target as target. If you dont use a english WoW Version you have to change "Tricks of the Trades" into your language spell <FightClassSpell> <SpellName>RunMacroText("/cast [combat][@focus] Tricks of the Trades")</SpellName> <FightClassConditions /> <Priority>1</Priority> <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance> <CheckIfView>false</CheckIfView> <Timer>30000</Timer> <NotSpellIsLuaScript>true</NotSpellIsLuaScript> <DescriptionSpell>Simplest solution. You need someone in Focus</DescriptionSpell> </FightClassSpell> Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 Super. Could I also add an 'lua script' to that simple focus solution? I was thinking soemthing like this based on your tank one: - local idTotT=57934 local spellname=GetSpellInfo(idTotT) if (IsSpellInRange(spellname, "focus")==1)then CastSpellByName(spellname) end end Basically I just want a range check on it. Is that correct or am I missing something? Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 Super. Could I also add an 'lua script' to that simple focus solution? I was thinking soemthing like this based on your tank one: - local idTotT=57934 local spellname=GetSpellInfo(idTotT) if (IsSpellInRange(spellname, "focus")==1)then CastSpellByName(spellname) end end Basically I just want a range check on it. Is that correct or am I missing something? CastSpellByName work only on a target, so you have to switch the target bevor and after the spell (see my code above). And you should check if your focus target is friendly :-) and if you are in combat. Casting while runing only through the ini whouldnt be help. Best time to cast is after the start of a combat and the focus has a target. (because without a target he dont make DPS.) Link to comment Share on other sites More sharing options...
Womble 9 Posted February 12, 2014 Author Share Posted February 12, 2014 local idTotT=57934 local spellname=GetSpellInfo(idTotT) if (IsSpellInRange(spellname, "focus")==1)then TargetUnit("player") CastSpellByName(spellname) TargetUnit("focus") end end Something like this? Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 12, 2014 Share Posted February 12, 2014 More like this. 1. Did I have a focus and is it friendly 2. have my focus a target and have this target less health then max (combat has started) 2a. (added) and the target of my focus isn't friendly 3. is my focus in range 4. target focus, cast spell, target my target again. if UnitExists("focus") and UnitIsFriend("player", "focus") then local idTotT=57934 local spellname=GetSpellInfo(idTotT) if (UnitExists("focustarget") and not UnitIsFriend("focus", "focustarget") and (UnitHealth("focustarget") ~= UnitHealthMax("focustarget")) and (UnitHealth("focustarget")>0) ) then if (IsSpellInRange(spellname, "focus")==1)then TargetUnit("focus") CastSpellByName(spellname) TargetUnit("playertarget") end end end Link to comment Share on other sites More sharing options...
Womble 9 Posted February 13, 2014 Author Share Posted February 13, 2014 Tested the above. Tricks 'works' but I drop my target. It will target the focus unit, cast tricks and then not take any target unless I manually click/tab to the boss again. Link to comment Share on other sites More sharing options...
Networkz 58 Posted February 13, 2014 Share Posted February 13, 2014 Your going to have to make the buff go back to target on end of tricks cast. Hopefully bugs can give you a hand I don't know much about the coding yet haha. Sent from my HTC One X using Tapatalk Link to comment Share on other sites More sharing options...
Bugreporter 93 Posted February 13, 2014 Share Posted February 13, 2014 try TargetLastTarget() instead of TargetUnit("playertarget") Link to comment Share on other sites More sharing options...
Womble 9 Posted February 14, 2014 Author Share Posted February 14, 2014 Will do next chance I get. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now