Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Weird clip values #5092

Open
Stexinator opened this issue Dec 20, 2023 · 2 comments
Open

[Bug] Weird clip values #5092

Stexinator opened this issue Dec 20, 2023 · 2 comments

Comments

@Stexinator
Copy link
Contributor

Describe the bug
Exported clips in weapons have weird values

To Reproduce
Steps to reproduce the behavior:

  1. Go to weapons
  2. add ammo
  3. export
  4. See error

Bonus Acc might be the smartlink, but it should not appear here, bonus DV I got no clue => it does not show in chummer UI

"clips": { "clip": { "name": "Munition: APDS", "count": "100", "location": "loaded", "id": "af4aef9b-903b-48bb-aa5d-c087e24e79d3", "ammotype": { "weaponbonusdamage": "+0", <---- "weaponbonusdamage_english": "+3", <--- "weaponbonusap": "-4", "weaponbonusacc": "+2", <---- "weaponbonusrange": "0", "flechetteweaponbonusdamage": "+0", "flechetteweaponbonusdamage_english": "+0", "flechetteweaponbonusap": "+0", "flechetteweaponbonusacc": "+0", "flechetteweaponbonusrange": "0", "DV": "+3", <----- "BonusRange": "0" } } },

@DelnarErsike
Copy link
Collaborator

If you still have the export block, could you check to see if the ID referred to in the clip block is the same as the id for the corresponding set of ammo gear somewhere in the character's gear blocks?

@Stexinator
Copy link
Contributor Author

weirdClip.json

I attached the export json. I found the id in the clips and in the gear block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants