Convert map scripts to Graal
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
// Author: Ronan
|
||||
importPackage(Packages.tools);
|
||||
|
||||
var mapId = 200090000;
|
||||
|
||||
function start(ms) {
|
||||
var map = ms.getClient().getChannelServer().getMapFactory().getMap(mapId);
|
||||
|
||||
if(map.getDocked()) {
|
||||
const MaplePacketCreator = Java.type('tools.MaplePacketCreator');
|
||||
ms.getClient().announce(MaplePacketCreator.musicChange("Bgm04/ArabPirate"));
|
||||
ms.getClient().announce(MaplePacketCreator.crogBoatPacket(true));
|
||||
}
|
||||
|
||||
return(true);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user