mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Added functionality to handle NPC LSes in quests. Linked the rest of the sequences up for Man0l1.
This commit is contained in:
		| @@ -1845,16 +1845,20 @@ namespace Meteor.Map.Actors | ||||
|             return quests; | ||||
|         } | ||||
|  | ||||
|         public void HandleNpcLS(uint id) | ||||
|         public bool HandleNpcLs(uint id) | ||||
|         { | ||||
|             foreach (Quest quest in questScenario) | ||||
|             { | ||||
|                 if (quest != null) | ||||
|                     quest.OnNpcLS(this, id); | ||||
|                 if (quest != null && quest.HasNpcLsMsgs(id)) | ||||
|                 { | ||||
|                     quest.OnNpcLS(this); | ||||
|                     return true; | ||||
|                 } | ||||
|             } | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         public void SetNpcLS(uint npcLSId, uint state) | ||||
|         public void SetNpcLs(uint npcLSId, uint state) | ||||
|         {             | ||||
|             bool isCalling, isExtra; | ||||
|             isCalling = isExtra = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user