1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
// TMW2 Script
// Author:
// Jesusalva
// Description:
// Trickmaster of Tricksters Class
003-0,40,30,0 script Trickmaster NPC_BLACKALCHEMIST,{
if (!MAGIC_LVL) goto L_NoMagic;
mesn;
mesc l("You have @@/@@ magic skill points available", sk_points(), sk_maxpoints());
mesc l("If the \"Learn\" button doesn't works, it means you cannot learn/upgrade the skill in question (or it is a bug).");
do {
next;
setskin "academy_trickster";
menuint
"freecast", SA_FREECAST,
"backslide", TF_BACKSLIDING,
"firewall", MG_FIREWALL,
"fullthrottle", ALL_FULL_THROTTLE,
"darkillusion", GC_DARKILLUSION,
"trickdead", NV_TRICKDEAD,
"firewalk", SO_FIREWALK,
"Cancel", 0;
mes "";
setskin "";
switch (@menuret) {
case SA_FREECAST:
if (!mlearn(SA_FREECAST, 1, 1, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case TF_BACKSLIDING:
if (!mlearn(TF_BACKSLIDING, 1, 1, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case MG_FIREWALL:
if (!mlearn(MG_FIREWALL, 10, 1, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case ALL_FULL_THROTTLE:
if (!mlearn(ALL_FULL_THROTTLE, 1, 1, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case GC_DARKILLUSION:
if (!mlearn(GC_DARKILLUSION, 1, 2, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case NV_TRICKDEAD:
if (!mlearn(NV_TRICKDEAD, 1, 2, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
case SO_FIREWALK:
if (!mlearn(SO_FIREWALK, 2, 2, Lockpicks, 1))
mesc l("You do not meet all requisites for this skill."), 1;
break;
default:
if (@menuret)
Exception("ERROR skill not implemented", RB_DEFAULT|RB_SPEECH);
else
closeclientdialog;
break;
}
} while (@menuret);
close;
L_NoMagic:
next;
mesn;
mesq l("Your lack of magical power is critical. I dare say, you might never in your life get access to a Mana Stone.");
next;
mesn;
mesq l("Besides the Magic Council, Andrei Sakar have his own Mana Stone, but I doubt he would train the likes of you, or share his Mana Stone.");
next;
mesn;
mesq l("Perhaps, in the city, someone knows rumors about Mana Stones and can teach you. Other than that, you're on your own.");
close;
OnInit:
.sex = G_FEMALE;
.distance = 5;
end;
}
|