Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::creatures::humanoids::Elf Class Reference

A mystical humanoid creature with an affinity for nature and magic. More...

#include <Elf.h>

Inheritance diagram for ogs::creatures::humanoids::Elf:

Inheritance graph
[legend]
Collaboration diagram for ogs::creatures::humanoids::Elf:

Collaboration graph
[legend]
List of all members.

Public Member Functions

unsigned getAdultAge () const
 Determine the average adult age for this type of creature.

unsigned getMiddleAge () const
 Determine the average middle age for this type of creature.

unsigned getOldAge () const
 Determine the average old age for this type of creature.

unsigned getVenerableAge () const
 Determine the average venerable age for this type of creature.

const Die & getMaximumAge () const
 Access the die used to roll a random maximum age for a PC.


Detailed Description

Elves can live for hundreds of years. Their skill and knowledge are usually superior to humans but they are usually more fraile and less resilient. Their resolve however can be just as strong as any other creature. In stature, they are slightly shorter and lighter than most humans and are generally considered fairer in appearance. They can move just as fast as humans and their senses are significantly sharper. Elves have low-light vision which allows them to see twice as far as humans even in near darkness.

Most elves are sylvan folk. They tend to live in great forests where they are in harmony with nature and free to uncover natural and arcane secrets of the world without interference from less sympathetic civilizations. Many elves thus become rangers and druids though wizard is their favored character class. Elves are also inherently resistant to certain forms of magic. They are immune to all sleep spells. In addition, elves have the following racial traits.

Elves typically exist in fantasy campaign settings.


Member Function Documentation

unsigned ogs::creatures::humanoids::Elf::getAdultAge  )  const [inline, virtual]
 

The adult age for elves is 110 years.

Returns:
110 years

Implements ogs::core::details::Maturity.

const Die & ogs::creatures::humanoids::Elf::getMaximumAge  )  const [inline, virtual]
 

The die used to roll maximum ages for elves is 4d100.

Returns:
4d100

Implements ogs::core::details::Maturity.

unsigned ogs::creatures::humanoids::Elf::getMiddleAge  )  const [inline, virtual]
 

The middle age for elves is 175 years.

Returns:
175 years

Implements ogs::core::details::Maturity.

unsigned ogs::creatures::humanoids::Elf::getOldAge  )  const [inline, virtual]
 

The old age for elves is 263 years.

Returns:
263 years

Implements ogs::core::details::Maturity.

unsigned ogs::creatures::humanoids::Elf::getVenerableAge  )  const [inline, virtual]
 

The venerable age for elves is 350 years.

Returns:
350 years

Implements ogs::core::details::Maturity.


The documentation for this class was generated from the following file:
Generated on Sun Apr 20 03:38:54 2003 for Open Gaming System (OGS) by doxygen1.3