//Break the Seal Quest by Albert //Made Oct 06,2010 //Edited July 18 with Percentage - Tested and working //Edited and Finalized on December 15 for bRO //Edited for Christmas Event 2014 //Edited by Hrist, Nero, Feen, Phyress amatsu,97,121,4 script Mrs Claus 714,{ if ( countitem(7557) < 1 ){ mes "[Mrs Claus]"; mes " Oh dear! "+strcharinfo(0)+", you startled me little one! Uhm... What brings you here?"; next; mes "["+strcharinfo(0)+"]"; mes "I want more cookies and milk!"; next; close; } //You can put "//" if you don't want announce. mes "["+strcharinfo(0)+"]"; mes "I bring delightful news to you! But it is in a form of a letter."; next; mes "[Mrs Claus]"; mes "Splendid! Let me have that letter please."; next; mes "[Mrs Claus]"; mes "Oh dear~ Oh dear~ Oh heavens! This is indeed a delightful news! It's a Christmas Miracle!"; next; //7211 is Item ID and 20 is amount delitem 7557,1; mes "[Mrs Claus]"; mes "Your hardwork will not be in vain! Here's my present for you. Thankyou so much!"; // This is the reward system.. set .@Random,rand(1,100); //3% if( .@Random == 1 ) setarray .@ItemID,17511; //10% else if( .@Random < 10 ) setarray .@ItemID,17511; //20% else if( .@Random < 30 ) setarray .@ItemID,17521; //30% else if( .@Random < 60 ) setarray .@ItemID,17508; //40% else if( .@Random <= 100 ) setarray .@ItemID,17508; //90% - disabled :( //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; if( .@ItemID[.@Random]) announce "Congratulations to "+strcharinfo(0)+" who received " + getitemname(.@ItemID[.@Random]) + " after helping in saving Christmas!",0; close; }