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

ogs::feats::ArmorProficiency Class Reference

A feat that allows the effective use of armor. More...

#include <ArmorProficiency.h>

Inheritance diagram for ogs::feats::ArmorProficiency:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

ogs::items::Armor::Proficiency getProficiency () const
 Determine which type of armor this proficiency feat applies to.

bool isProficient (const ogs::items::Armor &armor) const

Static Public Member Functions

ArmorProficiency * createLight ()
 Create a new Light Armor Proficiency feat.

ArmorProficiency * createMedium ()
 Create a new Medium Armor Proficiency feat.

ArmorProficiency * createHeavy ()
 Create a new Heavy Armor Proficiency feat.


Detailed Description

A creature that uses armor without begin proficient with it suffers the armor check penalty to attack rolls and skill checks that involve moving including Ride. A creature must be proficient with light armor before the creature can be proficient with medium armor. (The Light Armor Proficiency feat is a prerequisite for the Medium Armor Proficiency feat.) A creature must be proficient with medium armor before the creature can be proficient with heavy armor.


Member Function Documentation

ArmorProficiency * ArmorProficiency::createHeavy  )  [static]
 

Returns:
A new Heavy Armor Proficiency feat.

ArmorProficiency * ArmorProficiency::createLight  )  [static]
 

Returns:
A new Light Armor Proficiency feat.

ArmorProficiency * ArmorProficiency::createMedium  )  [static]
 

Returns:
A new Medium Armor Proficiency feat.

ogs::items::Armor::Proficiency ogs::feats::ArmorProficiency::getProficiency  )  const [inline]
 

Returns:
Type of armor: LIGHT, MEDIUM, or HEAVY.


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