* is this item a pistol? * @return whether or not it is a pistol. */
| 796 | * @return whether or not it is a pistol. |
| 797 | */ |
| 798 | bool RuleItem::isPistol() const |
| 799 | { |
| 800 | return (_battleType == BT_FIREARM || _battleType == BT_MELEE) && !_twoHanded; |
| 801 | } |
| 802 | |
| 803 | /** |
| 804 | * Gets the number of projectiles this ammo shoots at once. |