public void ApplyBonus(Bonus b, int multiplier = 1) { stats.level += multiplier; stats.Add(b.firstStat, b.firstAmount * multiplier); if (b.secondAmount != 0) { stats.Add(b.secondStat, b.secondAmount * multiplier); } if (multiplier > 0) { stats.AddColor(b.colorType, b.color); } else { stats.PopColor(b.colorType); } UpdateVisuals(); Colorize(); }