MCPcopy Create free account
hub / github.com/PCGen/pcgen / getXP

Method getXP

code/src/java/pcgen/core/PlayerCharacter.java:2188–2193  ·  view source on GitHub ↗

Return the total Experience Points for the Player Character. @return The total Experience Points for the Player Character

()

Source from the content-addressed store, hash-verified

2186 * @return The total Experience Points for the Player Character
2187 */
2188 public int getXP()
2189 {
2190 // Add the effect of LEVELADJ when showing our external notion of XP.
2191 Integer earnedXP = xpFacet.get(id);
2192 return ((earnedXP == null) ? 0 : earnedXP) + getLAXP();
2193 }
2194
2195 /**
2196 * Returns the level-adjusted Experience Points for the Player Character.

Callers 10

getTokenMethod · 0.80
initForCharacterMethod · 0.80
postLevellingUpdatesMethod · 0.80
updateLevelTodoMethod · 0.80
checkForNewLevelMethod · 0.80
addLevelMethod · 0.80
subLevelMethod · 0.80
addKeyedTemplateMethod · 0.80
appendExperienceLineMethod · 0.80

Calls 2

getLAXPMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected