added some infrastructure for swords and spells