Completed (hopefully, now!) implementation of automated modules for PQ scripting. Added HP bar for some bosses that wouldn't display it before (like King Slime, Alishar and CRog).
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
function enter(pi) {
|
|
if (pi.getMap().getMonsters().size() == 0) {
|
|
pi.warp(925100100,0); //next
|
|
return(true);
|
|
} else {
|
|
pi.playerMessage(5, "The portal is not opened yet.");
|
|
return(false);
|
|
}
|
|
} |