mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Finished Treasures of the Main and Legends Adrift. Fixed quests appearing in private areas (echos). Fixed other bugs. Implemented NPC Linkshells. Added more options to nudge command. Added nudgenpc command. Added testbnpckill command.
This commit is contained in:
		| @@ -151,9 +151,12 @@ namespace Meteor.Map.Actors.QuestNS | ||||
|             return ActiveQuests.Find(quest => quest.GetQuestId() == id); | ||||
|         } | ||||
|  | ||||
|         public Quest[] GetQuestsForNpc(Npc npc) | ||||
|         public Quest[] GetQuestsForNpc(Npc npc, bool isPrivateArea) | ||||
|         { | ||||
|             return ActiveQuests.FindAll(quest => quest.IsQuestENPC(player, npc)).ToArray(); | ||||
|             if (isPrivateArea) | ||||
|                 return ActiveQuests.FindAll(quest => quest.IsQuestENPC(player, npc) && quest.GetSequence() != Quest.SEQ_NOT_STARTED).ToArray(); | ||||
|             else | ||||
|                 return ActiveQuests.FindAll(quest => quest.IsQuestENPC(player, npc)).ToArray(); | ||||
|         } | ||||
|  | ||||
|         public byte[] GetCompletionSliceBytes(ushort from, ushort to) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user