Merge pull request #83 from P0nk/bug-82-puppeteer-secret-passage-script

Fix NPC script at end of Puppeteer's Secret Passage (910510100)
This commit is contained in:
Ponk
2022-08-03 08:34:16 +02:00
committed by GitHub

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);