本文整理汇总了C#中Host.CompleteQuest方法的典型用法代码示例。如果您正苦于以下问题:C# Host.CompleteQuest方法的具体用法?C# Host.CompleteQuest怎么用?C# Host.CompleteQuest使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Host
的用法示例。
在下文中一共展示了Host.CompleteQuest方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_GrayVillage")) 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_5_1")) return false;
host.MoveTo(24014.37, 8641.81, 567.83);
Thread.Sleep(1000);
host.UseItem(19776, 24007.76, 8639.22, 567.93, true);
Thread.Sleep(25000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_GrayVillage")) return false;
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("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;
}
示例3: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (!checkQuestCompletedOrAccepted(943))
return false;
if (!checkQuestCompletedOrAccepted(942))
return false;
if (!checkQuestCompletedOrAccepted(951))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Archealogy")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Headlands_Sidur")) 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)
{
if (!host.movementModule.GpsMove("Ferre_Megana")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompleted(4862))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiget_BlueSalt")) 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 (!(checkQuestCompleted(849) || checkQuestCompleted(811)))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Singland_Xenshei")) 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 (getQuest() == null)
{
if (!host.movementModule.GpsMove("Singland_Fay")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(838))
return false;
if (!checkQuestCompletedOrPerfomed(837))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Singland_Kereh")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
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("Ferre_GrayVillage"))
return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
if (!checkQuestCompleted(1301))
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_Shoihota"))
return false;
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("Tiget_BlueSalt")) 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("Tiger_BlueSaltWell")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(13154, host.getNearestDoodad(7348), true);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiget_BlueSalt")) return false;
Thread.Sleep(1000);
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("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;
}
示例10: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Ashrei")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1076))
return false;
if (!checkQuestCompletedOrAccepted(3449))
return false;
if (!checkQuestCompletedOrAccepted(3447))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_CypressMember")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例11: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Mahadevi_Ashuran")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
host.UseItem(14383);
host.UseItem(17801);
Thread.Sleep(11000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Ashuran")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
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("Headlands_Huslim")) 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_3657_1")) return false;
Thread.Sleep(1000);
host.UseItem(19881);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Headlands_Huslim")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
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("Signland_Nioxin")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Quest_815_1")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(13334, host.getNearestDoodad(1441), true);
Thread.Sleep(2000);
host.CompleteQuest(id);
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("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;
}
示例15: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Yaturaba")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1096))
return false;
if (quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Tiger_Krabat")) return false;
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Krabat")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}