Merge pull request #42 from geckon/41_add_pearl_cloak

Add Pearl of Power, Cloak of Protection
This commit is contained in:
Mark Wolf
2020-04-16 10:51:04 -05:00
committed by GitHub
+21
View File
@@ -19,6 +19,17 @@ class MagicItem():
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):
"""
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.
"""
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"