summaryrefslogtreecommitdiff
path: root/npc/new_1-1-western-desert/rogue.txt
blob: 87ec45faa8b6143aae1416f1287f3f62087d426e (plain) (blame)
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
new_1-1.gat,22,21,0	script	Malivox	103,{

//	if (ResetA_charstate == 1) goto L_Multiple;

//	set @cost, 10000000 / ($ResetA_uses + 1);

	set @cost, baselevel * 100;

	mes "[Rogue Mage]";
	mes "\"I have come across a spell that will";
	mes "reset your status points.";
	mes "Normally this spell is expensive, but";
        mes "due to an unusual constellation of the";
        mes "stars I can cast it very cheaply!";
        mes "For you it will cost only "+@cost+" gp.\"";
	next;

	menu "Reset my stats",-,"Forget about it",L_Pass;

	if (zeny<@cost) goto L_NoMoney;

//	set $ResetA_uses, $ResetA_uses + 1;
//	set ResetA_charstate, 1;

L_Reset:

	set zeny, zeny-@cost;

	resetstatus;

	// even though statusup2 takes a number, it does not
	// decrease chars statspoint, hence the repeating.

	statusup bStr;
	statusup bStr;
	statusup bStr;
	statusup bStr;

	statusup bvit;
	statusup bvit;
	statusup bvit;
	statusup bvit;

	statusup bInt;
	statusup bInt;
	statusup bInt;
	statusup bInt;

	statusup bAgi;
	statusup bAgi;
	statusup bAgi;
	statusup bAgi;

	statusup bDex;
	statusup bDex;
	statusup bDex;
	statusup bDex;

	statusup bLuk;
	statusup bLuk;
	statusup bLuk;
	statusup bLuk;

	mes "[Rogue Mage]";
	mes "\"There you are.";
	mes "";
	mes "Good as new!\"";
	next;
	close;

L_Pass:
	mes "[Rogue Mage]";
	mes "\"Very well then, see you.\"";
	next;
	close;

L_NoMoney:
	mes "[Rogue Mage]";
	mes "\"Oh dear, the price cannot be bargained.";
	mes "";
	mes "Perhaps you can borrow from a friend?\"";
	next;
	close;
}