|
Public Types |
| typedef std::bitset< 3 > | Type |
| | Indicates the type of damage inflicted by the weapon.
|
| enum | Proficiency { SIMPLE = 1,
MARTIAL = 2,
EXOTIC = 3
} |
| | Indicates the proficiency required to wield the weapon. More...
|
| enum | { BASHING = 0,
PIERCING = 1,
SLASHING = 2
} |
Public Member Functions |
| | Weapon () |
| | Create a new weapon.
|
|
| Weapon (Entity::Weight weight, ogs::core::Size::Type size, Item::Worth worth, Proficiency proficiency, Type type, const ogs::core::Die &damage, unsigned criticalMultiplier, ogs::core::Die::Value threatRange) |
| Proficiency | getProficiency () const |
| | Determine the proficiency of this weapon.
|
| Type | getType () const |
| | Determine the type of this weapon.
|
| ogs::core::Die | getDamage () const |
| | Determine the damage caused by this weapon.
|
| unsigned | getCriticalMultiplier () const |
| | Determine the critical multiplier of this weapon.
|
| ogs::core::Die::Value | getThreatRange () const |
| | Determine the threat range of this weapon.
|