NPCs do not need to check for Forgotten Power skills.

This commit is contained in:
MobiusDevelopment 2019-03-18 10:52:56 +00:00
parent 31077f99a5
commit 65b1ee31a4

View File

@ -86,8 +86,8 @@ public class L2NpcInstance extends L2Npc
return;
}
// Normal skills, No LearnedByFS, no AutoGet skills.
final List<L2SkillLearn> skills = SkillTreesData.getInstance().getAvailableSkills(player, classId, false, true, false);
// Normal skills, No LearnedByFS, No LearnedByFP, no AutoGet skills.
final List<L2SkillLearn> skills = SkillTreesData.getInstance().getAvailableSkills(player, classId, false, false, false);
if (skills.isEmpty())
{
final Map<Long, L2SkillLearn> skillTree = SkillTreesData.getInstance().getCompleteClassSkillTree(classId);