sweetgum83/scripts/map/onUserEnter/200090000.js

14 lines
411 B
JavaScript
Raw Permalink Normal View History

2024-01-19 08:56:28 +00:00
// Author: Ronan
var mapId = 200090000;
function start(ms) {
var map = ms.getClient().getChannelServer().getMapFactory().getMap(mapId);
if (map.getDocked()) {
const PacketCreator = Java.type('tools.PacketCreator');
ms.getClient().sendPacket(PacketCreator.musicChange("Bgm04/ArabPirate"));
ms.getClient().sendPacket(PacketCreator.crogBoatPacket(true));
}
return true;
}