//===== eAthena Script ======================================= 
//= Knight Skills Quests
//===== By: ================================================== 
//= Lupus, Reddozen
//===== Current Version: ===================================== 
//= 1.3a
//===== Compatible With: ===================================== 
//= eAthena Revision 3800+
//===== Description: ========================================= 
//= Temp quests for new skills for 2nd classes
//===== Additional Comments: ================================= 
//= 1.0 for fully working skills only [Lupus]
//= 1.1 Added more new skill quests for more classes [Lupus]
//= Somehow eA engine doesn't let you keep learn't skill V_V'
//= 1.2 Added to correct locations, correct NPC's, fixed
//= some of the items required and made them into real
//= quests. [Reddozen] 
//= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
//= 1.3a fixed an item ID typo, thx 2Spiritual Kid
//= 1.3b Splitted into different files [DracoRPG]
//============================================================


//============================================================
// ʿ - 湥
//============================================================
prt_in.gat,85,99,3	script	ʿԱ#kns	734,{
	mes "[]";
	if(BaseJob!=Job_Knight) goto L_noknight;
	if(getskilllv(1001)) goto L_alreadyhave;

	mes "㶫ҽ¼:";
	mes "5 ";
	mes "3 õ";
	next;
	
	mes "[]";
	mes "ĶŶ~.";
	next;
	
	if(countitem(530)<5 || countitem(748)<3)goto L_noitems;//Items: Candy_Cane, Witherless_Rose,
	delitem 530, 5;//Items: Candy_Cane,
	delitem 748, 3;//Items: Witherless_Rose,
	
	mes "[]";
	mes "㹻Ķ";
	mes "Ҳʼµļ~.";
	skill 1001,1,0;
	close;

L_noitems:
	mes "[]";
	mes "㻹û.";
	mes "ռҰ";
	close;
		
L_noknight:
	mes "ʦ?";
	emotion e_gasp;
	close;

L_alreadyhave:
	mes "Ѿ̹~";
	close;
}
