| 4693 | } |
| 4694 | |
| 4695 | bool Monster::isPossibleToHit() const |
| 4696 | { |
| 4697 | return !(hitPoints >> 6 <= 0 |
| 4698 | || talkMsg != TEXT_NONE |
| 4699 | || (type().type == MT_ILLWEAV && goal == MonsterGoal::Retreat) |
| 4700 | || (IsAnyOf(mode, MonsterMode::Charge, MonsterMode::Death)) |
| 4701 | || (IsAnyOf(type().type, MT_COUNSLR, MT_MAGISTR, MT_CABALIST, MT_ADVOCATE) && goal != MonsterGoal::Normal)); |
| 4702 | } |
| 4703 | |
| 4704 | void Monster::tag(const Player &tagger) |
| 4705 | { |
no test coverage detected