What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

ProfessionBuddy (Cut Gems in Certain Order)

Kungen

Member
Joined
Aug 8, 2012
Messages
244
Reaction score
0
Hey I'm wondering if someone could help me with my profile.

I would like to call a subroutine called "CraftGems"

and would like the bot to use available mats in my bags to cut a list of gems in random order.

is this possible if so would someone be so kind as to show me.

Cheers,
Kungen.
 
<If Condition="(bool)Settings[&quot;Reckless Vermilion Onyx&quot;] &amp;&amp; InbagCount(76668) &lt; 5" IgnoreCanRun="False">
<While Condition="InbagCount(76140) &gt;= 1 " IgnoreCanRun="False">
<While Condition="Me.FreeBagSlots &gt; 2" IgnoreCanRun="False">
<CastSpellAction RepeatType="Specific" Repeat="1" Entry="107728" CastOnItem="False" ItemType="Chest" ItemId="0" />
</While>
</While>
</If>

Does this look rite?

If i repeated this for a list of orange gems to cut 1 time only for each and i had more in my bag could i wrap the whole lot in a while statement saying repeat untill 0 mats?
 
Sorted can close thread

Answer was this :

<SubRoutine SubRoutineName="CraftGems">
<!--Cutting Rare Gems-->
<CastSpellAction RepeatType="Craftable" Repeat="0" Entry="106949" CastOnItem="False" ItemType="Chest" ItemId="0" />
<CastSpellAction RepeatType="Craftable" Repeat="0" Entry="106948" CastOnItem="False" ItemType="Chest" ItemId="0" />
<CastSpellAction RepeatType="Craftable" Repeat="0" Entry="106953" CastOnItem="False" ItemType="Chest" ItemId="0" />
<!--Extend Here-->
</SubRoutine>
 
Back
Top