summaryrefslogtreecommitdiff
path: root/world/map/npc/009-3/warp.txt
diff options
context:
space:
mode:
authortux9th <mr.x@aon.at>2012-08-01 21:02:10 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2012-08-22 17:14:58 +0200
commit2939d2ccd8eb0cce532ca52608d0cb9c28b97f9f (patch)
treeaf72721fd1c05c217b73a701d3de45159d97b650 /world/map/npc/009-3/warp.txt
parentf2ceaf953bf8f85319c0789dad186f892b27651a (diff)
downloadserverdata-2939d2ccd8eb0cce532ca52608d0cb9c28b97f9f.tar.gz
serverdata-2939d2ccd8eb0cce532ca52608d0cb9c28b97f9f.tar.bz2
serverdata-2939d2ccd8eb0cce532ca52608d0cb9c28b97f9f.tar.xz
serverdata-2939d2ccd8eb0cce532ca52608d0cb9c28b97f9f.zip
Added PvP-Last Man Standing Event NPCs
Diffstat (limited to 'world/map/npc/009-3/warp.txt')
-rw-r--r--world/map/npc/009-3/warp.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/world/map/npc/009-3/warp.txt b/world/map/npc/009-3/warp.txt
new file mode 100644
index 00000000..7f709abd
--- /dev/null
+++ b/world/map/npc/009-3/warp.txt
@@ -0,0 +1,23 @@
+009-3.gat,162,80,0|script|#PVPCaveBarrier|45,1,1,{
+ mes "Do you want to enter the PVP cave? It costs 150GP.";
+ menu
+ "No.", L_Exit,
+ "Yes.", -;
+ if (Zeny < 150)
+ goto L_NotEnoughMoney;
+ if (Zeny >= 150)
+ goto L_Pay;
+
+L_Exit:
+ close;
+
+L_Pay:
+ set Zeny, Zeny - 150;
+ warp "009-6.gat", 36, 47;
+ close;
+
+L_NotEnoughMoney:
+ mes "You don't have enough money!";
+ close;
+
+}