Gunpowder And Fire Assault

does anyone know how gunpowder tech affects fire assault? Fire Assault activates when you roll max damage, so does gunpowder increase damage ceiling, or is the damage bonus added after the die is rolled?
https://piratesglory.com/forums/
Fire Assault Help File wrote:To understand this, we need to know the base damage formula:
Die Roll = 3 + Ship Level
Base Damage = 1dDice Roll - 1
So in our example, it becomes:
Die Roll = 3 + 4 = 7
If our ship is level 4, then our die has 7 possible outcomes (it is a 1d7). Which means that it can return a value from 1 to 7.
Fire Assault is successful only when our roll returns the maximim possible value. So to trigger it, the player must roll 7.
At this scenario, at an ordinary ship, we have:
Base Damage = 7- 1 = 6
But if the ship has Fire Assault:
Base Damage with Fire Assault = 7 * 2 - 1 = 13
Round Shot Damage wrote:Then we have extra damage based on Round Shot:
Base Round Shot Damage = Round Shot (if Round shot is 5, then this is 5)
This gets a bonus from Gunpowder Technology
Extra Damage = Base Damage * Round Shot Damage * 2 / 100