Exemplo n.º 1
0
        public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Character player, Creature target, CastedSpell spell)
        {
            ExpectingArguments(args, 1);
            Feature feature = AllFeatures.Get(args[0]);

            if (feature != null)
            {
                feature.Activate("", player);
            }

            return(null);
        }
Exemplo n.º 2
0
        public override object Evaluate(List <string> args, ExpressionEvaluator evaluator, Creature player, Target target, CastedSpell spell, DiceStoppedRollingData dice = null)
        {
            ExpectingArguments(args, 1);
            Feature feature = AllFeatures.Get(args[0]);

            if (feature != null)
            {
                feature.Activate("", player, true);
            }

            return(null);
        }
Exemplo n.º 3
0
 public void Activate(bool forceActivation = false)
 {
     Feature.Activate(GetArgStr(), Player, forceActivation);
 }