<Profile>
<Name>Adventure Mode: KD3 + Ghom</Name>
<GameParams quest="101758" step="1" act="OpenWorld" resumeFromSave="False" isPrivate="True" numGames="-1" />
<KillMonsters>True</KillMonsters>
<PickupLoot>True</PickupLoot>
<TargetBlacklists>
<TargetBlacklist actorId="51300 " /> <!-- a3dun_Keep_Chest_Lift -->
<TargetBlacklist actorId="51301 " /> <!-- a3dun_Keep_Chest_Lift -->
</TargetBlacklists>
<TrinityMaxDeaths questId="1" max="100" />
<Order>
<!-- Act1 Start -->
<If condition="CurrentLevelAreaId == 332339">
<LogMessage questId="312429" stepId="2" output="We are in act 1, teleport to core of arreat" />
<UseWaypoint questId="312429" stepId="2" x="400.8976" y="554.9545" z="24.90376" actorId="223757" waypointNumber="30" />
<WaitTimer questId="312429" stepId="2" waitTime="200"/>
</If>
<!-- Act2 Start -->
<If condition="CurrentLevelAreaId == 168314">
<LogMessage questId="312429" stepId="2" output="We are in act 2, teleport to core of arreat" />
<UseWaypoint questId="312429" stepId="2" x="325.0178" y="292.0663" z="1.645631" actorId="6442" waypointNumber="30" />
<WaitTimer questId="312429" stepId="2" waitTime="200"/>
</If>
<!-- Act3 and 4 Start -->
<If condition="CurrentLevelAreaId == 92945">
<LogMessage questId="312429" stepId="2" output="We are in act 3 or 4, teleport to core of arreat" />
<UseWaypoint questId="312429" stepId="2" x="401.759" y="414.875" z="1.5330" actorId="6442" waypointNumber="30"/><WaitTimer questId="312429" stepId="2" waitTime="200"/>
</If>
<!-- Act5 Start -->
<If condition="CurrentLevelAreaId == 270011">
<LogMessage questId="312429" stepId="2" output="We are in act 5, teleport to core of arreat" />
<UseWaypoint questId="312429" stepId="2" x="557.9392" y="523.653" z="2.796464" actorId="6442" waypointNumber="30" />
<WaitTimer questId="312429" stepId="2" waitTime="200" />
</If>
<ToggleTargeting questId="312429" stepId="2" combat="True" looting="True" lootRadius="100" killRadius="190" />
<!-- Start Ghom -->
<!-- <TrinityIf condition="CurrentLevelAreaId == 168314">
<LogMessage questId="312429" stepId="2" output="We are in act 2, teleport to KD3" />
<UseWaypoint questId="312429" stepId="2" x="325.0178" y="292.0663" z="1.645631" actorId="6442" waypointNumber="30" />
<WaitTimer questId="312429" stepId="2" waitTime="200"/>
<ToggleTargeting questId="312429" stepId="2" combat="True" looting="True" lootRadius="100" killRadius="190" />
</TrinityIf> -->
<!-- Explore -->
<If condition="(CurrentLevelAreaId == 136448)" >
<WaitTimer questId="312429" stepId="2" waitTime="1000" />
<TrinityExploreDungeon questId="312429" stepId="2" until="FullyExplored" boxSize="50" boxTolerance="0.009" pathPrecision="40" ignoreMarkers="False" ignoreLastNodes="3" minVisitedNodes="10">
</TrinityExploreDungeon>
</If>
<!-- Find portal sometimes the portal is diff xyz else if ???? -->
<If condition="CurrentLevelAreaId == 136448 and (not ActorExistsAt(Me.ActorSNO, 424, 599, 0, 1))">
<MoveToMapMarker questId="312429" stepId="2" x="424" y="599" z="0" markerNameHash="2102427919" actorId="161277" interactRange="20" pathPrecision="50" pathPointLimit="250" isPortal="True" timeoutType="GoldInactivity" timeoutValue="60" townPortalOnTimeout="True" destinationWorldId="103209" statusText="Going to Ghom portal xyz #1" />
</If>
<If condition="CurrentLevelAreaId == 136448 and (not ActorExistsAt(Me.ActorSNO, 424, 359, 0, 1))">
<MoveToMapMarker questId="312429" stepId="2" x="424" y="359" z="0" markerNameHash="2102427919" actorId="161277" interactRange="20"
pathPrecision="5" pathPointLimit="250" isPortal="True" destinationWorldId="103209" statusText="Going to Ghom portal xyz #2" />
</If>
<!-- Kill Ghom -->
<!-- Checks If we are in KD3 or Ghom -->
<!-- <While condition="(CurrentLevelAreaId == 136448) or (CurrentWorldId == 103209)"> -->
<If condition="CurrentWorldId == 103209">
<WaitTimer questId="312429" stepId="2" waitTime="2000" statusText="At Ghom's entrance before fight" />
<SafeMoveTo questId="312429" stepId="2" x="446" y="359" z="0" pathPrecision="50" pathPointLimit="250" statusText="Move in to initiate fight" />
<ToggleTargeting questId="312429" stepId="2" combat="True" looting="True" lootRadius="100" killRadius="190" />
<LogMessage questId="312429" stepId="2" output="We are running towards Ghom" />
<MoveToActor questId="312429" stepId="2" x="402" y="362" z="0" actorId="87642" interactRange="20" name="Gluttony-5232" pathPrecision="50" pathPointLimit="250" statusText="Kill Ghom" />
<WaitTimer questId="312429" stepId="2" waitTime="5000" statusText="Killed Ghom"/>
<UseWaypoint questId="312429" stepId="2" waypointNumber="38"/>
<WaitTimer questId="312429" stepId="2" waitTime="5000" />
</If>
<!-- End Ghom -->
<If condition="Me.IsInTown">
<LeaveGame reason="Done"/>
</If>
</Order>
</Profile>