| 3683 | } |
| 3684 | |
| 3685 | staticfn int |
| 3686 | grapple_range(void) |
| 3687 | { |
| 3688 | int typ = uwep_skill_type(); |
| 3689 | int max_range = 4; |
| 3690 | |
| 3691 | if (typ == P_NONE || P_SKILL(typ) <= P_BASIC) |
| 3692 | max_range = 4; |
| 3693 | else if (P_SKILL(typ) == P_SKILLED) |
| 3694 | max_range = 5; |
| 3695 | else |
| 3696 | max_range = 8; |
| 3697 | return max_range; |
| 3698 | } |
| 3699 | |
| 3700 | staticfn boolean |
| 3701 | can_grapple_location(coordxy x, coordxy y) |
no test coverage detected