Jump to content
  • 0
cmsm94

Kill 100 Andre and Spawn 1 poring(Max 5 porings) script

Question

Hi Guys,

Here is one of the closet topic i can find but it seem it's not working. 

 

Does anyone knows how to do something like this?

To spawn a poring inside anthell01, player requires to kill 100 Andre only. However the maximum, of spawn of the poring is 5 only(to prevent abusing). Does anyone knows how to do that?

 

Thank you Script leaders

Edited by cmsm94
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Replace original anthell spawn script with this.

anthell01,0,0	monster	Andre	1095,15,5000,0,"sample::OnKill"

and load this npc script

-	script	sample	-1,{
	OnKill:
		.mob_count++;
		if (.mob_count && .mob_count % 100 == 0) {
			.mob_count = 0;
			getmapxy([email protected]$, [email protected], [email protected], BL_PC);
			if (mobcount([email protected]$, strnpcinfo(3)+"::OnMobKill") < 5) {
				monster [email protected]$, [email protected] + rand(-3,3), [email protected] + rand(-3,3), "--ja--", 1002, 1, strnpcinfo(3)+"::OnMobKill";
			}
		}
		end;
	
	OnMobKill: 
		end;
}

 

Edited by Emistry
Link to comment
Share on other sites

  • 0
On 4/3/2021 at 4:56 AM, cmsm94 said:

Hi Guys,

Here is one of the closet topic i can find but it seem it's not working. 

 

Does anyone knows how to do something like this?

To spawn a poring inside anthell01, player requires to kill 100 Andre only. However the maximum, of spawn of the poring is 5 only(to prevent abusing). Does anyone knows how to do that?

 

Thank you Script leaders

Try this

 

Quote

//===== rAthena Script =======================================
//= Champion Monster Spawn Script
//===== By: ==================================================
//= nanakiwurtz
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena Project
//===== Additional Comments: =================================
//= 1.0 First version
//= 1.1 Correct Spawn by Navigation's mob data. [attackjom]
//============================================================
pay_dun00,0,0    monster    Furious Zombie    1480,2,1
//                       Name Monster   ID,quantity of monsters that must die for it to appear,amount of this monster 

 

Link to comment
Share on other sites

  • 0

This is what I made since I ask this script, just play with it though sometimes it bugs out after the summon since I did make it more complicated by starting an invasion after the boss is summoned, by the way I as far as I remember when the requirements is met a portal will be summon in prontera that will lead players to the boss room..

worldboss.txt

Link to comment
Share on other sites

  • 0

Hi Sashimi and thunginamue,

Thanks for answering guys! ❤️

Just to clarify I 'ved tested one script from here champion mob.

However, from the number below. It spawn 1 Mastering only in the map, however it doesn't required to kill 999 mob from the map, do you know know why? 😞

Quote

pay_dun00,0,0    monster    Mastering 1090,1,999
//                       Name Monster   ID,quantity of monsters that must die for it to appear,amount of this monster 

 

Thank you

 

Link to comment
Share on other sites

  • 0
On 4/6/2021 at 10:25 AM, cmsm94 said:

Hi Sashimi and thunginamue,

Thanks for answering guys! ❤️

Just to clarify I 'ved tested one script from here champion mob.

However, from the number below. It spawn 1 Mastering only in the map, however it doesn't required to kill 999 mob from the map, do you know know why? 😞

 

Thank you

 

pay_dun00,0,0    monster    Mastering 1090,999,1 // the last number corresponds to the number of monsters to spawn

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.