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

Method apply

code/src/java/pcgen/core/kit/KitSpells.java:219–226  ·  view source on GitHub ↗
(PlayerCharacter aPC)

Source from the content-addressed store, hash-verified

217 }
218
219 @Override
220 public void apply(PlayerCharacter aPC)
221 {
222 for (KitSpellBookEntry sbe : theSpells)
223 {
224 updatePCSpells(aPC, sbe, aPC.getClassKeyed(sbe.getPCClass().getKeyName()));
225 }
226 }
227
228 private PCClass findDefaultSpellClass(final CDOMSingleRef<PCClass> ref, PlayerCharacter aPC)
229 {

Callers

nothing calls this directly

Calls 4

updatePCSpellsMethod · 0.95
getKeyNameMethod · 0.65
getClassKeyedMethod · 0.45
getPCClassMethod · 0.45

Tested by

no test coverage detected