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

@@ -2,6 +2,8 @@
* 4th Job Snipe / Concentration
*/
var minPlayers = 1;
function init() {
em.setProperty("started", "false");
}
@@ -42,7 +44,7 @@ function changedMap(eim, player, mapid) {
if (mapid != 910500000) {
eim.unregisterPlayer(player);
if (eim.disposeIfPlayerBelow(0, 0)) {
if (eim.disposeIfPlayerBelow(minPlayers, 105090200)) {
em.setProperty("started", "false");
}
}