Ejemplo n.º 1
0
 public ChargeTypeBuilders(IStatFactory statFactory)
 {
     Endurance     = new ChargeTypeBuilder(statFactory, CoreBuilder.Create(ChargeType.Endurance));
     Frenzy        = new ChargeTypeBuilder(statFactory, CoreBuilder.Create(ChargeType.Frenzy));
     Power         = new ChargeTypeBuilder(statFactory, CoreBuilder.Create(ChargeType.Power));
     ChanceToSteal =
         StatBuilderUtils.DamageRelatedFromIdentity(statFactory, "ChanceToStealACharge", typeof(int)).WithHits;
     Rage       = new ChargeTypeBuilder(statFactory, CoreBuilder.Create(ChargeType.Rage));
     RageEffect = StatBuilderUtils.FromIdentity(statFactory, "RageEffect", typeof(double));
 }
 public ChargeTypeBuilders(IStatFactory statFactory)
 {
     _statFactory  = statFactory;
     Endurance     = From(ChargeType.Endurance);
     Frenzy        = From(ChargeType.Frenzy);
     Power         = From(ChargeType.Power);
     ChanceToSteal =
         StatBuilderUtils.DamageRelatedFromIdentity(statFactory, "ChanceToStealACharge", typeof(uint)).WithHits;
     Rage       = From(ChargeType.Rage);
     RageEffect = StatBuilderUtils.FromIdentity(statFactory, "RageEffect", typeof(double));
 }