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

@@ -25,8 +25,6 @@
*@author Jvlaple
*/
importPackage(Packages.client.inventory);
function act() {
var eim = rm.getPlayer().getEventInstance();
var womanfred = eim.getMapFactory().getMap(240050100);
@@ -64,7 +62,8 @@ function act() {
}
eim.setIntProperty(vvpStage + "stageclear", 1);
const Item = Java.type('client.inventory.Item');
var tehWomanfred = new Item(vvpKey, 0, 1);
var theWomanfred = womanfred.getReactorByName("keyDrop1");
var dropper = eim.getPlayers().get(0);