using System;
using System.Drawing;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace WaterSpammer
{
public class WaterSpammer : Core
{
public static string GetPluginAuthor()
{
return "Plugin Author";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "Collects water.";
}
public void PluginRun()
{
using (DoodadObject d = getDoodads()
.Where(x => x.name == "Well").Distinct().OrderBy(x => x.distNoZ(me)).First())
{
while (true)
{
UseDoodadSkill("Gather water with a bucket.", d, true);
Thread.Sleep(500);
}
}
}
}
}