Reformat and clean up reactor and base scripts
This commit is contained in:
@@ -37,10 +37,11 @@ function action(mode, type, selection) {
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
if (mode == 1)
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
status--;
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
cm.sendOk("Sample text.");
|
||||
|
||||
@@ -33,10 +33,11 @@ function start(mode, type, selection) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mode == 1)
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
status--;
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
qm.sendNext("Sample Text.");
|
||||
@@ -56,10 +57,11 @@ function end(mode, type, selection) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mode == 1)
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
status--;
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
qm.sendNext("Sample Text.");
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
*
|
||||
* 1072000.js: Kerning Swamp Plant - drops Witchgrass Leaves
|
||||
|
||||
@@ -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 kevintjuh93
|
||||
*/
|
||||
|
||||
@@ -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,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
|
||||
*Nependeath Pot - Spawns Nependeath or Dark Nependeath
|
||||
*/
|
||||
@@ -32,8 +33,7 @@ function act() {
|
||||
|
||||
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
|
||||
rm.getEventInstance().setProperty("statusStg7_c", nextCount);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
rm.spawnMonster(9300049);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
*Nependeath Pot - Spawns Nependeath or Dark Nependeath
|
||||
*/
|
||||
@@ -32,8 +33,7 @@ function act() {
|
||||
|
||||
rm.spawnMonster(Math.random() >= .6 ? 9300049 : 9300048);
|
||||
rm.getEventInstance().setProperty("statusStg7_c", nextCount);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
rm.spawnMonster(9300049);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2001002.js: Either spawns a PQ mob or drops the Statue piece.
|
||||
@@ -42,8 +43,7 @@ function act() {
|
||||
|
||||
eim.setProperty("statusStg2", "1");
|
||||
eim.showClearEffect(true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
count++;
|
||||
rm.getEventInstance().setProperty("statusStg2_c", count);
|
||||
|
||||
|
||||
@@ -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
|
||||
*Nependeath Pot - Spawns Papa Pixie
|
||||
*/
|
||||
|
||||
@@ -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,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 Jvlaple
|
||||
*2002001.js
|
||||
*Drops Cloud Piece...
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2002003.js - Pot of life
|
||||
*@author Jvlaple
|
||||
*/
|
||||
|
||||
@@ -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,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
|
||||
*Reactor : OrbisPQ Bonus Reactor - 2002014.js
|
||||
* Drops all the Bonus Items
|
||||
|
||||
@@ -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
|
||||
*Reactor : OrbisPQ Bonus Reactor - 2002017.js
|
||||
* Drops all the Bonus Items
|
||||
|
||||
@@ -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
|
||||
*Reactor : OrbisPQ Bonus Reactor - 2002018.js
|
||||
* Drops all the Bonus Items
|
||||
|
||||
@@ -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 Jvlaple
|
||||
* Spawns Eak When 20 Clouds are Dropped.
|
||||
*2006000.js
|
||||
|
||||
@@ -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
|
||||
*Reactor : Orbis PQ LP Player - 2008006.js
|
||||
* Makes Chamberlain Eak spawn box.
|
||||
|
||||
@@ -26,8 +26,9 @@ function act() {
|
||||
}
|
||||
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.mapMessage(5, "Zakum is summoned by the force of Eye of Fire.");
|
||||
}
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*Stage 2 Box For LPQ
|
||||
*@Author Jvlaple
|
||||
*/
|
||||
|
||||
@@ -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 Jvlaple
|
||||
*2201001.js - 3 Blocktopus
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*Ludi PQ Stage 7 Reactor - 2201002.js
|
||||
*@Author Jvlaple
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/* Ludi PQ Crack Reactor ^_^
|
||||
*@Author Jvlaple
|
||||
*2201003.js
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
function act() {
|
||||
if (rm.isQuestActive(3238)) {
|
||||
rm.warp(922000020, 0);
|
||||
} else {
|
||||
rm.warp(922000009, 0);
|
||||
}
|
||||
else rm.warp(922000009, 0);
|
||||
}
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2202003.js - Drops pass
|
||||
*@Author Jvlaple
|
||||
*/
|
||||
|
||||
@@ -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 Jvlaple
|
||||
*Reactor : LudiPQ Bonus Reactor - 2202004.js
|
||||
* Drops all the Bonus Items
|
||||
|
||||
@@ -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
|
||||
* 2212000.js: Plateon Field reactors - Parts 2, Meso, White Pots
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2212001.js: Mecateon Field reactors - Parts 1, Meso, White Pots
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 2212002.js: Mateon Field reactors - Parts 3, Meso, White Pots
|
||||
|
||||
@@ -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 Aexr, Ronan
|
||||
* 2401000.js: Horntail's Cave - Summons Horntail.
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
*2408002.js
|
||||
*Key Warp for Horn Tail PQ [HTPQ]
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
function act() {
|
||||
if (rm.getPlayer().getMap().getId() / 100 % 100 != 38)
|
||||
if (rm.getPlayer().getMap().getId() / 100 % 100 != 38) {
|
||||
rm.warp(rm.getPlayer().getMap().getId() + 100);
|
||||
}
|
||||
}
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
2511000- Reactor for PPQ [Pirate PQ]
|
||||
@author Jvlaple
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*Pirate PQ Reactor - Spawns 6 of each Pirate when opened.
|
||||
*@author Jvlaple
|
||||
*2511001.js
|
||||
|
||||
@@ -19,13 +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/>.
|
||||
*/
|
||||
|
||||
/*2512000.js
|
||||
*@Author Jvlaple
|
||||
*Pirate PQ Reactor
|
||||
*/
|
||||
|
||||
function passedGrindMode(map, eim) {
|
||||
if(eim.getIntProperty("grindMode") == 0) return true;
|
||||
if (eim.getIntProperty("grindMode") == 0) {
|
||||
return true;
|
||||
}
|
||||
return eim.activatedAllReactorsOnMap(map, 2511000, 2517999);
|
||||
}
|
||||
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2512001.js
|
||||
*@Author Ronan
|
||||
*Pirate PQ Treasure chest
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2516000.js - Reactor used to summon Wu Yang.
|
||||
*@author Jvlaple
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2519000.js - Reactor used at the door on stage 4.
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2519001.js - Reactor used at the door on stage 4.
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2519002.js - Reactor used at the door on stage 4.
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2519003.js - Reactor used at the door on stage 4.
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2612004.js - Queen's treasure room
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2612000.js - MagatiaPQ Box
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2612001.js - MagatiaPQ Box
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2612002.js - MagatiaPQ Box
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2612003.js - MagatiaPQ Box
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2612004.js - Zenumist crystal
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2618000.js - MagatiaPQ Beaker
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2618000.js - MagatiaPQ Beaker
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2618000.js - MagatiaPQ Beaker
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*2619000.js - Zenumist crystal
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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/>.
|
||||
*/
|
||||
|
||||
/*3002000.js - Pond at Ellin PQ.
|
||||
*@author Ronan
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*6102002.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
|
||||
@@ -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
|
||||
*6102003.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
|
||||
@@ -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
|
||||
*6102004.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
|
||||
@@ -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
|
||||
*6102005.js
|
||||
*Drops CWKPQ chest bonuses...
|
||||
|
||||
@@ -9,13 +9,17 @@ function action() {
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 5) action();
|
||||
if (eim.getIntProperty(fid) == 5) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 5) action();
|
||||
if (eim.getIntProperty(fid) == 5) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f0";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f1";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f2";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f3";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f4";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f5";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f6";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -10,13 +10,17 @@ var fid = "glpq_f7";
|
||||
function touch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 0) action();
|
||||
if (eim.getIntProperty(fid) == 0) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) + 1);
|
||||
}
|
||||
|
||||
function untouch() {
|
||||
var eim = rm.getEventInstance();
|
||||
|
||||
if(eim.getIntProperty(fid) == 1) action();
|
||||
if (eim.getIntProperty(fid) == 1) {
|
||||
action();
|
||||
}
|
||||
eim.setIntProperty(fid, eim.getIntProperty(fid) - 1);
|
||||
}
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
|
||||
function act() {
|
||||
rand = Math.floor(Math.random() * 4);
|
||||
if (rand < 1) rand = 1;
|
||||
if (rand < 1) {
|
||||
rand = 1;
|
||||
}
|
||||
//We'll make it drop a lot of crap :D
|
||||
for (var i = 0; i < rand; i++) {
|
||||
rm.sprayItems(true, 1, 30, 60, 15);
|
||||
|
||||
@@ -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 RMZero213 - base
|
||||
* @author Moogra - fixed and clean up
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
function act() {
|
||||
var eim = rm.getEventInstance();
|
||||
if (eim != null) {
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
*/
|
||||
|
||||
function padWithZeroes(n, width) {
|
||||
while(n.length < width) n = '0' + n;
|
||||
while (n.length < width) {
|
||||
n = '0' + n;
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
* 9208001.js: Guild Quest - Gatekeeper Puzzle Reactor
|
||||
@@ -27,7 +28,9 @@
|
||||
|
||||
|
||||
function padWithZeroes(n, width) {
|
||||
while(n.length < width) n = '0' + n;
|
||||
while (n.length < width) {
|
||||
n = '0' + n;
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
*/
|
||||
|
||||
function padWithZeroes(n, width) {
|
||||
while(n.length < width) n = '0' + n;
|
||||
while (n.length < width) {
|
||||
n = '0' + n;
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user