heh, allllllllllllllright

Sabre

New Adventurer
MSC Developer
RiP
Joined
Aug 24, 2004
Messages
4,545
Reaction score
1
Age
35
Location
SoCal
If you do it as such, I suggest also that you add vulnerabilites into each class...Example given, an axeman would be vulnerable to a ranger or a smallarms user, since he uses slower weaponry.
 

PBarnum

New Adventurer
MSS Developer
MSC Developer
RiP
Joined
Jun 14, 2006
Messages
3,031
Reaction score
4
Just trying to brush up on skills

(note, made up variables, and I have no idea if its even close to being right... Not even finished hahaha)

Code:
struct NatStatsRec
{
  int strength;
  int agility;
  int concentration;
  int awareness;
  int fitness;
  int wisdom;
  NatStatsRec* next;
}
typedef NatStatsRec* NatStatsPtr;

struct SubSkillStatRec
{
  float proficiency;
  float balance;
  float power;
}

struct SkillStatRec
{
  int swordsmanship;
  int martialArts;
  int smallArms;
  int axeHandling;
  int bluntArms;
  int archery;
  int spellCasting;
  int parry;
}

class Human
{
public:
  void Human();
  int getHP();
  int getMP();
  void getNatStats(NatStatsPtr n);

private:
  //This is where I got tired and lazy
}
 

Sabre

New Adventurer
MSC Developer
RiP
Joined
Aug 24, 2004
Messages
4,545
Reaction score
1
Age
35
Location
SoCal
I'm no coder, but that seems alright...Just all your ints will need to be defined in order for them to actually do anything ;)
 

PBarnum

New Adventurer
MSS Developer
MSC Developer
RiP
Joined
Jun 14, 2006
Messages
3,031
Reaction score
4
The definitions of the structs/class methods would have been if I didn't want to sleep so much. Maybe I'll edit it later...

*shakes head*
 
Top