Esempio n. 1
0
        public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Character player, Creature target, CastedSpell spell)
        {
            ExpectingArguments(args, 0);
            CastedSpell castedSpell = Expressions.GetCastedSpell(evaluator.Variables);

            if (castedSpell != null && player != null)
            {
                player.Dispel(castedSpell);
            }

            return(null);
        }