Jump to content

Question

Posted

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

 

2 answers to this question

Recommended Posts

  • 0
Posted
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

  • 0
Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...