forked from Upstream/mmocore
SavedClassInformation changes to make skillTree class based. 2
This commit is contained in:
parent
b5c473c431
commit
bde947a877
@ -139,16 +139,37 @@ public class SavedClassInformation {
|
||||
registerSkillLevel(skill.getHandler().getId(), level);
|
||||
}
|
||||
|
||||
public int getSkillTreeReallocationPoints() {
|
||||
return skillTreeReallocationPoints;
|
||||
}
|
||||
|
||||
public int getSkillReallocationPoints() {
|
||||
return skillReallocationPoints;
|
||||
}
|
||||
|
||||
public void registerSkillLevel(String attribute, int level) {
|
||||
skills.put(attribute, level);
|
||||
}
|
||||
|
||||
public Set<String> getAttributeKeys() {
|
||||
return attributes.keySet();
|
||||
|
||||
public Set<SkillTreeNode> getNodeKeys() {
|
||||
return nodeLevels.keySet();
|
||||
}
|
||||
|
||||
public int getAttributeLevel(PlayerAttribute attribute) {
|
||||
return getAttributeLevel(attribute.getId());
|
||||
public int getNodeLevel(SkillTreeNode node) {
|
||||
return nodeLevels.get(node);
|
||||
}
|
||||
|
||||
public Set<String> getSkillTreePointsKeys() {
|
||||
return skillTreePoints.keySet();
|
||||
}
|
||||
|
||||
public int getSkillTreePoints(String skillTreeId) {
|
||||
return skillTreePoints.get(skillTreeId);
|
||||
}
|
||||
|
||||
public Set<String> getAttributeKeys() {
|
||||
return attributes.keySet();
|
||||
}
|
||||
|
||||
public int getAttributeLevel(String id) {
|
||||
|
Loading…
Reference in New Issue
Block a user