Magic weapon gen imcomplete (not compiling)