Jump to content
  • 0

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


cmsm94

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

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

6 answers to this question

Recommended Posts

  • 0

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

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  03/12/21
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   3
  • Joined:  12/18/18
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  03/12/21
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  218
  • Reputation:   152
  • Joined:  11/28/11
  • Last Seen:  

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