本文整理汇总了C#中Host.StartQuest方法的典型用法代码示例。如果您正苦于以下问题:C# Host.StartQuest方法的具体用法?C# Host.StartQuest怎么用?C# Host.StartQuest使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Host
的用法示例。
在下文中一共展示了Host.StartQuest方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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;
}
示例2: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Sheodar")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(1366))
return false;
if (!checkQuestCompletedOrPerfomed(1367))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(23875.12, 9346.01, 50);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("FerreLvl8_10_1")) return false;
host.farmModule.SetFarmDoodads(zone, new uint[] { 6453 }, 3);
while (host.farmModule.farmState == Modules.FarmState.Doodads && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
double dist = 999999;
Creature t = null;
foreach (var c in host.getCreatures())
{
if (c.creatureId == 11120 && host.isAlive(c) && host.me.dist(c) < dist)
{
dist = host.me.dist(c);
t = c;
}
}
if (t != null)
host.StartQuest(1413);
}
if (!checkQuestCompletedOrPerfomed(1366))
return false;
if (!checkQuestCompletedOrPerfomed(1367))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_Sheodar")) return false;
host.CompleteQuest(id, 2);
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_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;
}
示例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("Mahadevi_Tarmillon")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
if (!checkQuestCompletedOrAccepted(1504))
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(18731.94, 7683.06, 80);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("Quest_2902_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 2510 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
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("Tiger_Kajahr")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(3452))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Tiger_Ashrei_1")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
if (!host.movementModule.GpsMove("Tiger_Ochibarr")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(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_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;
}
示例9: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("OldForest_Desmart"))
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_2907_1"))
return false;
Thread.Sleep(1000);
host.UseItemAndWait(18478);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("OldForest_Desmart")) 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("Mahadevi_Chetin")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompleted(3312))
return false;
if (!checkQuestCompleted(3313))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Headlands_Hamed")) 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 (!checkQuestCompletedOrAccepted(1237))
return false;
if (!checkQuestCompletedOrAccepted(3442))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Doska_2")) 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("FerreLvl10_7_1")) return false;
Zone zone = new RoundZone(22861.85, 9037.23, 80);
host.farmModule.SetFarmMobs(zone, new uint[] { 4198 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
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("Singland_Syan")) 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("OldForest_Andersen")) 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("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;
}
示例14: 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;
}
示例15: 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;
}