本文整理汇总了C#中Host.UseDoodadSkill方法的典型用法代码示例。如果您正苦于以下问题:C# Host.UseDoodadSkill方法的具体用法?C# Host.UseDoodadSkill怎么用?C# Host.UseDoodadSkill使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Host
的用法示例。
在下文中一共展示了Host.UseDoodadSkill方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Bashudi")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompleted(3646))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (quest.steps[0] == 0)
{
if (!host.movementModule.GpsMove("Quest_949_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(12876, host.getNearestDoodad(2029), true);
Thread.Sleep(1000);
}
if (quest.steps[2] == 0)
{
if (!host.movementModule.GpsMove("Quest_949_2")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(12879, host.getNearestDoodad(2030), true);
Thread.Sleep(1000);
}
if (quest.steps[1] == 0)
{
if (!host.movementModule.GpsMove("Quest_949_3")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(12880, host.getNearestDoodad(2042), true);
Thread.Sleep(1000);
}
if (quest.steps[3] == 0)
{
if (!host.movementModule.GpsMove("Quest_949_4")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(12878, host.getNearestDoodad(2031), true);
Thread.Sleep(1000);
}
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Headlands_Bashudi")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例2: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Rahuga")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Quest_1083_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(11965, host.getNearestDoodad(2535), true);
Thread.Sleep(18000);
host.UseDoodadSkill(19243, host.getNearestDoodad(2294), true);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Rahuga")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例3: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Amola")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Headlands_Amola")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(16510, host.getNearestDoodad(9804), true);
Thread.Sleep(3000);
host.UseDoodadSkill(16355, host.getNearestDoodad(9961), true);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Headlands_Amola")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例4: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
var c = host.farmModule.GetNearestCreatureById(5214);
if (c != null && host.dist(c) < 5)
{
host.StartQuest(id);
Thread.Sleep(1000);
}
else
{
if (!host.movementModule.GpsMove("Mahadevi_Uruma")) return false;
Thread.Sleep(1000);
while (!host.UseDoodadSkill(12900, host.getNearestDoodad(2021), true))
Thread.Sleep(1000);
host.MoveTo(18711.22, 8892.30, 189.44);
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest.status == QuestStatus.Accepted)
{
var c = host.farmModule.GetNearestCreatureById(5214);
if (c != null && host.dist(c) < 5)
{
while (!host.UseDoodadSkill(12900, host.getNearestDoodad(2021), true))
Thread.Sleep(1000);
Thread.Sleep(500);
host.MoveTo(18712.79, 8883.50, 190.50);
}
else
{
if (!host.movementModule.GpsMove("Mahadevi_Uruma")) return false;
Thread.Sleep(1000);
while (!host.UseDoodadSkill(12900, host.getNearestDoodad(2021), true))
Thread.Sleep(1000);
Thread.Sleep(500);
host.MoveTo(18712.79, 8883.50, 190.50);
}
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Hadari")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例5: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("SigningLand_Siu")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(3479))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (quest.steps[1] == 0)
{
if (!host.movementModule.GpsMove("Quest_806_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(13911, host.getNearestDoodad(1437), true);
Thread.Sleep(1000);
}
if (quest.steps[0] == 0)
{
if (!host.movementModule.GpsMove("Quest_806_2")) return false;
Thread.Sleep(1000);
var d = host.getNearestDoodad(2542);
if (d != null && host.dist(d) < 2)
{
host.UseDoodadSkill(13911, d, true);
Thread.Sleep(1000);
}
}
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("SigningLand_Siu")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例6: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (!checkQuestCompletedOrAccepted(1686))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Mahadevi_Harban")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Mahadevi_Harban")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(17294, host.getNearestDoodad(10999), true);
Thread.Sleep(1000);
}
return true;
}
示例7: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("OldForest_Peterson3"))
return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Quest_1343_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(13676, host.getNearestDoodad(2358), true);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("OldForest_Peterson3")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例8: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Kanhar"))
return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest qFerreLvl3_2 = getQuest(1574);
if (qFerreLvl3_2 == null)
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
host.UseDoodadSkill(18766, host.getNearestDoodad(13700), true);
Thread.Sleep(25000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_Kanhar"))
return false;
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例9: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Mahadevi_Keshaar")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Quest_2135_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(14089, host.getNearestDoodad(6563), true);
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Keshaar")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例10: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Talik"))
return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Ferre_3437_1"))
return false;
Thread.Sleep(1000);
host.UseDoodadSkill(26176, host.getNearestDoodad(22355), true);
Thread.Sleep(20000);
while (!host.movementModule.GpsMove("Ferre_Eshhan"))
{
if (!host.me.isAlive())
break;
return false;
}
Thread.Sleep(2000);
host.TalkWithQuestNpc(id);
}
return true;
}
示例11: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Ruharon")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
var d = host.getNearestDoodad(2263);
if (d != null)
{
host.ComeTo(d, 3);
host.UseDoodadSkill(11949, d, true);
}
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Ruharon")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id, 1);
Thread.Sleep(1000);
}
return true;
}
示例12: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Henta")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("FerreLvl7_3_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(17963, host.getNearestDoodad(12120), true);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_Henta")) return false;
host.CompleteQuest(id, 1);
Thread.Sleep(1000);
}
return true;
}
示例13: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Sidur")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Quest_3646_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(16337, host.getNearestDoodad(9786), true);
Thread.Sleep(1000);
}
return true;
}
示例14: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_KoiCaster")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
if (!checkQuestCompleted(1440))
return false;
if (!checkQuestCompletedOrAccepted(2535))
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("FerreLvl10_6_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(16542, host.getNearestDoodad(6774), true);
Thread.Sleep(2000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_Bivre")) return false;
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例15: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("SigningLands_Ukun")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("SigningLands_Ukun")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(11476, host.getNearestDoodad(1439), true);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("SigningLand_Shao")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}