Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
settings.profile.mobs = {"Fester", "Leonardo"}
changeProfileOption("MAX_TARGET_DIST", 850);
changeProfileOption("MP_REST", 5);
function gotoDearmo()
local Dearmo;
repeat
Dearmo = player:findNearestNameOrId(123385)
until Dearmo ~= nil
dx = Dearmo.X
dy = Dearmo.Y
dz = Dearmo.Z
teleport(dx,dz,dy)
end
</onload>
<!-- # 1 --><waypoint x="9171" z="30022" y="112">
gotoDearmo()
player:target_NPC(123385) -- Dearmo
AcceptQuestByName(426933) -- One More Fight
</waypoint>
<!-- # 2 --><waypoint x="9096" z="30093" y="119" tag="tag"> </waypoint>
<!-- # 3 --><waypoint x="9034" z="30143" y="123">
player:target_NPC(123386) -- Fester
ChoiceOptionByName(getTEXT("SC_Z29Q426792_1")) -- 'Let's see what you've got.'
</waypoint>
<!-- # 4 --><waypoint x="8954" z="30079" y="132"> </waypoint>
<!-- # 5 --><waypoint x="8777" z="29947" y="117"> </waypoint>
<!-- # 6 --><waypoint x="8673" z="29933" y="122"> </waypoint>
<!-- # 7 --><waypoint x="8625" z="29995" y="117"> </waypoint>
<!-- # 8 --><waypoint x="8597" z="30169" y="122">
player:target_NPC(123387) -- Leonardo
ChoiceOptionByName(getTEXT("SC_Z29Q426792_1")) -- 'Let's see what you've got.'
</waypoint>
<!-- # 9 --><waypoint x="8619" z="30014" y="117"> </waypoint>
<!-- # 10 --><waypoint x="8704" z="29936" y="120"> </waypoint>
<!-- # 11 --><waypoint x="9203" z="30029" y="113">
gotoDearmo()
player:target_NPC(123385) -- Dearmo
CompleteQuestByName(426933) -- One More Fight
player:target_NPC(123385) -- Dearmo
AcceptQuestByName(426933) -- One More Fight
__WPL:setWaypointIndex(__WPL:findWaypointTag("tag"))
if
RoMScript("Daily_count()") == 10 then
player:sleep();
end
</waypoint>
</waypoints>