Search in sources :

Example 1 with KnownSpellFacet

use of pcgen.cdom.facet.KnownSpellFacet in project pcgen by PCGen.

the class GlobalSpellKnownTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    knownSpellFacet = FacetLibrary.getFacet(KnownSpellFacet.class);
    wizardSpellList = context.getReferenceContext().constructNowIfNecessary(ClassSpellList.class, "Wizard");
    fb = context.getReferenceContext().constructNowIfNecessary(Spell.class, "Fireball");
    TokenRegistration.register(new PreVariableParser());
    classSetUp();
}
Also used : ClassSpellList(pcgen.cdom.list.ClassSpellList) PreVariableParser(plugin.pretokens.parser.PreVariableParser) KnownSpellFacet(pcgen.cdom.facet.KnownSpellFacet) Spell(pcgen.core.spell.Spell)

Aggregations

KnownSpellFacet (pcgen.cdom.facet.KnownSpellFacet)1 ClassSpellList (pcgen.cdom.list.ClassSpellList)1 Spell (pcgen.core.spell.Spell)1 PreVariableParser (plugin.pretokens.parser.PreVariableParser)1