Search in sources :

Example 1 with ChangeProfFacet

use of pcgen.cdom.facet.analysis.ChangeProfFacet in project pcgen by PCGen.

the class GlobalChangeProfTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    changeProfFacet = FacetLibrary.getFacet(ChangeProfFacet.class);
    WeaponProf sword = create(WeaponProf.class, "Sword");
    sword.addToListFor(ListKey.TYPE, Type.getConstant("Martial"));
    WeaponProf axe = create(WeaponProf.class, "Axe");
    axe.addToListFor(ListKey.TYPE, Type.getConstant("Exotic"));
}
Also used : WeaponProf(pcgen.core.WeaponProf) ChangeProfFacet(pcgen.cdom.facet.analysis.ChangeProfFacet)

Aggregations

ChangeProfFacet (pcgen.cdom.facet.analysis.ChangeProfFacet)1 WeaponProf (pcgen.core.WeaponProf)1