i do have 6 KS farming Chars and finished a nice script for a few things
1. recall to reifort camp
2. go to postbox and send all money to char XY
3. go to NPC Kulade and enter the house
4. talk to 3 housemaid npc 5x to get as many luck powder
5 . leave the house
6. press a desingated key to tranport back to Dust Devil Canyon
This is my recall function
Code: Select all
function myrecall()
if (player.Name == _firstChar) then
maidone = "LALAL"; maidtwo = "Lkdkd"; maidtre = "thisname";
waitForLoadingScreen();
end
if (player.Name == _secondChar) then
maidone = "Dhaklor"; maidtwo = "Kkasd"; maidtre = "thisname";
waitForLoadingScreen();
end
if (player.Name == _thirdChar) then
maidone = "Christine Benjamins"; maidtwo = "Raj Charles"; maidtre = "Daniele Mistres";
waitForLoadingScreen();
end
endeasier would be something like player:cast("Teleport: Reifort Camp"); how do i achive this?
Sometime the script hangs or sth goes wrong
what i need to implement is sth like
if (Recall has Cooldown) and (zoneid == 6) or (zoneid ==1006) then
loadPaths("KStoCaskNoTurtle");
end
But I need some help here.
Code: Select all
if (zoneid == 10) then
-- already in Reifort Camp
__WPL:setWaypointIndex(__WPL:findWaypointTag("reifort"));
end
if (zoneid == 400) then
-- already in house
__WPL:setWaypointIndex(__WPL:findWaypointTag("thehouse"));
end
if (zoneid == 6) or (zoneid == 1006) then
-- both id's for Dust Devil Canyon
myrecall();
endEDIT:
something like this
<skill name="RECALL_REIFORT" id="???????" cooldown="3600" target="self" casttime="6" />