Jump to content
  • 0
Sign in to follow this  
Radian

Fused Cards

Question

Hello Everyone, I would like to request a script that works like this

  • [*]Combine Cards. [*]Has a chance of success. [*]Multiple Requirements.

something like this (thanks in advance)

[ Fused Card ]-- Fused Phreeoni Card -- -- Requirements --1x Red Potion1x Blue Potion1x Yellow Potion1x White Potion -- New Effect --HIT +150Add a 5% chance of auto casting Stone Curse status when hit by enemy. -- Success Rate --90% Fail and 10% success.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

It's not possible unless the new card item is added on the item DB. In case it is, the code should be like this (change YOUR_CARD_ID to your actual card ID or you'll experience an error ingame:

 

prontera,150,150,4	script	Fused Cards seller	60,{	mes "Wanna get a fused card?";	mes "For that, I need:";	mes "1x Red Potion";    // Item ID: 501	mes "1x Blue Potion";   // Item ID: 505	mes "1x Yellow Potion"; // Item ID: 503	mes "1x White Potion";  // Item ID: 504	next;	if (select("Yes:No")==2){ // No		mes "Get out of here!";		close;	}	if (countitem(501) && countitem(503) && countitem(504) && countitem(505)){		delitem 501,1;		delitem 503,1;		delitem 504,1;		delitem 505,1;		getitem YOUR_CARD_ID,1;		mes "There you go!";	}	else {		mes "You're missing items!";	}	close;}

Share this post


Link to post
Share on other sites
  • 0

 

It's not possible unless the new card item is added on the item DB. In case it is, the code should be like this (change YOUR_CARD_ID to your actual card ID or you'll experience an error ingame:

 

prontera,150,150,4	script	Fused Cards seller	60,{	mes "Wanna get a fused card?";	mes "For that, I need:";	mes "1x Red Potion";    // Item ID: 501	mes "1x Blue Potion";   // Item ID: 505	mes "1x Yellow Potion"; // Item ID: 503	mes "1x White Potion";  // Item ID: 504	next;	if (select("Yes:No")==2){ // No		mes "Get out of here!";		close;	}	if (countitem(501) && countitem(503) && countitem(504) && countitem(505)){		delitem 501,1;		delitem 503,1;		delitem 504,1;		delitem 505,1;		getitem YOUR_CARD_ID,1;		mes "There you go!";	}	else {		mes "You're missing items!";	}	close;}

 

Yes I am planning to create na new id for the fused card. thanks for the help  :D

Share this post


Link to post
Share on other sites
  • 0

It's not possible unless the new card item is added on the item DB. In case it is, the code should be like this (change YOUR_CARD_ID to your actual card ID or you'll experience an error ingame:

 

prontera,150,150,4	script	Fused Cards seller	60,{	mes "Wanna get a fused card?";	mes "For that, I need:";	mes "1x Red Potion";    // Item ID: 501	mes "1x Blue Potion";   // Item ID: 505	mes "1x Yellow Potion"; // Item ID: 503	mes "1x White Potion";  // Item ID: 504	next;	if (select("Yes:No")==2){ // No		mes "Get out of here!";		close;	}	if (countitem(501) && countitem(503) && countitem(504) && countitem(505)){		delitem 501,1;		delitem 503,1;		delitem 504,1;		delitem 505,1;		getitem YOUR_CARD_ID,1;		mes "There you go!";	}	else {		mes "You're missing items!";	}	close;}

 

Hi Sir jaBote,

 

just a follow up question.. how about the CODE of his below, how to do it?

 

-- Success Rate --

90% Fail and 10% success.

Edited by Alphoccio

Share this post


Link to post
Share on other sites
  • 0

Didn't test but should work:

 

prontera,150,150,4	script	Fused Cards seller	60,{	mes "Wanna get a fused card?";	mes "For that, I need:";	mes "1x Red Potion";    // Item ID: 501	mes "1x Blue Potion";   // Item ID: 505	mes "1x Yellow Potion"; // Item ID: 503	mes "1x White Potion";  // Item ID: 504	next;	if (select("Yes:No")==2){ // No		mes "Get out of here!";		close;	}	if (countitem(501) && countitem(503) && countitem(504) && countitem(505)){		delitem 501,1;		delitem 503,1;		delitem 504,1;		delitem 505,1;		if (rand(100) >= 90) {			getitem YOUR_CARD_ID,1;			mes "Success! There you go!";		}		else {			mes "LOL FAIL!";		}	}	else {		mes "You're missing items!";	}	close;}

 


 

Share this post


Link to post
Share on other sites
  • 0

Didn't test but should work:

 

prontera,150,150,4	script	Fused Cards seller	60,{	mes "Wanna get a fused card?";	mes "For that, I need:";	mes "1x Red Potion";    // Item ID: 501	mes "1x Blue Potion";   // Item ID: 505	mes "1x Yellow Potion"; // Item ID: 503	mes "1x White Potion";  // Item ID: 504	next;	if (select("Yes:No")==2){ // No		mes "Get out of here!";		close;	}	if (countitem(501) && countitem(503) && countitem(504) && countitem(505)){		delitem 501,1;		delitem 503,1;		delitem 504,1;		delitem 505,1;		if (rand(100) >= 90) {			getitem YOUR_CARD_ID,1;			mes "Success! There you go!";		}		else {			mes "LOL FAIL!";		}	}	else {		mes "You're missing items!";	}	close;}

 

 

 

 

Greetings Sir jaBote,

 

I just wanna say Thank you for your reply.. very kind of yours.. tested and it work.  :)

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.