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:
@@ -26,8 +26,8 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getPlayer().getEventInstance();
|
||||
var now = parseInt(eim.getProperty("openedChests"));
|
||||
var now = eim.getIntProperty("openedChests");
|
||||
var nextNum = now + 1;
|
||||
eim.setProperty("openedChests", nextNum.toString());
|
||||
eim.setIntProperty("openedChests", nextNum);
|
||||
rm.dropItems(true, 1, 50, 100, 15);
|
||||
}
|
||||
Reference in New Issue
Block a user