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

Revision 1, 2.5 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,53,42,3        script  Champion#Valkyrie       52,{
19        if (ADVJOB == 0 || Upper != 1) {
20                set .@karma_d,rand(1,10);
21                if (.@karma_d > 4) {
22                        mes "[Champion]";
23                        mes "Congratulations.";
24                        mes "Honor to the warriors!";
25                        close;
26                }
27                mes "[Champion]";
28                mes "Skill.";
29                mes "Speed.";
30                mes "Strength.";
31                mes "Agility.";
32                next;
33                mes "[Champion]";
34                mes "A Champion can";
35                mes "benefit from all";
36                mes "these things. But";
37                mes "one can only master";
38                mes "so much in life...";
39                close;
40        }
41        else if (ADVJOB == Job_Champion && Class == Job_Acolyte_High && JobLevel > 39) {
42                mes "[Champion]";
43                mes "It's time.";
44                mes "Time for great heroes";
45                mes "to stand up against the";
46                mes "forces of evil which plague";
47                mes "the world of Rune-Midgard!";
48                next;
49                mes "[Champion]";
50                mes "Would you like";
51                mes "to become a Champion?";
52                next;
53                if (select("No.:Yes.") == 1) {
54                        mes "[Champion]";
55                        mes "When you're ready,";
56                        mes "feel free to come back.";
57                        mes "Honor to the warriors!";
58                        close;
59                }
60                if (SkillPoint) {
61                        mes "[Champion]";
62                        mes "It is still possible for you to learn more skills. Please use";
63                        mes "all of your remaining Skill Points before returning to me.";
64                        close;
65                }
66                jobchange Job_Champion;
67                set ADVJOB,0;
68                mes "[Champion]";
69                mes "Congratulations!";
70                mes "Live as a Champion,";
71                mes "and bring light into";
72                mes "the world through the";
73                mes "strength of your fists.";
74                close;
75        }
76        mes "[Champion]";
77        mes "Welcome";
78        mes "to Valhalla,";
79        mes "the Hall of Honor.";
80        next;
81        mes "[Champion]";
82        mes "Please make";
83        mes "yourself comfortable";
84        mes "while you are here.";
85        mes "Honor to the warriors!";
86        close;
87}
Note: See TracBrowser for help on using the browser.