public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Character player, Creature target, CastedSpell spell) { ExpectingArguments(args, 1); string characterClassName = evaluator.Evaluate <string>(args[0]); return(player.GetLevel(characterClassName)); }
public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Character player, Target target, CastedSpell spell, DiceStoppedRollingData dice = null) { ExpectingArguments(args, 1); string className = evaluator.Evaluate <string>(args[0]); return(player.GetLevel(className)); }