White scroll & PiratePQ fix + Party for starters + concurrency protection on event scripts

Fixed successful scrolled items not using up an upgrade slot when using white scroll. Fixed some issues with the PiratePQ and added a "clear all boxes to complete a stage"-mode. Added "Party for Starters" feature. Added concurrency protection on event script modules.
This commit is contained in:
ronancpl
2017-10-13 03:31:51 -03:00
parent 6e1442af30
commit 1ec7487bd3
96 changed files with 470 additions and 109 deletions

View File

@@ -1,5 +1,10 @@
function passedGrindMode(map, eim) {
if(eim.getIntProperty("grindMode") == 0) return true;
return eim.activatedAllReactorsOnMap(map, 2511000, 2517999);
}
function enter(pi) {
if (pi.getMap().getMonsters().size() == 0) {
if (pi.getMap().getMonsters().size() == 0 && passedGrindMode(pi.getMap(), pi.getEventInstance())) {
pi.warp(925100400,0); //next
return(true);
} else {