class PlayerChar

Represents a player-controlled character. More...

Definition#include <pchar.h>
InheritsCharacter
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

Represents a player-controlled character. Has ability scores, a race, and a class.

int getAC (int DT)
[virtual]

Gets the AC for damage type DT, modified for Dex

int getAC ()
[virtual]

Gets the AC for no damage type, modified for Dex

int getTHACO ()

Gets the THACO modified by strength

int earnXP (int amount)

Adds to XP amount points

bool haveClass ()

Shows that this class has character classes

void doDamage (Character &target)
[virtual]

Does weapon damage to target.