Open claycle opened 7 months ago
It appears that damage, when penalized by a negative damage bonus (small/weak characters) is being allowed to go negative.
Steps to reproduce the behavior:
Damage calculations less than 0 should be 0.
Foundry Virtual Tabletop: Version 11 Stable, 11.315 Game System: rqg, 3.4.2 Active Modules: 41 Performance Mode: 2
OS: Unknown Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 GPU: ANGLE (ATI Technologies Inc., AMD Radeon Pro Vega 64 OpenGL Engine, OpenGL 4.1) Max Texture Size: 16384
Scene: 3000 x 3000 | Grid Size: 100 | Padding Percentage: 0.25 Walls: 44 | Ambient Lights: 4 | Ambient Sounds: 1 | Tiles: 1 | Tokens: 8
Actors: 45 | Items: 24 | Journal Entries: 190 | Rollable Tables: 0 | Playlists: 8 | Compendium Packs: 84 | Chat Messages: 163
I'm currently rewriting basically all the handling of rolls including this, so I'll make this part of that refactoring.
Negative Damage in Combat
It appears that damage, when penalized by a negative damage bonus (small/weak characters) is being allowed to go negative.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Damage calculations less than 0 should be 0.
Screenshots
Environment - please paste the information from foundry settings tab "support" button:
Foundry Virtual Tabletop: Version 11 Stable, 11.315 Game System: rqg, 3.4.2 Active Modules: 41 Performance Mode: 2
OS: Unknown Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 GPU: ANGLE (ATI Technologies Inc., AMD Radeon Pro Vega 64 OpenGL Engine, OpenGL 4.1) Max Texture Size: 16384
Scene: 3000 x 3000 | Grid Size: 100 | Padding Percentage: 0.25 Walls: 44 | Ambient Lights: 4 | Ambient Sounds: 1 | Tiles: 1 | Tokens: 8
Actors: 45 | Items: 24 | Journal Entries: 190 | Rollable Tables: 0 | Playlists: 8 | Compendium Packs: 84 | Chat Messages: 163