<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
settings.profile.mobs = {"Imprisoned Fire Elemental";"Captive Brown Tiger"};
changeProfileOption("MAX_TARGET_DIST", 30);
function checkCondition()
	queststate = getQuestStatus("Demonstration Battle");
	if queststate == "complete" then
		__WPL:setWaypointIndex(__WPL:findWaypointTag("complete"));
	end
end

function checkLoopCondition()
	queststate = getQuestStatus("Demonstration Battle");
	if queststate ~= "complete" then
	__WPL:setWaypointIndex(__WPL:findWaypointTag("incomplete"));
	end
end

</onLoad>	
	<!-- #  1 --><waypoint x="-18346" z="-22692" y="469">checkCondition()	</waypoint>
		<!-- #  to Housemaid --><waypoint x="-18405" z="-22860" y="459">player:mount();	</waypoint>
	<!-- #  2 --><waypoint x="-18221" z="-23016" y="434" type="TRAVEL">	</waypoint>
	<!-- #  3 --><waypoint x="-17993" z="-23018" y="471" type="TRAVEL">	</waypoint>
	<!-- #  4 --><waypoint x="-17750" z="-23134" y="471" type="TRAVEL">	</waypoint>
	<!-- #  5 --><waypoint x="-17624" z="-23331" y="552" type="TRAVEL">	</waypoint>
	<!-- #  6 --><waypoint x="-17628" z="-23617" y="552" type="TRAVEL">	</waypoint>
	<!-- #  7 --><waypoint x="-17308" z="-23334" y="620" type="TRAVEL">	</waypoint>
	<!-- #  8 --><waypoint x="-17215" z="-23501" y="619" type="TRAVEL">	
	
					player:target_NPC("John Roger");
			yrest(2000)				
				sendMacro("ChoiceOption(3);");
			yrest(2000)				
				RoMScript("ExchangeClass(4,8)")
			yrest(2000)	
	</waypoint>
	
		<!-- #  from housemaid --><waypoint x="-17208" z="-23503" y="619">	player:mount();</waypoint>
	<!-- #  2 --><waypoint x="-17297" z="-23339" y="620">	</waypoint>
	<!-- #  3 --><waypoint x="-17600" z="-23386" y="552">	</waypoint>
	<!-- #  4 --><waypoint x="-17787" z="-23075" y="471">	</waypoint>
	<!-- #  5 --><waypoint x="-18092" z="-22991" y="471">	</waypoint>
	<!-- #  6 --><waypoint x="-18531" z="-23127" y="425">	</waypoint>
	<!-- #  7 --><waypoint x="-18422" z="-22872" y="459" type="TRAVEL">	</waypoint>
	<!-- #  8 --><waypoint x="-18346" z="-22699" y="469" type="TRAVEL">	
	
	local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
			if 10 == dailyQuestCount then
				loadPaths("Gp/path");
			else
      				printf("Done "..dailyQuestCount.." of " .. dailyQuestsPerDay ..    " Left " .. dailyQuestsPerDay - dailyQuestCount .. " Quests.");
      			end
			player:target_NPC("Anthony Taz");
			AcceptQuestByName("Demonstration Battle")
			</waypoint>

	<!-- #  2 --><waypoint x="-18346" z="-22692" y="469" tag="incomplete">
			player:target_NPC("Anthony Taz");
			sendMacro("ChoiceOption(1);");yrest(4500);
	</waypoint>

	<!-- #  4 --><waypoint x="-18346" z="-22692" y="469" tag="complete">
			checkLoopCondition()
	</waypoint>
	<!-- #  to housemaid --><waypoint x="-18405" z="-22860" y="459">	player:mount();</waypoint>
	<!-- #  2 --><waypoint x="-18221" z="-23016" y="434" type="TRAVEL">	</waypoint>
	<!-- #  3 --><waypoint x="-17993" z="-23018" y="471" type="TRAVEL">	</waypoint>
	<!-- #  4 --><waypoint x="-17750" z="-23134" y="471">	</waypoint>
	<!-- #  5 --><waypoint x="-17624" z="-23331" y="552">	</waypoint>
	<!-- #  6 --><waypoint x="-17628" z="-23617" y="552">	</waypoint>
	<!-- #  7 --><waypoint x="-17308" z="-23334" y="620">	</waypoint>
	<!-- #  8 --><waypoint x="-17215" z="-23501" y="619">	
									player:target_NPC("John Roger");
			yrest(2000)				
				sendMacro("ChoiceOption(3);");
			yrest(2000)				
				RoMScript("ExchangeClass(8,4)")
	</waypoint>	
	<!-- #  fromhousemaid --><waypoint x="-17208" z="-23503" y="619">	player:mount();</waypoint>
	<!-- #  2 --><waypoint x="-17297" z="-23339" y="620" type="TRAVEL">	</waypoint>
	<!-- #  3 --><waypoint x="-17600" z="-23386" y="552">	</waypoint>
	<!-- #  4 --><waypoint x="-17787" z="-23075" y="471">	</waypoint>
	<!-- #  5 --><waypoint x="-18092" z="-22991" y="471">	</waypoint>
	<!-- #  6 --><waypoint x="-18531" z="-23127" y="425">	</waypoint>
	<!-- #  7 --><waypoint x="-18422" z="-22872" y="459">	</waypoint>
	<!-- #  8 --><waypoint x="-18346" z="-22699" y="469" type="TRAVEL">		
			player:target_NPC("Anthony Taz");
			CompleteQuestByName("Demonstration Battle");
			</waypoint>

</waypoints>