Hello, use quest type "Override Pulse CSharp Code" with code:
var npc = new Npc
{
Entry = 1247, // Npc ID
Position = new Vector3(-5601.6, -531.203, 399.6539),
Type = Npc.NpcType.Vendor
};
int itemId = 2894; // Item ID
if (GoToTask.ToPositionAndIntecractWith(npc))
{
Vendor.BuyItem(ItemsManager.GetNameById(itemId), 1);
}
return true;
also for runcode action use this .
if (ObjectManager.Me.WowClass == WoWClass.class && ObjectManager.Me.Level <= 0) // change "Class" to what class you are. set level to level you want to get item at.
{
wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(x, y, z), NpcID, 1, false);
System.Threading.Thread.Sleep(5000);
wManager.Wow.Helpers.Vendor.BuyItem("Skinning Knife",1); // change Skinning Knife to what item you want. do not remove ""
System.Threading.Thread.Sleep(5000);
}
if (ItemsManager.HasItemById(3108)) // change 3108 to the item id
{
ItemsManager.UseItem(3108); // change 3108 to the item id
}