public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Creature player, Target target, CastedSpell spell, DiceStoppedRollingData rollTargetSavingThrows = null) { ExpectingArguments(args, 0); player.ReadyRollDice(DiceRollType.None, CMD_RollTargetSavingThrows); player.RollDiceNow(); return(null); }
public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Creature player, Target target, CastedSpell spell, RollResults dice = null) { ExpectingArguments(args, 1); string diceStr = evaluator.Evaluate <string>(args[0]); player.ReadyRollDice(DiceRollType.None, diceStr); player.RollDiceNow(); return(null); }