[@Willy Vereb]I don't think it would be as one-sided as you believe. Early firearms were incredibly inaccurate, and against troops solely trained to fight melee, it could be pretty disastrous if the dwarves got in close. In addition, as you said, early naval cannons did not do well against heavy armor.