Files
sweetgum-server/scripts/portal/davy_next1.js
ronancpl 6791a3d475 Client clean-up + PiratePQ Implementation
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.
2017-04-12 15:32:55 -03:00

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);
}