root/npc/jobs/2-2a/Clown.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//= 1.3a Corrected a Little Typo error. [Samuray22]
17//      -Thanks to Myllena.
18//============================================================
19
20valkyrie,53,54,3        script  Minstrel#Valkyrie       741,{
21        if (ADVJOB == 0 || Upper != 1) {
22                set .@karma_d,rand(1,10);
23                if (.@karma_d > 4) {
24                        mes "[Minstrel]";
25                        mes "Congratulations.";
26                        mes "Honor to the warriors!";
27                        close;
28                }
29                mes "[Minstrel]";
30                mes "Do you want to";
31                mes "sing a song with me?";
32                mes "Sha la la la la~";
33                close;
34        }
35        else if (ADVJOB == Job_Clown && Class == Job_Archer_High && JobLevel > 39) {
36                mes "[Minstrel]";
37                mes "The dreary world";
38                mes "of mortals is in need";
39                mes "of more cheerful song.";
40                mes "Will you bring it to them";
41                mes "and turn the tide in the";
42                mes "battle against evil?";
43                next;
44                mes "[Minstrel]";
45                mes "Will you do this";
46                mes "for Rune-Midgard...";
47                mes "As a Minstrel?";
48                next;
49                if (select("No.:Yes.") == 1) {
50                        mes "[Minstrel]";
51                        mes "When you're ready,";
52                        mes "feel free to come back.";
53                        mes "Honor to the warriors!";
54                        close;
55                }
56                if (SkillPoint) {
57                        mes "[Minstrel]";
58                        mes "It is still possible for you to learn more skills. Please use";
59                        mes "all of your remaining Skill Points before returning to me.";
60                        close;
61                }
62                jobchange Job_Clown;
63                set ADVJOB,0;
64                mes "[Minstrel]";
65                mes "Congratulations!";
66                mes "As a Minstrel, your";
67                mes "your songs will bring";
68                mes "hope to your allies, and";
69                mes "desperation to your foes.";
70                close;
71        }
72        mes "[Minstrel]";
73        mes "Welcome";
74        mes "to Valhalla,";
75        mes "the Hall of Honor.";
76        next;
77        mes "[Minstrel]";
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.