Skillbook announcer + isInJobTree fix
Abdula is now the Skillbook announcer NPC. Fixed some inconguencies with the isInJobTree function, now properly returning if a skill id does make presence on a player's current job path or not.
This commit is contained in:
@@ -63,6 +63,8 @@ import client.inventory.MapleInventoryType;
|
||||
import client.inventory.MaplePet;
|
||||
import constants.ExpTable;
|
||||
import constants.ServerConstants;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -457,4 +459,17 @@ public class NPCConversationManager extends AbstractPlayerInteraction {
|
||||
dispose();
|
||||
return true;
|
||||
}
|
||||
|
||||
public Object[] getAvailableMasteryBooks() {
|
||||
return MapleItemInformationProvider.getInstance().usableMasteryBooks(this.getPlayer()).toArray();
|
||||
}
|
||||
|
||||
public Object[] getAvailableSkillBooks() {
|
||||
return MapleItemInformationProvider.getInstance().usableSkillBooks(this.getPlayer()).toArray();
|
||||
}
|
||||
|
||||
public Object[] getNamesWhoDropsItem(Integer itemId) {
|
||||
return MapleItemInformationProvider.getInstance().getWhoDrops(itemId).toArray();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user