14 lines
396 B
JavaScript
14 lines
396 B
JavaScript
// Author: Ronan
|
|
var mapId = 200090010;
|
|
|
|
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;
|
|
} |