Jump to content
  • 0

NPC mobs respawn


kugelfang

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  11/20/20
  • Last Seen:  

hello ,

 

request if can someone send me a script for NPC who can respawn mobs like 1 treasure chest with a specif location + GM level 99 can only access

 

example :

 

 

prontera,168,191,3    script    Treasure Summoner    4_F_JOB_BLACKSMITH,{

monster "prontera", 166, 192, "treasure", 1354, 1, strnpcinfo(0) + "::OnMobKilled";
monster "prontera", 166, 191, "treasure", 1354, 1, strnpcinfo(0) + "::OnMobKilled";
end;


OnMobKilled:
getitem 501, 0; // nothing
end;
}

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  11/20/20
  • Last Seen:  

5 hours ago, kugelfang said:

hello ,

 

request if can someone send me a script for NPC who can respawn mobs like 1 treasure chest with a specif location + GM level 99 can only access

 

example :

 

 

prontera,168,191,3    script    Treasure Summoner    4_F_JOB_BLACKSMITH,{

monster "prontera", 166, 192, "treasure", 1354, 1, strnpcinfo(0) + "::OnMobKilled";
monster "prontera", 166, 191, "treasure", 1354, 1, strnpcinfo(0) + "::OnMobKilled";
end;


OnMobKilled:
getitem 501, 0; // nothing
end;
}

 

problem solved

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

should share your solution if its already solved.

prontera,168,191,3	script	Treasure Summoner	4_F_JOB_BLACKSMITH,{
	if (getgmlevel() >= 99) {
		mes "Monster spawned.";
		npctalk "Monster spawned!";
		monster "prontera", 166, 192, "treasure", 1354, 1, strnpcinfo(0) + "::OnMobKilled";
		close;
	}
	end;

OnMobKilled:
	getitem 501, 1; // rewards
	end;
}

 

Edited by Emistry
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...