Jump to content
  • 0

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


Question

Posted (edited)

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

6 answers to this question

Recommended Posts

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

 

  • 0
Posted

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

  • 0
Posted

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

 

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

  • 0
Posted (edited)

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(.@map$, .@x, .@y, BL_PC);
			if (mobcount(.@map$, strnpcinfo(3)+"::OnMobKill") < 5) {
				monster .@map$, .@x + rand(-3,3), .@y + rand(-3,3), "--ja--", 1002, 1, strnpcinfo(3)+"::OnMobKill";
			}
		}
		end;
	
	OnMobKill: 
		end;
}

 

Edited by Emistry
  • 0
Posted (edited)

if kill 100 poring to spawn 1 mastering. the script like this :

-	script	sample	-1,{
	OnPoringKilled:
			$PoringKilled++;
		if ($PoringKilled >= 100) {
			$PoringKilled = 0;
			getmapxy(.@map$, .@x, .@y, BL_PC);
			if (mobcount("izlude", strnpcinfo(3)+"::OnMobKill") <= 0) {
			announce "mastering has spawm on izlude",3;
			monster "izlude",0,0,"Mastering",1090,1, strnpcinfo(3)+"::OnMobKill";
			}
		}
	end;
	
	OnMobKill: 
		end;
}

how about kill 100 poring and 100 drops to spawn 1 Mastering?

Edited by Slammer

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