Concurrency fix + new scripts

Fixed some situation involving concurrency upon using getCharacters()
from MapleMap, added scripts and other bug fixes.
This commit is contained in:
ronancpl
2017-04-08 19:29:27 -03:00
parent c8f905e1a5
commit 7dc163fc76
38 changed files with 684 additions and 180 deletions

View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(105100000, 2);
return(true);
}

View File

@@ -0,0 +1,9 @@
function enter(pi) {
if (!pi.canHold(4001261,1)) {
pi.playerMessage(5, "Please make 1 ETC room.");
return false;
}
pi.gainItem(4001261,1);
pi.warp(105100100,0);
return(true);
}

4
scripts/portal/inNix1.js Normal file
View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(240020600,"out00");
return(true);
}

4
scripts/portal/inNix2.js Normal file
View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(240020600,"out01");
return(true);
}

View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(240020101,"in00");
return(true);
}

View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(240020401,"in00");
return(true);
}

View File

@@ -0,0 +1,5 @@
function enter(pi) {
pi.message("You found a shortcut to the start of the underground temple.");
pi.warp(105100000, 2);
return(true);
}

View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(105100000);
return(true);
}

View File

@@ -0,0 +1,4 @@
function enter(pi) {
pi.warp(105100101, "in00");
return(true);
}