this is my Waypoint for the QuestIDs 425767 /425768. I just know the german names
425767 = Noch mehr medizinische Versorgungsgüter
425768 = Willkommener Sanitätshelfer
Please submit the names in your Language to improve the searchquerys.
The Start is in Kadun at 38/48 at the NPC called 'Lakejodd'. There is something special about this daily. If you completed the first daily, you just can accept the second an vice versa. So in order to fulfil all your 10 dailys you'll habe to do 5 times the first and 5 times the other. It takes about ~25-30 minutes for all 10 quest do complete. And as this all happend in a friendly area close to the housemaid, there could even be done a classchange very easily. But this is currently not implemented.
This daily depends on several quest, that have to be accomplished before.
I've tested it several times and did not find major errors. But feel free to comment.
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
time = os.time()
questtype = "public" -- "public" or "daily";
dqCount, dqPerDay = RoMScript("Daily_count()");
-- dailys have priority
if dqCount ~= 10 then
questtype = "daily";
end
for k,v in pairs(settings.profile.skills) do
v.AutoUse = false;
end
questGiver = 121173; -- Lakejodd (38.2 / 48.3)
emptyBucket = 241658
fullBucket = emptyBucket-1;
salve = 241661;
clearWater = 121604;
questIds = {425767,425768}; -- 425767 = Noch mehr medizinische Versorgungsgueter (Eimer mit Wasser holen) / 425768= Willkommener Sanitätshelfer
function heal()
buffID = 623497;
player:update();
t=player:findNearestNameOrId(121588);
if t ~= nil then
yrest(250);
player:target(t);
yrest(250);
-- Sometimes the healing procedure fails, so you have to loop until success
repeat
inventory:useItem(salve);
yrest(3100);
buff=RoMScript("UnitBuff('target',1)");
until buff ~= nil
else
player:sleep();
end
end
if getQuestStatus(questIds[2]) == "complete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("completeQ2"));
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("questGiver"));
end
</onload>
<!-- # 1 --><waypoint x="3132" z="-9004" y="444" tag="questGiver">
__WPL:setDirection(WPT_FORWARD);
if getQuestStatus(questIds[1]) == "incomplete" then
player:target_NPC(questGiver);yrest(150);
RoMScript("ChoiceOption(1);");
end
if getQuestStatus(questIds[1]) == "incomplete" then
__WPL:setWaypointIndex(__WPL:findWaypointTag("continue"));
end
for k,v in pairs (questIds) do
if getQuestStatus(v)== "complete" then
player:target_NPC(questGiver);
CompleteQuestByName(questIds[1]);
end
player:target_NPC(questGiver);yrest(150);
AcceptQuestByName (v,questtype);
end
-- yrest(250);
dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount == 10 and questtype == "daily" then
error ("Finished in "..(os.time()-time).." Sekunden",0);
end
</waypoint>
<!-- # 2 --><waypoint x="3219" z="-8997" y="444">
if inventory:getItemCount(salve) > 6 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("healquest"));
end
if (not player.Mounted) then
player:mount()
end
</waypoint>
<!-- # 3 --><waypoint x="3288" z="-8990" y="441" tag="continue"> </waypoint>
<!-- # 4 --><waypoint x="3338" z="-8976" y="440"> </waypoint>
<!-- # 5 --><waypoint x="3385" z="-8950" y="442"> </waypoint>
<!-- # 6 --><waypoint x="3493" z="-8876" y="440"> </waypoint>
<!-- # 7 --><waypoint x="3538" z="-8849" y="440"> </waypoint>
<!-- # 8 --><waypoint x="3692" z="-8760" y="441"> </waypoint>
<!-- # 9 --><waypoint x="3739" z="-8739" y="442"> </waypoint>
<!-- # 10 --><waypoint x="3914" z="-8678" y="443"> </waypoint>
<!-- # 11 --><waypoint x="3999" z="-8646" y="430"> </waypoint>
<!-- # 12 --><waypoint x="4110" z="-8612" y="423"> </waypoint>
<!-- # 13 --><waypoint x="4218" z="-8570" y="424"> </waypoint>
<!-- # 14 --><waypoint x="4293" z="-8539" y="423">
-- repeat
player:target_Object(clearWater);
-- yrest(250);
-- until inventory:getItemCount(fullBucket) > 0
yrest(100);
player:mount()
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
<!-- # 15 --><waypoint x="3221" z="-8972" y="466" tag="healquest"> </waypoint>
<!-- # 16 --><waypoint x="3239" z="-8933" y="447"> heal();
</waypoint>
<!-- # 17 --><waypoint x="3335" z="-8947" y="442"> </waypoint>
<!-- # 18 --><waypoint x="3363" z="-8919" y="443"> </waypoint>
<!-- # 19 --><waypoint x="3315" z="-8863" y="444"> heal();
</waypoint>
<!-- # 20 --><waypoint x="3339" z="-8824" y="446"> heal();
</waypoint>
<!-- # 21 --><waypoint x="3360" z="-8859" y="445"> </waypoint>
<!-- # 22 --><waypoint x="3552" z="-8967" y="449"> heal();
</waypoint>
<!-- # 23 --><waypoint x="3597" z="-8993" y="449"> heal();
</waypoint>
<!-- # 24 --><waypoint x="3527" z="-9040" y="452"> heal();
</waypoint>
<!-- # 25 --><waypoint x="3485" z="-8977" y="443"> </waypoint>
<!-- # 26 --><waypoint x="3390" z="-8983" y="441"> </waypoint>
<!-- # 27 --><waypoint x="3355" z="-9089" y="444"> heal();
</waypoint>
<!-- # 28 --><waypoint x="3402" z="-8968" y="441"> </waypoint>
<!-- # 29 --><waypoint x="3335" z="-8829" y="446"> heal();
</waypoint>
<!-- # 30 --><waypoint x="3313" z="-8862" y="444"> heal();
</waypoint>
<!-- # 31 --><waypoint x="3364" z="-8912" y="443"> </waypoint>
<!-- # 32 --><waypoint x="3322" z="-8947" y="443"> </waypoint>
<!-- # 33 --><waypoint x="3236" z="-8935" y="447"> heal();
</waypoint>
<!-- # 34 --><waypoint x="3201" z="-8994" y="446"> </waypoint>
<!-- # 35 --><waypoint x="3143" z="-8989" y="445" tag="completeQ2">
player:target_NPC(questGiver);
CompleteQuestByName (questIds[2]);
</waypoint>
</waypoints>