⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pvproom.txt

📁 JA++的最新...很多ROSF都用这个 ] 是个不错的东西-3-
💻 TXT
字号:
//==============================================
// PVP场地
// 代码重写 & 修正 by FPE (2006.7.16)
// Jathena++ 论坛:http://www.foxofice.net/bbs
//----------------------------------------------

function	script	MFJA_pvp_fun03	{
	if(BaseLevel<getarg(0) || BaseLevel>getarg(1))
	{
		mes "[PVP 打斗场接待员]";
		mes "对不起。";
		mes "此打斗场";
		mes "只有等级在" + getarg(0) + "-" + getarg(1) + "之间的玩家";
		mes "才能入场。";
		close;
		end;
	}

	switch(select("普隆德拉 [" + getmapusers(getarg(2)) + " / 128]",
				  "依斯鲁得 [" + getmapusers(getarg(3)) + " / 128]",
				  "裴扬 [" + getmapusers(getarg(4)) + " / 128]",
				  "艾尔贝塔 [" + getmapusers(getarg(5)) + " / 128]",
				  "梦罗克 [" + getmapusers(getarg(6)) + " / 128]",
				  "取消"))
	{
	case 1:
		if(getmapusers(getarg(2))>=128) break;
		warp getarg(2),0,0;
		end;
		break;
	case 2:
		if(getmapusers(getarg(3))>=128) break;
		warp getarg(3),0,0;
		end;
		break;
	case 3:
		if(getmapusers(getarg(4))>=128) break;
		warp getarg(4),0,0;
		end;
		break;
	case 4:
		if(getmapusers(getarg(5))>=128) break;
		warp getarg(5),0,0;
		end;
		break;
	case 5:
		if(getmapusers(getarg(6))>=128) break;
		warp getarg(6),0,0;
		end;
		break;
	case 6:
		close;
		end;
		break;
	}
	mes "[PVP 打斗场接待员]";
	mes "对不起,满员了。";
	close;
	end;
}

pvp_y_room.gat,30,85,4	script	打斗场接待员::pvpy1r	780,{
	callfunc "MFJA_pvp_fun03",31,40,"pvp_y_1-1.gat","pvp_y_1-2.gat","pvp_y_1-3.gat","pvp_y_1-4.gat","pvp_y_1-5.gat";
OnInit:
	waitingroom "LV 31 ~ LV 40",0;
	end;
}

pvp_y_room.gat,38,85,4	script	打斗场接待员::pvpy2r	780,{
	callfunc "MFJA_pvp_fun03",41,50,"pvp_y_2-1.gat","pvp_y_2-2.gat","pvp_y_2-3.gat","pvp_y_2-4.gat","pvp_y_2-5.gat";
OnInit:
	waitingroom "LV 40 ~ LV 50",0;
	end;
}

pvp_y_room.gat,46,85,4	script	打斗场接待员::pvpy3r	780,{
	callfunc "MFJA_pvp_fun03",51,60,"pvp_y_3-1.gat","pvp_y_3-2.gat","pvp_y_3-3.gat","pvp_y_3-4.gat","pvp_y_3-5.gat";
OnInit:
	waitingroom "LV 51 ~ LV 60",0;
	end;
}
pvp_y_room.gat,54,85,4	script	打斗场接待员::pvpy4r	780,{
	callfunc "MFJA_pvp_fun03",61,70,"pvp_y_4-1.gat","pvp_y_4-2.gat","pvp_y_4-3.gat","pvp_y_4-4.gat","pvp_y_4-5.gat";
OnInit:
	waitingroom "LV 61 ~ LV 70",0;
	end;
}
pvp_y_room.gat,62,85,4	script	打斗场接待员::pvpy5r	780,{
	callfunc "MFJA_pvp_fun03",71,80,"pvp_y_5-1.gat","pvp_y_5-2.gat","pvp_y_5-3.gat","pvp_y_5-4.gat","pvp_y_5-5.gat";
OnInit:
	waitingroom "LV 71 ~ LV 80",0;
	end;
}

pvp_y_room.gat,70,85,4	script	打斗场接待员::pvpy6r	780,{
	callfunc "MFJA_pvp_fun03",81,90,"pvp_y_6-1.gat","pvp_y_6-2.gat","pvp_y_6-3.gat","pvp_y_6-4.gat","pvp_y_6-5.gat";
OnInit:
	waitingroom "LV 81 ~ LV 90",0;
	end;
}

pvp_y_room.gat,78,85,4	script	打斗场接待员::pvpy7r	780,{
	callfunc "MFJA_pvp_fun03",91,255,"pvp_y_7-1.gat","pvp_y_7-2.gat","pvp_y_7-3.gat","pvp_y_7-4.gat","pvp_y_7-5.gat";
OnInit:
	waitingroom "LV 91 ~",0;
	end;
}

pvp_y_room.gat,86,85,4	script	打斗场接待员::pvpy8r	780,{
	callfunc "MFJA_pvp_fun03",1,255,"pvp_y_8-1.gat","pvp_y_8-2.gat","pvp_y_8-3.gat","pvp_y_8-4.gat","pvp_y_8-5.gat";
OnInit:
	waitingroom "无限制",0;
	end;
}

