Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

One quest + multple quest IDs + multiple NPC (pick&turnin)

Featured Replies

This question connected mostly to Kayn and Altrius for Demon hunters.

Quest description have all quest ids, example:

39261 //http://www.wowhead.com/quest=39261/call-of-the-illidari
39047 //http://www.wowhead.com/quest=39047/call-of-the-illidari

in NPC list i have both npcs. Kayn first in list, and have Turn In ids: 39261

Altrius second in list and have Turn In ids: 39047

When i choosed Kayn quest turnin successfully.

But when i choose Altrius, its dont.

I suppose Quester search first npc in list who have in Turn In any of QuestId related to that quest. But i need to get First NPC with exact turn-in id equal to current active quest ID, not WHOLE list of QuestId

 

any tips? what i can do ?

@Droidz

 

 

  • Author

maded dirty hook

 

	public static bool ClearKaynIfAltriusChoosed()
	{
		if (ChoosedKayn)
			return false;

		var kayn = new List<int>(){
			//DH class hall
			99247,
			95240,
			//DH vengeance artifact

			//DH havoc artifact

			//DH azsuna
		};
		foreach (var npc in Quest.NPCList)
		{
			if (kayn.Contains(npc.Id))
			{
				Log(" (Hook) Clear NPC='" + npc.Name + "' PickUp and TurnIn quests, because player choosed Altrius.");
				npc.PickUpQuests.Clear();
				npc.TurnInQuests.Clear();
			}
		}
		return true;
	}

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.