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

Method isSpellCaster

code/src/java/pcgen/core/PlayerCharacter.java:3389–3392  ·  view source on GitHub ↗

Method will go through the list of classes that the player character has and see if they are a spell caster and of the desired caster level. @param minLevel @return boolean

(final int minLevel)

Source from the content-addressed store, hash-verified

3387 * @return boolean
3388 */
3389 public boolean isSpellCaster(final int minLevel)
3390 {
3391 return isSpellCaster(minLevel, false) > 0;
3392 }
3393
3394 /**
3395 * Method will go through the list of classes that the player character has

Callers

nothing calls this directly

Calls 7

getClassSetMethod · 0.95
getTotalBonusToMethod · 0.95
canCastSpellTypeLevelMethod · 0.95
getLevelMethod · 0.95
equalsIgnoreCaseMethod · 0.80
getSpellTypeMethod · 0.80
getKeyNameMethod · 0.65

Tested by

no test coverage detected