M mistahmikey New Member Joined Jun 29, 2015 Messages 161 Reaction score 3 Jul 21, 2015 #1 Not sure if this is the right place for this, but I was wondering if there is a way to use a potion (specifically Cordial) from within Orderbot.
Not sure if this is the right place for this, but I was wondering if there is a way to use a potion (specifically Cordial) from within Orderbot.
A Azoth Member Joined Mar 6, 2014 Messages 470 Reaction score 8 Jul 26, 2015 #2 Would be interested in this as well. It can speed up gathering (esp fishing) considerably, and I have a lot of seals to burn through from fates.
Would be interested in this as well. It can speed up gathering (esp fishing) considerably, and I have a lot of seals to burn through from fates.
y2krazy Community Developer Joined Jun 21, 2011 Messages 2,803 Reaction score 70 Jul 28, 2015 #3 You could try running this in some form or fashion during the profile. I haven't tested it, but I believe it should work when the code is called to run: Code: <CodeChunk Name="UseCordial"> <![CDATA[ foreach(ff14bot.Managers.BagSlot slot in ff14bot.Managers.InventoryManager.FilledSlots) { if(slot.RawItemId == 6141) { slot.UseItem(); } } ]]> </CodeChunk> Or: Code: <CodeChunk Name="UseHiCordial"> <![CDATA[ foreach(ff14bot.Managers.BagSlot slot in ff14bot.Managers.InventoryManager.FilledSlots) { if(slot.RawItemId == 12669) { slot.UseItem(); } } ]]> </CodeChunk> To use it during the profile, use this when you want it to be called (add "Hi" if you want to use Hi-Cordials): Code: <RunCode Name="UseCordial" />
You could try running this in some form or fashion during the profile. I haven't tested it, but I believe it should work when the code is called to run: Code: <CodeChunk Name="UseCordial"> <![CDATA[ foreach(ff14bot.Managers.BagSlot slot in ff14bot.Managers.InventoryManager.FilledSlots) { if(slot.RawItemId == 6141) { slot.UseItem(); } } ]]> </CodeChunk> Or: Code: <CodeChunk Name="UseHiCordial"> <![CDATA[ foreach(ff14bot.Managers.BagSlot slot in ff14bot.Managers.InventoryManager.FilledSlots) { if(slot.RawItemId == 12669) { slot.UseItem(); } } ]]> </CodeChunk> To use it during the profile, use this when you want it to be called (add "Hi" if you want to use Hi-Cordials): Code: <RunCode Name="UseCordial" />