Return the total Experience Points for the Player Character. @return The total Experience Points for the Player Character
()
| 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. |
no test coverage detected