Source: constitutionattrib.h


Annotated List
Files
Globals
Hierarchy
Index
/***************************************************************************
                          constitutionattrib.h  -  description
                             -------------------
    begin                : Sun May 7 2000
    copyright            : (C) 2000 by Daniel Roberge
    email                : droberge@uvic.ca
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the Artistic License.                           *
 *                                                                         *
 ***************************************************************************/

#ifndef CONSTITUTIONATTRIB_H
#define CONSTITUTIONATTRIB_H

#include "rpoints.h"

/**Represents a Constitution ability score with a RenormalizablePoints
  *@author Daniel Roberge
  */

class ConstitutionAttrib : public RenormalizablePoints  {
private:
	int HPAdj[20];
public: 
	ConstitutionAttrib(int value);
	~ConstitutionAttrib();
	/** Returns the Hit Point adjustment for this Constitution value */
	int conHPAdj();
  /** Returns the System Shock percentage for this Constitution value */
  int conSysShock();
  /** Returns the Resurrection Survival percent for this Constitution value. */
  int conResSurv();
  /** Returns the Poison Save modifier for this Constitution value. */
  int conPoiSaveMod();
};

#endif

Generated by: droberge@magebook.localdomain on Mon Jul 3 13:20:08 200.