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

Method getCostToken

code/src/java/pcgen/io/exporttoken/EqToken.java:636–639  ·  view source on GitHub ↗

Get Cost token @param pc @param eq @return Cost token

(PlayerCharacter pc, Equipment eq)

Source from the content-addressed store, hash-verified

634 * @return Cost token
635 */
636 public static String getCostToken(PlayerCharacter pc, Equipment eq)
637 {
638 return BigDecimalHelper.trimZeros(eq.getCost(pc));
639 }
640
641 /**
642 * Get Critical Multiplier Token

Callers 1

getEqTokenMethod · 0.95

Calls 2

trimZerosMethod · 0.95
getCostMethod · 0.65

Tested by

no test coverage detected