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

Method canSelectDeity

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

Check whether a deity can be selected by this character @return true means the deity can be a selected by a character with the given properties; false means the character cannot.

(final Deity aDeity)

Source from the content-addressed store, hash-verified

4688 * the character cannot.
4689 */
4690 public boolean canSelectDeity(final Deity aDeity)
4691 {
4692 return legalDeityFacet.allows(id, aDeity);
4693 }
4694
4695 /**
4696 * Return value indicates whether or not a spell was deleted.

Callers 2

setDeityMethod · 0.80
testApplyMethod · 0.80

Calls 1

allowsMethod · 0.80

Tested by

no test coverage detected