Source for my MapleSolaxiaV2 (v83 MapleStory).
This commit is contained in:
ronancpl
2015-11-02 23:17:21 -02:00
parent 324982e94f
commit 972517e7b2
1675 changed files with 261831 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
function enter(pi) {
if (pi.getPlayer().getLevel() <= 10 && pi.getPlayer().getJob().getId() == 0) {
var m = pi.getPlayer().getMap().getId();
var npcid = 0;
if (m == 120000101) { // Navigation Room, The Nautilus
npcid = 1090000; // Maybe 1090000?
} else if (m == 102000003) { // Warrior's Sanctuary
npcid = 1022000;
}else if (m == 103000003) { // Thieves' Hideout
npcid = 1052001;
}else if (m == 100000201) { // Bowman Instructional School
npcid = 1012100;
} else if (m == 101000003) { // Magic Library
npcid = 1032001;
}
if (npcid != 0) {
pi.openNpc(npcid);
return true;
}
}
return false;
}