mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-07 13:15:53 +02:00
added warlock invocations
This commit is contained in:
@@ -14,9 +14,9 @@ class Invocation(Feature):
|
||||
def cast_spell_at_will(self, spell):
|
||||
s = spell()
|
||||
s.level = 0
|
||||
if 'V' in s.components:
|
||||
if 'M' in s.components:
|
||||
c = list(s.components)
|
||||
c.remove('V')
|
||||
c.remove('M')
|
||||
s.components = tuple(c)
|
||||
self.spells_known += (s,)
|
||||
self.spells_prepared += (s,)
|
||||
@@ -225,7 +225,7 @@ class MistyVisions(Invocation):
|
||||
|
||||
"""
|
||||
name = "Misty Visions"
|
||||
at_will_spells = (spells.MistyVisions,)
|
||||
at_will_spells = (spells.SilentImage,)
|
||||
|
||||
|
||||
class OneWithShadows(Invocation):
|
||||
|
||||
@@ -1,6 +1,22 @@
|
||||
from .spells import Spell
|
||||
|
||||
|
||||
class Jump(Spell):
|
||||
"""You touch a creature. The creature’s jump distance is tripled until the
|
||||
spell ends.
|
||||
|
||||
"""
|
||||
name = "Jump"
|
||||
level = 1
|
||||
casting_time = '1 action'
|
||||
casting_range = "Touch"
|
||||
components = ("V", "S", "M")
|
||||
materials = "A grasshoppers hind leg"
|
||||
duration = "1 minute"
|
||||
magic_school = "Transmutation"
|
||||
classes = ("Druid", 'Ranger', 'Sorceror', 'Wizard')
|
||||
|
||||
|
||||
class Knock(Spell):
|
||||
"""Choose an object that you can see within range. The object can be a
|
||||
door, a box, a chest, a set of manacles, a padlock, or another
|
||||
|
||||
Reference in New Issue
Block a user