• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • OrderBot profiles for crafting, detecting "good" procs

    Discussion in 'Community Developer Forum' started by jameslr, Jul 25, 2015.

    1. jameslr

      jameslr Member

      Joined:
      Jun 6, 2015
      Messages:
      49
      Likes Received:
      2
      Trophy Points:
      8
      I've been using OrderBot profiles for crafting (until Lisbeth is done) - just making them manually and looking up IDs for items and skills. Since most of my crafters are lvl 53+ I'd like to be able to use Precise Touch on "good" conditions. How would I add this logic into an XML profile to detect a "good" condition and execute Precise Touch instead of Basic Touch?

      Thanks in advance!
       
    2. Mr McGibblets

      Mr McGibblets Member

      Joined:
      May 20, 2014
      Messages:
      485
      Likes Received:
      12
      Trophy Points:
      18
      Code:
      <If Condition="CraftingManager.Condition == CraftingCondition.Excellent or CraftingManager.Condition == CraftingCondition.Good">
      					<CraftAction Name="Precise Touch" ActionId="ID#classspecific" />
      				</If>
      
      You would have to put that before each step. But then you would have to figure out a way to get it to stop the normal hasty touch or whatever you are using on a normal stance if your basic xml is just a macro in xml form. Otherwise you will burn out of durability since it will be adding an extra step any time you have excellent. So without making a custom tag it may be better to just keep your basic macro and wait =/


      edit: I only answered half of your question. The second portion is beyond my current ability. Maybe you could tie each step to the durability you know it should be at. so for each actual quality increase step you have a durability statement then the if good/excellent this, if normal this. This will cause cp issues.

      Code:
      <If Condition="CraftingManager.Durability == 70">
      					<If Condition="CraftingManager.Condition == CraftingCondition.Excellent or CraftingManager.Condition == CraftingCondition.Good">
      					<CraftAction Name="Precise Touch" ActionId="ID#classspecific" />
      				</If>
      <If Condition="CraftingManager.Condition == CraftingCondition.Normal">
      <CraftAction Name="Hasty Touch" ActionId="100108" />
                    </if> 
      	</If>
      
       
    3. KaWeNGoD

      KaWeNGoD New Member

      Joined:
      May 23, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
    4. jameslr

      jameslr Member

      Joined:
      Jun 6, 2015
      Messages:
      49
      Likes Received:
      2
      Trophy Points:
      8
      Awesome! Thank you very much!
       
    5. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      I like it, thanks a lot.
       
    6. Djdave

      Djdave New Member

      Joined:
      Feb 22, 2015
      Messages:
      166
      Likes Received:
      1
      Trophy Points:
      0
      This is great, is it possible to build into the code chunk if CP is less then say 150 use hasty instead of basic/precise?
       

    Share This Page