Add Pearl of Power, Cloak of Protection

This commit is contained in:
Tomáš Heger
2020-04-15 21:38:27 +02:00
parent 4a737d25a5
commit 283067a25a
+21
View File
@@ -19,6 +19,17 @@ class MagicItem():
return '\"{:s}\"'.format(str(self)) return '\"{:s}\"'.format(str(self))
class CloakOfProtection(MagicItem):
"""
You gain a +1 bonus to AC and Saving Throws while wearing this cloak.
"""
name = "Cloak of Protection"
ac_bonus = 1
requires_attunement = True
rarity = 'Uncommon'
class RingOfProtection(MagicItem): class RingOfProtection(MagicItem):
""" """
You gain a +1 bonus to AC and Saving Throws while wearing this ring. You gain a +1 bonus to AC and Saving Throws while wearing this ring.
@@ -210,3 +221,13 @@ class GlowingSword(MagicItem):
This strange longsword glows at odd times. This strange longsword glows at odd times.
""" """
name = "Glowing Sword" name = "Glowing Sword"
class PearlOfPower(MagicItem):
"""While this pearl is on your person, you can use an action to speak its
Command Word and regain one expended spell slot. If the expended slot is of
4th Level or higher, the new slot is 3rd Level. Once you have used
the pearl, it can't be used again until the next dawn.
"""
requires_attunement = True
name = "Pearl of Power"