//---------------------------------------------------------------------------------------

function	script	MFJA_pvp_fun04	{
	if(BaseLevel<getarg(0) || BaseLevel>getarg(1))
	{
		mes "[PVP 打斗场接待员]";
		mes "对不起。";
		mes "此打斗场";
		mes "只有等级在" + getarg(0) + "-" + getarg(1) + "之间的玩家";
		mes "才能入场。";
		close;
		end;
	}

	switch(select("三明治 房间 [" + getmapusers(getarg(2)) + " / 64]",
				  "雷达锁定 房间 [" + getmapusers(getarg(3)) + " / 32]",
				  "四通道 房间 [" + getmapusers(getarg(4)) + " / 32]",
				  "反十字 房间 [" + getmapusers(getarg(5)) + " / 32]",
				  "罗盘 房间 [" + getmapusers(getarg(6)) + " / 32]",
				  "取消"))
	{
	case 1:
		if(getmapusers(getarg(2))>=64) break;
		warp getarg(2),0,0;
		end;
		break;
	case 2:
		if(getmapusers(getarg(3))>=32) break;
		warp getarg(3),0,0;
		end;
		break;
	case 3:
		if(getmapusers(getarg(4))>=32) break;
		warp getarg(4),0,0;
		end;
		break;
	case 4:
		if(getmapusers(getarg(5))>=32) break;
		warp getarg(5),0,0;
		end;
		break;
	case 5:
		if(getmapusers(getarg(6))>=32) break;
		warp getarg(6),0,0;
		end;
		break;
	case 6:
		close;
		end;
		break;
	}
	mes "[PVP 打斗场接待员]";
	mes "对不起,满员了。";
	close;
	end;
}

pvp_n_room.gat,30,85,4	script	打斗场接待员::pvpn1r	780,{
	callfunc "MFJA_pvp_fun04",31,40,"pvp_n_1-1.gat","pvp_n_1-2.gat","pvp_n_1-3.gat","pvp_n_1-4.gat","pvp_n_1-5.gat";
OnInit:
	waitingroom "LV 31 ~ LV 40",0;
	end;
}

pvp_n_room.gat,38,85,4	script	打斗场接待员::pvpn2r	780,{
	callfunc "MFJA_pvp_fun04",41,50,"pvp_n_2-1.gat","pvp_n_2-2.gat","pvp_n_2-3.gat","pvp_n_2-4.gat","pvp_n_2-5.gat";
OnInit:
	waitingroom "LV 41 ~ LV 50",0;
	end;
}

pvp_n_room.gat,46,85,4	script	打斗场接待员::pvpn3r	780,{
	callfunc "MFJA_pvp_fun04",51,60,"pvp_n_3-1.gat","pvp_n_3-2.gat","pvp_n_3-3.gat","pvp_n_3-4.gat","pvp_n_3-5.gat";
OnInit:
	waitingroom "LV 51 ~ LV 60",0;
	end;
}

pvp_n_room.gat,54,85,4	script	打斗场接待员::pvpn4r	780,{
	callfunc "MFJA_pvp_fun04",61,70,"pvp_n_4-1.gat","pvp_n_4-2.gat","pvp_n_4-3.gat","pvp_n_4-4.gat","pvp_n_4-5.gat";
OnInit:
	waitingroom "LV 61 ~ LV 70",0;
	end;
}

pvp_n_room.gat,62,85,4	script	打斗场接待员::pvpn5r	780,{
	callfunc "MFJA_pvp_fun04",71,80,"pvp_n_5-1.gat","pvp_n_5-2.gat","pvp_n_5-3.gat","pvp_n_5-4.gat","pvp_n_5-5.gat";
OnInit:
	waitingroom "LV 71 ~ LV 80",0;
	end;
}

pvp_n_room.gat,70,85,4	script	打斗场接待员::pvpn6r	780,{
	callfunc "MFJA_pvp_fun04",81,90,"pvp_n_6-1.gat","pvp_n_6-2.gat","pvp_n_6-3.gat","pvp_n_6-4.gat","pvp_n_6-5.gat";
OnInit:
	waitingroom "LV 81 ~ LV 90",0;
	end;
}

pvp_n_room.gat,78,85,4	script	打斗场接待员::pvpn7r	780,{
	callfunc "MFJA_pvp_fun04",91,255,"pvp_n_7-1.gat","pvp_n_7-2.gat","pvp_n_7-3.gat","pvp_n_7-4.gat","pvp_n_7-5.gat";
OnInit:
	waitingroom "LV 91 ~",0;
	end;
}

pvp_n_room.gat,86,85,4	script	打斗场接待员::pvpn8r	780,{
	callfunc "MFJA_pvp_fun04",1,255,"pvp_n_8-1.gat","pvp_n_8-2.gat","pvp_n_8-3.gat","pvp_n_8-4.gat","pvp_n_8-5.gat";
OnInit:
	waitingroom "无限制",0;
	end;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -