ModernUO/Projects
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
..
Application feat(build-tool): add application icon and refresh MUO.ico (#2487) 2026-06-14 11:59:54 -07:00
BuildTool feat(build-tool): add application icon and refresh MUO.ico (#2487) 2026-06-14 11:59:54 -07:00
Logger fix: Fixes publishing with build tool (#2398) 2026-04-04 00:35:39 -07:00
Server fix(json): Rectangle3DConverter loses a z-level on write (#2506) 2026-06-25 23:42:49 -07:00
Server.Tests fix(json): Rectangle3DConverter loses a z-level on write (#2506) 2026-06-25 23:42:49 -07:00
UOContent fix(throwing): apply overthrow -47% as post-bonus damage via ModifyDamage hook 2026-07-02 20:39:21 -07:00
UOContent.Tests fix(throwing): apply overthrow -47% as post-bonus damage via ModifyDamage hook 2026-07-02 20:39:21 -07:00