Exemple #1
0
        public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Creature player, Target target, CastedSpell spell, DiceStoppedRollingData dice = null)
        {
            ExpectingArguments(args, 1);

            string diceStr = evaluator.Evaluate <string>(args[0]);

            player.ReplaceDamageDice(diceStr);

            return(null);
        }