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

📄 npc_magican.txt

📁 c151的晋级版
💻 TXT
字号:
//Mage quest for Athena by RoVeRT

geffen_in.gat,164,124,4	script	魔法公会服务人员	123,{
	set @TEMP,0;
	mes "[魔法公会服务人员]";
	mes "你好,请问有什麽事情吗?";
	next;
	menu "转职成为魔法师。",M0,"询问有关转职成为魔法师所需要的条件。",M1,"放弃。",M2;
	M0:
		mes "[魔法公会服务人员]";
		if(Class==2) goto JobMage;
		if(Class !=0) goto NotNov;
		if(JobLevel < 10) goto NoJobLvl;
		if(@test_MG==0) goto BeMage;
		mes "哦?真的吗?让我看一下。";
		if(@test_MG==1) goto MS1;
		if(@test_MG==2) goto MS2;
		if(@test_MG==3) goto MS3;
		if(@test_MG==4) goto MS4;

		MS1:
			mes "请做出魔法师转职考试要求的混合液1号....";
			goto ContMS;
		MS2:
			mes "请做出魔法师转职考试要求的混合液2号....";
			goto ContMS;
		MS3:
			mes "请做出魔法师转职考试要求的混合液3号....";
			goto ContMS;
		MS4:
			mes "请做出魔法师转职考试要求的混合液4号....";
			goto ContMS;

		JobMage:
			mes "你已经是魔法师了,难道你自己不知道吗?难不成要能空手变出火焰时,你才知道自己是魔法师吗?";
			close;
		NotNov:
			mes "你不能转职成为魔法师,你已经有其他职业了,不是吗?";
			close;
		BeMage:
			mes "你想转职成为魔法师?嗯.....";
			next;
			mes "[魔法公会服务人员]";
			if(Sex == 0) goto Ml0;
			mes "...仔细看起来,你还真可爱,不过不是我喜欢的类型...";
			goto Ml1;

			Ml0:
				mes "...仔细看起来,姊姊,真可爱,我最喜欢像姊姊这种类型的人了~";
				goto Ml1;
			Ml1:
			mes "说归说,你想转职成为魔法师吗?那麽,麻烦你在魔法师转职申请书上签个名。";
			next;
			menu "申请转职成为魔法师。",ML00,"放弃。",ML01;

			ML00:
				mes "[魔法公会服务人员]";
				mes "对.. 在那边签名.... 哇~ 写得真好看~ 好了, 好了...名字叫... "+ strcharinfo(0) +"呀!";
				next;
				mes "[魔法公会服务人员]";
				mes "你的转职考试项目是...";
				set @TEMP,rand(4);
				goto R0;

				R0:
					if(@TEMP !=0) goto R1;
					mes "做出魔法师转职考试要求的混合液1号.";
					set @test_MG,1;
					goto ContML00;
				R1:
					if(@TEMP !=1) goto R2;
					mes "做出魔法师转职考试要求的混合液2号.";
					set @test_MG,2;
					goto ContML00;
				R2:
					if(@TEMP !=2) goto R3;
					mes "做出魔法师转职考试要求的混合液3号.";
					set @test_MG,3;
					goto ContML00;
				R3:
					mes "做出魔法师转职考试要求的混合液4号.";
					set @test_MG,4;
					goto ContML00;

				ContML00:
				next;
				getitem 1092,1;
				mes "[魔法公会服务人员]";
				mes "做混合液所需的所有材料,公会里的书籍上都有写,请你自己去找,书插在你右边中央的书柜。";
				next;
				mes "[魔法公会服务人员]";
				mes "你看得到中央的那些机器吧?要调制混合液的话,请利用那些机器,加油吧!";
				close;
			ML01:
				mes "[魔法公会服务人员]";
				mes "什麽啊?!你不是说过想成为魔法师吗!?";
				close;

		NoJobLvl:
			mes "...你的基本技能等级还不到可以转职的条件呢!等你提升基本技能等级後再来吧!";
			close;

		ContMS:
		mes "那麽,让我来确认一下!";
		next;
		mes "[魔法公会服务人员]";
		if((countitem(1071)==0) & (countitem(1085)==0) & (countitem(1086)==0) & (countitem(1087)==0) & (countitem(1090)==0)) goto MS00;
		if(((@test_MG==1) & (countitem(1071)==1)) | ((@test_MG==2) & (countitem(1085)==1)) | ((@test_MG==3) & (countitem(1086)==1)) | ((@test_MG==4) & (countitem(1087)==1))) goto MS01;

		MS00:
			mes "原本装有混合液的那根试管在哪?你要带来我才能检查啊!";
			close;
		MS01:
			mes "....... 不对,我不是要你做这个。";
			if(@test_MG==1) goto MS01a;
			if(@test_MG==2) goto MS01b;
			if(@test_MG==3) goto MS01c;
			if(@test_MG==4) goto MS01d;

			MS01a:
				mes "魔法师转职考试要求的混合液 1号";
				goto ContMS01;
			MS01b:
				mes "魔法师转职考试要求的混合液 2号";
				goto ContMS01;
			MS01c:
				mes "魔法师转职考试要求的混合液 3号";
				goto ContMS01;
			MS01d:
				mes "魔法师转职考试要求的混合液 4号";
				goto ContMS01;

		ContMS01:
			if(countitem(1071) !=0) goto MS02a;
			if(countitem(1085) !=0) goto MS02b;
			if(countitem(1086) !=0) goto MS02c;
			if(countitem(1087) !=0) goto MS02d;
			if(countitem(1090) !=0) goto MS02e;
			mes "为了考试的公正性,我回收你提出的混合液。请再重做一次!";
			close;

			MS02a:
				delitem 1071,1;
				goto MS03;
			MS02b:
				delitem 1085,1;
				goto MS03;
			MS02c:
				delitem 1086,1;
				goto MS03;
			MS02d:
				delitem 1087,1;
				goto MS03;
			MS02e:
				delitem 1090,1;
				goto MS03;

			MS03:
				mes "..... ..... 相信你已经尽力了。虽然做的不是很完美,但是这个程度应该可以了";
				mes "很好!恭喜你已经通过魔法师转职考试,我就依你的意愿将你转职成为魔法师吧!";
				next;
				mes "[魔法公会服务人员]";
				mes "你当成了我们的兄弟姊妹~ 你就是魔法师!恭喜你成为我们魔法公会的一员!";
				next;
				JobChange 2;
				set Zeny,Zeny+50;
				mes "[魔法公会服务人员]";
				mes "欢迎你来到魔法公会!这是某个有名的家庭餐厅里听到的迎宾辞,我只是想说说看而已~嘿嘿~总之,恭喜你成为我们魔法公会的一员,以後还请多多指教~";
				close;
	M1:
		mes "[魔法公会服务人员]";
		mes "你想转职成为魔法师?";
		if(Sex==0) goto SexL;
		mes "像你这样可爱的人加入我们魔法公会,我们当然很欢迎~";
		goto ContM1;

		SexL:
			mes "像你这样可爱的姊姊加入我们魔法公会,我们当然很欢迎~";
			goto ContM1;
		ContM1:
		next;
		mes "[魔法公会服务人员]";
		mes "第一,基本技能等级要达到9级以上才可以。";
		mes "第二,必须要做出魔法师转职要求的混合液。";
		next;
		if(@test_MG !=0) goto jobmagicianqN0;
		mes "[魔法公会服务人员]";
		mes "你要做什麽样的混合液,要等你填写完魔法师转职申请书後,我才能告诉你。";
		goto M1Cont;

		jobmagicianqN0:
			mes "[魔法公会服务人员]";
			mes "你的转职考试项目是.........";
			if(@test_MG==1) goto jobmagicianq1;
			if(@test_MG==2) goto jobmagicianq2;
			if(@test_MG==3) goto jobmagicianq3;
			mes "请做出魔法师转职考试要求的混合液4号";
			goto jobmagicianq;

			jobmagicianq1:
				mes "请做出魔法师转职考试要求的混合液1号";
				goto jobmagicianq;
			jobmagicianq2:
				mes "请做出魔法师转职考试要求的混合液2号";
				goto jobmagicianq;
			jobmagicianq3:
				mes "请做出魔法师转职考试要求的混合液3号";
				goto jobmagicianq;
			jobmagicianq:
				mes "Y做混合液所需的所有材料,在公会里的书籍上都有写,请你自己去找。";
				goto M1Cont;
		M1Cont:
		next;
		mes "[魔法公会服务人员]";
		mes "等你认为自己已经符合这两项转职条件後,再来向我询问其他的事项吧!";
		close;
	M2:
		mes "[魔法公会服务人员]";
		mes "什麽?";
		close;
}
//<=========== 魔法公会服务人员 - End ==========>\\

