Hi,
Excuse me if this has been asked before, I tried searching and failed to find what I was looking for (though that could've been just me) but I'm trying to check for a condition during gathering.
Basically, I want to check if a current GatheringItem is present in the GatheringWindowItem list of GatheringItems and then perform gatheringskills.
I.e. only use a "Ward" gathering ability when Crystals are present instead of shards.
I was able to check whether or not an item was present with running the C# code in the console
if(GatheringWindow.GatheringWindowItems.Exists(x => x.ItemId == 11)
{ Log("Yes"); } else { Log("No"); }
Adding this as a XML condition however, didn't work (didn't expect it to, but tried anyway).
<If Condition="GatheringWindow.GatheringWindowItems.Exists(x => x.ItemId == 11)">gathering skills here</If>
So how do I check for this particular condition?
Also is there a list of conditions that the XML can read as a reference?
Thanks in advance!
Excuse me if this has been asked before, I tried searching and failed to find what I was looking for (though that could've been just me) but I'm trying to check for a condition during gathering.
Basically, I want to check if a current GatheringItem is present in the GatheringWindowItem list of GatheringItems and then perform gatheringskills.
I.e. only use a "Ward" gathering ability when Crystals are present instead of shards.
I was able to check whether or not an item was present with running the C# code in the console
if(GatheringWindow.GatheringWindowItems.Exists(x => x.ItemId == 11)
{ Log("Yes"); } else { Log("No"); }
Adding this as a XML condition however, didn't work (didn't expect it to, but tried anyway).
<If Condition="GatheringWindow.GatheringWindowItems.Exists(x => x.ItemId == 11)">gathering skills here</If>
So how do I check for this particular condition?
Also is there a list of conditions that the XML can read as a reference?
Thanks in advance!
