OSDN Git Service

First version
[st-ro/stro.git] / npc / jobs / 2-2a / Stalker.txt
1 //===== rAthena Script ======================================= 
2 //= Advance Class jobchanger after kRO Normals.
3 //===== By: ==================================================
4 //= Nana
5 //= finished, optimized and tested by Lupus
6 //===== Current Version: ===================================== 
7 //= 1.3
8 //===== Compatible With: ===================================== 
9 //= rAthena Project
10 //===== Description: ========================================= 
11 //= Advance Class jobchanger after kRO Normals.
12 //===== Additional Comments: ================================= 
13 //= 1.1 Made all into functions, additional checks, etc. [Lupus]
14 //= 1.2 Made numbers into constants. [Vicious]
15 //= 1.3 Now saves/restores all the quest skills [Lupus]
16 //============================================================ 
17
18 valkyrie,53,58,3        script  Stalker#Valkyrie        747,{
19         if (ADVJOB == 0 || Upper != 1) {
20                 set .@karma_d,rand(1,10);
21                 if (.@karma_d > 4) {
22                         mes "[Stalker]";
23                         mes "Congratulations.";
24                         mes "Honor to the warriors!";
25                         close;
26                 }
27                 mes "[Stalker]";
28                 mes "Heh...";
29                 mes "It's tough";
30                 mes "being a hero";
31                 mes "and being shady,";
32                 mes "untrustworthy,";
33                 mes "sneaky...";
34                 next;
35                 mes "[Stalker]";
36                 mes "But when the";
37                 mes "going gets rough";
38                 mes "my pals know they";
39                 mes "can count on me.";
40                 mes "I need them and";
41                 mes "they need me.";
42                 close;
43         }
44         else if (ADVJOB == Job_Stalker && Class == Job_Thief_High && JobLevel > 39) {
45                 mes "[Stalker]";
46                 mes "This world needs";
47                 mes "more heroes who are";
48                 mes "willing to walk the line";
49                 mes "between order and lawlessness.";
50                 next;
51                 mes "[Stalker]";
52                 mes "Are you ready";
53                 mes "to join the ranks";
54                 mes "of the sneakiest of";
55                 mes "warriors? Are you ready";
56                 mes "to become a Stalker?";
57                 next;
58                 if (select("No.:Yes.") == 1) {
59                         mes "[Stalker]";
60                         mes "When you're ready,";
61                         mes "feel free to come back.";
62                         mes "Honor to the warriors!";
63                         close;
64                 }
65                 if (SkillPoint) {
66                         mes "[Stalker]";
67                         mes "It is still possible for you to learn more skills. Please use";
68                         mes "all of your remaining Skill Points before returning to me.";
69                         close;
70                 }
71                 jobchange Job_Stalker;
72                 set ADVJOB,0;
73                 mes "[Stalker]";
74                 mes "Congratulations!";
75                 mes "As a Stalker, I hope";
76                 mes "you stab the right people";
77                 mes "in the back. Banish the";
78                 mes "wicked using their own";
79                 mes "dastardly methods!";
80                 close;
81         }
82         mes "[Stalker]";
83         mes "Welcome";
84         mes "to Valhalla,";
85         mes "the Hall of Honor.";
86         next;
87         mes "[Stalker]";
88         mes "Please make";
89         mes "yourself comfortable";
90         mes "while you are here.";
91         mes "Honor to the warriors!";
92         close;
93 }