summaryrefslogtreecommitdiff
path: root/npc/sample/npc_test_arena.txt
diff options
context:
space:
mode:
authorValaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-29 16:10:48 +0000
committerValaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-29 16:10:48 +0000
commit620e60eebce2c1f35c5c9a82f6ca365b316587f5 (patch)
tree38a39e0415f419d9a49ae456ed0e26654c23d559 /npc/sample/npc_test_arena.txt
parenta2675f07d7da22a7c6ae11f545bf8f671e785a82 (diff)
downloadhercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.tar.gz
hercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.tar.bz2
hercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.tar.xz
hercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.zip
AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/sample/npc_test_arena.txt')
-rw-r--r--npc/sample/npc_test_arena.txt104
1 files changed, 104 insertions, 0 deletions
diff --git a/npc/sample/npc_test_arena.txt b/npc/sample/npc_test_arena.txt
new file mode 100644
index 000000000..52766e750
--- /dev/null
+++ b/npc/sample/npc_test_arena.txt
@@ -0,0 +1,104 @@
+// ------------------------------------------------------------------
+// アリ−ナの設定
+// ------------------------------------------------------------------
+
+// 次のマップを使います
+//map: prontera.gat
+//map: prt_are_in.gat
+//map: force_1-1.gat
+
+// テレポなどの禁止処理
+prt_are_in.gat mapflag nomemo dummy
+prt_are_in.gat mapflag noteleport dummy
+prt_are_in.gat mapflag nosave prontera.gat,156,191
+force_1-1.gat mapflag nomemo dummy
+force_1-1.gat mapflag noteleport dummy
+force_1-1.gat mapflag nosave prontera.gat,156,191
+
+// プロンテラに入り口を置く
+prontera.gat,160,185,0 script アリーナ入り口 116,{
+ mes "アリーナ入り口に飛びますか?";
+ next;
+ menu "飛ぶ",L_GOARENA,"やめる",L_YAME;
+L_GOARENA:
+ warp "prt_are_in.gat",31,82;
+ close;
+L_YAME:
+ close;
+}
+
+// 待機室から準備室への転送
+prt_are_in.gat,29,79,0 script タイムアタック1 116,{
+ if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
+ mes "ここはタイムアタックLv1です";
+ mes "挑戦しますか?";
+ menu "はい",L_GOLV1,"やめる",L_YAME;
+L_GOLV1:
+ if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
+ disablenpc "fc103-1";
+ disablenpc "fc105";
+ disablenpc "fc107";
+ addtimer 5000,"arenatestev0000";
+ warp "force_1-1.gat",99,12;
+ end;
+L_WAIT:
+ mes "現在挑戦中の方がいますので、";
+ mes "しばらくお待ちください。";
+L_YAME:
+ close;
+}
+
+// 準備室(10秒準備期間)
+force_1-1.gat,99,12,0 script arenatestev0000 -1,{
+ announce "10秒後に開始します",3;
+ addtimer 10000,"arenatestev0001";
+}
+
+// 実際の部屋への転送とMOBの設定
+force_1-1.gat,99,12,0 script arenatestev0001 -1,{
+ killmonster "force_1-1.gat","arenatestev1000";
+ monster "force_1-1.gat",25,25,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1.gat",20,25,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1.gat",25,20,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1.gat",30,25,"--ja--",1002,1,"arenatestev1000";
+ monster "force_1-1.gat",25,30,"--ja--",1002,1,"arenatestev1000";
+ set $arenatest00,5;
+ disablenpc "fc101";
+ disablenpc "fc103";
+ warp "force_1-1.gat",25,26;
+ enablenpc "fc103-1";
+ enablenpc "fc105";
+ enablenpc "fc107";
+ announce "30秒以内に殲滅せよ",19;
+ addtimer 30000,"arenatestev8000";
+}
+
+// 倒した処理
+force_1-1.gat,25,26,0 script arenatestev1000 -1,{
+ set $arenatest00, $arenatest00 - 1;
+ if( $arenatest00 > 0 ) goto L_CONT;
+ deltimer "arenatestev8000";
+ announce "クラッシュ!!",3;
+ enablenpc "fc101";
+ enablenpc "fc103";
+ areaannounce "prt_are_in.gat",25,75,40,90,
+ strcharinfo(0) + " がタイムアタックLv1をクリアしました",0;
+ addtimer 5000,"arenatestev9000";
+L_CONT:
+ end;
+}
+
+// タイムアウト
+force_1-1.gat,25,26,0 script arenatestev8000 -1,{
+ set $arenatest00,99;
+ killmonster "force_1-1.gat","arenatestev1000";
+ announce "タイムオーバー!!",3;
+ areaannounce "prt_are_in.gat",25,75,40,90,
+ strcharinfo(0) + " がタイムアタックLv1に失敗しました",0;
+ addtimer 5000,"arenatestev9000";
+}
+
+// プロンテラに帰る
+force_1-1.gat,25,26,0 script arenatestev9000 -1,{
+ warp "prontera.gat",156,191;
+}