Exemplo n.º 1
0
    ActionEffect Apply(Wizzard entity)
    {
        // evaluate
        var effect = new ActionEffect();

        foreach (var property in Properties)
        {
            entity.Defend(property, effect);
        }
        // then apply
        entity.Apply(effect);
        // return the spell total effects for pretty printing
        return(effect);
    }