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

Method resolve

code/src/java/pcgen/base/formula/Formula.java:48–48  ·  view source on GitHub ↗

Resolves the formula relative to the given PlayerCharacter and source object. Variables are taken from the active objects on the PlayerCharacter, and any required context beyond the PlayerCharacter is taken from the source object. Formatting of the source String may vary. It is assumed the PlayerCh

(PlayerCharacter pc, String source)

Source from the content-addressed store, hash-verified

46 * the given context.
47 */
48 public Number resolve(PlayerCharacter pc, String source);
49
50 /**
51 * Resolves the static formula relative to the given source object.

Callers 15

getBuyRateMethod · 0.95
getTotalCostMethod · 0.95
updateBaseSkillModMethod · 0.95
applyDomainMethod · 0.95
testApplyMethod · 0.95
getChoiceManagerMethod · 0.95
allowMethod · 0.95

Implementers 3

NumberFormulacode/src/java/pcgen/cdom/base/FormulaF
JEPFormulacode/src/java/pcgen/cdom/base/JEPFormu
FixedSizeFormulacode/src/java/pcgen/cdom/formula/Fixed

Calls

no outgoing calls