#include <Protection.h>
Inheritance diagram for ogs::items::rings::Protection:
Public Types | |
enum | Bonus { PLUS_1 = 1, PLUS_2 = 2, PLUS_3 = 3, PLUS_4 = 4, PLUS_5 = 5 } |
The defense bonus provided by rings of protection. More... | |
Public Member Functions | |
Protection (Bonus bonus) | |
Create a new ring of protection. | |
unsigned | getCasterLevel () const |
Determine the caster level of this magic item. | |
void | equipItem (Creature &creature) |
void | unequipItem (Creature &creature) |
const Modifier & | getModifier () const |
Determine the modifier for this ring of protection. |
|
|
|
|
|
|
|
The modifier is a deflection bonus that is added to defense.
|