root/npc/jobs/2-1a/Sniper.txt @ 1

Revision 1, 2.4 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena 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//= eAthena 1.0 +
10//===== Description: =========================================
11//= Advance Class jobchanger after kRO Normals.
12//===== Additional Comments: =================================
13//= v1.1 Made all into functions, additional checks, etc. [Lupus]
14//= v1.2 Made numbers into constants. [Vicious]
15//= 1.3 Now saves/restores all the quest skills [Lupus]
16//============================================================
17
18valkyrie,44,55,5        script  Sniper#Valkyrie 727,{
19        if (ADVJOB == 0 || Upper != 1) {
20                set .@karma_d,rand(1,10);
21                if (.@karma_d > 4) {
22                        mes "[Sniper]";
23                        mes "Congratulations.";
24                        mes "Honor to the warriors!";
25                        close;
26                }
27                mes "[Sniper]";
28                mes "One shot.";
29                mes "One kill.";
30                mes "It's not so hard";
31                mes "once you develop the";
32                mes "vision for that style";
33                mes "of battling.";
34                close;
35        }
36        else if (ADVJOB == Job_Sniper && Class == Job_Archer_High && JobLevel > 39) {
37                mes "[Sniper]";
38                mes "The world is in";
39                mes "need of mighty Bowmen";
40                mes "like you. Are you ready for";
41                mes "the awesome responsibility?";
42                next;
43                mes "[Sniper]";
44                mes "Are you willing to";
45                mes "take the next step and";
46                mes "become a Sniper?";
47                next;
48                if (select("No.:Yes.") == 1) {
49                        mes "[Sniper]";
50                        mes "When you're ready,";
51                        mes "feel free to come back.";
52                        mes "Honor to the warriors!";
53                        close;
54                }
55                if (SkillPoint) {
56                        mes "[Sniper]";
57                        mes "It is still possible for you to learn more skills. Please use";
58                        mes "all of your remaining Skill Points before returning to me.";
59                        close;
60                }
61                jobchange Job_Sniper;
62                set ADVJOB,0;
63                mes "[Sniper]";
64                mes "Congratulations!";
65                mes "As a Sniper, I hope";
66                mes "that the minions of evil";
67                mes "will never be safe so";
68                mes "long as they are in";
69                mes "your sight!";
70                close;
71        }
72        mes "[Sniper]";
73        mes "Welcome";
74        mes "to Valhalla,";
75        mes "the Hall of Honor.";
76        next;
77        mes "[Sniper]";
78        mes "Please make";
79        mes "yourself comfortable";
80        mes "while you are here.";
81        mes "Honor to the warriors!";
82        close;
83}
Note: See TracBrowser for help on using the browser.