| 2378 | return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::RegeneratesHP); |
| 2379 | } |
| 2380 | bool UnitType::isSpellcaster() const |
| 2381 | { |
| 2382 | return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Spellcaster); |
| 2383 | } |
| 2384 | bool UnitType::hasPermanentCloak() const |
| 2385 | { |
| 2386 | return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::PermanentCloak); |
no test coverage detected