[序列模式] 成就.替天行道

崩溃
X
 
  • 时间
  • 显示
清除所有
新帖子
  • 翻墻被狗咬
    初级会员
    • 09.13.25
    • 2

    【序列模式profile】 [序列模式] 成就.替天行道

    鲶鱼精族 · 大鲶大祭执行委员会 最后的成就任务。完成后获得称号 替天行道

    HTML代码:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Profile:  [序列模式] 成就.替天行道
    Authors:  翻墙被狗咬.
    Modified: 翻墙被狗咬
    Update:
    -->
    <Profile>
       <Name>成就.替天行道</Name>
       <BehaviorDirectory>..\Quest Behaviors</BehaviorDirectory>
       <Order>
        <If Condition="not IsQuestCompleted(68514)">
         <UserDialog DialogText="需要完成前置蛮族任务 《付丧神之缘》" />
         <StopBot />
        </If>
        <If Condition="not IsQuestCompleted(68577)">
         <UserDialog DialogText="需要完成前置蛮族任务 《跨越种族之桥》" />
         <StopBot />
        </If>
        <If Condition="not IsQuestCompleted(68638)">
         <UserDialog DialogText="需要完成前置蛮族任务 《庆祝吧鲶鱼精》" />
         <StopBot />
        </If>
        <If Condition="not IsQuestCompleted(68697)">
          <If condition="not HasQuest(68697)">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="111" />
            </If>
            <MoveTo XYZ="92.619125, 11.999857, -69.36101" />
            <PickupQuest NpcId="1026380" QuestId="68697" XYZ="94.22449, 12.000005, -72.55664" />
         </If>
         <If Condition="GetQuestStep(68697) == 1">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-84.91028, -7, -53.43483" />
            <TalkTo NpcId="2009604" QuestId="68697" XYZ="-85.19116, -7.0039062, -52.84204" />
         </If>
         <If Condition="GetQuestStep(68697) == 2">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="140.7066, 25, -7.467663" />
            <TalkTo NpcId="1026381" QuestId="68697" XYZ="139.33008, 25, -7.0039062" />
         </If>
         <If Condition="GetQuestStep(68697) == 3">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-78.64372, 18, -175.34915" />
            <TalkTo NpcId="1026383" QuestId="68697" XYZ="-79.14862, 17.999998, -176.47064" />
         </If>
         <If Condition="GetQuestStep(68697) == 4">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-106.7988, 11.902365, -140.2781" />
            <TalkTo NpcId="1026384" QuestId="68697" XYZ="-107.71344, 11.902365, -140.73401" />
         </If>
         <If Condition="GetQuestStep(68697) == 5">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-104.91064, 11.902366, -138.14082" />
            <TalkTo NpcId="1026385" QuestId="68697" XYZ="-108.14075, 11.902366, -140.58142" />
         </If>
         <If Condition="GetQuestStep(68697) == 6">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-6.3222456, 1.4305115E-06, -104.96669" />
            <TalkTo NpcId="1026386" QuestId="68697" XYZ="-4.989685, 0.25, -103.50195" />
         </If>
         <If Condition="GetQuestStep(68697) == 7">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-81.29746, -2.999999, 63.46034" />
            <TalkTo NpcId="1026388" QuestId="68697" XYZ="-82.414, -2.9999976, 62.42456" />
         </If>
         <If Condition="GetQuestStep(68697) == 8">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-83.70629, -2.999996, 61.529827" />
            <TalkTo NpcId="1026389" QuestId="68697" XYZ="-84.763916, -2.9999986, 62.91284" />
         </If>
         <If Condition="GetQuestStep(68697) == 255">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="112" />
            </If>
            <MoveTo XYZ="-83.70629, -2.999996, 61.529827" />
            <!--不晓得这个任务用哪个Tag可以交 只能整代码块凑合-->
            <RunCode name="UseItemAndJournalResultBy1026389" />
            <!-- <UseItem ItemId="2002488" NpcId="1026389" QuestId="68697" XYZ="-84.763916, -2.9999986, 62.91284"/> -->
         </If>
        </If>
        <!-- 寄宿灵魂之宝玉 -->
        <If Condition="not IsQuestCompleted(68698)">
          <If condition="not HasQuest(68698)">
            <If condition="not IsOnMap(628)">
               <TeleportTo AetheryteId="111" />
            </If>
            <MoveTo XYZ="-82.414, -2.9999976, 62.42456" />
            <PickupQuest NpcId="1026388" QuestId="68698" XYZ="-82.414, -2.9999976, 62.42456" />
          </If>
          <If Condition="GetQuestStep(68698) == 1">
            <GetTo XYZ="856.72687, 6.9450283, 808.11206" ZoneId="613"/>
            <TalkTo NpcId="1026395" QuestId="68698" XYZ="857.4501, 6.9450293, 804.7455" />
          </If>
          <If Condition="GetQuestStep(68698) == 2">
             <If Condition="ff14bot.NeoProfiles.ConditionParser.GetQuestById(68698).GetTodoArgs(2, 0).Item1 == 0">
                <GetTo XYZ="842.57007, 6.9450293, 818.22577" ZoneId="613"/>
                <TalkTo QuestId="68698" StepId="2" NpcId="1026398" XYZ="840.3906, 6.9450293, 819.6688"/>
             </If>
             <If Condition="ff14bot.NeoProfiles.ConditionParser.GetQuestById(68698).GetTodoArgs(2, 0).Item1 == 1">
                <GetTo ZoneId="613" XYZ="848.6304, 1.1792068, 863.8589"/>
                <TalkTo QuestId="68698" StepId="2" NpcId="1026397" XYZ="848.6304, 1.1792068, 863.8589"/>
             </If>
          </If>
          <If Condition="GetQuestStep(68698) == 3">
             <GetTo ZoneId="613" XYZ="867.42944, 1.1792068, 844.75464"/>
             <TalkTo QuestId="68698" NpcId="1026399" XYZ="867.42944, 1.1792068, 844.75464"/>
          </If>
          <If Condition="GetQuestStep(68698) == 4">
             <FlyTo Land="True" XYZ="-773.1289, 2.941284, -360.9217"/>
             <TalkTo QuestId="68698" NpcId="1026401" XYZ="-773.1289, 2.941284, -360.9217"/>
          </If>
          <If Condition="GetQuestStep(68698) == 5">
             <If Condition="ff14bot.NeoProfiles.ConditionParser.GetQuestById(68698).GetTodoArgs(2, 0).Item1 == 0">
                <FlyTo Land="True" XYZ="-722.9267, 1.2855811, -568.5359"/>
                <TalkTo QuestId="68698" StepId="5" NpcId="1026406" XYZ="-722.9267, 1.2855811, -568.5359"/>
             </If>
             <If Condition="ff14bot.NeoProfiles.ConditionParser.GetQuestById(68698).GetTodoArgs(2, 0).Item1 == 1">
                <GetTo ZoneId="613" XYZ="-716.09064, 1.2506801, -593.62177"/>
                <TalkTo QuestId="68698" StepId="5" NpcId="1026404" XYZ="-716.09064, 1.2506801, -593.62177"/>
             </If>
             <If Condition="ff14bot.NeoProfiles.ConditionParser.GetQuestById(68698).GetTodoArgs(2, 0).Item1 == 2">
                <GetTo ZoneId="613" XYZ="-739.98627, 1.960285, -611.2917"/>
                <TalkTo QuestId="68698" StepId="5" NpcId="1026405" XYZ="-739.98627, 1.960285, -611.2917"/>
             </If>
          </If>
          <!-- 寄宿灵魂之宝玉 -->
          <If Condition="GetQuestStep(68698) == 255">
             <GetTo ZoneId="613" XYZ="-773.1289, 2.941284, -360.9217"/>
             <TurnIn QuestId="68698" NpcId="1026401" ItemId="2001994" XYZ="-773.1289, 2.941284, -360.9217"/>
          </If>
        </If>
        <!-- 贤者之鳍 -->
        <If Condition="not IsQuestCompleted(68699)">
          <If condition="not HasQuest(68699)">
            <GetTo ZoneId="613" XYZ="-773.1289, 2.941284, -360.9217"/>
            <PickupQuest NpcId="1026401" QuestId="68699" XYZ="-773.1289, 2.941284, -360.9217" />
          </If>
          <If Condition="GetQuestStep(68699) == 1">
             <GetTo ZoneId="622" XYZ="-778.28644, 127.27075, 129.74744"/>
             <TalkTo QuestId="68699" StepId="1" NpcId="1026414" XYZ="-778.28644, 127.27075, 129.74744"/>
          </If>
          <If Condition="GetQuestStep(68699) == 2">
             <GetTo ZoneId="622" XYZ="27.17627, 114.88513, -15.030151"/>
             <TalkTo QuestId="68699" StepId="2" NpcId="2009605" XYZ="27.17627, 114.88513, -15.030151"/>
          </If>
          <If Condition="GetQuestStep(68699) == 3">
             <GetTo ZoneId="622" XYZ="-102.73901, 116.043, -48.142273"/>
             <TalkTo QuestId="68699" StepId="3" NpcId="1026420" XYZ="-102.73901, 116.043, -48.142273"/>
          </If>
          <If Condition="GetQuestStep(68699) == 255">
             <GetTo ZoneId="622" XYZ="-779.0799, 127.277245, 127.91626"/>
             <TurnIn QuestId="68699" NpcId="1026422" ItemId="2001994" XYZ="-779.0799, 127.277245, 127.91626"/>
          </If>
        </If>
          <!-- 三种至宝 -->
         <If Condition="not IsQuestCompleted(68700)">
            <If condition="not HasQuest(68700)">
               <GetTo ZoneId="622" XYZ="-779.7818, 127.269035, 129.74744"/>
               <PickupQuest NpcId="1026421" QuestId="68700"/>
            </If>
            <If Condition="GetQuestStep(68700) == 1">
               <GetTo ZoneId="628" XYZ="-77.62268, 11.825684, -155.169"/>
               <TalkTo QuestId="68700" StepId="1" NpcId="2009606" XYZ="-77.62268, 11.825684, -155.169"/>
            </If>
            <If Condition="GetQuestStep(68700) == 2">
             <GetTo ZoneId="628" XYZ="-72.129456, 15.000005, 70.450806"/>
             <TalkTo QuestId="68700" StepId="2" NpcId="1026425" XYZ="-72.129456, 15.000005, 70.450806"/>
            </If>
            <If Condition="GetQuestStep(68700) == 3">
               <GetTo ZoneId="628" XYZ="-31.47937, 14.999573, 61.08191"/>
               <TalkTo QuestId="68700" StepId="3" NpcId="2009607" XYZ="-31.47937, 14.999573, 61.08191"/>
            </If>
    
          <If Condition="GetQuestStep(68700) == 255">
             <GetTo ZoneId="628" XYZ="-81.498474, 11.82907, -155.53528"/>
             <TurnIn QuestId="68700" NpcId="1026426" ItemId="2001994" XYZ="-81.498474, 11.82907, -155.53528"/>
          </If>
         </If>
       </Order>
    
       <CodeChunks>
        <CodeChunk Name="UseItemAndJournalResultBy1026389">
          <![CDATA[
            var targetnpc = GameObjectManager.GetObjectByNPCId(1026389);
            var item = InventoryManager.FilledSlots.FirstOrDefault(r => r.RawItemId == 2002488);
            item.UseItem(targetnpc.Location);
            await Coroutine.Wait(14000, () => ff14bot.RemoteWindows.Talk.DialogOpen);
            while (!QuestLogManager.IsQuestCompleted(68697))
            {
              if (Talk.DialogOpen) Talk.Next();
              if (JournalResult.IsOpen) JournalResult.Complete();
              await Coroutine.Yield();
            }
        ]]>
        </CodeChunk>
       </CodeChunks>
    </Profile>
    使用方法:将其保存到 【序列模式】全脚本合辑 文件夹中后,加载。
工作中...