summaryrefslogtreecommitdiff
path: root/world/map/npc/068-1/stat_reset.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-16 13:09:51 -0500
committerwushin <pasekei@gmail.com>2014-04-16 13:09:51 -0500
commite04e9eb0065caa6adf12ef36efbd3c5a3c5c3652 (patch)
treec57506b8665c9acc305bc6c85064bb4a7ab1fbc5 /world/map/npc/068-1/stat_reset.txt
parent566297bd2b1467cf23e88bb2c0ad210b7d5a2ffa (diff)
parentc84e27e10b0f6ed56ae0ee1b0ec4fe7e9d0fd507 (diff)
downloadserverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.tar.gz
serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.tar.bz2
serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.tar.xz
serverdata-e04e9eb0065caa6adf12ef36efbd3c5a3c5c3652.zip
Merge pull request #79 from wushin/Tile-Fixes-Map-Travelv2014.4.16
Tile map fixes sprite travel
Diffstat (limited to 'world/map/npc/068-1/stat_reset.txt')
-rw-r--r--world/map/npc/068-1/stat_reset.txt55
1 files changed, 55 insertions, 0 deletions
diff --git a/world/map/npc/068-1/stat_reset.txt b/world/map/npc/068-1/stat_reset.txt
new file mode 100644
index 00000000..fe54f379
--- /dev/null
+++ b/world/map/npc/068-1/stat_reset.txt
@@ -0,0 +1,55 @@
+//
+
+068-1.gat,79,94,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",L_Next,
+ "Forget about it",L_Pass;
+
+L_Next:
+ if (Zeny<@cost) goto L_NoMoney;
+ goto L_Reset;
+
+// 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!\"";
+ goto L_Close;
+
+L_Pass:
+ mes "[Rogue Mage]";
+ mes "\"Very well then, see you.\"";
+ goto L_Close;
+
+L_NoMoney:
+ mes "[Rogue Mage]";
+ mes "\"Oh dear, the price cannot be bargained.";
+ mes "";
+ mes "Perhaps you can borrow from a friend?\"";
+ goto L_Close;
+
+L_Close:
+ set @cost, 0;
+ close;
+}