mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
A default return destination is now set on new character based on initialTown.
This commit is contained in:
parent
77d6cb2e43
commit
affff96837
@ -7,11 +7,14 @@ function onBeginLogin(player)
|
|||||||
initialTown = player:GetInitialTown();
|
initialTown = player:GetInitialTown();
|
||||||
|
|
||||||
if (initialTown == 1 and player:HasQuest(110001) == false) then
|
if (initialTown == 1 and player:HasQuest(110001) == false) then
|
||||||
player:AddQuest(110001);
|
player:AddQuest(110001);
|
||||||
|
player:SetHomePoint(1280001);
|
||||||
elseif (initialTown == 2 and player:HasQuest(110005) == false) then
|
elseif (initialTown == 2 and player:HasQuest(110005) == false) then
|
||||||
player:AddQuest(110005);
|
player:AddQuest(110005);
|
||||||
|
player:SetHomePoint(1280061);
|
||||||
elseif (initialTown == 3 and player:HasQuest(110009) == false) then
|
elseif (initialTown == 3 and player:HasQuest(110009) == false) then
|
||||||
player:AddQuest(110009);
|
player:AddQuest(110009);
|
||||||
|
player:SetHomePoint(1280031);
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user