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
|
// Author:
// Saulc
003-1,114,106,0 script Malivox NPC_PLAYER,{
speech S_LAST_NEXT,
l("I am Malivox, an alchemist specialized in reset potions.");
L_Menu:
if (BaseLevel < 10)
.@plush_count = (BaseLevel*5)+5;
else
.@plush_count = BaseLevel*190-(9*190);
// Lv 9: 50 GP | Lv 10: 190 GP
// Lv 90: 1.710 GP
if (BaseLevel > 10)
.@plush_count = .@plush_count/(BaseLevel/10);
select
l("Can you reset my stats please?"),
lg("You are weird, I have to go sorry.");
switch (@menu)
{
case 1:
goto L_ResetStats;
case 2:
goto L_Quit;
}
L_ResetStats:
mesn;
mesq l("Status point reset can't be undone. Do you really want this?");
L_ConfirmReset:
ConfirmStatusReset();
goto L_Quit;
L_Quit:
goodbye;
end;
OnInit:
.@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, FancyHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt);
setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants);
setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots
setunitdata(.@npcId, UDT_HAIRSTYLE, 7);
setunitdata(.@npcId, UDT_HAIRCOLOR, 17);
.sex = G_MALE;
.distance = 3;
end;
}
|