Reformat and clean up reactor and base scripts
This commit is contained in:
@@ -23,36 +23,37 @@
|
||||
*/
|
||||
|
||||
var status;
|
||||
|
||||
|
||||
function start() {
|
||||
status = -1;
|
||||
action(1, 0, 0);
|
||||
status = -1;
|
||||
action(1, 0, 0);
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
if (mode == -1) {
|
||||
cm.dispose();
|
||||
} else {
|
||||
if (mode == 0 && type > 0) {
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
if (mode == 1)
|
||||
status++;
|
||||
else
|
||||
status--;
|
||||
|
||||
if(status == 0) {
|
||||
cm.sendOk("Sample text.");
|
||||
cm.dispose();
|
||||
}
|
||||
if (mode == -1) {
|
||||
cm.dispose();
|
||||
} else {
|
||||
if (mode == 0 && type > 0) {
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
} else {
|
||||
status--;
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
cm.sendOk("Sample text.");
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function generateSelectionMenu(array) { // nice tool for generating a string for the sendSimple functionality
|
||||
var menu = "";
|
||||
for (var i = 0; i < array.length; i++) {
|
||||
menu += "#L" + i + "#" + array[i] + "#l\r\n";
|
||||
}
|
||||
return menu;
|
||||
var menu = "";
|
||||
for (var i = 0; i < array.length; i++) {
|
||||
menu += "#L" + i + "#" + array[i] + "#l\r\n";
|
||||
}
|
||||
return menu;
|
||||
}
|
||||
@@ -28,16 +28,17 @@ function start(mode, type, selection) {
|
||||
if (mode == -1) {
|
||||
qm.dispose();
|
||||
} else {
|
||||
if(mode == 0 && type > 0) {
|
||||
if (mode == 0 && type > 0) {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
if (mode == 1)
|
||||
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
status--;
|
||||
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
qm.sendNext("Sample Text.");
|
||||
} else if (status == 1) {
|
||||
@@ -51,16 +52,17 @@ function end(mode, type, selection) {
|
||||
if (mode == -1) {
|
||||
qm.dispose();
|
||||
} else {
|
||||
if(mode == 0 && type > 0) {
|
||||
if (mode == 0 && type > 0) {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
if (mode == 1)
|
||||
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
status--;
|
||||
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
qm.sendNext("Sample Text.");
|
||||
} else if (status == 1) {
|
||||
|
||||
@@ -24,5 +24,5 @@
|
||||
*/
|
||||
|
||||
function act() {
|
||||
|
||||
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 8, 15);
|
||||
rm.dropItems(true, 2, 8, 15);
|
||||
}
|
||||
@@ -19,14 +19,16 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Crovy
|
||||
*
|
||||
* 1050000.js: Berserk 4th job quest rock - drops a shield or punts you from map.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if (Math.random() > 0.7)
|
||||
if (Math.random() > 0.7) {
|
||||
rm.dropItems();
|
||||
else
|
||||
} else {
|
||||
rm.warp(105090200, 0);
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.sprayItems(true, 1, 500, 1000, 15);
|
||||
rm.sprayItems(true, 1, 500, 1000, 15);
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.sprayItems(true, 1, 500, 1000, 15);
|
||||
rm.sprayItems(true, 1, 500, 1000, 15);
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk
|
||||
*
|
||||
* 1072000.js: Kerning Swamp Plant - drops Witchgrass Leaves
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -26,5 +26,5 @@
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
|
||||
@@ -28,6 +28,6 @@ function act() { // string visibility thanks to ProXAIMeRx & Glvelturall
|
||||
rm.setQuestProgress(6400, 1, 2);
|
||||
rm.setQuestProgress(6400, 6401, "q3");
|
||||
}
|
||||
|
||||
|
||||
rm.message("Real Bart has been found. Return to Jonathan through the portal.");
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 8, 15, 1);
|
||||
rm.dropItems(true, 2, 8, 15, 1);
|
||||
}
|
||||
@@ -2,6 +2,6 @@
|
||||
Queen's Path : Forest of the Start 5
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 2, 8, 12, 2);
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 8, 12, 2);
|
||||
}
|
||||
@@ -19,7 +19,8 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/*
|
||||
|
||||
/*
|
||||
* @Author kevintjuh93
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -19,6 +19,7 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk
|
||||
*
|
||||
* 2000.js: Maple Island Box - drops various items, notably quest items Old Wooden Board and Rusty Screw
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk - Hi :()
|
||||
*
|
||||
* 2001.js: Maple Island Box - drops various items, notably quest items Old Wooden Board and Rusty Screw
|
||||
|
||||
@@ -19,21 +19,21 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Nependeath Pot - Spawns Nependeath or Dark Nependeath
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
if(rm.getMap().getSummonState()) {
|
||||
if (rm.getMap().getSummonState()) {
|
||||
var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c"));
|
||||
|
||||
if(count < 7) {
|
||||
if (count < 7) {
|
||||
var nextCount = (count + 1);
|
||||
|
||||
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
|
||||
rm.getEventInstance().setProperty("statusStg7_c", nextCount);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
rm.spawnMonster(9300049);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,21 +19,21 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Nependeath Pot - Spawns Nependeath or Dark Nependeath
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
if(rm.getMap().getSummonState()) {
|
||||
if (rm.getMap().getSummonState()) {
|
||||
var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c"));
|
||||
|
||||
if(count < 7) {
|
||||
if (count < 7) {
|
||||
var nextCount = (count + 1);
|
||||
|
||||
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
|
||||
rm.getEventInstance().setProperty("statusStg7_c", nextCount);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
rm.spawnMonster(9300049);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.max(Math.floor(Math.random() * 14), 4);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,36 +19,36 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
*/
|
||||
|
||||
function act() {
|
||||
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
|
||||
var rnd = Math.floor(Math.random() * 14);
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg2", "" + rnd);
|
||||
rm.getEventInstance().setProperty("statusStg2_c", "0");
|
||||
}
|
||||
|
||||
|
||||
var limit = rm.getEventInstance().getIntProperty("statusStg2");
|
||||
var count = rm.getEventInstance().getIntProperty("statusStg2_c");
|
||||
if(count >= limit) {
|
||||
if (count >= limit) {
|
||||
rm.dropItems();
|
||||
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
var nextHashed = (11 * (count)) % 14;
|
||||
|
||||
|
||||
var nextPos = rm.getMap().getReactorById(2001002 + nextHashed).getPosition();
|
||||
rm.spawnMonster(9300040, 1, nextPos);
|
||||
}
|
||||
|
||||
@@ -19,10 +19,11 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Nependeath Pot - Spawns Papa Pixie
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.getMap().killAllMonsters();
|
||||
rm.getMap().allowSummonState(false);
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk
|
||||
*
|
||||
* 2002000.js: Orbis Box - drops meso, orange/white pots, and Empty Potion Bottles (quest item)
|
||||
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Jvlaple
|
||||
*2002001.js
|
||||
*Drops Cloud Piece...
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,5 +25,5 @@
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -19,13 +19,14 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*2002003.js - Pot of life
|
||||
*@author Jvlaple
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.setProperty("statusStg7", "1");
|
||||
rm.dropItems();
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
eim.setProperty("statusStg7", "1");
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* OPQ Lobby Reactor
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,5 +25,5 @@
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
*OPQ Reactor - Drops 4th piece
|
||||
*@author Jvlaple
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -19,6 +19,7 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Ronan
|
||||
*
|
||||
* 2002013.js: Drops the Statue piece.
|
||||
|
||||
@@ -19,17 +19,18 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Reactor : OrbisPQ Bonus Reactor - 2002014.js
|
||||
* Drops all the Bonus Items
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 100, 400, 15);
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
if(eim.getProperty("statusStgBonus") != "1") {
|
||||
rm.spawnNpc(2013002, new java.awt.Point(46, 840));
|
||||
eim.setProperty("statusStgBonus", "1");
|
||||
}
|
||||
rm.dropItems(true, 1, 100, 400, 15);
|
||||
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim.getProperty("statusStgBonus") != "1") {
|
||||
rm.spawnNpc(2013002, new java.awt.Point(46, 840));
|
||||
eim.setProperty("statusStgBonus", "1");
|
||||
}
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Reactor : OrbisPQ Bonus Reactor - 2002017.js
|
||||
* Drops all the Bonus Items
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.sprayItems(true, 1, 100, 400, 15);
|
||||
rm.sprayItems(true, 1, 100, 400, 15);
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Reactor : OrbisPQ Bonus Reactor - 2002018.js
|
||||
* Drops all the Bonus Items
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.sprayItems(true, 1, 100, 400, 15);
|
||||
rm.sprayItems(true, 1, 100, 400, 15);
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Jvlaple
|
||||
* Spawns Eak When 20 Clouds are Dropped.
|
||||
*2006000.js
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.mapMessage(5, "As the light flickers, someone appears out of the light.");
|
||||
rm.spawnNpc(2013001);
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
*2006001.js - Spawns Minerva
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.spawnNpc(2013002);
|
||||
rm.getEventInstance().clearPQ();
|
||||
|
||||
|
||||
rm.getEventInstance().setProperty("statusStg8", "1");
|
||||
eim.giveEventPlayersExp(3500);
|
||||
eim.showClearEffect(true);
|
||||
|
||||
|
||||
rm.getEventInstance().startEventTimer(5 * 60000); //bonus time
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Ronan
|
||||
*Reactor : Orbis PQ LP Player - 2008006.js
|
||||
* Makes Chamberlain Eak spawn box.
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.getEventInstance().setProperty("statusStg3", "0");
|
||||
rm.getEventInstance().setProperty("statusStg3", "0");
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
* 2110000.js: Zakum Party Quest Chest - action go280010000
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.playerMessage(5, "An unknown force has moved you to the starting point.");
|
||||
rm.warp(280010000, 0);
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
* 2111000.js: Zakum Party Quest Chest - summons 3 "Mimics"
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.playerMessage(5, "Oh noes! Monsters in the chest!");
|
||||
rm.spawnMonster(9300004,3);
|
||||
rm.spawnMonster(9300004, 3);
|
||||
}
|
||||
@@ -20,14 +20,15 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
function act() {
|
||||
if(rm.getPlayer().getEventInstance() != null){
|
||||
rm.getPlayer().getEventInstance().setProperty("summoned", "true");
|
||||
rm.getPlayer().getEventInstance().setProperty("canEnter", "false");
|
||||
}
|
||||
if (rm.getPlayer().getEventInstance() != null) {
|
||||
rm.getPlayer().getEventInstance().setProperty("summoned", "true");
|
||||
rm.getPlayer().getEventInstance().setProperty("canEnter", "false");
|
||||
}
|
||||
rm.changeMusic("Bgm06/FinalFight");
|
||||
rm.spawnFakeMonster(8800000);
|
||||
for (i=8800003; i<8800011; i++)
|
||||
for (i = 8800003; i < 8800011; i++) {
|
||||
rm.spawnMonster(i);
|
||||
rm.createMapMonitor(280030000,"ps00");
|
||||
}
|
||||
rm.createMapMonitor(280030000, "ps00");
|
||||
rm.mapMessage(5, "Zakum is summoned by the force of Eye of Fire.");
|
||||
}
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112000.js: Zakum Party Quest Chest - drops an item (elixir)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112001.js: Zakum Party Quest Chest - drops an item (fried chicken)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112003.js: Zakum Party Quest Chest - drops an item (power elixir)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112004.js: Zakum Party Quest Chest - drops a key
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112005.js: Zakum Party Quest Chest - drops a document
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112006.js: Zakum Party Quest Chest - drops an item (10k+ meso sack in Global)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 1, 500, 800);
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 500, 800);
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112007.js: Zakum Party Quest Rock - drops an item (red bean porridge)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112008.js: Zakum Party Quest Rock - drops an item (elixir)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112009.js: Zakum Party Quest Rock - drops an item (fried chicken)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112010.js: Zakum Party Quest Rock - drops an item (power elixir)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112011.js: Zakum Party Quest Rock - drops a key
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112012.js: Zakum Party Quest Rock - drops a document
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112013.js: Zakum Party Quest Rock - drops an item (~100 meso bundle in Global)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 1, 125, 175);
|
||||
function act() {
|
||||
rm.dropItems(true, 1, 125, 175);
|
||||
}
|
||||
@@ -26,5 +26,5 @@
|
||||
*/
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112016.js: Phoenix Egg in El Nath Lava - part of the Phoenix quest (4th job Bowmaster)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2112017.js: Frostprey Egg in El Nath Mountains - part of the Frostprey quest (4th job Marksman)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
* 2200000.js: Fake Dollhouse: Returns player to Eos Tower 74th Floor [221023200]
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.playerMessage(5, "Gotcha! Try again next time!");
|
||||
rm.warp(221023200);
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.playerMessage(5,"You have found a secret factory!");
|
||||
function act() {
|
||||
rm.playerMessage(5, "You have found a secret factory!");
|
||||
rm.warp(Math.random() < .5 ? 922000020 : 922000021, 0);
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*Stage 2 Box For LPQ
|
||||
*@Author Jvlaple
|
||||
*/
|
||||
|
||||
function act(){
|
||||
|
||||
function act() {
|
||||
rm.mapMessage(5, "An unknown force has warped you into a trap.");
|
||||
rm.warpMap(922010201);
|
||||
}
|
||||
@@ -26,6 +26,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.spawnMonster(9300011, 10);
|
||||
}
|
||||
@@ -19,12 +19,13 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@Author Jvlaple
|
||||
*2201001.js - 3 Blocktopus
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
for (var i=0; i<3; i++) {
|
||||
for (var i = 0; i < 3; i++) {
|
||||
rm.spawnMonster(9300007);
|
||||
}
|
||||
}
|
||||
@@ -19,10 +19,11 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*Ludi PQ Stage 7 Reactor - 2201002.js
|
||||
*@Author Jvlaple
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.mapMessage(5, "Rombard has been summoned somewhere in the map.");
|
||||
rm.spawnMonster(9300010, 1, -211);
|
||||
|
||||
@@ -19,16 +19,17 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Ludi PQ Crack Reactor ^_^
|
||||
*@Author Jvlaple
|
||||
*2201003.js
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
if (rm.getPlayer().getMapId() == 922010900) {
|
||||
rm.mapMessage(5, "Alishar has been summoned.");
|
||||
rm.spawnMonster(9300012, 941, 184);
|
||||
} else if(rm.getPlayer().getMapId() == 922010700) {
|
||||
} else if (rm.getPlayer().getMapId() == 922010700) {
|
||||
rm.mapMessage(5, "Rombard has been summoned somewhere in the map.");
|
||||
rm.spawnMonster(9300010, 1, -211);
|
||||
}
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
function act(){
|
||||
function act() {
|
||||
rm.mapMessage(5, "The dimensional hole has been filled by the <Piece of Cracked Dimension>.");
|
||||
rm.changeMusic("Bgm09/TimeAttack");
|
||||
rm.spawnMonster(8500000, -410, -400);
|
||||
rm.createMapMonitor(220080001,"in00");
|
||||
rm.createMapMonitor(220080001, "in00");
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2202000.js: Real Dollhouse: Drops Pendulum (Quest Item)
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -25,6 +25,6 @@
|
||||
* 2202001.js: Ludibirum Jump Quest Barrel: Drops item
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -26,9 +26,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
if(rm.isQuestActive(3238)) {
|
||||
rm.warp(922000020, 0);
|
||||
}
|
||||
else rm.warp(922000009, 0);
|
||||
function act() {
|
||||
if (rm.isQuestActive(3238)) {
|
||||
rm.warp(922000020, 0);
|
||||
} else {
|
||||
rm.warp(922000009, 0);
|
||||
}
|
||||
}
|
||||
@@ -19,10 +19,11 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*2202003.js - Drops pass
|
||||
*@Author Jvlaple
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -19,11 +19,12 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*@author Jvlaple
|
||||
*Reactor : LudiPQ Bonus Reactor - 2202004.js
|
||||
* Drops all the Bonus Items
|
||||
*/
|
||||
|
||||
|
||||
function act() {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
}
|
||||
@@ -19,10 +19,11 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk
|
||||
* 2212000.js: Plateon Field reactors - Parts 2, Meso, White Pots
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
}
|
||||
@@ -19,12 +19,13 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk
|
||||
*
|
||||
* 2212001.js: Mecateon Field reactors - Parts 1, Meso, White Pots
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
}
|
||||
@@ -19,12 +19,13 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* @Author Lerk
|
||||
*
|
||||
* 2212002.js: Mateon Field reactors - Parts 3, Meso, White Pots
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
}
|
||||
@@ -26,6 +26,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
}
|
||||
@@ -26,6 +26,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
function act() {
|
||||
rm.dropItems(true, 2, 80, 100);
|
||||
}
|
||||
@@ -26,6 +26,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
rm.dropItems();
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.spawnMonster(7130400);
|
||||
rm.mapMessage(5, "Here comes Yellow King Goblin!");
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.spawnMonster(7130401);
|
||||
rm.mapMessage(5, "Here comes Blue King Goblin!");
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.spawnMonster(7130402, -340, 100);
|
||||
rm.mapMessage(5, "Here comes Green King Goblin!");
|
||||
}
|
||||
@@ -27,6 +27,6 @@
|
||||
* and nobody would see the other unless they had the other quest started and were in your party.
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.spawnMonster(9500400);
|
||||
}
|
||||
@@ -27,6 +27,6 @@
|
||||
* and nobody would see the other unless they had the other quest started and were in your party.
|
||||
*/
|
||||
|
||||
function act(){
|
||||
function act() {
|
||||
rm.spawnMonster(9500400);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user