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

Method getLAXP

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

Returns the level-adjusted Experience Points for the Player Character. @return The level-adjusted Experience Points for the Player Character

()

Source from the content-addressed store, hash-verified

2198 * @return The level-adjusted Experience Points for the Player Character
2199 */
2200 private int getLAXP()
2201 {
2202 /*
2203 * Why +1? Adjustments are deltas, not absolute levels, so are not
2204 * subject to the "back off one" element of the algorithm in
2205 * minXPForLevel. This still means that levelAdjustment of 0 gives you 0
2206 * XP, but we need LA of 1 to give us 1,000 XP.
2207 */
2208 return levelTableFacet.minXPForLevel(levelFacet.getLevelAdjustment(id) + 1, id);
2209 }
2210
2211 public final void setXPTable(final String xpTableName)
2212 {

Callers 2

setXPMethod · 0.95
getXPMethod · 0.95

Calls 2

minXPForLevelMethod · 0.80
getLevelAdjustmentMethod · 0.65

Tested by

no test coverage detected