added primary ability and new AC and speed calculations

This commit is contained in:
Ben Cook
2018-12-23 01:45:04 -05:00
parent 66880cd6bf
commit 6c4589d03f
28 changed files with 366 additions and 197 deletions
+20
View File
@@ -0,0 +1,20 @@
class MagicItem():
"""
Generic Magic Item. Add description here.
"""
name = ''
ac_bonus = 0
requires_attunement = False
rarity = ''
class RingOfProtection(MagicItem):
"""
You gain a +1 bonus to AC and Saving Throws while wearing this ring.
"""
name = "Ring of Protection"
ac_bonus = 1
requires_attunement = True
rarity = 'Rare'