//<=========== 物品 调和机 - Begin ==========>\\
geffen_in.gat,164,112,1	script	物品 调和机	111,{
	mes "[物品 调和机]";
	mes "魔法师转职考试专用物品调合机,本器材是由吉芬魔法协会提供的,你打算制作什么混合药水?";
	set Script_flag_num;
	next;
	menu "混合液1号",sol1,"混合液2号",sol2,"混合液3号",sol3,"混合液4号",sol4;

	sol1:
		if(countitem(909)<2) goto Lnojel;
		if(countitem(914)<3) goto Lnofluff;
		if(countitem(519)<1) goto Lnomilk;
		if(countitem(1089)<1) goto Lnosolv;
		input Script_flag_num;
			if(Script_flag_num==8472) goto Input1;
			if(Script_flag_num<8472) goto FAIL1;
			if(Script_flag_num>8472) goto FAIL1;

	sol2:
		if(countitem(909)<3) goto Lnojel;
		if(countitem(914)<1) goto Lnofluff;
		if(countitem(519)<1) goto Lnomilk;
		input Script_flag_num;
			if(Script_flag_num==3735) goto Input2;
			if(Script_flag_num<3735) goto FAIL2;
			if(Script_flag_num>3735) goto FAIL2;
	sol3:
		if(countitem(909)<6) goto Lnojel;
		if(countitem(914)<1) goto Lnofluff;
		if(countitem(1089)<1) goto Lnosolv;
		input Script_flag_num;
			if(Script_flag_num==2750) goto Input3;
			if(Script_flag_num<2750) goto FAIL3;
			if(Script_flag_num>2750) goto FAIL3;
	sol4:
		if(countitem(909)<2) goto Lnojel;
		if(countitem(914)<3) goto Lnofluff;
		if(countitem(1088)<1) goto Lnosolv;
		input Script_flag_num;
			if(Script_flag_num==5429) goto Input4;
			if(Script_flag_num<5429) goto FAIL4;
			if(Script_flag_num>5429) goto FAIL4;


	Input1:
		mes "最後,请你选择催化石。";
		menu "红色魔力矿石",FAIL1,"蓝色魔力矿石",FAIL1,"黄色魔力矿石",Yell,"钻石",FAIL1;

		Yell:
			delitem 909,2;
			delitem 914,3;
			delitem 519,1;
			delitem 1089,1;
			mes "混合液调配成功!";
			next;
			getitem 1071,1;
			close;
	Input2:
		menu "红色魔力矿石",Red,"蓝色魔力矿石",FAIL2,"黄色魔力矿石",FAIL2,"钻石",FAIL2;

		Red:
			delitem 909,2;
			delitem 914,3;
			delitem 519,1;
			mes "混合液调配成功!";
			next;
			getitem 1085,1;
			close;
	Input3:
		menu "红色魔力矿石",FAIL3,"蓝色魔力矿石",Blue,"黄色魔力矿石",FAIL3,"钻石",FAIL3;

		Blue:
			delitem 909,2;
			delitem 914,3;
			delitem 1089,1;
			mes "混合液调配成功!";
			next;
			getitem 1086,1;
			close;
	Input4:
		menu "红色魔力矿石",FAIL4,"蓝色魔力矿石",FAIL4,"黄色魔力矿石",FAIL4,"钻石",Diam;

		Diam:
			delitem 909,2;
			delitem 914,3;
			delitem 1088,1;
			mes "混合液调配成功!";
			next;
			getitem 1087,1;
			close;

	FAIL1:
		delitem 909,2;
		delitem 914,3;
		delitem 519,1;
		delitem 1089,1;
		mes "混合液调配成功!";
		next;
		getitem 1090,1;
		close;
	FAIL2:
		delitem 909,2;
		delitem 914,3;
		delitem 519,1;
		mes "混合液调配成功!";
		next;
		getitem 1090,1;
		close;
	FAIL3:
		delitem 909,2;
		delitem 914,3;
		delitem 1089,1;
		mes "混合液调配成功!";
		next;
		getitem 1090,1;
		close;
	FAIL4:
		delitem 909,2;
		delitem 914,3;
		delitem 1088,1;
		mes "混合液调配成功!";
		next;
		getitem 1090,1;
		close;

	Lnojel:
		mes "缺少材料:杰勒比结晶";
		close;
	Lnofluff:
		mes "缺少材料:毛";
		close;
	Lnomilk:
		mes "缺少材料:牛奶";
		close;
	Lnosolv:
		mes "缺少材料:裴扬水溶液试管";
		close;
}
//<=========== 物品 调和机 - End ==========>\\

