It's a fantasy role-playing game.

DM: You are Percival de Rolo, a human gunslinger . You are the member of the famous group of adventurers. Previously, They are brought to meet Flamespeaker Cerkonos, the headmaster of the tribe. Cerkonos confirms that Keyleth's mother, Vilya, came through about ten years ago on her own aramente.
DM: As the actual protective energies of the Frost Brand gives this layer of cold across your armor and reduces the impact. You're still on fire, but the fire is doing less damage to you physically as the cold is counteracting it. Cool. Percy, what are you doing?
Player: Okay, I'm pulling out the Pepperbox and I'm taking an ice shot at the little one attacking Pike. And I'm going to take a sharpshooter-- that's the wrong dice to roll. I'm going to take a sharpshooter bonus for it, so that's a miss. That's a nine. Actually, no. Shit. God damn it, that's a misfire. I'm going to spend an action to fix that.
DM: Okay, go ahead and roll the check on that, if you could.
Player: Oh, what is the check on that? That's a DC 12. Eight, nine, ten, 11, 12. I hit my check.
DM: You just barely make it. The gun is not broken. As you spin, you go to fire, and something about the trajectory of the bullet is off, and as you release the trigger, all of a sudden the whole front of the barrel (cracking) encases in ice, and you're like, crap! And you have to chisel the ice off.
Player: Fire again.
DM: Well, it takes an action to try and--
Player: No, I looked. It takes an attack.
DM: Then yes, you're able to do that.
Player: If it goes, then I'm--
DM: Then it takes an action to fix it, that's what it is. Yeah, it's an action to fix a broken gun.
Player: Yeah. Action to fix a broken gun. Let's try it again without the sharpshooter bonus. Better! 20 to hit.
DM: 20 does hit, yes.
Player: And I don't get the bonus on that because I suck. Seven points of damage.
DM: Seven points of damage.
Player: Rolled a one.
DM: Sometimes it works out that way. All right.
Player: And I'm going to back off.
DM: Cannot use your attack again until an action. It is an action.
Player: It is an action? I thought it was an action to--
DM: It's an action to repair, and then if it breaks, you cannot use it until you're out of combat.
