mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Got tutorial quests working again. Integrated Jorges DftSea work, thanks!
This commit is contained in:
		| @@ -1820,17 +1820,17 @@ namespace Meteor.Map.Actors | ||||
|  | ||||
|         public Quest GetTutorialQuest(Npc npc) | ||||
|         { | ||||
|             if (npc.CurrentArea.RegionId != 101 || npc.CurrentArea.RegionId != 103 || npc.CurrentArea.RegionId != 104) | ||||
|                 return null; | ||||
|  | ||||
|             switch (npc.GetActorClassId()) | ||||
|             if (npc.CurrentArea.RegionId == 101 || npc.CurrentArea.RegionId == 103 || npc.CurrentArea.RegionId == 104) | ||||
|             { | ||||
|                 case 1000137: | ||||
|                     return (Quest)Server.GetStaticActors("Trl0l1"); | ||||
|                 case 1000230: | ||||
|                     return (Quest)Server.GetStaticActors("Trl0g1"); | ||||
|                 case 1000841: | ||||
|                     return (Quest)Server.GetStaticActors("Trl0u1"); | ||||
|                 switch (npc.GetActorClassId()) | ||||
|                 { | ||||
|                     case 1000137: | ||||
|                         return (Quest)Server.GetStaticActors("Trl0l1"); | ||||
|                     case 1000230: | ||||
|                         return (Quest)Server.GetStaticActors("Trl0g1"); | ||||
|                     case 1000841: | ||||
|                         return (Quest)Server.GetStaticActors("Trl0u1"); | ||||
|                 } | ||||
|             } | ||||
|             return null; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user