Convert reactor scripts to Graal

This commit is contained in:
P0nk
2021-04-17 20:03:24 +02:00
parent 984adc7885
commit 542a7b7fd2
10 changed files with 16 additions and 29 deletions

View File

@@ -27,9 +27,9 @@
* [x]shows animation,
* [x]makes stirges and stuff appear
*/
importPackage(Packages.tools);
function act() {
const MaplePacketCreator = Java.type('tools.MaplePacketCreator');
rm.spawnMonster(9300061, 1, 0, 0); // (0, 0) is temp position
rm.getClient().getMap().startMapEffect("Protect the Moon Bunny that's pounding the mill, and gather up 10 Moon Bunny's Rice Cakes!", 5120016, 7000);
rm.getClient().getMap().broadcastMessage(MaplePacketCreator.bunnyPacket()); // Protect the Moon Bunny!