Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static readonly Dictionary<uint, int> Baits = new Dictionary<uint, int>
- {
- {110291,158036},
- {110290,158035},
- {110292,158037},
- {110274,158031},
- {110289,158034},
- {110294,158039},
- {110293,158038},
- };
- public async static Task<bool> ApplyBait()
- {
- if (StyxWoW.Me.IsCasting)
- return false;
- foreach (var bait in Baits)
- {
- WoWItem baitInBag = Utility.GetItemInBag(bait.Key);
- if(baitInBag != null && !StyxWoW.Me.HasAura(bait.Value) && baitInBag.Use()){
- AutoAnglerBot.Log(System.String.Format("Appling {0}",baitInBag.GetItemName()));
- await CommonCoroutines.SleepForLagDuration();
- return true;
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement