diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 23:32:00 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 23:32:00 +0100 |
| commit | 80a287910f3f77519c8243ba5f53d9c877fbddcb (patch) | |
| tree | 761c4b0ca3ab857cd57a886dd6e9c4048bca950d /src/combat.cpp | |
| parent | Add grenade trajectory, RPG armour priority, empty chargers, mega gravity gun (diff) | |
| download | hl2h-80a287910f3f77519c8243ba5f53d9c877fbddcb.tar.gz hl2h-80a287910f3f77519c8243ba5f53d9c877fbddcb.zip | |
Charger juice: resolve per-class offsets
CWallHealth derives CBaseToggle and CNewRecharge derives CBaseAnimating, so
m_iJuice is at different offsets (0x3c8 and 0x47c here). Collect every
m_iJuice datamap match, derive the suit offset from m_iMaxJuice-20, and pick
by the server class name. Also detect health brushes via wallhealth/recharge
rather than the ESP label. Verified the offsets resolve distinctly on :99.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
