Пример #1
0
 public SlownessBuffData(EnemyInstance target, float amount, BaseIncreaseType amountType, float duration)
     : base(target, amount, amountType, duration)
 {
 }
Пример #2
0
 public StatChangeBuffData(EnemyInstance target, float amount, BaseIncreaseType amountType, float duration) : base(target, duration)
 {
     Amount     = amount;
     AmountType = amountType;
     Power      = 1f / AmountType.Increase(StatToChange, Amount);
 }