Convert remaining scripts to Graal
Mainly missed scripts that use Nashorn's "Packages"
This commit is contained in:
@@ -29,6 +29,7 @@ function action(mode, type, selection) {
|
||||
return;
|
||||
}
|
||||
|
||||
const GameConstants = Java.type('constants.game.GameConstants');
|
||||
if (cm.getPlayer().getMapId() == 980010100 || cm.getPlayer().getMapId() == 980010200 || cm.getPlayer().getMapId() == 980010300) {
|
||||
if (cm.getPlayer().getMapId() == 980010100) {
|
||||
exped = MapleExpeditionType.ARIANT;
|
||||
@@ -113,7 +114,7 @@ function action(mode, type, selection) {
|
||||
status = 2;
|
||||
}
|
||||
}
|
||||
} else if (Packages.constants.game.GameConstants.isAriantColiseumArena(cm.getPlayer().getMapId())) {
|
||||
} else if (GameConstants.isAriantColiseumArena(cm.getPlayer().getMapId())) {
|
||||
if (cm.getPlayer().getMapId() == 980010101) {
|
||||
exped = MapleExpeditionType.ARIANT;
|
||||
expedicao = cm.getExpedition(exped);
|
||||
|
||||
Reference in New Issue
Block a user