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
|
// The Mana World script
// Author: Jesusalva <jesusalva@themanaworld.org>
//
// Magic Script: SKILL_ABIZIT (Level 1)
// School: General 1
// ShowAbizit({dialog=true})
function script ShowAbizit {
.@dial=getarg(0, true);
if (.@dial)
mesn l("Current Magic Control");
switch (abizit()) {
case 10:
mescordialog l("Magic flows naturally from you, readily and with ease. You feel in perfect control of your magic."), 3, .@dial;
break;
case 9:
mescordialog l("You feel in almost perfect control of your magic."), 2, .@dial;
break;
case 8:
mescordialog l("You feel that you have very good control of your magic."), 2, .@dial;
break;
case 7:
mescordialog l("You feel quite in control of your magic."), 4, .@dial;
break;
case 6:
mescordialog l("You feel mostly in control of your magic."), 4, .@dial;
break;
case 5:
mescordialog l("You feel somewhat in control of your magic."), 7, .@dial;
break;
case 4:
mescordialog l("You feel you still have a few difficulties in controlling your magic."), 7, .@dial;
break;
case 3:
mescordialog l("Trying to control your magic is still rather troublesome."), 6, .@dial;
break;
case 2:
mescordialog l("You feel that you have only the bare minimum of control over your magic."), 6, .@dial;
break;
case 1:
mescordialog l("You feel quite overwhelmed by your magic, but are beginning to see patterns."), 1, .@dial;
break;
case 0:
mescordialog l("You feel completely overwhelmed by your magic."), 1, .@dial;
break;
}
return;
}
function script SK_Abizit {
ShowAbizit(false);
return;
}
|