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> |
||
|---|---|---|
| .. | ||
| Accounting | ||
| Engines | ||
| Gumps | ||
| Items | ||
| Misc | ||
| Mobiles/AI | ||
| Multis | ||
| Network/Packets | ||
| Skills | ||
| Spells | ||
| Utilities | ||
| WorldSaves | ||