Jump to content
  • 0
kugelfang

NPC mobs respawn

Question

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
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

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.