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

Method getSkillProperty

code/src/java/pcgen/io/exporttoken/SkillToken.java:232–241  ·  view source on GitHub ↗

Calculate the value of the specified skill property for the supplied skill and character. @param aSkill The skill to be processed. @param property The property being processed. @param pc The character to be reported. @return The skill tag output value.

(Skill aSkill, String property, PlayerCharacter pc)

Source from the content-addressed store, hash-verified

230 * @return The skill tag output value.
231 */
232 protected String getSkillProperty(Skill aSkill, String property, PlayerCharacter pc)
233 {
234 if (aSkill == null)
235 {
236 return "";
237 }
238
239 int action = getPropertyId(property);
240 return getSkillPropValue(aSkill, action, property, pc);
241 }
242
243 /**
244 * Convert a property name into the id of the property.

Callers 1

getTokenMethod · 0.95

Calls 2

getPropertyIdMethod · 0.95
getSkillPropValueMethod · 0.95

Tested by

no test coverage detected