Major update on client packets, now properly making unseen killed monsters not appear as residual on a player's client. Many updates revolving the PiratePQ environment as well.
16 lines
422 B
JavaScript
16 lines
422 B
JavaScript
function enter(pi) {
|
|
try {
|
|
var em = pi.getEventManager("PiratePQ");
|
|
if (em != null && em.getProperty("stage2").equals("3")) {
|
|
pi.warp(925100200,0); //next
|
|
return(true);
|
|
} else {
|
|
pi.playerMessage(5, "The portal is not opened yet.");
|
|
return(false);
|
|
}
|
|
} catch(e) {
|
|
pi.playerMessage(5, "Error: " + e);
|
|
}
|
|
|
|
return(false);
|
|
} |