• Tutorials

  • Home
  • Text Baseclass Database

    Names should not conflict with any of the names in the class database, items database, spells database, races database, or abilities database, all baseclasses start with a lower case letter and classes with an upper case letter.

    BonusXP is the name of the ability which allows the baseclass to gain an Experience Point bonus if above a certain score. The keyword contains the ability name, the modifier type (such as % for percentage), and lists the bonus/penalty for each of the 25 possible scores (1-25, respectively). Eg: BonusXP = Intelligence,%,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,10,10,10,10,10,10,10,10

    THAC0 stands for "to hit armor class 0" and is a list of 40 integers representing that number at each level of the baseclass.

    AbilityRequirement is an ability and the minimum and maximum numbers allowed for the baseclass. Eg: AbilityRequirement = Wisdom 9/18

    Allowed Race is the name of the race or races from the races database that is allowed. Eg: Allowed Race = Monkey

    Allowed Alignment is one of: any, Lawful Good, Neutral Good, Chaotic Good, Lawful Neutral, True Neutral, Chaotic Neutral, Lawful Evil, Neutral Evil, Chaotic Evil. Eg: (allows only two alignments for a class)
    Allowed Alignment = Lawful Good
    Allowed Alignment = Lawful Evil

    Minimum experience points for each character level, starting with level 1, up to level 40. Eg: ExpLevel = 65420

    Base Spell Levels are the spells at a given level for a given spell school allowed. After name of school, up to 9 integers may be used. Eg: Base Spell Levels = 4,Cleric,3,2,1

    MaxSpellLevelByPrime determines the highest spell level a spellcaster may learn based on an ability score. Spell school, ability, 25 integers are the order for this keyword. Eg: MaxSpellLevelByPrime = Cleric,Wisdom,0,0,0,0,0,0,0,0,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7

    HitDice determines the Hit Points given to a baseclass at a particular level. The first number is the level, the second is the number of dice, the third number is the sides per dice, the fourth number is the set number of points (bonus). Eg: HitDice = 1,1,10,0

    Skills consist of the skill name and the score at each of the 40 levels. Note: that many former keywords are now handled as Skills, including Backstab, Turning Undead, Ranger Bonus, etc. Eg: Skill = Read,0,0,0,20,25,30,35,40,45,50,55,60,65,70,75,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80

    SkillAdjAbility allows modification of a Skill based upon an ability. Name, ability, type, score modifier for each of the 25 ability scores. Eg: SkillAdjAbility = Read,Intelligence,%,0,0,0,0,0,0,0,0,85,90,95,100,100,100,100,100,105,110,115,115,115,115,115,115,115

    SkillAdjRace allows modification of skills, by listing the name of the skill, name of the race, percentage sign and number to modify it by. Eg: SkillAdjRace = OpenLocks,Hobbit,%,110

    If the baseclass gets bonus spells, this is the keyword used to determine the bonus. If blank, no bonus spells. Default is blank. Eg: SpellBonusAbility = Wisdom

    If bonus spells are allowed for the baseclass, this keyword determines the score and the bonus spells for that ability score using integer pairs. In the integer pairs, the first is the level of the spell, the second is the quantity. Eg: BonusSpells = 13,1,1


    Example:
    \(BEGIN)
    name = fighter
    BonusXP = Strength,%,0,0,0,0,0,0,0,0,100,100,100,100,100,100,100,110,110,110,110,110,110,110,110,110,110
    THAC0 = 20,20,18,18,16,16,14,14,12,12,10,10,8,8,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
    AbilityRequirement = Strength 9/19
    AbilityRequirement = Dexterity 3/19
    AbilityRequirement = Constitution 3/19
    AbilityRequirement = Intelligence 3/19
    Allowed Race = Dwarf
    Allowed Race = Elf
    Allowed Race = Gnome
    Allowed Race = Half-Elf
    Allowed Race = Halfling
    Allowed Race = Half-Orc
    Allowed Race = Human
    Allowed Alignment = any
    ExpLevel = 0
    ExpLevel = 2001
    ExpLevel = 4001
    ExpLevel = 8001
    ExpLevel = 18001
    ExpLevel = 35001
    ExpLevel = 70001
    ExpLevel = 125001
    ExpLevel = 250001
    ExpLevel = 500001
    ExpLevel = 750001
    ExpLevel = 1000001
    ExpLevel = 1250001
    ExpLevel = 1500001
    ExpLevel = 1750001
    ExpLevel = 2000001
    ExpLevel = 2250001
    ExpLevel = 2500001
    ExpLevel = 2750001
    ExpLevel = 3000001
    ExpLevel = 3250001
    ExpLevel = 3500001
    ExpLevel = 3750001
    ExpLevel = 4000001
    ExpLevel = 4250001
    ExpLevel = 4500001
    ExpLevel = 4750001
    ExpLevel = 5000001
    ExpLevel = 5250001
    ExpLevel = 5500001
    ExpLevel = 5750001
    ExpLevel = 6000001
    ExpLevel = 6250001
    ExpLevel = 6500001
    ExpLevel = 6750001
    ExpLevel = 7000001
    ExpLevel = 7250001
    ExpLevel = 7500001
    ExpLevel = 7750001
    ExpLevel = 8000001
    HitDice = 1,1,10,0
    HitDice = 2,1,10,0
    HitDice = 3,1,10,0
    HitDice = 4,1,10,0
    HitDice = 5,1,10,0
    HitDice = 6,1,10,0
    HitDice = 7,1,10,0
    HitDice = 8,1,10,0
    HitDice = 9,1,10,0
    HitDice = 10,0,0,3
    HitDice = 11,0,0,3
    HitDice = 12,0,0,3
    HitDice = 13,0,0,3
    HitDice = 14,0,0,3
    HitDice = 15,0,0,3
    HitDice = 16,0,0,3
    HitDice = 17,0,0,3
    HitDice = 18,0,0,3
    HitDice = 19,0,0,3
    HitDice = 20,0,0,3
    HitDice = 21,0,0,3
    HitDice = 22,0,0,3
    HitDice = 23,0,0,3
    HitDice = 24,0,0,3
    HitDice = 25,0,0,3
    HitDice = 26,0,0,3
    HitDice = 27,0,0,3
    HitDice = 28,0,0,3
    HitDice = 29,0,0,3
    HitDice = 30,0,0,3
    HitDice = 31,0,0,3
    HitDice = 32,0,0,3
    HitDice = 33,0,0,3
    HitDice = 34,0,0,3
    HitDice = 35,0,0,3
    HitDice = 36,0,0,3
    HitDice = 37,0,0,3
    HitDice = 38,0,0,3
    HitDice = 39,0,0,3
    HitDice = 40,0,0,3
    Skill = Save Vs BR,17
    Skill = Save Vs PP,15
    Skill = Save Vs PPDM,14
    Skill = Save Vs RSW,16
    Skill = Save Vs SP,17
    SkillAdjBaseclass = Save Vs BR,fighter,-,0,0,1,1,3,3,4,4,6,6,7,7,9,9,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
    SkillAdjBaseclass = Save Vs PP,fighter,-,0,0,1,1,3,3,4,4,6,6,7,7,9,9,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
    SkillAdjBaseclass = Save Vs PPDM,fighter,-,0,0,1,1,3,3,4,4,6,6,7,7,9,9,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
    SkillAdjBaseclass = Save Vs RSW,fighter,-,0,0,1,1,3,3,4,4,6,6,7,7,9,9,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
    SkillAdjBaseclass = Save Vs SP,fighter,-,0,0,1,1,3,3,4,4,6,6,7,7,9,9,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
    SkillAdjRace = MaxLevel$SYS$,Half-Orc,\=,10
    SpellBonusAbility = 
    \(END)