10-08-2015, 09:15 PM
Yes ItemCount() is the item ID for what you currently have on hand.
If you are wanting specifically to gather a specific amount of crystals/shards you need to use function
Here are ID's for shards/crystals/cluster
["condition"] = {
["ItemCount(5) < 9950"] = true;
};
["complete"] = {
["GetInventoryItemGains(5) >= 4000"] = true;
};
This will start gathering earth shards if you are below 9950 at start of task,
and will continue to gather until you have gathered 4000 shards then move onto the next task.
I have not tested this but its possible that this could hang up and freeze your character.
if you have 7000 shards bot will gather until 9999 but it still needs 1001 more to complete function, i dont know if this will cause bot to freeze or move to next one i have not tested.
This is why i use ItemCount only.
I hope that helps.
If you are wanting specifically to gather a specific amount of crystals/shards you need to use function
Here are ID's for shards/crystals/cluster
["condition"] = {
["ItemCount(5) < 9950"] = true;
};
["complete"] = {
["GetInventoryItemGains(5) >= 4000"] = true;
};
This will start gathering earth shards if you are below 9950 at start of task,
and will continue to gather until you have gathered 4000 shards then move onto the next task.
I have not tested this but its possible that this could hang up and freeze your character.
if you have 7000 shards bot will gather until 9999 but it still needs 1001 more to complete function, i dont know if this will cause bot to freeze or move to next one i have not tested.
This is why i use ItemCount only.
I hope that helps.