|
|
@ -6,6 +6,20 @@ |
|
|
|
#include "chargen.h" |
|
|
|
#include "chargen.h" |
|
|
|
#include "character.h" |
|
|
|
#include "character.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unsigned long profs; |
|
|
|
|
|
|
|
unsigned long languages; |
|
|
|
|
|
|
|
char otherprofs[100]; |
|
|
|
|
|
|
|
char* background; |
|
|
|
|
|
|
|
char* race; |
|
|
|
|
|
|
|
char* class; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
char* classes[] = {"Barbarian", "Bard", "Cleric", "Druid", "Fighter", "Monk", "Paladin", "Ranger", "Rogue", "Sorcerer", "Warlock", "Wizard" }; |
|
|
|
|
|
|
|
char* races[] = { "Dragonborn", "Dwarf", "Elf", "Gnome", "Half-Elf", "Halfling", "Half-Orc", "Human", "Tiefling" }; |
|
|
|
|
|
|
|
char* backgrounds[] = { "Acolyte", "Charlatan", "Criminal", "Entertainer", "Folk Hero", "Guild Artisan", "Hermit", "Noble", "Outlander", "Sage", "Sailor", "Soldier", "Urchin" }; |
|
|
|
|
|
|
|
int stats[6]; |
|
|
|
|
|
|
|
int mods[6]; |
|
|
|
|
|
|
|
int hp; |
|
|
|
|
|
|
|
|
|
|
|
int dieroll(int num,int sides){ |
|
|
|
int dieroll(int num,int sides){ |
|
|
|
int total = 0; |
|
|
|
int total = 0; |
|
|
|
for(num;num>0;num--){ |
|
|
|
for(num;num>0;num--){ |
|
|
|