Fused Cards

Radian

New member
Messages
70
Points
0
Location
North Pacific
Github
RadianFord
Emulator
rAthena
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)

Code:
[ 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.
 
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:

Code:
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;}
 
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 
default_biggrin.png


 
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.

 
Last edited by a moderator:
Didn't test but should work:

Code:
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;}
 
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. 
default_smile.png


 
Back
Top