Jump to content
  • 0

Special Monster Summoner


kitty14

Question


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

Hi i would like to request a script like this

6 Stone NPC

 

1st stone npc:

if you insert an item on this stone ex,  red potion. the stone will be gone/
like Onnpcdisable

 

2nd stone 

: orange potion

 

3rd stone:

green potion

 

4th stone:

white potion

 

5th stone:

yellow potion

 

and soon all stone will be gone a SPECIAL MVP monster will be summon , EX. DARK IFRIT

and if they kill dark ifrit 

all stone will be back or enable again

 

Thank you....

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

Uhmmm Like. if player don't have the item in inventory

so player would know what type on stone spirit they will insert?

event_map,100,100,5	script	Stone 1#501	406,{
	.@item = atoi(strnpcinfo(2));
	switch ( .@item ) {
		case 501:
			.@color$ = "^CC0000";
			.@name$ = "Red Spirit";
			break;
			
		case 502:
			.@color$ = "^3333FF";
			.@name$ = "Blue Spirit";
			break;
			
		case 503:
			.@color$ = "^FFFF00";
			.@name$ = "Yellow Spirit";
			break;
			
		case 504:
			.@color$ = "^009900";
			.@name$ = "Green Spirit";
			break;
			
		case 506:
			.@color$ = "^9900FF";
			.@name$ = "Violet Spirit";
	}
	
	mes "[ "+.@color$+"Ancient Stone of "+.@name$+"^000000 ]";
	mes "Will you insert the "+.@color$+getitemname(.@item)+"^000000 and release the "+.@color$+.@name$+"^000000.";
	next;
	if( select("Insert!:Back down...") ) {
		if( !countitem(.@item) ) {
			mes "You insert a random rock found lying on the ground...";
			sleep2(100);
			mes "...";
			sleep2(100);
			mes "...";
			sleep2(100);
			mes .@color$+"Foolish mortal!!!";
			atcommand "@nuke "+strcharinfo(0)+"";
			close;
		}
		hideonnpc strnpcinfo(0);
		delitem .@item,1;
		.active++;
		if( .active >= .npc ) {
			mapannounce strnpcinfo(4),"Dark Infrit has been summoned",bc_map|bc_blue;
			monster "event_map",50,50,"Dark Infrit",2001,1,strnpcinfo(0)+"::OnMobDeath",2;
		}
		mes "( "+strnpcinfo(1)+" activated! )";
		close;
	}
	mes .@color$+"You're not worthy!!!";
	close;
	
OnMobDeath:
	donpcevent("::OnStonesReactivate");
	end;
	
OnInit: .npc++; end;

OnStonesReactivate:
	hideoffnpc strnpcinfo(0);
	.active = 0;
}

event_map,101,101,5	duplicate(Stone 1#501)	Stone 2#502	406
event_map,102,102,5	duplicate(Stone 1#501)	Stone 3#503	406
event_map,103,103,5	duplicate(Stone 1#501)	Stone 4#504	406
event_map,104,104,5	duplicate(Stone 1#501)	Stone 5#505	406
event_map,105,105,5	duplicate(Stone 1#501)	Stone 6#506	406
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  


event_map,100,100,5 script Stone 1#501 406,{

.@item = atoi(strnpcinfo(2));

if( !countitem(.@item) ) end;

npctalk "GRAAAAHHHH!!!";

hideonnpc strnpcinfo(0);

delitem .@item,1;

.active++;

if( .active >= .npc )

monster "event_map",50,50,"Dark Infrit",2001,1,strnpcinfo(0)+"::OnMobDeath",2;

end;

OnMobDeath:

donpcevent("::OnStonesReactivate");

end;

OnInit: .npc++; end;

OnStonesReactivate:

hideoffnpc strnpcinfo(0);

.active = 0;

}

event_map,101,101,5 duplicate(Stone 1#501) Stone 2#502 406

event_map,102,102,5 duplicate(Stone 1#501) Stone 3#503 406

event_map,103,103,5 duplicate(Stone 1#501) Stone 4#504 406

event_map,104,104,5 duplicate(Stone 1#501) Stone 5#505 406

event_map,105,105,5 duplicate(Stone 1#501) Stone 6#506 406

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

Thanks for a very fast response Skorm. 
 

where can i edit the item for the first stone

cuz its a custom etc item

 

item 19208 should be inserted in NPC stone 1 

item 19209  should be inserted in NPC stone 2

item 19210  should be inserted in NPC stone 3

item 19211  should be inserted in NPC stone 4
item 19212  should be inserted in NPC stone 5

item 19213  should be inserted in NPC stone 6

 

then summon

Edited by kitty14
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

Thanks for a very fast response Skorm. 

 

where can i edit the item for the first stone

cuz its a custom etc item

 

item 19208 should be inserted in NPC stone 1 

item 19209  should be inserted in NPC stone 2

item 19210  should be inserted in NPC stone 3

item 19211  should be inserted in NPC stone 4

item 19212  should be inserted in NPC stone 5

item 19213  should be inserted in NPC stone 6

 

then summon

 

In the name Stone 2#502 number is the itemid.

 

If you switch the first npc's name make sure you also modify the "duplicate(Stone 1#501)" to reflect that change.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

THANKS!

one last thing..
how can i Add 
message on every stone ?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

THANKS!

one last thing..

how can i Add 

message on every stone ?

 

What kind of message like a dialogue box, npc talk, or waiting room?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

Uhmmm Like. if player don't have the item in inventory
so player would know what type on stone spirit they will insert?

EX . 

Stone 1
Ancient Stone of Red Spirit

Insert red stone 
to release the Red Spirit

menu;

insert,-, no;

 

Stone 2
Ancient Stone of Blue Spirit

Insert red stone 
to release the Blue Spirit

menu;

insert,-, no;

 

Stone 3
Ancient Stone of yellow Spirit

Insert red stone 
to release the yellow Spirit

menu;

insert,-, no;

 

Stone 4 

Ancient Stone of Green Spirit

Insert red stone 
to release the Green Spirit

menu;

insert,-, no;

 

Stone 5

Ancient Stone of Violet Spirit

Insert red stone 
to release the Violet Spirit

menu;

insert,-, no;

 

Stone 6

Ancient Stone of Pink Spirit

Insert red stone 
to release the Pink Spirit

menu;

insert,-, no;

then Map announce, Dark Ifrit Has been Summoned

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  103
  • Topics Per Day:  0.03
  • Content Count:  323
  • Reputation:   4
  • Joined:  12/09/13
  • Last Seen:  

Thank you SKORM!!!

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