Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        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));
        }