Exclude emanations from the list
This commit is contained in:
parent
13458a0173
commit
632a8c4f1b
@ -81,7 +81,7 @@ class SpellRangeType(enum.StrEnum):
|
||||
Line = "line"
|
||||
Cube = "cube"
|
||||
Cone = "cone"
|
||||
EmanatioN = "emanation"
|
||||
Emanation = "emanation"
|
||||
Radius = "radius"
|
||||
Sphere = "sphere"
|
||||
Hemisphere = "hemisphere"
|
||||
|
@ -53,6 +53,7 @@ def is_template_spell(spell: dnd5etools.db.spells.Spell) -> bool:
|
||||
return (
|
||||
len(spell.area_type) > 0
|
||||
and has_timed_duration(spell)
|
||||
and spell.range.type != dnd5etools.db.spells.SpellRangeType.Emanation
|
||||
and area_size_re.search(spell.description) is not None
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user