Aran skill & mount quests + New player IDs + MapleSkillMakerFetcher
Aran skill and mount questlines fixed. Player ID starts counting from 20mil now, preventing clashes with map objects oid's (trying to solve the NPC disappearing issue). New tool: MapleSkillMakerFetcher. It compiles a SQL script file containing updated Maker data info from the inputted ItemMake.wz.xml. Updated Maker tables on the DB.
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms){
|
||||
var mobId = 9300285;
|
||||
var player = ms.getPlayer();
|
||||
var map = player.getMap();
|
||||
|
||||
if(ms.isQuestStarted(20730) && ms.getQuestProgress(20730, 9300285) == 0)
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), new java.awt.Point(680, 258));
|
||||
var player = ms.getPlayer();
|
||||
var map = player.getMap();
|
||||
|
||||
if(player.isCygnus()) {
|
||||
if(ms.isQuestStarted(20730) && ms.getQuestProgress(20730, 9300285) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300285), new java.awt.Point(680, 258));
|
||||
}
|
||||
} else {
|
||||
if(ms.isQuestStarted(21731) && ms.getQuestProgress(21731, 9300344) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300344), new java.awt.Point(680, 258));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms){
|
||||
var mobId = 9300344;
|
||||
var player = ms.getPlayer();
|
||||
var map = player.getMap();
|
||||
|
||||
if(map.countMonster(mobId) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), new java.awt.Point(680, 258));
|
||||
}
|
||||
}
|
||||
10
scripts/map/onUserEnter/925040100.js
Normal file
10
scripts/map/onUserEnter/925040100.js
Normal file
@@ -0,0 +1,10 @@
|
||||
importPackage(Packages.server.life);
|
||||
|
||||
function start(ms){
|
||||
var player = ms.getPlayer();
|
||||
var map = player.getMap();
|
||||
|
||||
if(ms.isQuestStarted(21747) && ms.getQuestProgress(21747, 9300351) == 0) {
|
||||
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300351), new java.awt.Point(897, 51));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user