|
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.Feature | +--ogs.core.Feat | +--ogs.feats.ArmorProficiency
A feat that allows the effective use of armor. 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.
Field Summary |
Fields inherited from class ogs.core.Feat |
COMBAT, CUMULATIVE, EXCLUSIVE, GENERAL, MAGIC, REPEATABLE, SPECIAL |
Fields inherited from class ogs.support.Object |
listeners |
Constructor Summary | |
protected |
ArmorProficiency(int proficiency)
Create a new armor proficiency feat. |
Method Summary | |
protected boolean |
canAttach(Object object)
Determine if this feat can be attached to an object. |
static ArmorProficiency |
createHeavy()
Create a new Heavy Armor Proficiency feat. |
static ArmorProficiency |
createLight()
Create a new Light Armor Proficiency feat. |
static ArmorProficiency |
createMedium()
Create a new Medium Armor Proficiency feat. |
int |
getCompatibility()
Determine the compatibility of this type of feat. |
int |
getGroup()
Determine the group that this feat belongs to. |
int |
getProficiency()
Determine the proficiency of this feat. |
boolean |
isProficient(Armor armor)
Determine if armor is proficient armor. |
Methods inherited from class ogs.core.Feat |
findFeat, getSlots, getSlotsLevel |
Methods inherited from class ogs.core.Feature |
attachObject, canDetach, detachObject, getObject |
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 |
Constructor Detail |
protected ArmorProficiency(int proficiency)
proficiency
- Proficiency of armor: LIGHT, MEDIUM, or HEAVY.Method Detail |
public static ArmorProficiency createLight()
public static ArmorProficiency createMedium()
public static ArmorProficiency createHeavy()
public int getCompatibility()
getCompatibility
in class Feat
public int getGroup()
getGroup
in class Feat
public int getProficiency()
protected boolean canAttach(Object object)
canAttach
in class Feat
object
- Object to attach this feat to.
public boolean isProficient(Armor armor)
armor
- A suit of armor.
|
OGS Java API Spec | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |