Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::feats::WeaponProficiency Class Reference

A feat that allows the effective use of a weapon. More...

#include <WeaponProficiency.h>

Inheritance diagram for ogs::feats::WeaponProficiency:

Inheritance graph
[legend]
Collaboration diagram for ogs::feats::WeaponProficiency:

Collaboration graph
[legend]
List of all members.

Public Member Functions

ogs::items::Weapon::Proficiency getProficiency () const
 Determine weapon proficiency that this feat applies to.


Protected Member Functions

 WeaponProficiency (Compatibility compatibility, ogs::items::Weapon::Proficiency weaponProficiency)
 Create a new weapon proficiency.


Detailed Description

A creature that uses a weapon without being proficient with it suffers a -4 penatly to attack rolls. This class is the base class for derived classes that identify specific types of weapons for this proficiency feat.


Constructor & Destructor Documentation

ogs::feats::WeaponProficiency::WeaponProficiency Compatibility  compatibility,
ogs::items::Weapon::Proficiency  weaponProficiency
[inline, protected]
 

Parameters:
compatibility Compatibility of feat.
weaponProficiency Proficiency of weapons covered by this feat.


Member Function Documentation

ogs::items::Weapon::Proficiency ogs::feats::WeaponProficiency::getProficiency  )  const [inline]
 

Returns:
Proficiency of weapon: SIMPLE, MARTIAL, or EXOTIC.

Reimplemented in ogs::feats::SingleWeapon< _WeaponType >.


The documentation for this class was generated from the following file:
Generated on Sun Apr 20 03:39:40 2003 for Open Gaming System (OGS) by doxygen1.3