aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/projectile_damage.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(combat): spend directional shield charge before hull damageValentin Popov10 days1-4/+9
| | | | Resolve the nearest sector in the target basis and apply the Control 9/21 capacity before the hull modifiers. Verify power queries and depletion with the original Control DLL, then check live AutoDemo and Two Fortresses encounters from stock starts.
* feat(combat): apply projectile hits to chassis nodesValentin Popov10 days1-1/+1
| | | | Use prepared chassis triangles to choose a loaded NDP node. Exhausted ordinary parts play their authored EXPL independently of root death. Unresolved mounted geometry keeps a sphere contact on exit. A stock side-shot fixture exhausts a heavy chassis part while the hull survives.
* feat(combat): reduce damage with Control protection coefficientsValentin Popov10 days1-0/+83
Keep the two damage coefficients in the existing tag-27 owner cache and apply the native quadratic clamp to projectile contacts. The calculation matches live GOG damage samples at single precision, and the AutoDemo window reaches combat and replacement after the change.