Reformat and clean up reactor and base scripts
This commit is contained in:
@@ -26,13 +26,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
function act(){
|
||||
var startId = 9400523;
|
||||
var mobObj, mapObj = rm.getMap();
|
||||
function act() {
|
||||
var startId = 9400523;
|
||||
var mobObj, mapObj = rm.getMap();
|
||||
|
||||
const LifeFactory = Java.type('server.life.LifeFactory');
|
||||
for(var i = 0; i < 7; i++) {
|
||||
mobObj = LifeFactory.getMonster(startId + Math.floor(Math.random() * 3));
|
||||
mapObj.spawnMonsterOnGroundBelow(mobObj, rm.getReactor().getPosition());
|
||||
}
|
||||
const LifeFactory = Java.type('server.life.LifeFactory');
|
||||
for (var i = 0; i < 7; i++) {
|
||||
mobObj = LifeFactory.getMonster(startId + Math.floor(Math.random() * 3));
|
||||
mapObj.spawnMonsterOnGroundBelow(mobObj, rm.getReactor().getPosition());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user