• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Problem with HqHasAtLeast tag

    Discussion in 'Rebornbuddy Support' started by kromboy, Mar 21, 2015.

    1. kromboy

      kromboy New Member

      Joined:
      Nov 28, 2014
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      Hello, I'm trying to make a profile that makes a full set of SB gear (i.e. 4 different items)
      So far this is what I have.

      <Profile>
      <Name>Crafting - Amethyst</Name>
      <KillRadius>50</KillRadius>
      <GrindAreas>
      </GrindAreas>
      <Order>
      <While Condition="not HqHasAtLeast(811, 2)">
      <Synthesize RecipeId="811" MinimumCp="214" />
      <While Condition="CraftingManager.IsCrafting">
      <Craft Actions>
      </While>
      </While>
      <While Condition="not HqHasAtLeast(804, 2)">
      <Synthesize RecipeId="804" MinimumCp="214" />
      <While Condition="CraftingManager.IsCrafting">
      <Craft Actions>
      </While>
      </While>

      </Order>
      </Profile>




      I actually have the craft rotation in the <Craft Actions> sections, just felt it unnecessary to post all of that clutter.

      So I know the While condition tag is the one that's giving me an issue.. I know the gatherassist probably uses the same tags, but I've had no luck getting the code out of it since it's a plugin.

      Can somebody point me in the right direction to get my While condition tag to stop and move on to the next one upon reaching a certain number of items?

      Thank you
       
    2. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      Those look like Recipe IDs you have in your condition, not Item IDs. What are you trying to craft?
       
    3. kromboy

      kromboy New Member

      Joined:
      Nov 28, 2014
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      ohhhhhh.. Yes you are correct. Top one is amethyst bracelet and second is the choker..
      I will try again with the item ID now and report back in a few.

      REPORT: Awesome, I switched the recipe IDs to itemIDs and it's working flawlessly.

      Thank you for such a fast reply, I don't know how I could've missed something so trivial :)
       
      Last edited: Mar 21, 2015

    Share This Page