Aetheria/Assets/Scripts/Gameplay/Weapons
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 39ad4bfc80 Fire control Cut 6b: a shot's dice belong to the shot, and airburst resolves in the simulation
6.1 (Soul finding 6): Commit builds a local CultMath.Random from (Zone.CombatSeed,
shot.ShotId) instead of reading and writing the shared ItemManager.Random stream.
Zone exposes CombatSeed (the same expression that already seeds its own _random),
so a shot's outcome is a pure function of zone identity and shot id -- immune to
whatever else drew from the shared stream in between.

6.2 (Soul finding 5): airburst is wired into the simulation instead of back into
Projectile.cs. PendingShot gains BurstPosition/BurstRadius, frozen at Fire time
from PredictedIntercept and the weapon's authored WeaponItemData.AirburstRange
when WeaponModifiers carries Airburst. FireControl.Step resolves such a shot via
Splash instead of Apply, never both. Projectile.cs/ProjectileManager.cs drop the
dead AirburstDistance/AirburstRange fields and write-back.

Tests: FireControlCut6Tests.cs pins both rules (208 baseline + 5 new, all green).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 18:34:04 +02:00
..
ChargeEffectManager.cs Charged Weapons & Hitscan Weapons 2021-01-30 01:02:11 +00:00
ChargeEffectManager.cs.meta Charged Weapons & Hitscan Weapons 2021-01-30 01:02:11 +00:00
ConstantLaser.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
ConstantLaser.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantLaserManager.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
ConstantLaserManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantLightning.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
ConstantLightning.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantLightningManager.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
ConstantLightningManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantParticleWeapon.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
ConstantParticleWeapon.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantParticleWeaponManager.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
ConstantParticleWeaponManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantWeaponEffectManager.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ConstantWeaponEffectManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
GuidedProjectile.cs Add the CultMath bridge using that Cut 3 dropped 2026-09-19 14:10:59 +02:00
GuidedProjectile.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
GuidedProjectileManager.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
GuidedProjectileManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
HitscanEffect.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
HitscanEffect.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
HitscanManager.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
HitscanManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
InstantWeaponEffectManager.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
InstantWeaponEffectManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
Laser.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
Laser.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
LaserManager.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
LaserManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
Lightning.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
Lightning.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
LightningGunManager.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
LightningGunManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
Mine.cs Fire control Cut 4, part 2: the last five weapon kinds join FireControl 2026-09-19 15:17:17 +02:00
Mine.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
MineManager.cs Fire control Cut 3: hit authority moves to FireControl 2026-09-19 14:07:07 +02:00
MineManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ParticleChargeEffect.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ParticleChargeEffect.cs.meta Charged Weapons & Hitscan Weapons 2021-01-30 01:02:11 +00:00
Projectile.cs Fire control Cut 6b: a shot's dice belong to the shot, and airburst resolves in the simulation 2026-09-19 18:34:04 +02:00
Projectile.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
ProjectileManager.cs Fire control Cut 6b: a shot's dice belong to the shot, and airburst resolves in the simulation 2026-09-19 18:34:04 +02:00
ProjectileManager.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
WeaponChargeEffect.cs Charged Weapons & Hitscan Weapons 2021-01-30 01:02:11 +00:00
WeaponChargeEffect.cs.meta Charged Weapons & Hitscan Weapons 2021-01-30 01:02:11 +00:00