Though most of your damage will come from the weapon's Ash of War, you'll want to upgrade Intelligence because that's its best scaling damage stat. The most important aspect of the Sword and Night and Flame is its weapon level, because that's what controls how much damage its Ash of War ability does.