add Goblin race

This commit adds Goblin race and it's features.
Source: Guildmaster's Guide to Ravnica
This commit is contained in:
Robert Kubosz
2020-01-16 19:35:23 +01:00
parent 9a49e7cb14
commit 4dd998501a
2 changed files with 53 additions and 20 deletions
+20
View File
@@ -316,6 +316,26 @@ class StoneCamouflage(Feature):
source = "Race (Deep Gnome)"
# Goblins
class FuryOfTheSmall(Feature):
"""
When you damage a creature with an attack or a spell and the creature's
size is larger than yours, you can cause the attack or spell to deal extra
damage to the creature. The extra damage equals your level. Once you use
this trait, you can't use it again until you finish a short or long rest.
"""
name = "Fury of the Small"
source = "Race (Goblin)"
class NimbleEscape(Feature):
"""
You can take the Disengage or Hide action as a bonus action on each of your
turns.
"""
name = "Nimble Escape"
source "Race (Goblin)"
# Half-Elves
# Half-Orcs
+15 -2
View File
@@ -415,6 +415,16 @@ class WaterGenasi(_Genasi):
feats.CallToTheWave)
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, Human, Dragonborn,
ForestGnome, RockGnome, HalfElf, HalfOrc, Tiefling]
@@ -425,7 +435,10 @@ VOLO_races = [ProtectorAasimar, ScourgeAasimar, FallenAasimar,
EE_races = [Aarakocra, DeepGnome, AirGenasi, FireGenasi, EarthGenasi,
WaterGenasi]
available_races = PHB_races + VOLO_races + EE_races
#Guildmaster's Guide to Ravnica
GGTR_races = [Goblin]
available_races = PHB_races + VOLO_races + EE_races + GGTR_races
__all__ = tuple([r.name for r in available_races]) + (
'available_races', 'PHB_races', 'VOLO_races', 'EE_races')
'available_races', 'PHB_races', 'VOLO_races', 'EE_races', 'GGTR_races')