xmas,218,227,3 script Break the Seal 710,{
//The 7211 is the item ID for the item needed and 10 is the amount.. just repeat...
if ( countitem(909) < 1 ){
mes "I will ask you to get items for me in exchange for an item.";
mes "The reward system is random, you will get items in random.";
mes "The Reward system has percentage of success and I will tell you the percentage of each items.";
next;
mes "[Reward System]";
mes "5% - Vendor's Ring[2], Elite Clip[2], and Falcon Clip.";
mes "10% - Romantic Leaf";
mes "20% - Gold";
mes "50% - Chewing bubble gum and Dark Randgris Helm";
mes "80% - Jellopy, Jellopy, and Jellopy";
next;
//Edit the message if you want..
mes "You must bring me the following items.";
mes "20pcs. Fragment of Rossata Stone.";
mes "30pcs. Mother's Nightmare.";
mes "20pcs. Young Twig.";
mes "30pcs. Pyroxene.";
mes "30pcs. Agate.";
mes "30pcs. Rose Quartz.";
mes "30pcs. Muscovite.";
mes "30pcs. Biotite.";
mes "30pcs. Phlogopite.";
mes "20pcs. Matchstick.";
mes "30pcs. Peridot.";
mes "300pcs. Cursed Seal.";
mes "200pcs. Ancient Lips.";
mes "300pcs. Hand Of God.";
mes "30pcs. Mithril Coin.";
close;
}
//7211 is Item ID and 20 is amount
delitem 909,1;
//You can put "//" if you don't want announce.
announce "Woah! "+strcharinfo(0)+" just broke the seal of Valkyrie! Wish him/her luck!",0;
mes "So you have all the items...and in exchange I will give you a nice item.";
// This is the reward system..
set .@Random,rand( 100 );
//5%
if( .@Random < 5 ) setarray .@ItemID,5374,5013,5072;
//20%
else if( .@Random < 20 ) setarray .@ItemID,969;
//10%
else if( .@Random < 10 ) setarray .@ItemID,2270;
//50%
else if( .@Random < 50 ) setarray .@ItemID,5597,5373;
//100%
else if( .@Random < 100 ) setarray .@ItemID,909;
//90% - wala pa e :(
//else if( .@Random < 90 ) setarray .@ItemID,5528,7086,7090;
else end;
set .@Random,rand( getarraysize(.@ItemID) );
if( getarraysize(.@ItemID) )
//getitem v change the 1 to how many items you want to get...
getitem .@ItemID[.@Random],1;
close;
}