NPCs do not need to check for Forgotten Power skills.
This commit is contained in:
parent
31077f99a5
commit
65b1ee31a4
@ -86,8 +86,8 @@ public class L2NpcInstance extends L2Npc
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Normal skills, No LearnedByFS, no AutoGet skills.
|
// Normal skills, No LearnedByFS, No LearnedByFP, no AutoGet skills.
|
||||||
final List<L2SkillLearn> skills = SkillTreesData.getInstance().getAvailableSkills(player, classId, false, true, false);
|
final List<L2SkillLearn> skills = SkillTreesData.getInstance().getAvailableSkills(player, classId, false, false, false);
|
||||||
if (skills.isEmpty())
|
if (skills.isEmpty())
|
||||||
{
|
{
|
||||||
final Map<Long, L2SkillLearn> skillTree = SkillTreesData.getInstance().getCompleteClassSkillTree(classId);
|
final Map<Long, L2SkillLearn> skillTree = SkillTreesData.getInstance().getCompleteClassSkillTree(classId);
|
||||||
|
Loading…
Reference in New Issue
Block a user