ogs.skills
Class Diplomacy
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.Feature
|
+--ogs.core.Skill
|
+--ogs.skills.Diplomacy
- All Implemented Interfaces:
- EventListener
- public class Diplomacy
- extends Skill
A skill used primarily to detect creatures who are hiding.
Constructor Summary |
Diplomacy()
Create a new Diplomacy skill. |
Method Summary |
boolean |
applyArmorCheckPenalty()
Determine if an armor check penalty applies when this skill is
used. |
int |
getKeyAbility()
Determine the key ability of this type of skill. |
boolean |
useUntrained()
Determine if this type of skill can be used untrained. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Diplomacy
public Diplomacy()
- Create a new Diplomacy skill.
getKeyAbility
public int getKeyAbility()
- Determine the key ability of this type of skill. The key ability
of the Diplomacy skill is Charisma.
- Specified by:
getKeyAbility
in class Skill
- Returns:
- Charisma.class
useUntrained
public boolean useUntrained()
- Determine if this type of skill can be used untrained. The
Diplomacy skill can be be used untrained.
- Specified by:
useUntrained
in class Skill
- Returns:
- True.
applyArmorCheckPenalty
public boolean applyArmorCheckPenalty()
- Determine if an armor check penalty applies when this skill is
used. Diplomacy skill checks have nothing to do with armor.
- Specified by:
applyArmorCheckPenalty
in class Skill
- Returns:
- False.