Reformat and clean up reactor and base scripts

This commit is contained in:
P0nk
2021-09-09 23:38:09 +02:00
parent 3f43fe82d0
commit d9590078f5
231 changed files with 1192 additions and 1075 deletions

View File

@@ -37,12 +37,13 @@ function action(mode, type, selection) {
cm.dispose(); cm.dispose();
return; return;
} }
if (mode == 1) if (mode == 1) {
status++; status++;
else } else {
status--; status--;
}
if(status == 0) { if (status == 0) {
cm.sendOk("Sample text."); cm.sendOk("Sample text.");
cm.dispose(); cm.dispose();
} }

View File

@@ -28,15 +28,16 @@ function start(mode, type, selection) {
if (mode == -1) { if (mode == -1) {
qm.dispose(); qm.dispose();
} else { } else {
if(mode == 0 && type > 0) { if (mode == 0 && type > 0) {
qm.dispose(); qm.dispose();
return; return;
} }
if (mode == 1) if (mode == 1) {
status++; status++;
else } else {
status--; status--;
}
if (status == 0) { if (status == 0) {
qm.sendNext("Sample Text."); qm.sendNext("Sample Text.");
@@ -51,15 +52,16 @@ function end(mode, type, selection) {
if (mode == -1) { if (mode == -1) {
qm.dispose(); qm.dispose();
} else { } else {
if(mode == 0 && type > 0) { if (mode == 0 && type > 0) {
qm.dispose(); qm.dispose();
return; return;
} }
if (mode == 1) if (mode == 1) {
status++; status++;
else } else {
status--; status--;
}
if (status == 0) { if (status == 0) {
qm.sendNext("Sample Text."); qm.sendNext("Sample Text.");

View File

@@ -19,14 +19,16 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Crovy /* @Author Crovy
* *
* 1050000.js: Berserk 4th job quest rock - drops a shield or punts you from map. * 1050000.js: Berserk 4th job quest rock - drops a shield or punts you from map.
*/ */
function act() { function act() {
if (Math.random() > 0.7) if (Math.random() > 0.7) {
rm.dropItems(); rm.dropItems();
else } else {
rm.warp(105090200, 0); rm.warp(105090200, 0);
}
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk /* @Author Lerk
* *
* 1072000.js: Kerning Swamp Plant - drops Witchgrass Leaves * 1072000.js: Kerning Swamp Plant - drops Witchgrass Leaves

View File

@@ -2,6 +2,6 @@
Queen's Path : Forest of the Start 5 Queen's Path : Forest of the Start 5
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 8, 12, 2); rm.dropItems(true, 2, 8, 12, 2);
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* /*
* @Author kevintjuh93 * @Author kevintjuh93
*/ */

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk /* @Author Lerk
* *
* 2000.js: Maple Island Box - drops various items, notably quest items Old Wooden Board and Rusty Screw * 2000.js: Maple Island Box - drops various items, notably quest items Old Wooden Board and Rusty Screw

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk - Hi :() /* @Author Lerk - Hi :()
* *
* 2001.js: Maple Island Box - drops various items, notably quest items Old Wooden Board and Rusty Screw * 2001.js: Maple Island Box - drops various items, notably quest items Old Wooden Board and Rusty Screw

View File

@@ -19,21 +19,21 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Nependeath Pot - Spawns Nependeath or Dark Nependeath *Nependeath Pot - Spawns Nependeath or Dark Nependeath
*/ */
function act() { function act() {
if(rm.getMap().getSummonState()) { if (rm.getMap().getSummonState()) {
var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c")); var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c"));
if(count < 7) { if (count < 7) {
var nextCount = (count + 1); var nextCount = (count + 1);
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048); rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
rm.getEventInstance().setProperty("statusStg7_c", nextCount); rm.getEventInstance().setProperty("statusStg7_c", nextCount);
} } else {
else {
rm.spawnMonster(9300049); rm.spawnMonster(9300049);
} }
} }

View File

@@ -19,21 +19,21 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Nependeath Pot - Spawns Nependeath or Dark Nependeath *Nependeath Pot - Spawns Nependeath or Dark Nependeath
*/ */
function act() { function act() {
if(rm.getMap().getSummonState()) { if (rm.getMap().getSummonState()) {
var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c")); var count = Number(rm.getEventInstance().getIntProperty("statusStg7_c"));
if(count < 7) { if (count < 7) {
var nextCount = (count + 1); var nextCount = (count + 1);
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048); rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
rm.getEventInstance().setProperty("statusStg7_c", nextCount); rm.getEventInstance().setProperty("statusStg7_c", nextCount);
} } else {
else {
rm.spawnMonster(9300049); rm.spawnMonster(9300049);
} }
} }

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.max(Math.floor(Math.random() * 14), 4); var rnd = Math.max(Math.floor(Math.random() * 14), 4);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,13 +19,14 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2001002.js: Either spawns a PQ mob or drops the Statue piece. * 2001002.js: Either spawns a PQ mob or drops the Statue piece.
*/ */
function act() { function act() {
if(rm.getEventInstance().getIntProperty("statusStg2") == -1) { if (rm.getEventInstance().getIntProperty("statusStg2") == -1) {
var rnd = Math.floor(Math.random() * 14); var rnd = Math.floor(Math.random() * 14);
rm.getEventInstance().setProperty("statusStg2", "" + rnd); rm.getEventInstance().setProperty("statusStg2", "" + rnd);
@@ -34,7 +35,7 @@ function act() {
var limit = rm.getEventInstance().getIntProperty("statusStg2"); var limit = rm.getEventInstance().getIntProperty("statusStg2");
var count = rm.getEventInstance().getIntProperty("statusStg2_c"); var count = rm.getEventInstance().getIntProperty("statusStg2_c");
if(count >= limit) { if (count >= limit) {
rm.dropItems(); rm.dropItems();
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
@@ -42,8 +43,7 @@ function act() {
eim.setProperty("statusStg2", "1"); eim.setProperty("statusStg2", "1");
eim.showClearEffect(true); eim.showClearEffect(true);
} } else {
else {
count++; count++;
rm.getEventInstance().setProperty("statusStg2_c", count); rm.getEventInstance().setProperty("statusStg2_c", count);

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Nependeath Pot - Spawns Papa Pixie *Nependeath Pot - Spawns Papa Pixie
*/ */

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk /* @Author Lerk
* *
* 2002000.js: Orbis Box - drops meso, orange/white pots, and Empty Potion Bottles (quest item) * 2002000.js: Orbis Box - drops meso, orange/white pots, and Empty Potion Bottles (quest item)

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Jvlaple /*@author Jvlaple
*2002001.js *2002001.js
*Drops Cloud Piece... *Drops Cloud Piece...

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*2002003.js - Pot of life /*2002003.js - Pot of life
*@author Jvlaple *@author Jvlaple
*/ */

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* OPQ Lobby Reactor * OPQ Lobby Reactor
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Ronan /* @Author Ronan
* *
* 2002013.js: Drops the Statue piece. * 2002013.js: Drops the Statue piece.

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Reactor : OrbisPQ Bonus Reactor - 2002014.js *Reactor : OrbisPQ Bonus Reactor - 2002014.js
* Drops all the Bonus Items * Drops all the Bonus Items
@@ -28,7 +29,7 @@ function act() {
rm.dropItems(true, 1, 100, 400, 15); rm.dropItems(true, 1, 100, 400, 15);
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
if(eim.getProperty("statusStgBonus") != "1") { if (eim.getProperty("statusStgBonus") != "1") {
rm.spawnNpc(2013002, new java.awt.Point(46, 840)); rm.spawnNpc(2013002, new java.awt.Point(46, 840));
eim.setProperty("statusStgBonus", "1"); eim.setProperty("statusStgBonus", "1");
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Reactor : OrbisPQ Bonus Reactor - 2002017.js *Reactor : OrbisPQ Bonus Reactor - 2002017.js
* Drops all the Bonus Items * Drops all the Bonus Items

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Reactor : OrbisPQ Bonus Reactor - 2002018.js *Reactor : OrbisPQ Bonus Reactor - 2002018.js
* Drops all the Bonus Items * Drops all the Bonus Items

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Jvlaple /*@author Jvlaple
* Spawns Eak When 20 Clouds are Dropped. * Spawns Eak When 20 Clouds are Dropped.
*2006000.js *2006000.js

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Ronan /*@author Ronan
*Reactor : Orbis PQ LP Player - 2008006.js *Reactor : Orbis PQ LP Player - 2008006.js
* Makes Chamberlain Eak spawn box. * Makes Chamberlain Eak spawn box.

View File

@@ -25,7 +25,7 @@
* 2110000.js: Zakum Party Quest Chest - action go280010000 * 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.playerMessage(5, "An unknown force has moved you to the starting point.");
rm.warp(280010000, 0); rm.warp(280010000, 0);
} }

View File

@@ -25,7 +25,7 @@
* 2111000.js: Zakum Party Quest Chest - summons 3 "Mimics" * 2111000.js: Zakum Party Quest Chest - summons 3 "Mimics"
*/ */
function act(){ function act() {
rm.playerMessage(5, "Oh noes! Monsters in the chest!"); rm.playerMessage(5, "Oh noes! Monsters in the chest!");
rm.spawnMonster(9300004,3); rm.spawnMonster(9300004, 3);
} }

View File

@@ -20,14 +20,15 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
function act() { function act() {
if(rm.getPlayer().getEventInstance() != null){ if (rm.getPlayer().getEventInstance() != null) {
rm.getPlayer().getEventInstance().setProperty("summoned", "true"); rm.getPlayer().getEventInstance().setProperty("summoned", "true");
rm.getPlayer().getEventInstance().setProperty("canEnter", "false"); rm.getPlayer().getEventInstance().setProperty("canEnter", "false");
} }
rm.changeMusic("Bgm06/FinalFight"); rm.changeMusic("Bgm06/FinalFight");
rm.spawnFakeMonster(8800000); rm.spawnFakeMonster(8800000);
for (i=8800003; i<8800011; i++) for (i = 8800003; i < 8800011; i++) {
rm.spawnMonster(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."); rm.mapMessage(5, "Zakum is summoned by the force of Eye of Fire.");
} }

View File

@@ -25,6 +25,6 @@
* 2112000.js: Zakum Party Quest Chest - drops an item (elixir) * 2112000.js: Zakum Party Quest Chest - drops an item (elixir)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112001.js: Zakum Party Quest Chest - drops an item (fried chicken) * 2112001.js: Zakum Party Quest Chest - drops an item (fried chicken)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112003.js: Zakum Party Quest Chest - drops an item (power elixir) * 2112003.js: Zakum Party Quest Chest - drops an item (power elixir)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112004.js: Zakum Party Quest Chest - drops a key * 2112004.js: Zakum Party Quest Chest - drops a key
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112005.js: Zakum Party Quest Chest - drops a document * 2112005.js: Zakum Party Quest Chest - drops a document
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112006.js: Zakum Party Quest Chest - drops an item (10k+ meso sack in Global) * 2112006.js: Zakum Party Quest Chest - drops an item (10k+ meso sack in Global)
*/ */
function act(){ function act() {
rm.dropItems(true, 1, 500, 800); rm.dropItems(true, 1, 500, 800);
} }

View File

@@ -25,6 +25,6 @@
* 2112007.js: Zakum Party Quest Rock - drops an item (red bean porridge) * 2112007.js: Zakum Party Quest Rock - drops an item (red bean porridge)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112008.js: Zakum Party Quest Rock - drops an item (elixir) * 2112008.js: Zakum Party Quest Rock - drops an item (elixir)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112009.js: Zakum Party Quest Rock - drops an item (fried chicken) * 2112009.js: Zakum Party Quest Rock - drops an item (fried chicken)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112010.js: Zakum Party Quest Rock - drops an item (power elixir) * 2112010.js: Zakum Party Quest Rock - drops an item (power elixir)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112011.js: Zakum Party Quest Rock - drops a key * 2112011.js: Zakum Party Quest Rock - drops a key
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112012.js: Zakum Party Quest Rock - drops a document * 2112012.js: Zakum Party Quest Rock - drops a document
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112013.js: Zakum Party Quest Rock - drops an item (~100 meso bundle in Global) * 2112013.js: Zakum Party Quest Rock - drops an item (~100 meso bundle in Global)
*/ */
function act(){ function act() {
rm.dropItems(true, 1, 125, 175); rm.dropItems(true, 1, 125, 175);
} }

View File

@@ -25,6 +25,6 @@
* 2112016.js: Phoenix Egg in El Nath Lava - part of the Phoenix quest (4th job Bowmaster) * 2112016.js: Phoenix Egg in El Nath Lava - part of the Phoenix quest (4th job Bowmaster)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2112017.js: Frostprey Egg in El Nath Mountains - part of the Frostprey quest (4th job Marksman) * 2112017.js: Frostprey Egg in El Nath Mountains - part of the Frostprey quest (4th job Marksman)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,7 +25,7 @@
* 2200000.js: Fake Dollhouse: Returns player to Eos Tower 74th Floor [221023200] * 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.playerMessage(5, "Gotcha! Try again next time!");
rm.warp(221023200); rm.warp(221023200);
} }

View File

@@ -26,7 +26,7 @@
* *
*/ */
function act(){ function act() {
rm.playerMessage(5,"You have found a secret factory!"); rm.playerMessage(5, "You have found a secret factory!");
rm.warp(Math.random() < .5 ? 922000020 : 922000021, 0); rm.warp(Math.random() < .5 ? 922000020 : 922000021, 0);
} }

View File

@@ -19,11 +19,12 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*Stage 2 Box For LPQ /*Stage 2 Box For LPQ
*@Author Jvlaple *@Author Jvlaple
*/ */
function act(){ function act() {
rm.mapMessage(5, "An unknown force has warped you into a trap."); rm.mapMessage(5, "An unknown force has warped you into a trap.");
rm.warpMap(922010201); rm.warpMap(922010201);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.spawnMonster(9300011, 10); rm.spawnMonster(9300011, 10);
} }

View File

@@ -19,12 +19,13 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@Author Jvlaple /*@Author Jvlaple
*2201001.js - 3 Blocktopus *2201001.js - 3 Blocktopus
*/ */
function act() { function act() {
for (var i=0; i<3; i++) { for (var i = 0; i < 3; i++) {
rm.spawnMonster(9300007); rm.spawnMonster(9300007);
} }
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*Ludi PQ Stage 7 Reactor - 2201002.js /*Ludi PQ Stage 7 Reactor - 2201002.js
*@Author Jvlaple *@Author Jvlaple
*/ */

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* Ludi PQ Crack Reactor ^_^ /* Ludi PQ Crack Reactor ^_^
*@Author Jvlaple *@Author Jvlaple
*2201003.js *2201003.js
@@ -28,7 +29,7 @@ function act() {
if (rm.getPlayer().getMapId() == 922010900) { if (rm.getPlayer().getMapId() == 922010900) {
rm.mapMessage(5, "Alishar has been summoned."); rm.mapMessage(5, "Alishar has been summoned.");
rm.spawnMonster(9300012, 941, 184); 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.mapMessage(5, "Rombard has been summoned somewhere in the map.");
rm.spawnMonster(9300010, 1, -211); rm.spawnMonster(9300010, 1, -211);
} }

View File

@@ -19,9 +19,9 @@
You should have received a copy of the GNU Affero General Public License 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/>. 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.mapMessage(5, "The dimensional hole has been filled by the <Piece of Cracked Dimension>.");
rm.changeMusic("Bgm09/TimeAttack"); rm.changeMusic("Bgm09/TimeAttack");
rm.spawnMonster(8500000, -410, -400); rm.spawnMonster(8500000, -410, -400);
rm.createMapMonitor(220080001,"in00"); rm.createMapMonitor(220080001, "in00");
} }

View File

@@ -25,6 +25,6 @@
* 2202000.js: Real Dollhouse: Drops Pendulum (Quest Item) * 2202000.js: Real Dollhouse: Drops Pendulum (Quest Item)
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* 2202001.js: Ludibirum Jump Quest Barrel: Drops item * 2202001.js: Ludibirum Jump Quest Barrel: Drops item
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -26,9 +26,10 @@
* *
*/ */
function act(){ function act() {
if(rm.isQuestActive(3238)) { if (rm.isQuestActive(3238)) {
rm.warp(922000020, 0); rm.warp(922000020, 0);
} else {
rm.warp(922000009, 0);
} }
else rm.warp(922000009, 0);
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*2202003.js - Drops pass /*2202003.js - Drops pass
*@Author Jvlaple *@Author Jvlaple
*/ */

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/*@author Jvlaple /*@author Jvlaple
*Reactor : LudiPQ Bonus Reactor - 2202004.js *Reactor : LudiPQ Bonus Reactor - 2202004.js
* Drops all the Bonus Items * Drops all the Bonus Items

View File

@@ -19,10 +19,11 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk /* @Author Lerk
* 2212000.js: Plateon Field reactors - Parts 2, Meso, White Pots * 2212000.js: Plateon Field reactors - Parts 2, Meso, White Pots
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 80, 100); rm.dropItems(true, 2, 80, 100);
} }

View File

@@ -19,12 +19,13 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk /* @Author Lerk
* *
* 2212001.js: Mecateon Field reactors - Parts 1, Meso, White Pots * 2212001.js: Mecateon Field reactors - Parts 1, Meso, White Pots
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 80, 100); rm.dropItems(true, 2, 80, 100);
} }

View File

@@ -19,12 +19,13 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Lerk /* @Author Lerk
* *
* 2212002.js: Mateon Field reactors - Parts 3, Meso, White Pots * 2212002.js: Mateon Field reactors - Parts 3, Meso, White Pots
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 80, 100); rm.dropItems(true, 2, 80, 100);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 80, 100); rm.dropItems(true, 2, 80, 100);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 80, 100); rm.dropItems(true, 2, 80, 100);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -26,7 +26,7 @@
* *
*/ */
function act(){ function act() {
rm.spawnMonster(7130400); rm.spawnMonster(7130400);
rm.mapMessage(5, "Here comes Yellow King Goblin!"); rm.mapMessage(5, "Here comes Yellow King Goblin!");
} }

View File

@@ -26,7 +26,7 @@
* *
*/ */
function act(){ function act() {
rm.spawnMonster(7130401); rm.spawnMonster(7130401);
rm.mapMessage(5, "Here comes Blue King Goblin!"); rm.mapMessage(5, "Here comes Blue King Goblin!");
} }

View File

@@ -26,7 +26,7 @@
* *
*/ */
function act(){ function act() {
rm.spawnMonster(7130402, -340, 100); rm.spawnMonster(7130402, -340, 100);
rm.mapMessage(5, "Here comes Green King Goblin!"); rm.mapMessage(5, "Here comes Green King Goblin!");
} }

View File

@@ -27,6 +27,6 @@
* and nobody would see the other unless they had the other quest started and were in your party. * 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); rm.spawnMonster(9500400);
} }

View File

@@ -27,6 +27,6 @@
* and nobody would see the other unless they had the other quest started and were in your party. * 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); rm.spawnMonster(9500400);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 80, 120); rm.dropItems(true, 2, 80, 120);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 75, 90); rm.dropItems(true, 2, 75, 90);
} }

View File

@@ -27,7 +27,7 @@
*/ */
function act(){ function act() {
//rm.dropItems(true, 2, 105, 140); //rm.dropItems(true, 2, 105, 140);

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(true, 2, 55, 70); rm.dropItems(true, 2, 55, 70);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* @Author Aexr, Ronan /* @Author Aexr, Ronan
* 2401000.js: Horntail's Cave - Summons Horntail. * 2401000.js: Horntail's Cave - Summons Horntail.
*/ */
@@ -26,7 +27,7 @@
function act() { function act() {
rm.changeMusic("Bgm14/HonTale"); rm.changeMusic("Bgm14/HonTale");
if (rm.getReactor().getMap().getMonsterById(8810026) == null) { if (rm.getReactor().getMap().getMonsterById(8810026) == null) {
rm.getReactor().getMap().spawnHorntailOnGroundBelow(new java.awt.Point(71,260)); rm.getReactor().getMap().spawnHorntailOnGroundBelow(new java.awt.Point(71, 260));
var eim = rm.getEventInstance(); var eim = rm.getEventInstance();
eim.restartEventTimer(60 * 60000); eim.restartEventTimer(60 * 60000);

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.spawnMonster(9300089); rm.spawnMonster(9300089);
} }

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.spawnMonster(9300090); rm.spawnMonster(9300090);
} }

View File

@@ -25,6 +25,6 @@
* Leafre Fruits * Leafre Fruits
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* Leafre Fruits * Leafre Fruits
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* HTPQ Box * HTPQ Box
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

View File

@@ -25,6 +25,6 @@
* Neo City Trash Can * Neo City Trash Can
*/ */
function hit(){ function hit() {
rm.dropItems(true, 2, 5, 10, 1); rm.dropItems(true, 2, 5, 10, 1);
} }

View File

@@ -25,6 +25,6 @@
* Neo City Trash Can * Neo City Trash Can
*/ */
function hit(){ function hit() {
rm.dropItems(true, 2, 5, 10, 1); rm.dropItems(true, 2, 5, 10, 1);
} }

View File

@@ -9,7 +9,7 @@ function sendToHeaven() {
} }
function touch() { function touch() {
if(rm.haveItem(4001094) && rm.getReactor().getState() == 0) { if (rm.haveItem(4001094) && rm.getReactor().getState() == 0) {
rm.hitReactor(); rm.hitReactor();
rm.gainItem(4001094, -1); rm.gainItem(4001094, -1);
} }

View File

@@ -19,6 +19,7 @@
You should have received a copy of the GNU Affero General Public License 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/* /*
*2408002.js *2408002.js
*Key Warp for Horn Tail PQ [HTPQ] *Key Warp for Horn Tail PQ [HTPQ]

View File

@@ -26,6 +26,6 @@
* *
*/ */
function act(){ function act() {
rm.dropItems(); rm.dropItems();
} }

Some files were not shown because too many files have changed in this diff Show More