|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Entity
|
+--ogs.core.Item
|
+--ogs.items.Armor
An item worn for protection in combat. Armor is typically a suit or partial suit of steel, leather, or other material that is worn over the body. Armor belongs to one of three proficiencies: light, medium, or heavy. The armor proficiency determines the armor proficiency feat required to use it effectively.
ArmorProficiency| Field Summary | |
static int |
HEAVY
Use requires heavy armor proficiency. |
static int |
LIGHT
Use requires light armor proficiency. |
static int |
MEDIUM
Use requires medium armor proficiency. |
| Fields inherited from class ogs.core.Item |
GLASS, IRON, PAPER, STONE, UNKNOWN, WOOD |
| Fields inherited from class ogs.core.Entity |
currentHealth, defense, maximumHealth, size, weight |
| Fields inherited from class ogs.support.Object |
listeners |
| Constructor Summary | |
Armor()
|
|
| Method Summary | |
static int |
getArcaneSpellFailure()
Determine the arcane spell failure. |
static Modifier |
getArmorCheckPenalty()
Determine the armor check penalty. |
static Modifier |
getDefenseBonus()
Determine the defense bonus. |
static int |
getProficiency()
Determine proficiency of armor. |
| Methods inherited from class ogs.core.Item |
getDensity, getHardness, getMaterial, getThickness, getWorth, setDensity, setHardness, setMaterial, setThickness, setWorth, updateHealthPoints |
| Methods inherited from class ogs.core.Entity |
getCurrentHealth, getDefense, getMaximumHealth, getSize, getWeight, setCurrentHealth, setMaximumHealth, setWeight |
| Methods inherited from class ogs.support.Object |
addListener, handleEvent, notifyListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int LIGHT
public static final int MEDIUM
public static final int HEAVY
| Constructor Detail |
public Armor()
| Method Detail |
public static int getProficiency()
public static Modifier getDefenseBonus()
public static Modifier getArmorCheckPenalty()
public static int getArcaneSpellFailure()
|
OGS Java API Spec | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||