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

Method apply

code/src/java/pcgen/core/kit/KitSkill.java:198–207  ·  view source on GitHub ↗
(PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

196 }
197
198 @Override
199 public void apply(PlayerCharacter aPC)
200 {
201 /** @todo Fix this to return what panes need to be refreshed */
202 for (KitSkillAdd ksa : skillsToAdd)
203 {
204 updatePCSkills(aPC, ksa.getSkill(), (int) ksa.getRanks(), ksa.getCost(), ksa.getLanguages(),
205 ksa.getPCClass());
206 }
207 }
208
209 /**
210 * Needs documentation.

Callers

nothing calls this directly

Calls 6

updatePCSkillsMethod · 0.95
getRanksMethod · 0.80
getCostMethod · 0.65
getLanguagesMethod · 0.65
getSkillMethod · 0.45
getPCClassMethod · 0.45

Tested by

no test coverage detected