Files
sweetgum-server/scripts/map/onUserEnter/100000006.js
2021-04-17 21:57:16 +02:00

16 lines
419 B
JavaScript

function start(ms){
if(ms.getQuestStatus(2175) == 1){
var mobId = 9300156;
var player = ms.getPlayer();
var map = player.getMap();
if(map.getMonsterById(mobId) != null){
return;
}
const MapleLifeFactory = Java.type('server.life.MapleLifeFactory');
const Point = Java.type('java.awt.Point');
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), new Point(-1027, 216));
}
}