How do I check for condition with the new crafting bot? I tried putting this in but it doesn't seem to work. I'm sure I've just go the syntax wrong. Any ideas? Code: <If CraftingCondition="Good"> <CraftAction ActionId="100098"/> <!-- Tricks of the Trade --> </If>
Wrong implementation. Code: <If Condition="CraftingManager.Condition == Enums.CraftingCondition.Good">
Would it be possible to get an example script by chance? I'd like to see how it works in context :X Also, I wasn't sure if it was going to return the action specified every time a good procs, or if this needs to be listed after every thing you want it to check for a good on XD
Like this? <If Condition="CraftingManager.Condition == Enums.CraftingCondition.Good"> <CraftAction Name="Byregot's Blessing" ActionId="100009" /> </If> <If Condition="CraftingManager.Condition == Enums.CraftingCondition.Excellent"> <CraftAction Name="Byregot's Blessing" ActionId="100009" /> </If> You could combine the statement to one statement.. then if the condition didnt meet.. go "fish" for good with using innovation.. do the statement again to see if "good/excellent' proc'ed.. if not, go fish for it with ingenuity II.. after ingenuity II it wouldnt matter if it proc'ed or not.. just do byregot's blessing then finish off the craft. Though I must add, when im referring to it "wouldnt matter" after ingenuity II, i was basically going off the 40 dura crafts for lucis turn ins.. if you didnt proc a good/excellent by time you did ingenuity 2.. you wouldnt have the cp to keep fishing for it, so you would just pop it anyways and finish the craft.
I'm trying to make the code check for Good/Excellent proc first. If either are up, I want it to use Precise Touch. If not, just use Basic Touch. Is this even remotely close?: Code: <If Condition="CraftingManager.Condition == CraftingCondition.Excellent or CraftingManager.Condition == CraftingCondition.Good"> <CraftAction Name="Precise Touch" ActionId="100133" /> </If> <CraftAction ActionId="100061" Name="Basic Touch" /> I'm not really a code guy, so I'm just guessing and it's not working as intended. I need it to use one or the other (Precise Touch or Basic Touch), not both.
Think what you're looking for is in this thread. https://www.thebuddyforum.com/rebor...derbot-profiles-crafting-detecting-procs.html