Fixed Monk of Chaos skill removal.

This commit is contained in:
MobiusDevelopment
2019-04-09 20:46:02 +00:00
parent fc60f3e992
commit 93b28888fb
14 changed files with 161 additions and 105 deletions

View File

@@ -877,6 +877,18 @@ public final class SkillTreesData implements IXmlReader
return result;
}
/**
* Gets the complete revelation skill list.
* @param player the player requesting the revelation skills
* @param type the player current subclass type
* @return all the available revelation skills for a given {@code player}
*/
public Collection<SkillLearn> getAllRevelationSkills(PlayerInstance player, SubclassType type)
{
final Map<Long, SkillLearn> revelationSkills = _revelationSkillTree.get(type);
return revelationSkills == null ? Collections.emptyList() : revelationSkills.values();
}
/**
* Gets the available alchemy skills, restricted to Ertheia
* @param player the player requesting the alchemy skills