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

Revision 1, 2.6 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,50,5        script  MasterSmith#Valkyrie    731,{
19        if (ADVJOB == 0 || Upper != 1) {
20                set .@karma_d,rand(1,10);
21                if (.@karma_d > 4) {
22                        mes "[MasterSmith]";
23                        mes "Congratulations.";
24                        mes "Honor to the warriors!";
25                        close;
26                }
27                mes "[MasterSmith]";
28                mes "Ah...";
29                mes "The pinnacle";
30                mes "of craftsmanship.";
31                mes "That's the work of";
32                mes "a MasterSmith.";
33                next;
34                mes "[MasterSmith]";
35                mes "Once you're the";
36                mes "the best of the best,";
37                mes "you begin forging with";
38                mes "the goal of discovering";
39                mes "new and better ways of";
40                mes "crafting...";
41                close;
42        }
43        else if (ADVJOB == Job_WhiteSmith && Class == Job_Merchant_High && JobLevel > 39) {
44                mes "[MasterSmith]";
45                mes "The time has come!";
46                mes "Our world needs brave,";
47                mes "hard-working adventurers";
48                mes "like you...";
49                next;
50                mes "[MasterSmith]";
51                mes "Would you like to";
52                mes "become a MasterSmith?";
53                next;
54                if (select("No.:Yes.") == 1) {
55                        mes "[MasterSmith]";
56                        mes "When you're ready,";
57                        mes "feel free to come back.";
58                        mes "Honor to the warriors!";
59                        close;
60                }
61                if (SkillPoint) {
62                        mes "[MasterSmith]";
63                        mes "It is still possible for you to learn more skills. Please use";
64                        mes "all of your remaining Skill Points before returning to me.";
65                        close;
66                }
67                jobchange Job_Whitesmith;
68                set ADVJOB,0;
69                mes "[MasterSmith]";
70                mes "Congratulations!";
71                mes "As a MasterSmith,";
72                mes "I hope you will forge";
73                mes "a path towards a brighter";
74                mes "future for Rune-Midgard.";
75                close;
76        }
77        mes "[MasterSmith]";
78        mes "Welcome";
79        mes "to Valhalla,";
80        mes "the Hall of Honor.";
81        next;
82        mes "[MasterSmith]";
83        mes "Please make";
84        mes "yourself comfortable";
85        mes "while you are here.";
86        mes "Honor to the warriors!";
87        close;
88}
Note: See TracBrowser for help on using the browser.