public override void checkFormula(Dictionary<string, GurpsProperty> nameToThing, GurpsProperty affectedProperty)
{
if (affectedProperty is BooleanAdvantage) // TODO: use hasLevels or whatever
throw parsedThing.createError("Cannot modify the level of a trait with no level");
formula.checkIsInt(new CheckingContext(nameToThing, owner));
}