Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Gun damage calculations incorrect on wield menu

Open DragonWizard23 opened this issue 1 year ago • 1 comments

Describe the bug

The damage value listed for several guns is incorrect on the wield menu. Specifically, the weapon damage plus the ammo damage doesn't add up.

Attach save file

2024-03-31-trimmed.tar.gz

Steps to reproduce

  1. Get some guns with ammo.
  2. Put them nearby and press w.
  3. Check if the damage calculations are correct.

Expected behavior

I expected that the equations would have the same value on both sides of the equation.

Screenshots

The highlighted weapon and the six weapons above it have incorrect equations. image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.22631.3447 (23H2)
  • Game Version: fa7e258 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]

Additional context

This bug does not cause the game to crash.

DragonWizard23 avatar May 11 '24 19:05 DragonWizard23

Can confirm. While the left side of the equation seems correct for the gun and ammo type loaded, the result after the = is not.

EternalLaughter avatar May 12 '24 09:05 EternalLaughter

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Jun 11 '24 10:06 github-actions[bot]