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