//<=========== Morroc Solution - Begin ==========>\\
moc_ruins.gat,91,150,5	script	梦罗克溶液制作者	93,{
	mes "[魔法公会服务人员]";
	mes "要用来装水溶液的吗?那麽你需要买一个以上的空试管和支付50个金币喔!";
	next;
	menu "付钱",L0,"放弃",L1;
	L0:
		if(countitem(1092)<1) goto L0NoT;
		if(Zeny<50) goto L0NoZ;
		mes "[魔法公会服务人员]";
		mes "嗯,金币和空试管都已经带来了,好吧!";
		delitem 1092,1;
		set Zeny,Zeny-50;
		next;
		getitem 1088,1;
		mes "[魔法公会服务人员]";
		mes "谢谢,我想你会是一个合格的魔法师,希望下次再见!";
		close;

		L0NoT:
			mes "[魔法公会服务人员]";
			mes "没有空试管,你要用什么把水溶液带走呢?";
			close;

		L0NoZ:
			mes "[魔法公会服务人员]";
			mes "没有50个金币可是不行的哦。";
			close;
	L1:
		mes "[魔法公会服务人员]";
		mes "再见!";
		close;
}
//<=========== Morroc Solution - End ==========>\\

//<=========== Payon Solution - Begin ==========>\\
pay_arche.gat,122,100,5	script	斐扬溶液制作者	88,{
	mes "[魔法公会服务人员]";
	mes "要用来装水溶液的吗?那麽你需要买一个以上的空试管和支付50个金币喔!";
	next;
	menu "付钱",L0,"放弃",L1;
	L0:
		if(countitem(1092)<1) goto L0NoT;
		if(Zeny<50) goto L0NoZ;
		mes "[魔法公会服务人员]";
		mes "嗯,金币和空试管都已经带来了,好吧!";
		delitem 1092,1;
		set Zeny,Zeny-50;
		next;
		getitem 1089,1;
		mes "[魔法公会服务人员]";
		mes "谢谢,我想你会是一个合格的魔法师,希望下次再见!";
		close;
		L0NoT:
			mes "[魔法公会服务人员]";
			mes "没有空试管,你要用什么把水溶液带走呢?";
			close;

		L0NoZ:
			mes "[魔法公会服务人员]";
			mes "没有50个金币可是不行的哦。";
			close;
	L1:
		mes "[魔法公会服务人员]";
		mes "再见!";
		close;
}
//<=========== Payon Solution - End ==========>\\

⌨️ 快捷键说明

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