Files
sweetgum-server/scripts/npc/2133004.js
ronancpl 8fab2a6e3e Reworked Singapore/Malaysia + warp fix
Reworked many aspects of the Malaysia/Singapore region (added DB data,
enabled Latanica & Scarga expedition, fixed maps). Fixed some issues
related with player warping.
2017-07-14 20:40:06 -03:00

23 lines
427 B
JavaScript

var status = -1;
function start() {
action(1,0,0);
}
function action(mode, type, selection) {
if (mode == 1) {
status++;
} else {
status--;
}
switch(cm.getPlayer().getMapId()) {
case 930000500:
if (!cm.haveItem(4001163)) {
cm.sendNext("Get me the Purple Stone of Magic from here.");
} else {
cm.getEventInstance().warpEventTeam(930000600);
}
break;
}
cm.dispose();
}