mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 05:07:47 +00:00
A default return destination is now set on new character based on initialTown.
This commit is contained in:
parent
77d6cb2e43
commit
affff96837
1 changed files with 4 additions and 1 deletions
|
@ -8,10 +8,13 @@ function onBeginLogin(player)
|
||||||
|
|
||||||
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…
Add table
Reference in a new issue