int IGetOverridePriority.GetOverridePriority(GatherCollectableTag tag) { if (tag.IsUnspoiled()) { // We need 5 swings to use this rotation if (GatheringManager.SwingsRemaining < 5) { return -1; } } if (tag.IsEphemeral()) { // We need 4 swings to use this rotation if (GatheringManager.SwingsRemaining < 4) { return -1; } } // if we have a collectable Priority 79 if (tag.CollectableItem != null && tag.CollectableItem.Value <= 0) { return 79; } return -1; }
int IGetOverridePriority.GetOverridePriority(GatherCollectableTag tag) { if (tag.IsUnspoiled()) { // We need 5 swings to use this rotation if (GatheringManager.SwingsRemaining < 5) { return -1; } } if (tag.IsEphemeral()) { // We need 4 swings to use this rotation if (GatheringManager.SwingsRemaining < 4) { return -1; } } // if we have a collectable && the collectable value is greater than or equal to 345: Priority 345 if (tag.CollectableItem != null && tag.CollectableItem.Value >= 345) { return 345; } return -1; }
int IGetOverridePriority.GetOverridePriority(GatherCollectableTag tag) { if (tag.IsEphemeral() || tag.IsUnspoiled()) { return -1; } return 8000; }