private IEnumerable <IStat> BuildStats(BuildParameters parameters)
        {
            var entities = _entityBuilder.Build(parameters.ModifierSourceEntity);
            var t        = _coreBuilder.Build(parameters);

            return(entities.SelectMany(e => _statFactory(parameters, e, t)));
        }
Exemple #2
0
        private IEnumerable <IStat> ConvertStat(BuildParameters parameters, ICoreBuilder <string> identity, IStat stat)
        {
            var builtIdentity = identity.Build(parameters);

            return(from e in Entity.Build(stat.Entity)
                   let i = $"On({builtIdentity}).By({e})"
                           let registrationType = GainOnAction(stat, builtIdentity, e)
                                                  select StatFactory.CopyWithSuffix(stat, i, stat.DataType, registrationType));
        }
Exemple #3
0
 public new Ailment Build(BuildParameters parameters) => _ailment.Build(parameters);
Exemple #4
0
 public ChargeType Build(BuildParameters parameters) => _chargeType.Build(parameters);
 public new Ailment Build() => _ailment.Build();
Exemple #6
0
 public TResult Build(BuildParameters parameters) =>
 _operator(_left.Build(parameters), _right.Build(parameters));
Exemple #7
0
 public string Build(BuildParameters parameters) => _identity.Build(parameters);
Exemple #8
0
 public SkillDefinition Build(BuildParameters parameters) => _coreBuilder.Build(parameters);
Exemple #9
0
 public TOut Build(BuildParameters parameters) =>
 _operator(_operand.Build(parameters));
 public SkillDefinition Build() => _coreBuilder.Build();
Exemple #11
0
 public ChargeType Build() => _chargeType.Build();
Exemple #12
0
 public TOut Build() =>
 _operator(_operand.Build());
Exemple #13
0
 public TResult Build() =>
 _operator(_left.Build(), _right.Build());
Exemple #14
0
 public string Build() => _identity.Build();