summaryrefslogtreecommitdiff
path: root/npc/sample/npc_test_arena.txt
blob: 52766e75030d5f7c833750cd47f53c032d6eddd6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// ------------------------------------------------------------------
// 			�A���|�i�̐ݒ�
// ------------------------------------------------------------------

// ���̃}�b�v���g���܂�
//map: prontera.gat
//map: prt_are_in.gat
//map: force_1-1.gat

// �e���|�Ȃǂ̋֎~����
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

// �v�����e���ɓ������u��
prontera.gat,160,185,0	script	�A���[�i�����	116,{
	mes "�A���[�i������ɔ�т܂����H";
	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	�^�C���A�^�b�N�P	116,{
	if( getmapusers("force_1-1.gat")>0 ) goto L_WAIT;
	mes "�����̓^�C���A�^�b�NLv1�ł�";
	mes "���킵�܂����H";
	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 "���ݒ��풆�̕������܂��̂ŁA";
	mes "���΂炭���҂����������B";
L_YAME:
	close;
}

// �������i�P�O�b�������ԁj
force_1-1.gat,99,12,0	script	arenatestev0000	-1,{
	announce "�P�O�b��ɊJ�n���܂�",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�b�ȓ��ɟr�ł���",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 "�N���b�V��!!",3;
	enablenpc "fc101";
	enablenpc "fc103";
	areaannounce "prt_are_in.gat",25,75,40,90,
		strcharinfo(0) + " ���^�C���A�^�b�NLv1���N���A���܂���",0;
	addtimer 5000,"arenatestev9000";
L_CONT:
	end;
}

// �^�C���A�E�g
force_1-1.gat,25,26,0	script	arenatestev8000	-1,{
	set $arenatest00,99;
	killmonster "force_1-1.gat","arenatestev1000";
	announce "�^�C���I�[�o�[!!",3;
	areaannounce "prt_are_in.gat",25,75,40,90,
		strcharinfo(0) + " ���^�C���A�^�b�NLv1�Ɏ��s���܂���",0;
	addtimer 5000,"arenatestev9000";
}

// �v�����e���ɋA��
force_1-1.gat,25,26,0	script	arenatestev9000	-1,{
	warp "prontera.gat",156,191;
}