Vendare / DarkHeresy2E-FoundryVTT

GNU General Public License v3.0
25 stars 54 forks source link

Damage Frequently Calculating Incorrectly #153

Closed Polygamoose closed 9 months ago

Polygamoose commented 9 months ago

I cannot for the life of me figure out why it's doing this, but the damage frequently gets calculated incorrectly. To test this, I made a brand new character, did nothing to him but give him a Lasgun (1d10+3 damage) and 100 Ballistic Skill, and rolled a test.

First test I rolled, rolled a 2, and chat says I dealt 6 damage... but 2 + 3 = 5. I rolled a couple dozen more times and figured out that it cannot roll less than 9 damage total. Roll a 1? 1 + 3 = 9 Roll a 3? 3 + 3 = 9

So on and so forth. Roll a 7? 7 + 3 = 10. 8 is 11 9 is 12 10 is 13

I recoded the lasgun to 1d10+10 damage. First roll was a 5, and chat told me I dealt 21 damage even though 10 + 5 = 15.

Polygamoose commented 9 months ago

Is there any way we can get this damage issue corrected? It's a major hindrance to gameplay, having to manually check damage every time. And I'm not good enough at coding to pour through the lines of data to figure out what's going wrong, myself. image image

StealthBow commented 9 months ago

I'd imagine what you're running into here is that per the Core Rulebook (page 227, second paragraph of "Step Four"), you can replace a single damage die result with the Degrees of Success on the attack roll. The system is built to work with this part of the rules automatically.

In your first screenshot I'd guess you had 5 Degrees of Success on the attack roll so the 2 on the die was replaced (5+0 for 5 total). Then in your second screenshot I'd guess you had 8 Degrees of Success on the attack roll so the 3 on the die was replaced (8+3 for 11 total).

A further example that I've just thrown together: DH2e_Test Even though I rolled a 10 on the damage die, because I had 13 Degrees of Success I dealt 13 damage.

Vendare commented 9 months ago

As Stealthbow pointed out the system automatically replaces the lowest rolled die on the damage roll with the degrees of success. The damage is calculated correctly