summaryrefslogtreecommitdiff
path: root/doc/sample/npc_test_arena.txt
diff options
context:
space:
mode:
authorthatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-29 16:20:40 +0000
committerthatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-29 16:20:40 +0000
commit5855956aa1e10b8c3213e479c975493b2e96aeeb (patch)
tree8fe716fa546d8f3488e28bb2df3b1f5d16b15312 /doc/sample/npc_test_arena.txt
parent9b02e0156ddee963d690b21fb98549cea0a0ccda (diff)
downloadhercules-5855956aa1e10b8c3213e479c975493b2e96aeeb.tar.gz
hercules-5855956aa1e10b8c3213e479c975493b2e96aeeb.tar.bz2
hercules-5855956aa1e10b8c3213e479c975493b2e96aeeb.tar.xz
hercules-5855956aa1e10b8c3213e479c975493b2e96aeeb.zip
* Removed Non-English sample files from doc/sample/ (bugreport:6750)
- sample/npc_test_ev.txt was originally used to demonstrate nifty event related commands. - sample/npc_test_arena.txt is rather defunct as there are fully working scripts within npc/ that demonstrate the same functionality. - sample/npc_test_str.txt explains how StRing != striNG. This is documented in doc/script_commands.txt * Slight update to CMakeLists.txt for README.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16982 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/sample/npc_test_arena.txt')
-rw-r--r--doc/sample/npc_test_arena.txt104
1 files changed, 0 insertions, 104 deletions
diff --git a/doc/sample/npc_test_arena.txt b/doc/sample/npc_test_arena.txt
deleted file mode 100644
index 2ba093d03..000000000
--- a/doc/sample/npc_test_arena.txt
+++ /dev/null
@@ -1,104 +0,0 @@
-// ------------------------------------------------------------------
-// アリ−ナの設定
-// ------------------------------------------------------------------
-
-// 次のマップを使います
-//map: prontera
-//map: prt_are_in
-//map: force_1-1
-
-// テレポなどの禁止処理
-prt_are_in mapflag nomemo dummy
-prt_are_in mapflag noteleport dummy
-prt_are_in mapflag nosave prontera,156,191
-force_1-1 mapflag nomemo dummy
-force_1-1 mapflag noteleport dummy
-force_1-1 mapflag nosave prontera,156,191
-
-// プロンテラに入り口を置く
-prontera,160,185,0 script アリーナ入り口 116,{
- mes "アリーナ入り口に飛びますか?";
- next;
- menu "飛ぶ",L_GOARENA,"やめる",L_YAME;
-L_GOARENA:
- warp "prt_are_in",31,82;
- close;
-L_YAME:
- close;
-}
-
-// 待機室から準備室への転送
-prt_are_in,29,79,0 script タイムアタック1 116,{
- if( getmapusers("force_1-1")>0 ) goto L_WAIT;
- mes "ここはタイムアタックLv1です";
- mes "挑戦しますか?";
- menu "はい",L_GOLV1,"やめる",L_YAME;
-L_GOLV1:
- if( getmapusers("force_1-1")>0 ) goto L_WAIT;
- disablenpc "fc103-1";
- disablenpc "fc105";
- disablenpc "fc107";
- addtimer 5000,"arenatestev0000";
- warp "force_1-1",99,12;
- end;
-L_WAIT:
- mes "現在挑戦中の方がいますので、";
- mes "しばらくお待ちください。";
-L_YAME:
- close;
-}
-
-// 準備室(10秒準備期間)
-force_1-1,99,12,0 script arenatestev0000 -1,{
- announce "10秒後に開始します",3;
- addtimer 10000,"arenatestev0001";
-}
-
-// 実際の部屋への転送とMOBの設定
-force_1-1,99,12,0 script arenatestev0001 -1,{
- killmonster "force_1-1","arenatestev1000";
- monster "force_1-1",25,25,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1",20,25,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1",25,20,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1",30,25,"--ja--",1002,1,"arenatestev1000";
- monster "force_1-1",25,30,"--ja--",1002,1,"arenatestev1000";
- set $arenatest00,5;
- disablenpc "fc101";
- disablenpc "fc103";
- warp "force_1-1",25,26;
- enablenpc "fc103-1";
- enablenpc "fc105";
- enablenpc "fc107";
- announce "30秒以内に殲滅せよ",19;
- addtimer 30000,"arenatestev8000";
-}
-
-// 倒した処理
-force_1-1,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",25,75,40,90,
- strcharinfo(0) + " がタイムアタックLv1をクリアしました",0;
- addtimer 5000,"arenatestev9000";
-L_CONT:
- end;
-}
-
-// タイムアウト
-force_1-1,25,26,0 script arenatestev8000 -1,{
- set $arenatest00,99;
- killmonster "force_1-1","arenatestev1000";
- announce "タイムオーバー!!",3;
- areaannounce "prt_are_in",25,75,40,90,
- strcharinfo(0) + " がタイムアタックLv1に失敗しました",0;
- addtimer 5000,"arenatestev9000";
-}
-
-// プロンテラに帰る
-force_1-1,25,26,0 script arenatestev9000 -1,{
- warp "prontera",156,191;
-} \ No newline at end of file