Пример #1
0
 public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Character player, Target target = null, CastedSpell spell = null, DiceStoppedRollingData dice = null)
 {
     ExpectingArguments(args, 1, 2);
     if (args.Count > 1)
     {
         player = AllPlayers.GetFromName(args[1].Trim());
     }
     if (player != null)
     {
         player.SetNextAnswer(Expressions.GetStr(args[0], player, target, spell));
     }
     return(null);
 }