mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	A default return destination is now set on new character based on initialTown.
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user