Added ability to define magic weapons by multiple inheritence.

This commit is contained in:
Mark Wolfman
2022-03-10 14:17:26 -06:00
parent 23b4bd2559
commit c9a0eb1f0e
41 changed files with 142 additions and 42 deletions
+1 -1
View File
@@ -562,7 +562,7 @@ class Character(Creature):
SuperClass=magic_items.MagicItem,
warning_message=msg,
)
self.magic_items.append(ThisMagicItem(owner=self))
self.magic_items.append(ThisMagicItem(wielder=self))
elif attr == "weapon_proficiencies":
self.other_weapon_proficiencies = ()
msg = 'Magic Item "{}" not defined. Please add it to ``weapons.py``'