| 2220 | return defaultMaxSP[this->getID()]; |
| 2221 | } |
| 2222 | int UnitType::maxEnergy() const |
| 2223 | { |
| 2224 | if ( this->isSpellcaster() ) |
| 2225 | return this->isHero() ? 250 : 200; |
| 2226 | return 0; |
| 2227 | } |
| 2228 | int UnitType::armor() const |
| 2229 | { |
| 2230 | return defaultArmorAmount[this->getID()]; |
nothing calls this directly
no test coverage detected