Commit Graph

2 Commits

Author SHA1 Message Date
Restart2008 ec225671fd Fix: Resolve deployment failure due to euclideanDist
Corrected the usage of distance calculation in MIRVExecution.ts.
Previously, euclideanDist was called on the Game object, which does not exist.
Changed to use Math.sqrt(this.mg.euclideanDistSquared()) which is the correct method.

This resolves the TS2339: Property 'euclideanDist' does not exist on type 'Game'. error that caused the deployment to fail.
2025-10-25 20:58:07 -07:00
Restart2008 4d924ef8d1 Fix: Standardize MIRV travel time
Addresses player report regarding unfair and unintuitive MIRV launch delays.
MIRV travel time is now fixed at 5 ticks, independent of click location.

- Modified MIRVExecution.ts to dynamically calculate speed based on a fixed travel time.
- Added MIRVExecution.test.ts to verify the fixed travel time.
2025-10-25 20:51:30 -07:00