mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
Merge branch 'master' of https://github.com/rkubosz/dungeon-sheets into rkubosz-master
This commit is contained in:
+21
-8
@@ -39,10 +39,10 @@ class Race():
|
||||
@property
|
||||
def spells_prepared(self):
|
||||
return self.spells_known
|
||||
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
def __repr__(self):
|
||||
return "\"{:s}\"".format(self.name)
|
||||
|
||||
@@ -129,7 +129,7 @@ class LightfootHalfling(_Halfling):
|
||||
name = "Lightfoot Halfling"
|
||||
charisma_bonus = 1
|
||||
features = _Halfling.features + (feats.NaturallyStealthy,)
|
||||
|
||||
|
||||
|
||||
class StoutHalfling(_Halfling):
|
||||
name = "Stout Halfling"
|
||||
@@ -183,7 +183,7 @@ class ForestGnome(_Gnome):
|
||||
features = _Gnome.features + (feats.NaturalIllusionist,
|
||||
feats.SpeakWithSmallBeasts)
|
||||
spells_known = (spells.MinorIllusion,)
|
||||
|
||||
|
||||
|
||||
class RockGnome(_Gnome):
|
||||
name = "Rock Gnome"
|
||||
@@ -252,7 +252,7 @@ class _Aasimar(Race):
|
||||
feats.HealingHands, feats.LightBearer)
|
||||
spells_known = (spells.Light,)
|
||||
|
||||
|
||||
|
||||
# Protector Aasimar
|
||||
class ProtectorAasimar(_Aasimar):
|
||||
name = "Protector Aasimar"
|
||||
@@ -397,7 +397,7 @@ class AirGenasi(_Genasi):
|
||||
features = (feats.UnendingBreath,
|
||||
feats.MingleWithTheWind)
|
||||
|
||||
|
||||
|
||||
class EarthGenasi(_Genasi):
|
||||
name = "Earth Genasi"
|
||||
strength_bonus = 1
|
||||
@@ -493,6 +493,16 @@ class PureBlood(Race):
|
||||
languages = ("Common", "Abyssal", "Draconic")
|
||||
|
||||
|
||||
class Goblin(Race):
|
||||
name = "Goblin"
|
||||
size = "small"
|
||||
dexterity_bonus = 2
|
||||
constitution_bonus = 1
|
||||
speed = 30
|
||||
languages = ("Common", "Goblin")
|
||||
features = (feats.Darkvision, feats.FuryOfTheSmall, feats.NimbleEscape)
|
||||
|
||||
|
||||
PHB_races = [HillDwarf, MountainDwarf, HighElf, WoodElf, DarkElf,
|
||||
LightfootHalfling, StoutHalfling, Rashemi, Dragonborn,
|
||||
ForestGnome, RockGnome, HalfElf, HalfOrc, Tiefling]
|
||||
@@ -507,7 +517,10 @@ MONSTER_races = [BugBear, Goblin, HobGoblin, Kobold, Orc, PureBlood]
|
||||
|
||||
RFTLW_races = [Kalashtar]
|
||||
|
||||
available_races = PHB_races + VOLO_races + EE_races + MONSTER_races + RFTLW_races
|
||||
# Guildmaster's Guide to Ravnica
|
||||
GGTR_races = [Goblin]
|
||||
|
||||
available_races = PHB_races + VOLO_races + EE_races + MONSTER_races + RFTLW_races + GGTR_races
|
||||
|
||||
__all__ = tuple([r.name for r in available_races]) + (
|
||||
'available_races', 'PHB_races', 'VOLO_races', 'EE_races', 'MONSTER_races', 'RFTLW_races')
|
||||
'available_races', 'PHB_races', 'VOLO_races', 'EE_races', 'MONSTER_races', 'RFTLW_races', 'GGTR_races')
|
||||
|
||||
Reference in New Issue
Block a user