New PQ: Boss Rush PQ + Ellin/PiratePQ bug fixes

Introducing Boss Rush PQ. Corrected a few issues regarding rewardings in
PiratePQ and EllinPQ and implemented a standardized way to script PQs.
This commit is contained in:
ronancpl
2017-04-25 11:55:44 -03:00
parent 828a8a02a2
commit 939b214fb5
66 changed files with 16104 additions and 44622 deletions

View File

@@ -25,9 +25,9 @@
*/
function act() {
var eim = rm.getPlayer().getEventInstance();
var now = parseInt(eim.getProperty("openedChests"));
var em = rm.getPlayer().getEventInstance().getEm();
var now = parseInt(em.getProperty("openedChests"));
var nextNum = now + 1;
eim.setProperty("openedChests", nextNum);
em.setProperty("openedChests", nextNum.toString());
rm.dropItems(true, 1, 50, 100, 15);
}