Example #1
0
        public override bool Handles(string tokenName, Character player, CastedSpell castedSpell)
        {
            PropertyDto property = AllProperties.Get(tokenName);

            return(property != null);
        }
Example #2
0
        public override object GetValue(string variableName, ExpressionEvaluator evaluator, Character player)
        {
            PropertyDto property = AllProperties.Get(variableName);

            return(evaluator.Evaluate(property.Expression));
        }