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:
22
scripts/portal/enterNepenthes.js
Normal file
22
scripts/portal/enterNepenthes.js
Normal file
@@ -0,0 +1,22 @@
|
||||
function enter(pi) {
|
||||
if (pi.isQuestActive(21739)) {
|
||||
var mapobj1 = pi.getWarpMap(920030000);
|
||||
var mapobj2 = pi.getWarpMap(920030001);
|
||||
|
||||
if(mapobj1.countPlayers() == 0 && mapobj2.countPlayers() == 0) {
|
||||
mapobj1.resetPQ(1);
|
||||
mapobj2.resetPQ(1);
|
||||
|
||||
mapobj2.spawnMonsterOnGroundBelow(Packages.server.life.MapleLifeFactory.getMonster(9300348), new Packages.java.awt.Point(591, -34));
|
||||
|
||||
pi.warp(920030000,2);
|
||||
return true;
|
||||
} else {
|
||||
pi.message("Someone is already challenging the area.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
pi.warp(200060001,2);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user