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.
This commit is contained in:
16
scripts/portal/davy_next1.js
Normal file
16
scripts/portal/davy_next1.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user