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:
@@ -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);
|
||||
}
|
||||
@@ -1,3 +1,16 @@
|
||||
function act() {
|
||||
rm.givePartyExp(52000, rm.getPlayer().getPartyMembers());
|
||||
}
|
||||
/**
|
||||
* @author: Ronan
|
||||
* @reactor: Water Fountain
|
||||
* @map: 930000800 - Forest of Poison Haze - Outer Forest Exit
|
||||
* @func: Water Fountain
|
||||
*/
|
||||
|
||||
function hit() {
|
||||
var players = rm.getMap().getAllPlayers().toArray();
|
||||
|
||||
for(var i = 0; i < players.length; i++) {
|
||||
rm.giveCharacterExp(52000, players[i]);
|
||||
}
|
||||
}
|
||||
|
||||
function act() {} //do nothing
|
||||
@@ -11,7 +11,7 @@ function act() {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = em.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
map.spawnMonsterOnGroudBelow(9300061, -183, -433);
|
||||
map.spawnMonsterOnGroundBelow(9300061, -183, -433);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ function act() {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = em.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
map.spawnMonsterOnGroudBelow(9300061, -183, -433);
|
||||
map.spawnMonsterOnGroundBelow(9300061, -183, -433);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ function act() {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = em.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
map.spawnMonsterOnGroudBelow(9300061, -183, -433);
|
||||
map.spawnMonsterOnGroundBelow(9300061, -183, -433);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ function act() {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = em.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
map.spawnMonsterOnGroudBelow(9300061, -183, -433);
|
||||
map.spawnMonsterOnGroundBelow(9300061, -183, -433);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ function act() {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = em.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
map.spawnMonsterOnGroudBelow(9300061, -183, -433);
|
||||
map.spawnMonsterOnGroundBelow(9300061, -183, -433);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ function act() {
|
||||
rm.mapMessage(6, "Protect the Moon Bunny!!!");
|
||||
var map = em.getMapInstance(rm.getReactor().getMap().getId());
|
||||
map.allowSummonState(true);
|
||||
map.spawnMonsterOnGroudBelow(9300061, -183, -433);
|
||||
map.spawnMonsterOnGroundBelow(9300061, -183, -433);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user