Fix NPC script at end of Puppeteer's Secret Passage (910510100)

This commit is contained in:
P0nk
2022-08-03 08:29:57 +02:00
parent 905a0260a6
commit 3f1a6ecc8c

View File

@@ -30,7 +30,7 @@ function action(mode, type, selection) {
if (cm.getClient().getChannelServer().getMapFactory().getMap(925020010).getCharacters().size() > 0) {
cm.sendOk("Someone is already challenging the Master. Try again later.");
} else {
const MapleLifeFactoroy = Java.type('server.life.MapleLifeFactoroy');
const LifeFactory = Java.type('server.life.LifeFactory');
const Point = Java.type('java.awt.Point');
cm.getWarpMap(910510202).spawnMonsterOnGroundBelow(LifeFactory.getMonster(9300346), new Point(95, 200));
cm.warp(910510202, 0);