lofi
New Member
- Joined
- Jul 12, 2010
- Messages
- 203
- Reaction score
- 15
I attempted to do this by adding one of the mammoth vendors to the profile and putting the location in a safe area. Then wrote a plug-in that would detect if you were in a short range of the safe spot and use the tundra mammoth.
Although the vendors appeared and the bot was standing in the right spot it would not interact with any of them. I think this is not possible to do currently without changes to Honor Buddy application.
Code:
WoWPoint vendorLocation = ProfileManager.CurrentProfile.VendorManager.AllVendors[0].Location;
float myDistance = Me.Location.Distance(vendorLocation);
// if bot is within 5 yards of the "vending spot"
if (myDistance < 5)
{
if (!Me.Buffs.ContainsKey("Traveler's Tundra Mammoth"))
{
// Cast Tundra Mammoth !!
Mount.MountUp();
// Wait for spell cast
Thread.Sleep(1500);
}
}
Although the vendors appeared and the bot was standing in the right spot it would not interact with any of them. I think this is not possible to do currently without changes to Honor Buddy application.