本文整理汇总了C#中Host.TalkWithQuestNpc方法的典型用法代码示例。如果您正苦于以下问题:C# Host.TalkWithQuestNpc方法的具体用法?C# Host.TalkWithQuestNpc怎么用?C# Host.TalkWithQuestNpc使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Host
的用法示例。
在下文中一共展示了Host.TalkWithQuestNpc方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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;
}
示例2: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("OldForest_Petersen")) 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 (quest.steps[0] == 0)
{
if (!host.movementModule.GpsMove("OIdForest_Brendon")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id, host.farmModule.GetNearestCreatureById(3290));
Thread.Sleep(1000);
}
if (quest.steps[1] == 0)
{
if (!host.movementModule.GpsMove("OldForest_Blekli")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id, host.farmModule.GetNearestCreatureById(3131));
Thread.Sleep(1000);
}
if (quest.steps[2] == 0)
{
if (!host.movementModule.GpsMove("OldForest_Blekli")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id, host.farmModule.GetNearestCreatureById(3135));
Thread.Sleep(1000);
}
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("OldForest_Petersen")) 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("Mahadevi_Seruchima")) 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_Simhar")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Anatta")) 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("SigningLand_Narine")) 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("SigningLand_Grel")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
Thread.Sleep(60000);
if (!host.movementModule.GpsMove("SigningLand_Grel2")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(10000);
}
return true;
}
示例5: 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;
}
示例6: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("OldForest_BenAdjara")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(3483))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Quest_1491_1")) return false;
Thread.Sleep(1000);
host.UseItemAndWait(14318);
Thread.Sleep(1000);
host.UseItemAndWait(14319);
Thread.Sleep(2000);
host.TalkWithQuestNpc(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("Mahadevi_Valdomero")) 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_3491_1")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id, host.farmModule.GetNearestCreatureById(2627));
Thread.Sleep(1000);
if (!host.movementModule.GpsMove("Quest_3491_3")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id, host.farmModule.GetNearestCreatureById(2653));
Thread.Sleep(1000);
if (!host.movementModule.GpsMove("Quest_3491_5")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id, host.farmModule.GetNearestCreatureById(2652));
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Valdomero")) 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("Tiger_UnknownBook")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1445))
return false;
if (!checkQuestCompletedOrAccepted(1076))
return false;
if (!checkQuestCompletedOrAccepted(1171))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Tiger_CypressMember")) return false;
Thread.Sleep(1000);
while (quest.status == QuestStatus.Accepted && host.isAlive())
{
host.UseDoodadSkill(16792, host.getNearestDoodad(10474), true);
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
}
if (!checkQuestCompleted(1075))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Tomiris")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(30000);
}
return true;
}
示例9: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("OldForest_Petersen_2")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(1314))
return false;
if (!checkQuestCompletedOrPerfomed(2559))
return false;
if (!checkQuestCompletedOrAccepted(1316))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("OldForest_Kaila2")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (!checkQuestCompleted(2559))
return false;
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("OldForest_Petersen_2")) 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("Tiger_Suryan")) 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_1092_1")) return false;
Thread.Sleep(1000);
Zone zone = new RoundZone(21312.21, 8676.53, 70);
while (quest.status == QuestStatus.Accepted && host.me.isAlive())
{
var m = getNearestMob(zone);
if (m != null)
{
host.SetTarget(m);
Thread.Sleep(500);
host.UseItem(13965, true);
Thread.Sleep(1000);
while (host.me.isAlive() && host.farmModule.aggroMobsCount() > 0)
Thread.Sleep(100);
Thread.Sleep(4000);
host.TalkWithQuestNpc(id);
}
}
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Suryan")) 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_Anatta")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompleted(880))
return false;
if (quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Mahadevi_Hadari")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Uruma")) return false;
Thread.Sleep(1000);
host.UseDoodadSkill(12900, host.getNearestDoodad(2021), true);
Thread.Sleep(1000);
host.MoveTo(18711.22, 8892.30, 189.44);
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("Singland_Syan")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(852))
return false;
if (!checkQuestCompletedOrAccepted(853))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Singland_Desertir")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Singland_Syan"))
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("OldForest_Reiberk")) 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("OldForext_Kevin")) return false;
Thread.Sleep(1000);
var c = host.farmModule.GetNearestCreatureById(3329);
if (c != null)
{
host.SetTarget(c);
Thread.Sleep(500);
host.UseItemAndWait(15884);
Thread.Sleep(2500);
host.TalkWithQuestNpc(id);
}
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("OldForest_Reiberk")) return false;
Thread.Sleep(1000);
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_Saladon")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(3604))
return false;
if (quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Mahadevi_Nadal")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Mahadevi_Marun")) 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_Tomiris")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1094))
return false;
if (quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Tiger_MayorKezar")) return false;
Thread.Sleep(1000);
host.TalkWithQuestNpc(id);
Thread.Sleep(1000);
}
if (quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Eltere")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}