Convert map scripts to Graal

This commit is contained in:
P0nk
2021-04-17 19:53:15 +02:00
parent 3458d1c7b3
commit 938f7c9390
17 changed files with 75 additions and 77 deletions

View File

@@ -1,5 +1,3 @@
importPackage(Packages.server.life);
function start(ms){
if(ms.getQuestStatus(2175) == 1){
@@ -11,6 +9,8 @@ function start(ms){
return;
}
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), new java.awt.Point(-1027, 216));
const MapleLifeFactory = Java.type('server.life.MapleLifeFactory');
const Point = Java.type('java.awt.Point');
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), new Point(-1027, 216));
}
}