public Status(Power pow, CriticalDamage criDamage, CriticalPercentage criPercentage, AutoGold aGold) { power = pow; criticalDamage = criDamage; criticalPercentage = criPercentage; autoGold = aGold; }
private void CriticalPercentageUp(CriticalPercentage criticalPercentage) { if (Buy(criticalPercentage.GetPrice())) { currentCriticalPercentage = criticalPercentage.Purchase(); } }
public Status() { power = new Power(1, 3, 1, 2.0f); criticalDamage = new CriticalDamage(1, 3, 1, 2.0f); criticalPercentage = new CriticalPercentage(1, 5, 0.1f, 0.1f); autoGold = new AutoGold(1, 3, 1, 2); }