Convert remaining scripts to Graal

Mainly missed scripts that use Nashorn's "Packages"
This commit is contained in:
P0nk
2021-04-17 21:55:32 +02:00
parent d2c7023e7b
commit fcd879f97c
74 changed files with 350 additions and 195 deletions

View File

@@ -27,8 +27,9 @@ var status;
var gachaMessages;
function start() {
gachaMessages = Packages.server.gachapon.MapleGachapon.Gachapon.getLootInfo();
gachas = Packages.server.gachapon.MapleGachapon.Gachapon.values();
const MapleGachapon = Java.type('server.gachapon.MapleGachapon');
gachaMessages = MapleGachapon.Gachapon.getLootInfo();
gachas = MapleGachapon.Gachapon.values();
status = -1;
action(1, 0, 0);