Convert portal scripts to Graal

This commit is contained in:
P0nk
2021-04-17 19:59:27 +02:00
parent 938f7c9390
commit 984adc7885
6 changed files with 14 additions and 17 deletions

View File

@@ -1,5 +1,3 @@
importPackage(Packages.tools);
var leverSequenceExit = false;
function enterLeverSequence(pi) {
@@ -30,6 +28,7 @@ function enterLeverSequence(pi) {
}
}
const MaplePacketCreator = Java.type('tools.MaplePacketCreator');
if(countMiss > 0) {
map.broadcastMessage(MaplePacketCreator.showEffect("quest/party/wrong_kor"));
map.broadcastMessage(MaplePacketCreator.playSound("Party1/Failed"));