Better spells and ranged weapon framework