Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 25 feet, not reduced by wearing heavy armor.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Resilience: ⊕ saves vs. poison.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Combat Training: Prof. with battleaxe, handaxe, throwing hammer, and warhammer.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Tool Proficiency: Prof. with choice of one: smith's tools, brewer's supplies, mason's tools.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Stonecutting: Intelligence (History) checks related to stonework add double prof. bonus.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Dwarvish.
"; $npc_subrace = rand(1,2); switch ($npc_subrace) { case 1: $npc_subrace_v = "(Hill)"; $npc_wis = $npc_wis + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Toughness: +1 HP at each level.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Constitution was increased by 2 (Dwarf), and Wisdom was increased by 1 (Hill)."; break; case 2: $npc_subrace_v = "(Mountain)"; $npc_str = $npc_str + 2; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Armor Training: Prof. with light and medium armor.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Constitution was increased by 2 (Dwarf), and Strength was increased by 2 (Mountain)."; break; } break; case 2: $npc_race_v = "Dwarf"; $npc_con = $npc_con + 2; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 25 feet, not reduced by wearing heavy armor.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Resilience: ⊕ saves vs. poison.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Combat Training: Prof. with battleaxe, handaxe, throwing hammer, and warhammer.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Tool Proficiency: Prof. with choice of one: smith's tools, brewer's supplies, mason's tools.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Stonecutting: Intelligence (History) checks related to stonework add double prof. bonus.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Dwarvish.
"; $npc_subrace = rand(1,2); switch ($npc_subrace) { case 1: $npc_subrace_v = "(Hill)"; $npc_wis = $npc_wis + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Toughness: +1 HP at each level.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Constitution was increased by 2 (Dwarf), and Wisdom was increased by 1 (Hill)."; break; case 2: $npc_subrace_v = "(Mountain)"; $npc_str = $npc_str + 2; $npc_race_stuff_v = $npc_race_stuff_v . "Dwarven Armor Training: Prof. with light and medium armor.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Constitution was increased by 2 (Dwarf), and Strength was increased by 2 (Mountain)."; break; } break; case 3: $npc_race_v = "Elf"; $npc_dex = $npc_dex + 2; $npc_race_stuff_v = "Size: Medium
";; $npc_race_stuff_v = $npc_race_stuff_v . "Keen Senses: Prof. Wisdom (Perception)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Fey Ancestry: ⊕ vs. charm. Magic can not put you to sleep.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Trance: 4 hours meditation = 8 hours sleep.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Elvish.
"; $npc_subrace = rand(1,5); switch ($npc_subrace) { case 1: $npc_subrace_v = "(High)"; $npc_int = $npc_int + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Cantrip: Select 1 cantrip from the wizard spell list. (Intelligence)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Extra Language: Select one extra language of your choice.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Intelligence was increased by 1 (High)."; break; case 2: $npc_subrace_v = "(High)"; $npc_int = $npc_int + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Cantrip: Select 1 cantrip from the wizard spell list. (Intelligence)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Extra Language: Select one extra language of your choice.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Intelligence was increased by 1 (High)."; break; case 3: $npc_subrace_v = "(Wood)"; $npc_wis = $npc_wis + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 35 feet (+5 feet from (Wood))
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Mask of the Wild: Can attempt to hide even when only lightly obscured.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Wisdom was increased by 1 (High)."; break; case 4: $npc_subrace_v = "(Wood)"; $npc_wis = $npc_wis + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 35 feet (+5 feet from (Wood))
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Mask of the Wild: Can attempt to hide even when only lightly obscured.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Wisdom was increased by 1 (High)."; break; case 5: $npc_subrace_v = "(Drow)"; $npc_cha = $npc_cha + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Superior Darkvision: 120 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Sunlight Sensitivity: ⊖ on Wisdom (Perception) checks that rely on sight while in direct sunlight.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Drow Magic: Dancing lights cantrip. At 3rd level, faerie fire 1/day. At 5th level, darkness 1/day. (Charisma).
"; break; } break; case 4: $npc_race_v = "Elf"; $npc_dex = $npc_dex + 2; $npc_race_stuff_v = "Size: Medium
";; $npc_race_stuff_v = $npc_race_stuff_v . "Keen Senses: Prof. Wisdom (Perception)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Fey Ancestry: ⊕ vs. charm. Magic can not put you to sleep.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Trance: 4 hours meditation = 8 hours sleep.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Elvish.
"; $npc_subrace = rand(1,5); switch ($npc_subrace) { case 1: $npc_subrace_v = "(High)"; $npc_int = $npc_int + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Cantrip: Select 1 cangrip from the wizard spell list. (Intelligence)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Extra Language: Select one extra langage of your choice.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Intelligence was increased by 1 (High)."; break; case 2: $npc_subrace_v = "(High)"; $npc_int = $npc_int + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Cantrip: Select 1 cantrip from the wizard spell list. (Intelligence)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Extra Language: Select one extra language of your choice.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Intelligence was increased by 1 (High)."; break; case 3: $npc_subrace_v = "(Wood)"; $npc_wis = $npc_wis + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 35 feet (+5 feet from (Wood))
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Mask of the Wild: Can attempt to hide even when only lightly obscured.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Wisdom was increased by 1 (High)."; break; case 4: $npc_subrace_v = "(Wood)"; $npc_wis = $npc_wis + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 35 feet (+5 feet from (Wood))
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Elf Weapon Training: Prof. longsword, shortsword, shortbow, longbow.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Mask of the Wild: Can attempt to hide even when only lightly obscured.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Wisdom was increased by 1 (High)"; break; case 5: $npc_subrace_v = "(Drow)"; $npc_cha = $npc_cha + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Superior Darkvision: 120 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Sunlight Sensitivity: ⊖ on Wisdom (Perception) checks that rely on sight while in direct sunlight
"; $npc_race_stuff_v = $npc_race_stuff_v . "Drow Magic: Dancing lights cantrip. At 3rd level, faerie fire 1/day. At 5th level, darkness 1/day. (Charisma).
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Elf), and Charisma was increased by 1 (Drow)"; break; } break; case 5: $npc_race_v = "Human"; $npc_subrace_v = ""; $npc_str = $npc_str + 1; $npc_dex = $npc_dex + 1; $npc_con = $npc_con + 1; $npc_int = $npc_int + 1; $npc_wis = $npc_wis + 1; $npc_cha = $npc_cha + 1; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, and one extra language of your choice
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: All Ability Scores were increased by 1 (Human)"; break; case 6: $npc_race_v = "Human"; $npc_subrace_v = ""; $npc_str = $npc_str + 1; $npc_dex = $npc_dex + 1; $npc_con = $npc_con + 1; $npc_int = $npc_int + 1; $npc_wis = $npc_wis + 1; $npc_cha = $npc_cha + 1; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, and one extra language of your choice
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: All Ability Scores were increased by 1 (Human)"; break; case 7: $npc_race_v = "Halfling"; $npc_dex = $npc_dex + 2; $npc_race_stuff_v = "Size: Small
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 25 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Lucky: When you roll a 1 on an attack, ability check, or save, you can reroll. Must use new roll.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Brave: ⊕ vs. fear
"; $npc_race_stuff_v = $npc_race_stuff_v . "Halfling Nimbleness: Can move through space of any creature that is a size larger than you
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Halfling
"; $npc_subrace = rand(1,2); switch ($npc_subrace) { case 1: $npc_subrace_v = "(Lightfoot)"; $npc_cha = $npc_cha + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Naturally Stealthy: Can attempt to hide even when obscured only by a creature that is at least one size larger
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Halfling), and Charisma was increased by 1 (Lightfoot)"; break; case 2: $npc_subrace_v = "(Stout)"; $npc_con = $npc_con + 2; $npc_race_stuff_v = $npc_race_stuff_v . "Stout Resilience: ⊕ vs. poison, and resistance to poison damage
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Halfling), and Constitution was increased by 1 (Stout)"; break; } break; case 8: $npc_race_v = "Halfling"; $npc_dex = $npc_dex + 2; $npc_race_stuff_v = "Size: Small
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 25 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Lucky: When you roll a 1 on an attack, ability check, or save, you can reroll. Must use new roll.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Brave: ⊕ vs. fear
"; $npc_race_stuff_v = $npc_race_stuff_v . "Halfling Nimbleness: Can move through space of any creature that is a size larger than you
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Halfling
"; $npc_subrace = rand(1,2); switch ($npc_subrace) { case 1: $npc_subrace_v = "(Lightfoot)"; $npc_cha = $npc_cha + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Naturally Stealthy: Can attempt to hide even when obscured only by a creature that is at least one size larger
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Halfling), and Charisma was increased by 1 (Lightfoot)"; break; case 2: $npc_subrace_v = "(Stout)"; $npc_con = $npc_con + 2; $npc_race_stuff_v = $npc_race_stuff_v . "Stout Resilience: ⊕ vs. poison, and resistance to poison damage
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Dexterity was increased by 2 (Halfling), and Constitution was increased by 1 (Stout)"; break; } break; case 9: $npc_race_v = "Dragonborn"; $npc_str = $npc_str + 2; $npc_cha = $npc_cha +1; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Draconic
"; $npc_subrace = rand(1,10); switch ($npc_subrace) { case 1: $npc_subrace_v = "(Black)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Black
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Acid, 5x30 ft. line. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Acid
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 2: $npc_subrace_v = "(Blue)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Blue
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Lightning, 5x30 ft. line. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Lightning
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 3: $npc_subrace_v = "(Brass)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Brass
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Fire, 5x30 ft. line. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Fire
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 4: $npc_subrace_v = "(Bronze)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Bronze
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Lightning, 5x30 ft. line. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Lightning
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 5: $npc_subrace_v = "(Copper)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Copper
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Acid, 5x30 ft. line. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Acid
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 6: $npc_subrace_v = "(Gold)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Gold
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Fire, 15 ft. cone. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Fire
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 7: $npc_subrace_v = "(Green)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Green
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Poison, 15 ft. cone. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Con Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Poison
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 8: $npc_subrace_v = "(Red)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Red
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Fire, 15 ft. cone. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Dex Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Fire
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 9: $npc_subrace_v = "(Silver)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: Silver
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Cold, 15 ft. cone. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Con Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Cold
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; case 10: $npc_subrace_v = "(White)"; $npc_race_stuff_v = $npc_race_stuff_v . "Draconic Ancestry: White
"; $npc_race_stuff_v = $npc_race_stuff_v . "Breath Weapon: Cold, 15 ft. cone. 2d6 damage. At 6th level, 3d6. At 11th level, 4d6. At 16th level, 5d6. (Con Save, DC = 8 + Constitution modifier + Prof.)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Damage Resistance: Cold
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Dragonborn), and Charisma was increased by 1 (Dragonborn)"; break; } break; case 10: $npc_race_v = "Gnome"; $npc_int = $npc_int + 2; $npc_race_stuff_v = "Size: Small
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 25 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Gnome Cunning: ⊕ on all Intelligence, Wisdom, and Charisma saving throws vs. magic
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Gnomish
"; $npc_subrace = rand(1,2); switch ($npc_subrace) { case 1: $npc_subrace_v = "(Forest)"; $npc_dex = $npc_dex + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Natural Illusionist: Minor illusion cantrip (Intelligence)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speak with Small Beasts: Can communicate simple ideas with Small or smaller beasts
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Intelligence was increased by 2 (Gnome), and Dexterity was increased by 1 (Forest)"; break; case 2: $npc_subrace_v = "(Rock)"; $npc_con = $npc_con + 1; $npc_race_stuff_v = $npc_race_stuff_v . "Artificer's Lore: Add double prof. bonus on Intelligence (History) checks related to magical items, alchemical objects, or technological devices.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Tinker: Prof. with artisan's tools (tinker's tools). Can create Tiny clockwork devices (AC 5, 1 HP). You can have up to three at a time.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Intelligence was increased by 2 (Gnome), and Constitution was increased by 1 (Rock)"; break; } break; case 11: $npc_race_v = "Half-Elf"; $npc_subrace_v = ""; $npc_cha = $npc_cha +2; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Fey Ancestry: ⊕ vs. charm. Magic can not put you to sleep.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Skill Versatility: Prof. in two skills of your choice
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Elvish, and one extra language of your choice
"; $npc_half_elf_abilities = array("Strength", "Dexterity", "Constitution", "Intelligence", "Wisdom"); shuffle($npc_half_elf_abilities); $npc_half_elf_1 = $npc_half_elf_abilities[0]; $npc_half_elf_2 = $npc_half_elf_abilities[1]; if ($npc_half_elf_1 == "Strength") { $npc_str = $npc_str + 1; } elseif ($npc_half_elf_1 == "Dexterity") { $npc_dex = $npc_dex + 1; } elseif ($npc_half_elf_1 == "Constitution") { $npc_con = $npc_con + 1; } elseif ($npc_half_elf_1 == "Intelligence") { $npc_int = $npc_int + 1; } elseif ($npc_half_elf_1 == "Wisdom") { $npc_wis = $npc_wis + 1; } else { } if ($npc_half_elf_2 == "Strength") { $npc_str = $npc_str + 1; } elseif ($npc_half_elf_2 == "Dexterity") { $npc_dex = $npc_dex + 1; } elseif ($npc_half_elf_2 == "Constitution") { $npc_con = $npc_con + 1; } elseif ($npc_half_elf_2 == "Intelligence") { $npc_int = $npc_int + 1; } elseif ($npc_half_elf_2 == "Wisdom") { $npc_wis = $npc_wis + 1; } else { } $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Charisma was increased by 2 (Half-Elf), "; $npc_race_stuff_v = $npc_race_stuff_v . $npc_half_elf_1 . " was increased by 1 (Half-Elf), and "; $npc_race_stuff_v = $npc_race_stuff_v . $npc_half_elf_2 . " was increased by 1 (Half-Elf)"; break; case 12: $npc_race_v = "Half-Orc"; $npc_subrace_v = ""; $npc_str = $npc_str + 2; $npc_con = $npc_con +1; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Menacing: Prof. with Charisma (Intimidation)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Relentless Endurance: When reduced to 0 HP but not killed, you can drop to 1 HP instead. 1/long rest.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Savage Attacks: When you score a critical hit with a melee attack, roll one of the weapon's damage dice one additional time.
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Orc)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Strength was increased by 2 (Half-Orc), and Constitution was increased by 1 (Half-Orc)"; break; case 13: $npc_race_v = "Tiefling"; $npc_subrace_v = ""; $npc_int = $npc_int + 1; $npc_cha = $npc_cha + 2; $npc_race_stuff_v = "Size: Medium
"; $npc_race_stuff_v = $npc_race_stuff_v . "Speed: 30 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Darkvision: 60 feet
"; $npc_race_stuff_v = $npc_race_stuff_v . "Hellish Resistance: Resistance to fire damage
"; $npc_race_stuff_v = $npc_race_stuff_v . "Infernal Legacy: Thaumaturgy cantrip. At 3rd level, helish rebuke 1/day as a 2nd level spell. At 5th level, darkness 1/day. (Charisma)
"; $npc_race_stuff_v = $npc_race_stuff_v . "Languages: Common, Infernal
"; $npc_race_stuff_v = $npc_race_stuff_v . "Ability Score Increase: Charisma was increased by 2 (Tiefling), and Intelligence was increased by 1 (Tiefling)"; break; } /* END NPC Race */ /* START NPC Ability modifiers */ if ($npc_str >= 8 && $npc_str <= 9) { $npc_str_mod = -1; } elseif ($npc_str >= 10 && $npc_str <= 11) { $npc_str_mod = 0; } elseif ($npc_str >= 12 && $npc_str <= 13) { $npc_str_mod = 1; } elseif ($npc_str >= 14 && $npc_str <= 15) { $npc_str_mod = 2; } elseif ($npc_str >= 16 && $npc_str <= 17) { $npc_str_mod = 3; } elseif ($npc_str >= 18 && $npc_str <= 19) { $npc_str_mod = 4; } else { } if ($npc_dex >= 8 && $npc_dex <= 9) { $npc_dex_mod = -1; } elseif ($npc_dex >= 10 && $npc_dex <= 11) { $npc_dex_mod = 0; } elseif ($npc_dex >= 12 && $npc_dex <= 13) { $npc_dex_mod = 1; } elseif ($npc_dex >= 14 && $npc_dex <= 15) { $npc_dex_mod = 2; } elseif ($npc_dex >= 16 && $npc_dex <= 17) { $npc_dex_mod = 3; } elseif ($npc_dex >= 18 && $npc_dex <= 19) { $npc_dex_mod = 4; } else { } if ($npc_con >= 8 && $npc_con <= 9) { $npc_con_mod = -1; } elseif ($npc_con >= 10 && $npc_con <= 11) { $npc_con_mod = 0; } elseif ($npc_con >= 12 && $npc_con <= 13) { $npc_con_mod = 1; } elseif ($npc_con >= 14 && $npc_con <= 15) { $npc_con_mod = 2; } elseif ($npc_con >= 16 && $npc_con <= 17) { $npc_con_mod = 3; } elseif ($npc_con >= 18 && $npc_con <= 19) { $npc_con_mod = 4; } else { } if ($npc_int >= 8 && $npc_int <= 9) { $npc_int_mod = -1; } elseif ($npc_int >= 10 && $npc_int <= 11) { $npc_int_mod = 0; } elseif ($npc_int >= 12 && $npc_int <= 13) { $npc_int_mod = 1; } elseif ($npc_int >= 14 && $npc_int <= 15) { $npc_int_mod = 2; } elseif ($npc_int >= 16 && $npc_int <= 17) { $npc_int_mod = 3; } elseif ($npc_int >= 18 && $npc_int <= 19) { $npc_int_mod = 4; } else { } if ($npc_wis >= 8 && $npc_wis <= 9) { $npc_wis_mod = -1; } elseif ($npc_wis >= 10 && $npc_wis <= 11) { $npc_wis_mod = 0; } elseif ($npc_wis >= 12 && $npc_wis <= 13) { $npc_wis_mod = 1; } elseif ($npc_wis >= 14 && $npc_wis <= 15) { $npc_wis_mod = 2; } elseif ($npc_wis >= 16 && $npc_wis <= 17) { $npc_wis_mod = 3; } elseif ($npc_wis >= 18 && $npc_wis <= 19) { $npc_wis_mod = 4; } else { } if ($npc_cha >= 8 && $npc_cha <= 9) { $npc_cha_mod = -1; } elseif ($npc_cha >= 10 && $npc_cha <= 11) { $npc_cha_mod = 0; } elseif ($npc_cha >= 12 && $npc_cha <= 13) { $npc_cha_mod = 1; } elseif ($npc_cha >= 14 && $npc_cha <= 15) { $npc_cha_mod = 2; } elseif ($npc_cha >= 16 && $npc_cha <= 17) { $npc_cha_mod = 3; } elseif ($npc_cha >= 18 && $npc_cha <= 19) { $npc_cha_mod = 4; } else { } /* END NPC Ability modifiers */ ?>

Appearance:

Interaction:

Ideal: -

Mannerism:

Flaw:

Bond:

Talent:

Exceptional Ability:

Inferior Ability:

Race: