Merge branch 'master' of https://github.com/ronancpl/HeavenMS into credits_update
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
function start(ms) {
|
||||
ms.getPlayer().resetEnteredScript();
|
||||
ms.getPlayer().getMap().addMapTimer(180);
|
||||
ms.getPlayer().resetEnteredScript();
|
||||
ms.spawnMonster(9300331, -28, 0);
|
||||
}
|
||||
@@ -21,5 +21,5 @@
|
||||
*/
|
||||
|
||||
function start(ms) {
|
||||
ms.getPlayer().updateQuestInfo(20010, "1");
|
||||
ms.setQuestProgress(20010, 20022, 1);
|
||||
}
|
||||
@@ -21,5 +21,5 @@
|
||||
*/
|
||||
|
||||
function start(ms) {
|
||||
ms.getPlayer().updateQuestInfo(20010, "1");
|
||||
ms.setQuestProgress(20010, 20022, 1);
|
||||
}
|
||||
@@ -5,11 +5,11 @@ function start(ms){
|
||||
var map = player.getMap();
|
||||
|
||||
if(player.isCygnus()) {
|
||||
if(ms.isQuestStarted(20730) && ms.getQuestProgress(20730, 9300285) == 0) {
|
||||
if(ms.isQuestStarted(20730) && ms.getQuestProgressInt(20730, 9300285) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300285), new java.awt.Point(680, 258));
|
||||
}
|
||||
} else {
|
||||
if(ms.isQuestStarted(21731) && ms.getQuestProgress(21731, 9300344) == 0) {
|
||||
if(ms.isQuestStarted(21731) && ms.getQuestProgressInt(21731, 9300344) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300344), new java.awt.Point(680, 258));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,5 +21,5 @@
|
||||
*/
|
||||
|
||||
function start(ms) {
|
||||
ms.getPlayer().updateQuestInfo(21000, "1");
|
||||
ms.setQuestProgress(21000, 21002, 1);
|
||||
}
|
||||
@@ -4,7 +4,7 @@ function start(ms){
|
||||
var player = ms.getPlayer();
|
||||
var map = player.getMap();
|
||||
|
||||
if(ms.isQuestStarted(21747) && ms.getQuestProgress(21747, 9300351) == 0) {
|
||||
if(ms.isQuestStarted(21747) && ms.getQuestProgressInt(21747, 9300351) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300351), new java.awt.Point(897, 51));
|
||||
}
|
||||
}
|
||||
25
scripts/map/onUserEnter/cygnusJobTutorial.js
Normal file
25
scripts/map/onUserEnter/cygnusJobTutorial.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 start(ms) {
|
||||
ms.displayCygnusIntro();
|
||||
}
|
||||
@@ -19,23 +19,11 @@
|
||||
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
|
||||
* Author: kevintjuh93
|
||||
*
|
||||
*/
|
||||
|
||||
importPackage(Packages.tools);
|
||||
var player;
|
||||
|
||||
function start(ms) {
|
||||
player = ms.getPlayer();
|
||||
player.resetEnteredScript();
|
||||
ms.getClient().announce(MaplePacketCreator.showEffect("event/space/start"));
|
||||
player.startMapEffect("Please rescue Gaga within the time limit.", 5120027);
|
||||
var map = player.getMap();
|
||||
if (map.getTimeLeft() > 0) {
|
||||
ms.getClient().announce(MaplePacketCreator.getClock(map.getTimeLeft()));
|
||||
} else {
|
||||
map.addMapTimer(180);
|
||||
}
|
||||
ms.useItem(2360002);//HOORAY <3
|
||||
}
|
||||
function start(ms) {
|
||||
ms.touchTheSky();
|
||||
}
|
||||
5
scripts/map/onUserEnter/startEreb.js
Normal file
5
scripts/map/onUserEnter/startEreb.js
Normal file
@@ -0,0 +1,5 @@
|
||||
function start(ms) {
|
||||
if (ms.getJobId() == 1000 && ms.getLevel() >= 10) {
|
||||
ms.unlockUI();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user