ogs.cclasses
Class Commoner
java.lang.Object
|
+--ogs.support.Object
|
+--ogs.core.CClass
|
+--ogs.cclasses.Commoner
- All Implemented Interfaces:
- EventListener
- public class Commoner
- extends CClass
A commoner is a nonplayer character (NPC) class for ordinary,
average, everyday characters. The Commoner class is normally
reserved only for an NPC that does not qualify for any other cclass.
The Commoner class uses the same advancment rates for attack and save
bonuses used by default in the CClass base class.
Constructor Summary |
Commoner()
Create a new 1st-level Commoner cclass. |
Commoner(int xpLevel)
Create a new Nth-level Commoner cclass. |
Method Summary |
int |
getHitDie()
Commoners use d4 for hit die. |
int |
getSkillPoints()
Commoners get 2 skill points per experience level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Commoner
public Commoner()
- Create a new 1st-level Commoner cclass.
Commoner
public Commoner(int xpLevel)
- Create a new Nth-level Commoner cclass.
- Parameters:
xpLevel
- Experience level of the cclass.
getHitDie
public int getHitDie()
- Commoners use d4 for hit die.
- Specified by:
getHitDie
in class CClass
- Returns:
- Die.d4.
getSkillPoints
public int getSkillPoints()
- Commoners get 2 skill points per experience level.
- Specified by:
getSkillPoints
in class CClass
- Returns:
- 2 skill points.