public LeveledItemList() { levelCurve = new LeveledCurve((playerLevel, itemLevel) => { double diff = Math.Abs(itemLevel - playerLevel); // Return the probability multiplier we want for this current itemLevel if (diff > 10) { return(-1); } return(Math.Pow(2, -diff)); }); }
public LeveledItemList(LeveledCurve curve) { this.levelCurve = curve; }
public LeveledPool(LeveledCurve curve) { this.levelCurve = curve; }