Convert NPC scripts to Graal

This commit is contained in:
P0nk
2021-04-17 21:02:39 +02:00
parent 256e5688e0
commit d2c7023e7b
54 changed files with 127 additions and 168 deletions

View File

@@ -3,9 +3,9 @@
Map(s): Erev
Description: 3rd job KoC Buff
*/
importPackage(Packages.constants.game);
function start() {
const GameConstants = Java.type('constants.game.GameConstants');
if (cm.getPlayer().isCygnus() && GameConstants.getJobBranch(cm.getJob()) > 2) {
cm.useItem(2022458);
cm.sendOk("Let me cast you my blessings, my Knight. Please protect the world of Maple....");