#include <Armor.h>
Inheritance diagram for ogs::items::Armor:


Public Types | |
| enum | Proficiency { LIGHT = 1, MEDIUM = 2, HEAVY = 3 } |
| The proficiency required to effectively utilize the armor. More... | |
Public Member Functions | |
| virtual Proficiency | getProficiency () const=0 |
| Determine the proficiency required to effectively utilize this armor. | |
| virtual ogs::core::Modifier & | getDefenseBonus ()=0 |
| Determine the defense modifier added when wearing this armor. | |
| virtual ogs::core::Modifier & | getArmorCheckPenalty ()=0 |
| Determine the armor check penalty for this armor. | |
| virtual int | getArcaneSpellFailure ()=0 |
| Determine the arcane spell failure of this armor. | |
|
|
|
|
|
Derived classes should override this function if the arcane spell failure is not zero (0).
|
|
|
Derived classes must override this method! The default implementation throws a logic error.
|
|
|
|
|
|
|
1.3