Jump to content
  • 0

Instance NPC


Abeiy

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   7
  • Joined:  08/15/18
  • Last Seen:  

I need to have 2 instances in 1 npc that lets you choose between normal and hard mode if someone gives a tip please

 

?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   35
  • Joined:  07/04/19
  • Last Seen:  

 

what do you mean by having a normal and a hard mode instance? are we talking about 2 different instances with different monsters/story/etc..?

if that's the case then it's fairly simple,  you want you can look at Old Glast Heim's entrance npc for example: 
 

.@mode = select("Normal Mode:Hard Mode");
	if(.@mode == 1) {
		// enter intsance #1
		
	} else if(.@mode == 2) { // Hard Mode
		//enter instance #2
	}

but if you have only 1 instance and want to make a hard mode from that instance well then it depends.

if we're talking about a single instance you can just store the difficulty in an instance variable and edit the monster spawns and summon a harder version of the monsters in hard mode, for example:

if('OGH_Mode < 2) // Normal Mode
		monster 'map_name$[1],158,255,"Amdarais",2476,1,instance_npcname("#ghmemorialmob07") + "::OnMyMobDead";// MG_AMDARAIS
	else if('OGH_Mode == 2) // Hard Mode
		monster 'map_name$[1],158,255,"Amdarais",3150,1,instance_npcname("#ghmemorialmob07") + "::OnMyMobDead";// MG_AMDARAIS

but yeah it really depends on what the difference between normal and hard mode is.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   7
  • Joined:  08/15/18
  • Last Seen:  

thx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...