| 51 | } |
| 52 | |
| 53 | bool MissileOneHit::hitCreature(Tile* tile, GameEntity* entity) |
| 54 | { |
| 55 | entity->takeDamage(this, 0.0, mPhysicalDamage, mMagicalDamage, mElementDamage, tile, getKoEnemyCreature()); |
| 56 | if(mNotifyPlayerIfHit) |
| 57 | entity->notifyFightPlayer(tile); |
| 58 | |
| 59 | return false; |
| 60 | } |
| 61 | |
| 62 | void MissileOneHit::hitTargetEntity(Tile* tile, GameEntity* entityTarget) |
| 63 | { |
nothing calls this directly
no test coverage detected