sweetgum83/scripts/npc/1101001.js
2024-01-19 03:56:28 -05:00

17 lines
544 B
JavaScript

/*
NPC Name: Divine Bird
Map(s): Erev
Description: 3rd job KoC Buff
*/
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....");
} else {
cm.sendOk("Don't stop training. Every ounce of your energy is required to protect the world of Maple....");
}
cm.dispose();
}