Initial re-upload
This commit is contained in:
25
scripts/portal/08_xmas_out.js
Normal file
25
scripts/portal/08_xmas_out.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
This file is part of the HeavenMS MapleStory Server
|
||||
Copyleft (L) 2016 - 2019 RonanLana
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getMapId() - 2, 0);
|
||||
return true;
|
||||
}
|
||||
10
scripts/portal/Depart_ToKerning.js
Normal file
10
scripts/portal/Depart_ToKerning.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function enter(pi) {
|
||||
var em = pi.getEventManager("KerningTrain");
|
||||
if (!em.startInstance(pi.getPlayer())) {
|
||||
pi.message("The passenger wagon is already full. Try again a bit later.");
|
||||
return false;
|
||||
}
|
||||
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
4
scripts/portal/Depart_TopFloor.js
Normal file
4
scripts/portal/Depart_TopFloor.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function enter(pi) {
|
||||
pi.openNpc(1052125); //It is actually suppose to open the npc, because it leads to a boss map
|
||||
return true;
|
||||
}
|
||||
5
scripts/portal/Depart_goBack00.js
Normal file
5
scripts/portal/Depart_goBack00.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getMap().getId() - 10, "left00");
|
||||
return true;
|
||||
}
|
||||
5
scripts/portal/Depart_goBack01.js
Normal file
5
scripts/portal/Depart_goBack01.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getMap().getId() - 10, "left01");
|
||||
return true;
|
||||
}
|
||||
29
scripts/portal/Depart_goFoward0.js
Normal file
29
scripts/portal/Depart_goFoward0.js
Normal file
@@ -0,0 +1,29 @@
|
||||
function enter(pi) {
|
||||
var mapid = pi.getPlayer().getMap().getId();
|
||||
|
||||
if (mapid == 103040410 && pi.isQuestCompleted(2287)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040420, "right00");
|
||||
return true;
|
||||
} else if (mapid == 103040420 && pi.isQuestCompleted(2288)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040430, "right00");
|
||||
return true;
|
||||
} else if (mapid == 103040410 && pi.isQuestStarted(2287)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040420, "right00");
|
||||
return true;
|
||||
} else if (mapid == 103040420 && pi.isQuestStarted(2288)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040430, "right00");
|
||||
return true;
|
||||
} else {
|
||||
if (mapid == 103040440 || mapid == 103040450) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(mapid + 10, "right00");
|
||||
return true;
|
||||
}
|
||||
pi.getPlayer().dropMessage(5, "You cannot access this area.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
29
scripts/portal/Depart_goFoward1.js
Normal file
29
scripts/portal/Depart_goFoward1.js
Normal file
@@ -0,0 +1,29 @@
|
||||
function enter(pi) {
|
||||
var mapid = pi.getPlayer().getMap().getId();
|
||||
|
||||
if (mapid == 103040410 && pi.isQuestCompleted(2287)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040420, "right01");
|
||||
return true;
|
||||
} else if (mapid == 103040420 && pi.isQuestCompleted(2288)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040430, "right01");
|
||||
return true;
|
||||
} else if (mapid == 103040410 && pi.isQuestStarted(2287)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040420, "right01");
|
||||
return true;
|
||||
} else if (mapid == 103040420 && pi.isQuestStarted(2288)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040430, "right01");
|
||||
return true;
|
||||
} else {
|
||||
if (mapid == 103040440 || mapid == 103040450) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(mapid + 10, "right01");
|
||||
return true;
|
||||
}
|
||||
pi.getPlayer().dropMessage(5, "You cannot access this area.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
5
scripts/portal/Depart_topOut.js
Normal file
5
scripts/portal/Depart_topOut.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(103040300, 1);
|
||||
return true;
|
||||
}
|
||||
11
scripts/portal/DragonEggNotice.js
Normal file
11
scripts/portal/DragonEggNotice.js
Normal file
@@ -0,0 +1,11 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(22014, "egg=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.updateAreaInfo(22014, "egg=o;mo30=o;mo40=o;mo41=o;mo50=o;mo42=o;mo60=o");
|
||||
pi.sendImage("UI/tutorial/evan/8/0");
|
||||
return true;
|
||||
}
|
||||
43
scripts/portal/EBoat1.js
Normal file
43
scripts/portal/EBoat1.js
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
-- Odin JavaScript --------------------------------------------------------------------------------
|
||||
During The Ride To Ellinia
|
||||
-- By ---------------------------------------------------------------------------------------------
|
||||
Information
|
||||
-- Version Info -----------------------------------------------------------------------------------
|
||||
1.4 - Code clean up [Information]
|
||||
1.3 - Typo >.< [Information]
|
||||
1.2 - Update to support lastest script [Information]
|
||||
1.1 - The right statement to bring out the music [Information]
|
||||
1.0 - First Version by Information
|
||||
---------------------------------------------------------------------------------------------------
|
||||
**/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(200090000, 4);
|
||||
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog") === "true") {
|
||||
pi.changeMusic("Bgm04/ArabPirate");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
43
scripts/portal/EBoat2.js
Normal file
43
scripts/portal/EBoat2.js
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
-- Odin JavaScript --------------------------------------------------------------------------------
|
||||
During The Ride To Ellinia
|
||||
-- By ---------------------------------------------------------------------------------------------
|
||||
Information
|
||||
-- Version Info -----------------------------------------------------------------------------------
|
||||
1.4 - Code clean up [Information]
|
||||
1.3 - Typo >.< [Information]
|
||||
1.2 - Update to support lastest script [Information]
|
||||
1.1 - The right statement to bring out the music [Information]
|
||||
1.0 - First Version by Information
|
||||
---------------------------------------------------------------------------------------------------
|
||||
**/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(200090000, 5);
|
||||
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog") === "true") {
|
||||
pi.changeMusic("Bgm04/ArabPirate");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
5
scripts/portal/MC2revive.js
Normal file
5
scripts/portal/MC2revive.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getMapId() - 100);
|
||||
return true;
|
||||
}
|
||||
9
scripts/portal/MCrevive1.js
Normal file
9
scripts/portal/MCrevive1.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000101, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
9
scripts/portal/MCrevive2.js
Normal file
9
scripts/portal/MCrevive2.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000201, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
18
scripts/portal/MCrevive3.js
Normal file
18
scripts/portal/MCrevive3.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
var portal = 0;
|
||||
switch (pi.getPlayer().getTeam()) {
|
||||
case 0:
|
||||
portal = 4;
|
||||
break;
|
||||
case 1:
|
||||
portal = 3;
|
||||
break;
|
||||
}
|
||||
pi.warp(980000301, portal);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
18
scripts/portal/MCrevive4.js
Normal file
18
scripts/portal/MCrevive4.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
var portal = 0;
|
||||
switch (pi.getPlayer().getTeam()) {
|
||||
case 0:
|
||||
portal = 4;
|
||||
break;
|
||||
case 1:
|
||||
portal = 3;
|
||||
break;
|
||||
}
|
||||
pi.warp(980000401, portal);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
9
scripts/portal/MCrevive5.js
Normal file
9
scripts/portal/MCrevive5.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000501, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
9
scripts/portal/MCrevive6.js
Normal file
9
scripts/portal/MCrevive6.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
[CelticMS] Monster Carnival Reviving Field 1
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.warp(980000601, 0);
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
5
scripts/portal/MD_cakeEnter.js
Normal file
5
scripts/portal/MD_cakeEnter.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(674030100, "in00");
|
||||
return true;
|
||||
}
|
||||
59
scripts/portal/MD_drakeroom.js
Normal file
59
scripts/portal/MD_drakeroom.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Rabbit
|
||||
*/
|
||||
var baseid = 105090311;
|
||||
var dungeonid = 105090320;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
61
scripts/portal/MD_error.js
Normal file
61
scripts/portal/MD_error.js
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
MiniDungeon - Critical Error
|
||||
*/
|
||||
|
||||
var baseid = 261020300;
|
||||
var dungeonid = 261020301;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
61
scripts/portal/MD_golem.js
Normal file
61
scripts/portal/MD_golem.js
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
MiniDungeon - Golem
|
||||
*/
|
||||
|
||||
var baseid = 105040304;
|
||||
var dungeonid = 105040320;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
61
scripts/portal/MD_high.js
Normal file
61
scripts/portal/MD_high.js
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
MiniDungeon - Longest Ride on ByeBye Station
|
||||
*/
|
||||
|
||||
var baseid = 551030000;
|
||||
var dungeonid = 551030001;
|
||||
var dungeons = 19;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
61
scripts/portal/MD_mushroom.js
Normal file
61
scripts/portal/MD_mushroom.js
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
MiniDungeon - Mushroom
|
||||
*/
|
||||
|
||||
var baseid = 105050100;
|
||||
var dungeonid = 105050101;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
61
scripts/portal/MD_pig.js
Normal file
61
scripts/portal/MD_pig.js
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
MiniDungeon - Pig
|
||||
*/
|
||||
|
||||
var baseid = 100020000;
|
||||
var dungeonid = 100020100;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
59
scripts/portal/MD_protect.js
Normal file
59
scripts/portal/MD_protect.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Newts
|
||||
*/
|
||||
var baseid = 240040520;
|
||||
var dungeonid = 240040900;
|
||||
var dungeons = 19;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
59
scripts/portal/MD_rabbit.js
Normal file
59
scripts/portal/MD_rabbit.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Rabbit
|
||||
*/
|
||||
var baseid = 221023400;
|
||||
var dungeonid = 221023401;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
59
scripts/portal/MD_remember.js
Normal file
59
scripts/portal/MD_remember.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Skele
|
||||
*/
|
||||
var baseid = 240040511;
|
||||
var dungeonid = 240040800;
|
||||
var dungeons = 19;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
59
scripts/portal/MD_roundTable.js
Normal file
59
scripts/portal/MD_roundTable.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Round Table
|
||||
*/
|
||||
var baseid = 240020500;
|
||||
var dungeonid = 240020512;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
59
scripts/portal/MD_sand.js
Normal file
59
scripts/portal/MD_sand.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Sand
|
||||
*/
|
||||
var baseid = 260020600;
|
||||
var dungeonid = 260020630;
|
||||
var dungeons = 34;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
59
scripts/portal/MD_treasure.js
Normal file
59
scripts/portal/MD_treasure.js
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
/*
|
||||
MiniDungeon - Pirate
|
||||
*/
|
||||
var baseid = 251010402;
|
||||
var dungeonid = 251010410;
|
||||
var dungeons = 30;
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getMapId() == baseid) {
|
||||
if (pi.getParty() != null) {
|
||||
if (pi.isLeader()) {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warpParty(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Only solo or party leaders are supposed to enter the Mini-Dungeon.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
for (var i = 0; i < dungeons; i++) {
|
||||
if (pi.startDungeonInstance(dungeonid + i)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(dungeonid + i, "out00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
pi.playerMessage(5, "All of the Mini-Dungeons are in use right now, please try again later.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(baseid, "MD00");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
30
scripts/portal/Masteria_B1_1.js
Normal file
30
scripts/portal/Masteria_B1_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010005, "sU6_1");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
30
scripts/portal/Masteria_B2_1.js
Normal file
30
scripts/portal/Masteria_B2_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010005, "sU6_1");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
30
scripts/portal/Masteria_B3_1.js
Normal file
30
scripts/portal/Masteria_B3_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010005, "sU6_1");
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
27
scripts/portal/Masteria_CC1_A.js
Normal file
27
scripts/portal/Masteria_CC1_A.js
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020015, "CC6_A");
|
||||
return true;
|
||||
}
|
||||
27
scripts/portal/Masteria_CC6_A.js
Normal file
27
scripts/portal/Masteria_CC6_A.js
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020010, "CC1_A");
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM1_A.js
Normal file
30
scripts/portal/Masteria_CM1_A.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020000, "CM1_B");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM1_B.js
Normal file
30
scripts/portal/Masteria_CM1_B.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020000, "CM1_C");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM1_C.js
Normal file
30
scripts/portal/Masteria_CM1_C.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020000, "CM1_D");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM1_D.js
Normal file
30
scripts/portal/Masteria_CM1_D.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020000, "CM1_E");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM2_B.js
Normal file
30
scripts/portal/Masteria_CM2_B.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020001, "CM2_C");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM2_C.js
Normal file
30
scripts/portal/Masteria_CM2_C.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020001, "CM2_D");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
29
scripts/portal/Masteria_CM2_D.js
Normal file
29
scripts/portal/Masteria_CM2_D.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020001, "CM2_E");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_CM2_E.js
Normal file
30
scripts/portal/Masteria_CM2_E.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992039)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610020001, "CM2_F");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_U2_1.js
Normal file
30
scripts/portal/Masteria_U2_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010004, "U5_1");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_U3_1.js
Normal file
30
scripts/portal/Masteria_U3_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010201, "sB2_1");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_U5_1.js
Normal file
30
scripts/portal/Masteria_U5_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010001, "sU2_1");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_U5_2.js
Normal file
30
scripts/portal/Masteria_U5_2.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010004, "U5_1");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Masteria_U6_1.js
Normal file
30
scripts/portal/Masteria_U6_1.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.hasItem(3992040)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(610010002, "sU3_1");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
5
scripts/portal/NextMap.js
Normal file
5
scripts/portal/NextMap.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getMapId() + 100, 0);
|
||||
return true;
|
||||
}
|
||||
44
scripts/portal/OBoat1.js
Normal file
44
scripts/portal/OBoat1.js
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
-- Odin JavaScript --------------------------------------------------------------------------------
|
||||
During The Ride To Orbis
|
||||
-- By ---------------------------------------------------------------------------------------------
|
||||
Information
|
||||
-- Version Info -----------------------------------------------------------------------------------
|
||||
1.4 - Code clean up [Information]
|
||||
1.4 - Remove event instance [Information]
|
||||
1.3 - Typo >.< [Information]
|
||||
1.2 - Update to support lastest script [Information]
|
||||
1.1 - The right statement to bring out the music [Information]
|
||||
1.0 - First Version by Information
|
||||
---------------------------------------------------------------------------------------------------
|
||||
**/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(200090010, 4);
|
||||
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog") === "true") {
|
||||
pi.changeMusic("Bgm04/ArabPirate");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
44
scripts/portal/OBoat2.js
Normal file
44
scripts/portal/OBoat2.js
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
-- Odin JavaScript --------------------------------------------------------------------------------
|
||||
During The Ride To Orbis
|
||||
-- By ---------------------------------------------------------------------------------------------
|
||||
Information
|
||||
-- Version Info -----------------------------------------------------------------------------------
|
||||
1.4 - Code clean up [Information]
|
||||
1.4 - Remove event instance [Information]
|
||||
1.3 - Typo >.< [Information]
|
||||
1.2 - Update to support lastest script [Information]
|
||||
1.1 - The right statement to bring out the music [Information]
|
||||
1.0 - First Version by Information
|
||||
---------------------------------------------------------------------------------------------------
|
||||
**/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(200090010, 5);
|
||||
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog") === "true") {
|
||||
pi.changeMusic("Bgm04/ArabPirate");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/PPinkOut.js
Normal file
30
scripts/portal/PPinkOut.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
This file is part of the HeavenMS MapleStory Server
|
||||
Copyleft (L) 2016 - 2019 RonanLana
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
Vs Pink Bean - Clear stage portal
|
||||
@author Ronan
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(270050000);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/Pianus.js
Normal file
26
scripts/portal/Pianus.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(230040420, "out00");
|
||||
return true;
|
||||
}
|
||||
30
scripts/portal/Pinkin.js
Normal file
30
scripts/portal/Pinkin.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
This file is part of the HeavenMS MapleStory Server
|
||||
Copyleft (L) 2016 - 2019 RonanLana
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
Vs Pink Bean - Resurrection stage portal
|
||||
@author Ronan
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(270050100);
|
||||
return true;
|
||||
}
|
||||
55
scripts/portal/Populatus00.js
Normal file
55
scripts/portal/Populatus00.js
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/* @author RonanLana */
|
||||
|
||||
function enter(pi) {
|
||||
if (!((pi.isQuestStarted(6361) && pi.haveItem(4031870, 1)) || (pi.isQuestCompleted(6361) && !pi.isQuestCompleted(6363)))) {
|
||||
var em = pi.getEventManager("PapulatusBattle");
|
||||
|
||||
if (pi.getParty() == null) {
|
||||
pi.playerMessage(5, "You are currently not in a party, create one to attempt the boss.");
|
||||
return false;
|
||||
} else if (!pi.isLeader()) {
|
||||
pi.playerMessage(5, "Your party leader must enter the portal to start the battle.");
|
||||
return false;
|
||||
} else {
|
||||
var eli = em.getEligibleParty(pi.getParty());
|
||||
if (eli.size() > 0) {
|
||||
if (!em.startInstance(pi.getParty(), pi.getPlayer().getMap(), 1)) {
|
||||
pi.playerMessage(5, "The battle against the boss has already begun, so you may not enter this place yet.");
|
||||
return false;
|
||||
}
|
||||
} else { //this should never appear
|
||||
pi.playerMessage(5, "You cannot start this battle yet, because either your party is not in the range size, some of your party members are not eligible to attempt it or they are not in this map. If you're having trouble finding party members, try Party Search.");
|
||||
return false;
|
||||
}
|
||||
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(922020300, 0);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
17
scripts/portal/Spacegaga_out0.js
Normal file
17
scripts/portal/Spacegaga_out0.js
Normal file
@@ -0,0 +1,17 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
var eim = pi.getPlayer().getEventInstance();
|
||||
var fc = eim.getIntProperty("falls");
|
||||
|
||||
if (fc >= 3) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(922240200, 0);
|
||||
} else {
|
||||
eim.setIntProperty("falls", fc + 1);
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getMapId(), 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
17
scripts/portal/Spacegaga_out1.js
Normal file
17
scripts/portal/Spacegaga_out1.js
Normal file
@@ -0,0 +1,17 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
var eim = pi.getPlayer().getEventInstance();
|
||||
var fc = eim.getIntProperty("falls");
|
||||
|
||||
if (fc >= 3) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(922240200, 0);
|
||||
} else {
|
||||
eim.setIntProperty("falls", fc + 1);
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getMapId(), 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
17
scripts/portal/Spacegaga_out2.js
Normal file
17
scripts/portal/Spacegaga_out2.js
Normal file
@@ -0,0 +1,17 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
var eim = pi.getPlayer().getEventInstance();
|
||||
var fc = eim.getIntProperty("falls");
|
||||
|
||||
if (fc >= 3) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(922240200, 0);
|
||||
} else {
|
||||
eim.setIntProperty("falls", fc + 1);
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getMapId(), 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
17
scripts/portal/Spacegaga_out3.js
Normal file
17
scripts/portal/Spacegaga_out3.js
Normal file
@@ -0,0 +1,17 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
var eim = pi.getPlayer().getEventInstance();
|
||||
var fc = eim.getIntProperty("falls");
|
||||
|
||||
if (fc >= 3) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(922240200, 0);
|
||||
} else {
|
||||
eim.setIntProperty("falls", fc + 1);
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getMapId(), 0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
32
scripts/portal/TD_Boss_enter.js
Normal file
32
scripts/portal/TD_Boss_enter.js
Normal file
@@ -0,0 +1,32 @@
|
||||
/* @author RonanLana */
|
||||
|
||||
function enter(pi) {
|
||||
var stage = ((Math.floor(pi.getMapId() / 100)) % 10) - 1;
|
||||
var em = pi.getEventManager("TD_Battle" + stage);
|
||||
if (em == null) {
|
||||
pi.playerMessage(5, "TD Battle " + stage + " encountered an unexpected error and is currently unavailable.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (pi.getParty() == null) {
|
||||
pi.playerMessage(5, "You are currently not in a party, create one to attempt the boss.");
|
||||
return false;
|
||||
} else if (!pi.isLeader()) {
|
||||
pi.playerMessage(5, "Your party leader must enter the portal to start the battle.");
|
||||
return false;
|
||||
} else {
|
||||
var eli = em.getEligibleParty(pi.getParty());
|
||||
if (eli.size() > 0) {
|
||||
if (!em.startInstance(pi.getParty(), pi.getPlayer().getMap(), 1)) {
|
||||
pi.playerMessage(5, "The battle against the boss has already begun, so you may not enter this place yet.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Your party must consist of at least 2 players to attempt the boss.");
|
||||
return false;
|
||||
}
|
||||
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
5
scripts/portal/TD_MC_Egate.js
Normal file
5
scripts/portal/TD_MC_Egate.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(106021300, 1);
|
||||
return true;
|
||||
}
|
||||
12
scripts/portal/TD_MC_enterboss1.js
Normal file
12
scripts/portal/TD_MC_enterboss1.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function enter(pi) {
|
||||
var questProgress = pi.getQuestProgressInt(2330, 3300005) + pi.getQuestProgressInt(2330, 3300006) + pi.getQuestProgressInt(2330, 3300007); //3 Yetis
|
||||
|
||||
if (pi.isQuestStarted(2330) && questProgress < 3) {
|
||||
pi.openNpc(1300013);
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
pi.warp(106021401, 1);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
75
scripts/portal/TD_MC_enterboss2.js
Normal file
75
scripts/portal/TD_MC_enterboss2.js
Normal file
@@ -0,0 +1,75 @@
|
||||
function enter(pi) {
|
||||
if (pi.isQuestCompleted(2331)) {
|
||||
pi.openNpc(1300013);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (pi.isQuestCompleted(2333) && pi.isQuestStarted(2331) && !pi.hasItem(4001318)) {
|
||||
pi.getPlayer().message("Lost the Royal Seal, eh? Worry not! Kevin's code here to save your hide.");
|
||||
if (pi.canHold(4001318)) {
|
||||
pi.gainItem(4001318, 1);
|
||||
} else {
|
||||
pi.getPlayer().message("Hey, how do you plan to hold this Seal when your inventory is full?");
|
||||
}
|
||||
}
|
||||
|
||||
if (pi.isQuestCompleted(2333)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(106021600, 1);
|
||||
return true;
|
||||
} else if (pi.isQuestStarted(2332) && pi.hasItem(4032388)) {
|
||||
pi.forceCompleteQuest(2332, 1300002);
|
||||
pi.getPlayer().message("You've found the princess!");
|
||||
pi.giveCharacterExp(4400, pi.getPlayer());
|
||||
|
||||
var em = pi.getEventManager("MK_PrimeMinister");
|
||||
var party = pi.getPlayer().getParty();
|
||||
if (party != null) {
|
||||
var eli = em.getEligibleParty(pi.getParty()); // thanks Conrad for pointing out missing eligible party declaration here
|
||||
if (eli.size() > 0) {
|
||||
if (em.startInstance(party, pi.getMap(), 1)) {
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
} else {
|
||||
pi.message("Another party is already challenging the boss in this channel.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (em.startInstance(pi.getPlayer())) { // thanks RedHat for noticing an issue here
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
} else {
|
||||
pi.message("Another party is already challenging the boss in this channel.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else if (pi.isQuestStarted(2333) || (pi.isQuestCompleted(2332) && !pi.isQuestStarted(2333))) {
|
||||
var em = pi.getEventManager("MK_PrimeMinister");
|
||||
|
||||
var party = pi.getPlayer().getParty();
|
||||
if (party != null) {
|
||||
var eli = em.getEligibleParty(pi.getParty());
|
||||
if (eli.size() > 0) {
|
||||
if (em.startInstance(party, pi.getMap(), 1)) {
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
} else {
|
||||
pi.message("Another party is already challenging the boss in this channel.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (em.startInstance(pi.getPlayer())) {
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
} else {
|
||||
pi.message("Another party is already challenging the boss in this channel.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
pi.getPlayer().message("The door seems to be locked. Perhaps I can find a key to open it...");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
20
scripts/portal/TD_MC_first.js
Normal file
20
scripts/portal/TD_MC_first.js
Normal file
@@ -0,0 +1,20 @@
|
||||
function enter(pi) {
|
||||
if (pi.isQuestCompleted(2260) ||
|
||||
pi.isQuestStarted(2300) || pi.isQuestCompleted(2300) ||
|
||||
pi.isQuestStarted(2301) || pi.isQuestCompleted(2301) ||
|
||||
pi.isQuestStarted(2302) || pi.isQuestCompleted(2302) ||
|
||||
pi.isQuestStarted(2303) || pi.isQuestCompleted(2303) ||
|
||||
pi.isQuestStarted(2304) || pi.isQuestCompleted(2304) ||
|
||||
pi.isQuestStarted(2305) || pi.isQuestCompleted(2305) ||
|
||||
pi.isQuestStarted(2306) || pi.isQuestCompleted(2306) ||
|
||||
pi.isQuestStarted(2307) || pi.isQuestCompleted(2307) ||
|
||||
pi.isQuestStarted(2308) || pi.isQuestCompleted(2308) ||
|
||||
pi.isQuestStarted(2309) || pi.isQuestCompleted(2309) ||
|
||||
pi.isQuestStarted(2310) || pi.isQuestCompleted(2310)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(106020000, 0);
|
||||
return true;
|
||||
}
|
||||
pi.playerMessage(5, "A strange force is blocking you from entering.");
|
||||
return false;
|
||||
}
|
||||
5
scripts/portal/TD_MC_jump.js
Normal file
5
scripts/portal/TD_MC_jump.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(106020501, 0);
|
||||
return true;
|
||||
}
|
||||
4
scripts/portal/TD_chat_enter.js
Normal file
4
scripts/portal/TD_chat_enter.js
Normal file
@@ -0,0 +1,4 @@
|
||||
function enter(pi) {
|
||||
pi.openNpc(2083006);
|
||||
return false;
|
||||
}
|
||||
30
scripts/portal/TD_neo_inTree.js
Normal file
30
scripts/portal/TD_neo_inTree.js
Normal file
@@ -0,0 +1,30 @@
|
||||
function enter(pi) {
|
||||
var nex = pi.getEventManager("GuardianNex");
|
||||
if (nex == null) {
|
||||
pi.message("Guardian Nex challenge encountered an error and is unavailable.");
|
||||
return false;
|
||||
}
|
||||
|
||||
var quests = [3719, 3724, 3730, 3736, 3742, 3748];
|
||||
var mobs = [7120100, 7120101, 7120102, 8120100, 8120101, 8140510];
|
||||
|
||||
for (var i = 0; i < quests.length; i++) {
|
||||
if (pi.isQuestActive(quests[i])) {
|
||||
if (pi.getQuestProgressInt(quests[i], mobs[i]) != 0) {
|
||||
pi.message("You already faced Nex. Complete your mission.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!nex.startInstance(i, pi.getPlayer())) {
|
||||
pi.message("Someone is already challenging Nex. Wait for them to finish before you enter.");
|
||||
return false;
|
||||
} else {
|
||||
pi.playPortalSound();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pi.message("A mysterious force won't let you in.");
|
||||
return false;
|
||||
}
|
||||
41
scripts/portal/Zakum03.js
Normal file
41
scripts/portal/Zakum03.js
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
Zakum PQ portal
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (!pi.getEventInstance().isEventCleared()) {
|
||||
pi.getPlayer().dropMessage(5, "Your team has not yet completed the trials. Fetch the Fire Ore and give it to Aura first.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (pi.getEventInstance().gridCheck(pi.getPlayer()) == -1) {
|
||||
pi.getPlayer().dropMessage(5, "Your have yet to claim your prize. Talk to Aura.");
|
||||
return false;
|
||||
}
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(211042300);
|
||||
return true;
|
||||
}
|
||||
52
scripts/portal/Zakum05.js
Normal file
52
scripts/portal/Zakum05.js
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
Zakum Entrance
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
if (!(pi.isQuestStarted(100200) || pi.isQuestCompleted(100200))) {
|
||||
pi.getPlayer().dropMessage(5, "You need approval from the masters to battle. You may not attempt the boss right now.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!pi.isQuestCompleted(100201)) {
|
||||
pi.getPlayer().dropMessage(5, "You haven't completed all the trials yet. You may not attempt the boss right now.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!pi.haveItem(4001017)) { // thanks Conrad for pointing out missing checks for token item and unused reactor
|
||||
pi.getPlayer().dropMessage(5, "You do not have the Eye of Fire. You may not face the boss.");
|
||||
return false;
|
||||
}
|
||||
|
||||
var react = pi.getMap().getReactorById(2118002);
|
||||
if (react != null && react.getState() > 0) {
|
||||
pi.getPlayer().dropMessage(5, "The entrance is currently blocked.");
|
||||
return false;
|
||||
}
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(211042400, "west00");
|
||||
return true;
|
||||
}
|
||||
33
scripts/portal/aMatchMove2.js
Normal file
33
scripts/portal/aMatchMove2.js
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @author: Moogra
|
||||
* @portal: aMatchMove2
|
||||
* @purpose: warps user out from Ariant PQ
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(pi.getPlayer().getSavedLocation("MIRROR"));
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice00.js
Normal file
25
scripts/portal/advice00.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("You can move by using the arrow keys.", 250, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice01.js
Normal file
25
scripts/portal/advice01.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Click \r\\#b<Heena>#k", 100, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice02.js
Normal file
25
scripts/portal/advice02.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Press #e#b[Alt]#k#n to\r\\ JUMP.", 100, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice03.js
Normal file
25
scripts/portal/advice03.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Press #e#b[Up]#k on the arrow key#n to climb up the ladder or rope.", 350, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice04.js
Normal file
25
scripts/portal/advice04.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Click \r\\#b<Sera>", 100, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice05.js
Normal file
25
scripts/portal/advice05.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Press #e#b[Q]#k#n to view the Quest window.", 250, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice06.js
Normal file
25
scripts/portal/advice06.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Press the #e#b[Up]#k arrow#n to use the portal \r\\and move to the next map.", 230, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice07.js
Normal file
25
scripts/portal/advice07.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("You can view the World Map by pressing the #e#b[W]#k#nkey.", 350, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice08.js
Normal file
25
scripts/portal/advice08.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("You can check your character's stats by pressing the #e#b[S]#k#nkey.", 350, 5);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/advice09.js
Normal file
25
scripts/portal/advice09.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Press #e#b[Down]#k on the arrow key#n and#e#b[Alt]#k#n at the same time to jump downwards.", 450, 6);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/adviceMap.js
Normal file
25
scripts/portal/adviceMap.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.showInstruction("Press the #e#b[Up]#k arrow#n to use the portal and move to the next map.", 230, 5);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/apq00.js
Normal file
26
scripts/portal/apq00.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010300, 0);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/apq01.js
Normal file
26
scripts/portal/apq01.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010301, 0);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/apq02.js
Normal file
26
scripts/portal/apq02.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010302, 0);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/apq1.js
Normal file
26
scripts/portal/apq1.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010400, 0);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/apq2.js
Normal file
26
scripts/portal/apq2.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010500, 0);
|
||||
return true;
|
||||
}
|
||||
26
scripts/portal/apq3.js
Normal file
26
scripts/portal/apq3.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010600, 0);
|
||||
return true;
|
||||
}
|
||||
25
scripts/portal/apqClosed.js
Normal file
25
scripts/portal/apqClosed.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.message("The gate is not opened yet.");
|
||||
return false;
|
||||
}
|
||||
36
scripts/portal/apqDoor.js
Normal file
36
scripts/portal/apqDoor.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
/**
|
||||
* @Author Ronan
|
||||
*/
|
||||
function enter(pi) {
|
||||
var name = pi.getPortal().getName().substring(2, 4);
|
||||
var gate = pi.getPlayer().getMap().getReactorByName("gate" + name);
|
||||
if (gate != null && gate.getState() == 4) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(670010600, "gt" + name + "PIB");
|
||||
return true;
|
||||
} else {
|
||||
pi.message("The gate is not opened yet.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
26
scripts/portal/aqua_pq_boss_0.js
Normal file
26
scripts/portal/aqua_pq_boss_0.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(230040420, 0);
|
||||
return true;
|
||||
}
|
||||
5
scripts/portal/aranTutorAloneX.js
Normal file
5
scripts/portal/aranTutorAloneX.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function enter(pi) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(914000100, 1);
|
||||
return true;
|
||||
}
|
||||
34
scripts/portal/aranTutorArrow0.js
Normal file
34
scripts/portal/aranTutorArrow0.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "arr0=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.updateAreaInfo(21002, "arr0=o;mo1=o;mo2=o;mo3=o");
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialArrow3");
|
||||
return true;
|
||||
}
|
||||
34
scripts/portal/aranTutorArrow1.js
Normal file
34
scripts/portal/aranTutorArrow1.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "arr1=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.updateAreaInfo(21002, "normal=o;arr0=o;arr1=o;mo1=o;mo2=o;mo3=o;mo4=o");
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialArrow1");
|
||||
return true;
|
||||
}
|
||||
34
scripts/portal/aranTutorArrow2.js
Normal file
34
scripts/portal/aranTutorArrow2.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "arr2=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.updateAreaInfo(21002, "normal=o;arr0=o;arr1=o;arr2=o;mo1=o;chain=o;mo2=o;mo3=o;mo4=o");
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialArrow1");
|
||||
return true;
|
||||
}
|
||||
34
scripts/portal/aranTutorArrow3.js
Normal file
34
scripts/portal/aranTutorArrow3.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "arr3=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.updateAreaInfo(21002, "cmd=o;normal=o;arr0=o;arr1=o;arr2=o;arr3=o;mo1=o;chain=o;mo2=o;mo3=o;mo4=o");
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialArrow1");
|
||||
return true;
|
||||
}
|
||||
35
scripts/portal/aranTutorGuide0.js
Normal file
35
scripts/portal/aranTutorGuide0.js
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "normal=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialGuide1");
|
||||
pi.message("To use a Regular Attack on monsters, press the Ctrl key.");
|
||||
pi.updateAreaInfo(21002, "normal=o;arr0=o;mo1=o;mo2=o;mo3=o");
|
||||
return true;
|
||||
}
|
||||
35
scripts/portal/aranTutorGuide1.js
Normal file
35
scripts/portal/aranTutorGuide1.js
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "chain=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialGuide2");
|
||||
pi.message("You can use Consecutive Attacks by pressing the Ctrl key multiple times.");
|
||||
pi.updateAreaInfo(21002, "normal=o;arr0=o;arr1=o;mo1=o;chain=o;mo2=o;mo3=o;mo4=o");
|
||||
return true;
|
||||
}
|
||||
35
scripts/portal/aranTutorGuide2.js
Normal file
35
scripts/portal/aranTutorGuide2.js
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "cmd=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.showInfo("Effect/OnUserEff.img/guideEffect/aranTutorial/tutorialGuide3");
|
||||
pi.message("You can use a Command Attack by pressing both the arrow key and the attack key after a Consecutive Attack.");
|
||||
pi.updateAreaInfo(21002, "cmd=o;normal=o;arr0=o;arr1=o;arr2=o;mo1=o;chain=o;mo2=o;mo3=o;mo4=o");
|
||||
return true;
|
||||
}
|
||||
34
scripts/portal/aranTutorLost.js
Normal file
34
scripts/portal/aranTutorLost.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
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 as
|
||||
published by the Free Software Foundation 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
@author kevintjuh93
|
||||
*/
|
||||
function enter(pi) {
|
||||
pi.blockPortal();
|
||||
if (pi.containsAreaInfo(21002, "fin=o")) {
|
||||
return false;
|
||||
}
|
||||
pi.updateAreaInfo(21002, "cmd=o;normal=o;arr0=o;arr1=o;arr2=o;arr3=o;fin=o;mo1=o;chain=o;mo2=o;mo3=o;mo4=o");
|
||||
pi.showIntro("Effect/Direction1.img/aranTutorial/ClickChild");
|
||||
return true;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user