summaryrefslogtreecommitdiff
path: root/npc/002-1/rogue.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/002-1/rogue.txt')
-rw-r--r--npc/002-1/rogue.txt50
1 files changed, 50 insertions, 0 deletions
diff --git a/npc/002-1/rogue.txt b/npc/002-1/rogue.txt
new file mode 100644
index 00000000..e5afe354
--- /dev/null
+++ b/npc/002-1/rogue.txt
@@ -0,0 +1,50 @@
+//
+
+002-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;
+
+ mes "[Rogue Mage]";
+ mes "\"There you are.";
+ mes "";
+ mes "Good as new!\"";
+ close;
+
+L_Pass:
+ mes "[Rogue Mage]";
+ mes "\"Very well then, see you.\"";
+ close;
+
+L_NoMoney:
+ mes "[Rogue Mage]";
+ mes "\"Oh dear, the price cannot be bargained.";
+ mes "";
+ mes "Perhaps you can borrow from a friend?\"";
+ close;
+}