Ejemplo n.º 1
0
 public StatModifier(StatType targetType, float baseAmount = 0f)
 {
     this.targetType = targetType;
     this.baseAmount = baseAmount;
     GetModifyAmount = () => baseAmount;
 }
Ejemplo n.º 2
0
 public Stat this[StatType statType] =>
 data.FirstOrDefault(s => s.type == statType);
 public StatConfig this[StatType statType] =>
 statConfigs.FirstOrDefault(c => c.type == statType);