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)
| 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. |
no test coverage detected