summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2013-06-21 11:28:26 -0500
committerJessica Tölke <jtoelke@mail.upb.de>2013-06-21 22:38:39 +0200
commitf4aad0b8a088ffbd648bb1fcace56d2f8dc96909 (patch)
tree93878be55cc1bf45fa3cee8a9dbb54c359ef68b5 /world/map/npc/002-2
parent1f5fe84a1b593574bdf37d812e343bf9690f24e9 (diff)
downloadserverdata-f4aad0b8a088ffbd648bb1fcace56d2f8dc96909.tar.gz
serverdata-f4aad0b8a088ffbd648bb1fcace56d2f8dc96909.tar.bz2
serverdata-f4aad0b8a088ffbd648bb1fcace56d2f8dc96909.tar.xz
serverdata-f4aad0b8a088ffbd648bb1fcace56d2f8dc96909.zip
New server content to support new caves
Added mobs:Angry Fire Goblin, Angry Sea Slime, Angry Green Slime. Moved NPCs in sandstorm around. Malvox got a house and lives in it now on 002-2 The mines go a layer deeper so the merchant was moved into the camp along with nathan. Naem and Sema moved down with respective maps. Sandstorm_mine_barrier is not mining_camp_barrier
Diffstat (limited to 'world/map/npc/002-2')
-rw-r--r--world/map/npc/002-2/rogue.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/world/map/npc/002-2/rogue.txt b/world/map/npc/002-2/rogue.txt
new file mode 100644
index 00000000..f8245da5
--- /dev/null
+++ b/world/map/npc/002-2/rogue.txt
@@ -0,0 +1,53 @@
+//
+
+002-2.gat,25,28,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!\"";
+ 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;
+}