A default return destination is now set on new character based on initialTown.

This commit is contained in:
Filip Maj 2017-07-09 11:40:28 -04:00
parent 77d6cb2e43
commit affff96837

View File

@ -8,10 +8,13 @@ function onBeginLogin(player)
if (initialTown == 1 and player:HasQuest(110001) == false) then
player:AddQuest(110001);
player:SetHomePoint(1280001);
elseif (initialTown == 2 and player:HasQuest(110005) == false) then
player:AddQuest(110005);
player:SetHomePoint(1280061);
elseif (initialTown == 3 and player:HasQuest(110009) == false) then
player:AddQuest(110009);
player:SetHomePoint(1280031);
end
end