That's the spiritDepends on the legionary and the samurai. If it's a French foreign legionary with a machinegun vs. unarmed samurai on an open field with no cover the legionary will probably gun him down. However if the samurai has his katana (which functions as +1 magic sword) he'll just slice the bullets in half and then slice the machinegun in half.