summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2-1/Paladin.txt
blob: 6694c973ad2cc92f9b2fa4ab788128d5bda3d806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Advance Class jobchanger after kRO Normals.
// Checks if the player have any questskills, cart\falcon, level and such.
// Made by Nana.

// -== Paladin ==-
valkyrie.gat,53,39,4	script	Paladin	752,{
	if(getskilllv(144) > 0) set @qsk,1;
	if(getskilllv(145) > 0) set @qsk1,1;
	if(getskilllv(146) > 0) set @qsk2,1;
	if(checkcart(0) > 0) goto L_Cart;
	if(readparam(12) > 0) goto Skill_Points;
	if(readparam(19) >= 4008) goto L_Advance;
	if((readparam(19) == 4001) && (readparam(55) >= 10)) goto L_HNov;
	if((readparam(19) == 4002) && (readparam(55) >= 45)) goto L_HSWM;
	if(readparam(19) < 7) goto L_Class;
	if(readparam(19) == 4001) goto L_Class1;
	if(readparam(19) == 4002) goto L_Class;
	if((readparam(11) >= 99) && (readparam(55) >= 50) && (readparam(19) >= 7)) goto L_Change;
	if((readparam(11) < 99) && (readparam(55) < 50)) goto L_Levels;
	mes "[Paladin]";
	mes "Hi there...";
	close;

L_Change:
	mes "[Paladin]";
	mes "Hello there "+strcharinfo(0)+"!";
	mes "You've made a brave choice in coming here to be reborn and stepping forth into the ranks of Paladin,";
	mes "I wish you good fortune in the near future!";
	jobchange 24;
	resetlvl(1);
	close;

L_Cart:
	mes "[Paladin]";
	mes "Please un-equip that cart before continuing.";
	close;

L_Class1:
	mes "[Paladin]";
	mes "You're not ready to become an High Swordsman yet.";
	close;

L_Class:
	mes "[Paladin]";
	mes "You've come far to get here. unfortunately, you're not ready to become an Paladin yet.";
	close;

L_Levels:
	mes "[Paladin]";
	mes "You're doing great! keep up the good work. You'll eventually get to the point where you can be an Paladin";
	close;

L_HNov:
	mes "[Paladin]";
	mes "Tread lightly ahead as you're about to enter the distinguished world of Ragnarok.";
	mes "Must great fortune follow you!";
	jobchange 25;
	next;
	mes "[Paladin]";
	mes "Let me just add in the missing Quest Skills you lost under the Reborn process if you had any, "+strcharinfo(0)+".";
	next;
	if(@qsk > 0) goto qsk;
	if(@qsk1 > 0) goto qsk1;
	if(@qsk2 > 0) goto qsk2;
	if(@qsk3 > 0) goto qsk3;
	next;
qsk:
	skill 144,1,0;
	set @qsk,0;
	if(@qsk1 > 0) goto qsk1;
	if(@qsk2 > 0) goto qsk2;
	goto L_HNov_2;
qsk1:
	skill 145,1,0;
	set @qsk1,0;
	if(@qsk > 0) goto qsk;
	if(@qsk2 > 0) goto qsk2;
	goto L_HNov_2;
qsk2:
	skill 146,1,0;
	set @qsk2,0;
	if(@qsk > 0) goto qsk;
	if(@qsk1 > 0) goto qsk1;
	goto L_HNov_2;

L_HNov_2:
	mes "[Paladin]";
	mes "Now when the formalities are fixed, I congratulate you on your Advancement to High Swordsman";
	close;
L_HSWM:
	mes "[Paladin]";
	mes "Congratulations!";
	mes "You're not finally after alot of hard work, able to enter the halls of Valkyrie as an Paladin!";
	jobchange 38;
	close;

Skill_Points:
	mes "[Paladin]";
	mes "Please use all of your skillpoints before proceeding.";
	close;

L_Advance:
	mes "[Paladin]";
	mes "Hey there! You are already an Reborn. You cannot reach any higher";
	mes "*whistles*";
	close;
}