| 270 | std::max(0, level-1) * this->mineralPriceFactor(); |
| 271 | } |
| 272 | int UpgradeType::mineralPriceFactor() const |
| 273 | { |
| 274 | return defaultOreCostFactor[this->getID()]; |
| 275 | } |
| 276 | int UpgradeType::gasPrice(int level) const |
| 277 | { |
| 278 | // Gas price is exactly the same as mineral price |
no test coverage detected