Fixed Music command not playing soundtracks at all. Fixed stylish scripts stucking player NPC interactions in certain cases. Reviewed client mistimed view on items, quest expirations, BBS threads, etc. Fixed Homing Beacon skill provoking autoflag in mobs with same objectid in different maps. Solved DB leak cases with removing pets from inventory. Reviewed logging throughout the source, aiming to normalize the varied-spaced log content within the facilities. Fixed a bug that would occur when trying to reaccess Horntail expedition.
17 lines
510 B
JavaScript
17 lines
510 B
JavaScript
/*
|
|
NPC Name: Divine Bird
|
|
Map(s): Erev
|
|
Description: 3rd job KoC Buff
|
|
*/
|
|
importPackage(Packages.constants);
|
|
|
|
function start() {
|
|
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();
|
|
} |