summaryrefslogblamecommitdiff
path: root/npc/jobs/2-1-1/Sniper.txt
blob: 32468bfae3757550ac9417217f158851feb4d21d (plain) (tree)































































                                                                                     
//Sniper Made by Evera/Lorri
valkyrie.gat,44,55,6	script	Sniper	727,{
	if ((readparam(11) >= 99) && (Class == 11) && (JobLevel >= 50)) goto Lnovice;
	if ((Class == 4001) && (readparam(55) >= 10)) goto Lharcher;
	if ((Class == 4001) && (readparam(55) < 10)) goto LCem;
	if ((Class == 4004) && (readparam(55) >= 40)) goto Lhsni;
	if ((Class == 4004) && (readparam(55) < 40)) goto LCem;
	if (Class == 4012) goto Lcrazy;
	mes "[Sniper]";
	mes "Who are you?";
	mes "Only the archer class can become a Sniper...";
	mes "Meet all the requirements first.";
	close;
Lnovice:
	mes "[Sniper]";
	mes "Now, here's the deal. I change you into a High Novice.";
	mes "You come back to become a Sniper, then become a sniper.";
	mes "You wanna do it?";
	menu "Yes",Lnovice2,"No",Lcancel;
Lnovice2:
	if (readparam(12) != 0) goto Lskpt;
	mes "By the tip of my arrow.. The distance it moves...";
	next;
	jobchange 24;// Job: Job_Novice_High
	resetlvl(1);
	close;
Lharcher:
	mes "[Sniper]";
	mes "Wanna become a High Arhcer?";
	menu "Yes",Lhtheif2,"No",Lcancel;
Lhtheif2:
	if (readparam(12) != 0) goto Lskpt;
	mes "[Sniper]";
	mes "By the tip of my arrow.. The distance it moves...";
	next;
	jobchange 27;// Job: Job_Archer_High
	close;
Lhsni:
	mes "[Sniper]";
	mes "Ready to become a sniper, like me??";
	menu "Yes",Lhsni2,"No",Lcancel;
Lhsni2:
	if (readparam(12) != 0) goto Lskpt;
	mes "[Sniper]";
	mes "By the tip of my arrow.. The distance it moves...";
	jobchange 35;// Job: Job_Sniper
	close;
Lcrazy:
	mes "[Sniper]";
	mes "You're already a Sniper!";
	mes "How are you doing?";
	close;
Lskpt:
	mes "[Sniper]";
	mes "Please finish up your skillpoints first";
	close;
LCem:
	mes "[Sniper]";
	mes "Please train your arrows to move faster.";
	close;	
Lcancel:
	mes "Bye";
	close;
}