ModernUO/Projects/UOContent.Tests
Kamron Batman 5c1196cdae fix(throwing): apply overthrow -47% as post-bonus damage via ModifyDamage hook
Adds a ModifyDamage(attacker, defender, damage) virtual on BaseWeapon,
mirroring the existing ModifyHitChance hook, invoked once in OnHit
immediately after the percentage-bonus pool scale. BaseThrown overrides
it to cut 47% of the final post-bonus damage at the outermost admissible
tile (dist == MaxRange), replacing the old dead ComputeDamage override
(the swing gate already guarantees the attacker is within MaxRange, so
the prior >= comparison never fired).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 20:39:21 -07:00
..
Fixtures refactor(spawners): replace DynamicJson with typed SpawnerDto records (#2505) 2026-06-25 23:24:45 -07:00
Tests fix(throwing): apply overthrow -47% as post-bonus damage via ModifyDamage hook 2026-07-02 20:39:21 -07:00
UOContent.Tests.csproj fix: Bumps dependencies (#2472) 2026-06-07 01:25:21 -07:00