| 60 | } |
| 61 | |
| 62 | void MissileOneHit::hitTargetEntity(Tile* tile, GameEntity* entityTarget) |
| 63 | { |
| 64 | entityTarget->takeDamage(this, 0.0, mPhysicalDamage, mMagicalDamage, mElementDamage, tile, getKoEnemyCreature()); |
| 65 | if(mNotifyPlayerIfHit) |
| 66 | entityTarget->notifyFightPlayer(tile); |
| 67 | } |
| 68 | |
| 69 | MissileOneHit* MissileOneHit::getMissileOneHitFromStream(GameMap* gameMap, std::istream& is) |
| 70 | { |
nothing calls this directly
no test coverage detected