draconian.h
demise/src/draconian.h · 2.2 KB
From the archive dodbackup-final.tar.gz
Download the archive « Back to the archive contents
/************************************************ * * * Header file for * * the Draconian class * * * * Coded by * * * * Gunnar Trulsrud * * aka Corim * * * * for * * Dreams of Demise * * * ************************************************/ /* * Draconian Disciplines */ #define DRAC_PROF 0 #define DRAC_COMBAT 1 #define DRAC_MAGIC 2 #define DRAC_STEALTH 3 #define DRAC_RELIGION 4 #define DRAC_SIGHT 5 #define DRAC_DRACONIC 6 #define DRAC_TOUGHNESS 7 #define DRAC_MIGHT 8 #define DRAC_RANK 9 #define DRAC_SPEED 10 #define DRAC_OFFENSIVE 11 #define DRAC_DEFENSIVE 12 #define DRAC_TRANSFORM 13 #define DRAC_HEALING 14 #define DRAC_WEAPONRY 15 #define DRAC_CONFUSED 16 #define DRAC_CURSED 17 #define DRAC_AVATAR 18 #define DRAC_DRAYGON 19 /* * Draconian Professions */ #define PROF_NONE 1 #define PROF_WARRIOR 2 #define PROF_MAGE 3 #define PROF_CLERIC 4 #define PROF_SCOUT 5 /* * Draconian Bits */ #define IS_DRAC_NONE(ch) (IS_SET((ch)->class, CLASS_DRACONIAN) && ch->pcdata->cpowers[DRAC_PROF] == PROF_NONE) #define IS_DRAC_WARRIOR(ch) (IS_SET((ch)->class, CLASS_DRACONIAN) && ch->pcdata->cpowers[DRAC_PROF] == PROF_WARRIOR) #define IS_DRAC_MAGE(ch) (IS_SET((ch)->class, CLASS_DRACONIAN) && ch->pcdata->cpowers[DRAC_PROF] == PROF_MAGE) #define IS_DRAC_CLERIC(ch) (IS_SET((ch)->class, CLASS_DRACONIAN) && ch->pcdata->cpowers[DRAC_PROF] == PROF_CLERIC) #define IS_DRAC_SCOUT(ch) (IS_SET((ch)->class, CLASS_DRACONIAN) && ch->pcdata->cpowers[DRAC_PROF] == PROF_SCOUT) #define IS_DRACWEAP(ch, sn) (IS_SET((ch)->pcdata->cpowers[DRAC_WEAPONRY], (sn))) /* * Draconian Weaponry Bits */ #define DRAC_UNFOLDED 1 #define DRAC_WINGS 2 #define DRAC_HORNS 4 #define DRAC_TAIL 8 #define DRAC_CLAWS 16 #define DRAC_SPIKES 32 #define DRAC_JAW 64 #define DRAC_POISON 128 #define DRAC_INVIS 256 #define DRAC_FBREATH 512 #define DRAC_CBREATH 1024 #define DRAC_LBREATH 2048 #define DRAC_GBREATH 4096 #define DRAC_SBREATH 8192 #define DRAC_ABREATH 16384 #define DRAC_VBREATH 32768 #define DRAC_DHAMMER 65536