Example #1
0
 public Status(Power pow, CriticalDamage criDamage, CriticalPercentage criPercentage, AutoGold aGold)
 {
     power              = pow;
     criticalDamage     = criDamage;
     criticalPercentage = criPercentage;
     autoGold           = aGold;
 }
Example #2
0
 private void CriticalPercentageUp(CriticalPercentage criticalPercentage)
 {
     if (Buy(criticalPercentage.GetPrice()))
     {
         currentCriticalPercentage = criticalPercentage.Purchase();
     }
 }
Example #3
0
 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);
 }