Planeshift
psSkillInfo Class Reference

Represents a skill an NPC, player or pet can learn. More...

#include <psskills.h>

Public Member Functions

 psSkillInfo ()
 
 ~psSkillInfo ()
 

Public Attributes

int baseCost
 The base cost that this skill requires. Used to calculate costs for next rank. More...
 
PSSKILLS_CATEGORY category
 
csString costScript
 Keeps the script used to calculate the cost of this skill. More...
 
csString description
 
PSSKILL id
 The new operator is overriden to call PoolAllocator template functions. More...
 
int mental_factor
 
csString name
 
int practice_factor
 
psMoney price
 

Detailed Description

Represents a skill an NPC, player or pet can learn.

Includes description, cost, practice needed

Definition at line 72 of file psskills.h.

Constructor & Destructor Documentation

psSkillInfo::psSkillInfo ( )
psSkillInfo::~psSkillInfo ( )

Member Data Documentation

int psSkillInfo::baseCost

The base cost that this skill requires. Used to calculate costs for next rank.

Definition at line 91 of file psskills.h.

PSSKILLS_CATEGORY psSkillInfo::category

Definition at line 89 of file psskills.h.

csString psSkillInfo::costScript

Keeps the script used to calculate the cost of this skill.

Definition at line 92 of file psskills.h.

csString psSkillInfo::description

Definition at line 85 of file psskills.h.

PSSKILL psSkillInfo::id

The new operator is overriden to call PoolAllocator template functions.

The delete operator is overriden to call PoolAllocator template functions

Definition at line 83 of file psskills.h.

int psSkillInfo::mental_factor

Definition at line 87 of file psskills.h.

csString psSkillInfo::name

Definition at line 84 of file psskills.h.

int psSkillInfo::practice_factor

Definition at line 86 of file psskills.h.

psMoney psSkillInfo::price

Definition at line 88 of file psskills.h.


The documentation for this class was generated from the following file: