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

📄 2003.js.svn-base

📁 冒险岛私服Java版服务端(Odinms)源代码。学习JAVA开发的朋友
💻 SVN-BASE
字号:
/*
	This file is part of the OdinMS Maple Story Server
    Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> 
                       Matthias Butz <matze@odinms.de>
                       Jan Christian Meyer <vimes@odinms.de>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License version 3
    as published by the Free Software Foundation. You may not use, modify
    or distribute this program under any other version of the
    GNU Affero General Public License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

/* Robin
	First NPC on Snail Hunting Ground I (40000)
*/

var status = 0;

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			cm.sendNext("Welcome to #bOdinMS#k my friend! I take it you're as excited as me?");
		} else if (status == 1) {
			cm.sendNextPrev("I guess you know how to play MapleStory at least a bit. But there are some things about #bOdinMS#k you should know.");
		} else if (status == 2) {
			cm.sendNextPrev("Currently we're running version #rBeta 1#k which means that there are still a lot of things which don't work.");
		} else if (status == 3) {
			cm.sendNextPrev("So please be a bit understanding and help us by reporting any bugs you may encounter.");
		} else if (status == 4) {
			cm.sendNextPrev("The OdinMS forum is located at http://odinms.de/forum/. You can also join us on IRC at irc.euirc.net##odinms.");
		} else if (status == 5) {
			if (cm.getQuestStatus(100012) ==
				net.sf.odinms.client.MapleQuestStatus.Status.COMPLETED) {
				cm.sendNextPrev("One gift should be enough, don't you think?");
				return;
			}
			cm.startQuest(100012);
			cm.completeQuest(100012);
			if (cm.getQuestStatus(100012) ==
				net.sf.odinms.client.MapleQuestStatus.Status.COMPLETED) {
				cm.sendNextPrev("Oh yeah, since it's #rBeta#k and everything, what about a little welcome gift? Take look at your inventory!");
			}
		} else if (status == 6) {
			cm.sendPrev("And now... #bMay Odin be with you!#k");
		}
	}
}	

⌨️ 快捷键说明

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